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-bounces@centos.org schrieb am 24.11.2011 12:27:34:
Tony Molloy tony.molloy@ul.ie Gesendet von: centos-bounces@centos.org
24.11.2011 12:27
Bitte antworten an CentOS mailing list centos@centos.org
An
centos@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@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi 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@behrgroup.com
Vreme: 11/24/2011 12:43 PM, Andreas Reschke piše:
I've the same problem. That's my solution:
I can not help my self having little vanity. It would be proper to say "This is solution I was given", or at least "This is solution I use".
It is not a big deal, but it still leaves a bit of bad taste in the mouth.
centos-bounces@centos.org schrieb am 24.11.2011 13:32:34:
Ljubomir Ljubojevic office@plnet.rs Gesendet von: centos-bounces@centos.org
24.11.2011 13:33
Bitte antworten an CentOS mailing list centos@centos.org
An
CentOS mailing list centos@centos.org
Kopie
Thema
Re: [CentOS] Antwort: Applications on different deskops at startup
Vreme: 11/24/2011 12:43 PM, Andreas Reschke piše:
I've the same problem. That's my solution:
I can not help my self having little vanity. It would be proper to say "This is solution I was given", or at least "This is solution I use".
It is not a big deal, but it still leaves a bit of bad taste in the
mouth.
--
Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe
Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Sorry Ljubomir, it wasn't my intention, to downgrade your work.
Gruß Andreas Reschke ________________________________________________________________
Unix/Linux-Administration Andreas.Reschke@behrgroup.com
Vreme: 11/24/2011 01:41 PM, Andreas Reschke piše:
Vreme: 11/24/2011 12:43 PM, Andreas Reschke piše:
I've the same problem. That's my solution:
I can not help my self having little vanity. It would be proper to say "This is solution I was given", or at least "This is solution I use".
It is not a big deal, but it still leaves a bit of bad taste in the
mouth.
Sorry Ljubomir, it wasn't my intention, to downgrade your work.
I am not offended, I know it was not intended, but in general it is not fair to claim other people's work. Even I just integrated 2-3 solutions I found on the net and put it in nice loop/function. Just a reminder of all those helpful people posting solutions on forums and mailing lists all around a world.
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
Vreme: 11/24/2011 09:14 PM, Kahlil Hodgson piše:
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
RPMForge/Repoforge repository has devilspie package.
On Friday 25 November 2011 00:31:09 Ljubomir Ljubojevic wrote:
Vreme: 11/24/2011 09:14 PM, Kahlil Hodgson piše:
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
- 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
RPMForge/Repoforge repository has devilspie package.
Thanks for the various suggestions I'll try them out today. I just thought that since CentOS 6 was based on Fedora 13 that it would just be some setting that I had missed.
Tony