You are not logged in.
Every time I start the computer I have certain apps like Docky, Screenlets, etc, that start automatically when I log into my desktop (Gnome).
When I shutdown, one of the first things to go is Compiz, which i'd want terminated last. When it is terminated (first) compositing is lost so widgets suddenly appear on the desktop, and Docky loses it's transparency so there is an ugly black box around it just before shutdown.
It'd be more aesthetically pleasing if, for example, Screenlets and Docky were terminated first, followed by the panels, and Compiz last.
How would one control the order in which default apps load at startup and the order in which they are terminated during shutdown (or logoff)?
joe@trusktr.io - joe at true skater dot io.
Offline
That's the responsibility of your DE. AFAIK, most just issue 'kill' signals to all apps they've started. You could possibly script the behaviour you want, though.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Possibly /etc/rc.local.shutdown may help.
Last edited by skottish (2010-10-17 17:39:08)
Offline
Possibly /etc/rc.local.shutdown may help.
Doesn't that not control programs autostarted by the DE (rather than by /etc/rc.conf list).
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
skottish wrote:Possibly /etc/rc.local.shutdown may help.
Doesn't that not control programs autostarted by the DE (rather than by /etc/rc.conf list).
That makes sense. I now understand what you said before.
Last edited by skottish (2010-10-17 23:18:15)
Offline
Write your own logout script that calls gnome's logout program after it is done.
Steven [ web : git ]
GPG: 327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com
Offline
Write your own logout script that calls gnome's logout program after it is done.
This seems best. And once you've done that post it up . I've never gone looking for exactly what script Gnome calls on logout/shutdown, would be interesting to know.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
This should do it (I don't use gnome anymore so I don't know for sure):
gnome-session-save --kill
Steven [ web : git ]
GPG: 327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com
Offline
I just had the chance to check this. I'll try it and see what i can find.
joe@trusktr.io - joe at true skater dot io.
Offline