Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am currently trying to modify an applet for the best linux dock (Cairo-dock) and in that existing applet I want it to call the KDE logout screen, the small window in which you have the basic choices such as Log Out, Shutdown and Restart. I think it's called KMS, but not sure.
What is that command line?
Sure I could call killall, shutdown, reboot and that stuff, but I need 3-4 choices and the applet has a little flaw, it only gives 2 choices. So I wanted to have the main choice calling the logout screen inside which I will find my usual logout-restart-shutdown.
I believe the program is some part of ksmserver -- KDE's session manager. How to call that particular dialog, I don't know. I would try opening it up, then switch to a console and see if you can figure out which program was added the ps aux output.
I believe the program is some part of ksmserver -- KDE's session manager. How to call that particular dialog, I don't know. I would try opening it up, then switch to a console and see if you can figure out which program was added the ps aux output.
That's a good idea, I'll give it a try and see if I can find anything.
Unfortunately it does not work. When you click outside the dialog, the dialog vanishes. I tried with a simple script
sleep 3
ps aux
unfortunately if I bring the dialog after sleep 3, the script freezes, then when I cancel or get out of dialog, the script continues, therefore when it does the ps aux you are already out of the dialog.
I'll see if I can modify the cairo applet differently, other than calling this dialog.
For such a long time i adapt to the Command Line Interface(CLI),that almost all the time i use command to operating my system except browse the website!
It's more effective to manage the system though the command .
Just choose what you like!
Hum, well inside the konsole there is no new process, no difference before and after clicking on the logout button, using ctrl-alt-f1.
So it's not an easy one, yes. Will try to work around this, then.
tnx
I found this. I'm not sure what pops up when you set it to prompt for confirmation. Maybe just the "Are you sure you want to shutdown/logoff/reboot?", not the "which do you want to do?" dialog...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.