Hi, I've just converted my laptop to Centos 6 from Fedora ( gnome 3 made the latest fedora unusable ) and I have one problem. I have several desktops with applications running on them, mainly terminals. At login all the terminals start on desktop 1. How do I get them to start on the desktop they were running on at logoff. That's how it worked on Fedora 13/14 so it must be popssible ;-) just can't find the magic. Thanks,, Tony
Andreas Reschke
2011-Nov-24 11:43 UTC
[CentOS] Antwort: Applications on different deskops at startup
centos-bounces at centos.org schrieb am 24.11.2011 12:27:34:> Tony Molloy <tony.molloy at ul.ie> > Gesendet von: centos-bounces at centos.org > > 24.11.2011 12:27 > > Bitte antworten an > CentOS mailing list <centos at centos.org> > > An > > centos at centos.org > > Kopie > > Thema > > [CentOS] Applications on different deskops at startup > > > Hi, > > I've just converted my laptop to Centos 6 from Fedora ( gnome 3 made > the latest fedora unusable ) and I have one problem. > > I have several desktops with applications running on them, mainly > terminals. At login all the terminals start on desktop 1. How do I get > them to start on the desktop they were running on at logoff. That's how > it worked on Fedora 13/14 so it must be popssible ;-) just can't find > the magic. > > Thanks,, > > Tony > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosHi Tony, I've the same problem. That's my solution: #!/bin/sh #set -x ProcessWindows(){ echo "Application= $Application" case "$Application" in "Lotus") wmctrl -r "$Application" -t 0;; "Firefox") wmctrl -r "$Application" -t 1;; "Office") wmctrl -r "$Application" -t 2;; "secpanel") wmctrl -r "$Application" -t 4;; "konsole") wmctrl -r "$Application" -t 5;; "File") wmctrl -r "$Application" -t 6;; esac # done } sleep 10 Application="Lotus"; ProcessWindows Application="Firefox"; ProcessWindows Application="Office"; ProcessWindows Application="secpanel"; ProcessWindows Application="konsole"; ProcessWindows Application="File"; ProcessWindows I've put this script in the autostart folder. Gru? Andreas Reschke ________________________________________________________________ BG-IM173 Unix/Linux-Administration Siemensstrasse 164 70469 Stuttgart Behr GmbH & Co. KG ST B29, 3.OG Tel.: +49 711 896-4598 Fax: ++49 711-8902-4598 Mobil: 0173-3197397 Andreas.Reschke at behrgroup.com
Kahlil Hodgson
2011-Nov-24 20:14 UTC
[CentOS] Applications on different deskops at startup
On 24/11/11 22:27, Tony Molloy wrote:> I have several desktops with applications running on them, mainly > terminals. At login all the terminals start on desktop 1. How do I get > them to start on the desktop they were running on at logoff. That's how > it worked on Fedora 13/14 so it must be popssible ;-) just can't find > the magic.You might want to have a look at 'devilspie'. That's what I use on F14 to control startup windows. Don't know if that's in C6 by default though. Kal -- Kahlil (Kal) Hodgson GPG: C9A02289 Head of Technology (m) +61 (0) 4 2573 0382 DealMax Pty Ltd (w) +61 (0) 3 9008 5281 Suite 1005 401 Docklands Drive Docklands VIC 3008 Australia "All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer." -- IBM maintenance manual, 1925