View Full Version : crazy question
Riffer
June 27th, 2008, 06:14 PM
I'm doing a down and dirty installation of xbuntu for classroom at school. I want to switch off the panel, and just have 3 icons on the desktop, an app, terminal, and the shutdown/log-off applet.
I know I can use the right click launcher feature, but what are the commands? Thanks for your help.
bubba_169
June 27th, 2008, 06:22 PM
1. App - depends on what application you want to run...
2. Terminal - you want 'gnome-terminal' or is it 'xterm' for xfce? One or the other...
3. Shutdown - 'sudo shutdown -h now' (check 'run in terminal')
wrtpeeps
June 27th, 2008, 06:34 PM
1. App - depends on what application you want to run...
2. Terminal - you want 'gnome-terminal' or is it 'xterm' for xfce? One or the other...
3. Shutdown - 'sudo shutdown -h now' (check 'run in terminal')
2. The command to run a terminal in xfce is xfce4-terminal. :)
Riffer
June 27th, 2008, 06:39 PM
Thanks so much.
Is the shutdown command just shuts down the machine?
How can you do it for logging off?
wrtpeeps
June 27th, 2008, 06:46 PM
I googled for logoff and a few posts on this site seem to say killing your gnome session is the way to do it, though I doubt that will work on xfce4?
Ozor Mox
June 27th, 2008, 06:54 PM
How can you do it for logging off?
'logout' logs out at the command line, would this work?
bubba_169
June 27th, 2008, 07:02 PM
To logout do 'sudo killall Xorg'
Make sure you have a capital X in the name or it wont work!
Riffer
June 27th, 2008, 07:11 PM
nope logout didn't work, and the sudo one wasn't what I was looking for. I want the students or guest to be able to logout.
wrtpeeps
June 27th, 2008, 07:17 PM
Won't killing X just bring them out of the gui, but keep them logged in at a command prompt?
imbjr
June 27th, 2008, 07:17 PM
For my young son, I have a logout button on his desktop that calls:
gnome-session-save --kill --silent
This allows any account mods made to be retained.
bubba_169
June 27th, 2008, 07:21 PM
For my young son, I have a logout button on his desktop that calls:
gnome-session-save --kill --silent
This allows any account mods made to be retained.
Thats OK but Riffer is using XFCE not gnome ... :)
Riffer
June 27th, 2008, 07:34 PM
Though it seems that XFCE uses alot of gnome features. I'll check it out. :)
madjr
June 27th, 2008, 09:54 PM
I'm doing a down and dirty installation of xbuntu for classroom at school. I want to switch off the panel, and just have 3 icons on the desktop, an app, terminal, and the shutdown/log-off applet.
I know I can use the right click launcher feature, but what are the commands? Thanks for your help.
when you edit the xfce menu, you can see all it's commands
http://img503.imageshack.us/img503/4821/untitleded2.png
http://turkey.fvdh.net/~hanumizzle/xfce4-review/menu-editor.png
K.Mandla
June 27th, 2008, 11:43 PM
Moved to Desktop Environments.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.