Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-10-16 16:26:57

xfceuser2011
Member
Registered: 2011-10-16
Posts: 1

xfce4-session-settings

Hello everybody,

Is there a command line option to invoke a session save manually, similar to the "Save Session" radio button found in the Session tab in xfce4-session-settings?

My goal is to place it in the following script:

 
<save session command here>
shutdown -h +3
gxmessage -buttons "Shutdown:1,Cancel:0" "Auto Shutdown in 3 mins?"
if [ "$?" -eq "1" ]; then
     shutdown -c
     shutdown -h 0
else
     shutdown -c
fi
exit

I appreciate any help, thank you!

Offline

#2 2011-10-17 15:39:59

mmassonnet
Member
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: xfce4-session-settings

You can try using the command xfce4-session-logout instead. Have a look at the --help output.


Mike

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 11 queries executed - Memory usage: 516.75 KiB (Peak: 517.66 KiB) ]