← Back to team overview

dx-packages team mailing list archive

[Bug 971147] Re: xdotool and wmctrl don't move and resize windows after they are (semi)maximized

 

I am using Ubuntu 14.10 and I have this same issue though perhaps a
slightly more general case of it. For me wmctrl and xdotool don't move
or resize windows at all as far as I can tell. I would like to be able
to customize window sizes to display something e.g. 2/3rd of the screen
and something else 1/3rd of the screen with quick keystrokes that run
those commands.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/971147

Title:
  xdotool and wmctrl don't move and resize windows after they are
  (semi)maximized

Status in unity package in Ubuntu:
  Expired

Bug description:
  The command

  /usr/bin/xdotool windowmove `/usr/bin/xdotool getwindowfocus` 0 0

  is supposed to move currenly selected window to the top left corner.
  It works fine on clean start, but after I maximize (or half-maximize)
  and then restore some window, it becomes "broken", and this command
  silently do nothing with it. The same holds for appropriate wmctrl
  command like

  wmctrl -i -r `/usr/bin/xdotool getwindowfocus` -e 10,0,0,-1,-1

  This affects Unity desktop, but does NOT affect Gnome shell desktop,
  so I believe it's a bug somewhere in Unity.

  The same issue is discussed in the following thread:

  http://ubuntuforums.org/showthread.php?t=1414155&page=2

  It seems to affect both 11.10 and 12.04 (but I checked only 12.04).

  user@xennie:~$ lsb_release -rd
  Description:	Ubuntu precise (development branch)
  Release:	12.04

  user@xennie:~$ apt-cache policy unity
  unity:
    Installed: 5.8.0-0ubuntu2
    Candidate: 5.8.0-0ubuntu2
    Version table:
   *** 5.8.0-0ubuntu2 0
          500 http://ru.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/status

  user@xennie:~$ apt-cache policy xdotool
  xdotool:
    Installed: 1:2.20110530.1-3ubuntu1
    Candidate: 1:2.20110530.1-3ubuntu1
    Version table:
   *** 1:2.20110530.1-3ubuntu1 0
          500 http://ru.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
          100 /var/lib/dpkg/status

  user@xennie:~$ apt-cache policy compiz
  compiz:
    Installed: 1:0.9.7.2-0ubuntu4
    Candidate: 1:0.9.7.2-0ubuntu4
    Version table:
   *** 1:0.9.7.2-0ubuntu4 0
          500 http://ru.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/status

  user@xennie:~$ apt-cache policy xorg
  xorg:
    Installed: 1:7.6+12ubuntu1
    Candidate: 1:7.6+12ubuntu1
    Version table:
   *** 1:7.6+12ubuntu1 0
          500 http://ru.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: unity 5.8.0-0ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  Date: Mon Apr  2 02:50:17 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   TERM=xterm
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: unity
  UpgradeStatus: Upgraded to precise on 2012-03-31 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/971147/+subscriptions