command line 'NO' and GUI 'YES' - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6) +--- Forum: Start up and Shutdown (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=27) +--- Thread: command line 'NO' and GUI 'YES' (/showthread.php?tid=151) |
command line 'NO' and GUI 'YES' - SkylineR34 - 03-24-2014 Ok I initially had problems with shutting down after I used NDISWRAPPER. I managed to change the etc/init.d/halt script and I was able to shutdown with no problems. Then I decided that I wanted to make a shutdown icon and place it on the desktop. While I attempt this a suggestion pops up but when I try it, It gives me more options to as restart shutdown etc. So I am trying to avoid so many steps I want to shutdown directly. So I have tested many commands to use for this on the command window and most of them hang my machine. It does not hang when I use the GUI as I said. What is the command that is evoked when I click shutdown on the GUI? I want to use the same one for my special OFF button. Thanks Re: command line 'NO' and GUI 'YES' - SkylineR34 - 03-24-2014 OK so I just found that sudo shutdown -h now works for me but when I go to "create launcher" in the command section I write this line of code and nothing happens If I use the terminal directly it works I sense that I am almost there thanks Re: command line 'NO' and GUI 'YES' - Valtam - 03-24-2014 That idea actually makes the shutdown process more cumbersome. You'll have to enter a password each time you want to shutdown. Personally I would avoid this like the plague, the conventional way is 2 clicks, how bad is that really. Re: command line 'NO' and GUI 'YES' - SkylineR34 - 03-24-2014 OK this one worked for meĀ ;D Xfce4-session-logout --halt You have to double click it for it to work. I have no problem with this I just didnt want to be prompted with more options. |