wmctrl -s does nothing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wmctrl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: wmctrl
wmctrl -s gets no error, but does nothing. I tried xdotool set_desktop, which also gets no error, but does nothing.
I then deleted /usr/bin/wmctrl, and downloaded latest .tar.gz of wmctrl. I unzipped and attempted to install.
./configure hit error; it said GLIB probably not correctly installed. I tried going ahead with the make anyway; it got
compile errors.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: wmctrl 1.07-6
ProcVersionSign
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue May 18 09:14:53 2010
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: wmctrl
As described in askubuntu. com/questions/ 576604/ what-causes- the-deviation- in-the- wmctrl- window- move-command
http://
both xdotool and wmctrl report the correct (inner) position of the window, but for moving use the decorated (outer) size.
For example, this should leave a terminal window at exactly the current position: EXTENTS( CARDINAL) variable
xdotool windowmove --relative `xdotool getactivewindow` x y
But instead it moves it by the decoration size, which you can find out with xprop looking at the _NET_FRAME_
In my case,
xdotool windowmove --relative `xdotool getactivewindow` -1 -28
leaves the terminal window at the current position.
This would be solved if we could move the window with -100 further to the left (so the decoration part is off the screen), but unfortunately there seems to be a hard gap blocking it.