This has been impacting my productivity for a long time now, so I spent
a couple hours on it today, and I think I *finally* found a workaround
for this bug. First, install devilspie and wmctrl. Create the
directory ~/.devilspie or /etc/devilspie, depending on whether you want
this setting to be user-specific of system-wide. Inside your devilspie
directory of choice, create a file called eclipse.ds with the following
contents (not sure if this will be formatted nicely when I paste it):
(if
(matches (window_class) "[Ee]clipse")
(begin
(debug)
(spawn_sync "sleep 0.1")
(pin)
(spawn_sync "wmctrl -xr Eclipse -b 'add,sticky'")
)
)
Now to try this out:
devilspie -d -a
The -d will output some debugging info to let you know that devilspie
found and loaded your config file and S-expression. The -a applies the
S-expression to any windows that are already open in case you already
have Eclipse running. The "(debug)" expression in the eclipse script
will output debugging information that will allow you to see that
devilspie is working whenever an Eclipse window event occurs. It's safe
to remove this expression later.
To enable this automatically every time you log into Gnome, go to System
-> Preferences -> Startup Applications, and add devilspie as a new
start-up application (/usr/bin/devilspie -a).
See the following for more info:
http://live.gnome.org/DevilsPie
http://foosel.org/linux/devilspie
http://tripie.sweb.cz/utils/wmctrl
As far as workarounds go, this is on the ugly side, so I don't think
this bug should be closed. I just hope this helps someone else who is
equally frustrated in the meantime.
--
Eclipse loses "Always on Visible Workspace" setting
https://bugs.launchpad.net/bugs/456613
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs