You are not logged in.
Hello,
I have recently installed kde, and I want to add the shutdown and reboot button in the kickoff menu. I have found this thread (https://bbs.archlinux.org/viewtopic.php?id=147388), and changed the HaltCmd of shutdown with /sbin/shutdown -h -P now, but it doesn't work.
Infact I don't see the shutdown button in the leave menu.
Why?
Regards,
Grant.
Last edited by Grant (2012-12-26 10:28:50)
Offline
Are you booting with systemd? Do you have the compatibility package installed which sets up the necessary symlinks? (Alternatively, you can just specify the systemctl commands in the config.)
What groups are you in? How do you start KDE?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Are you booting with systemd?
Probably.
Do you have the compatibility package installed which sets up the necessary symlinks?
Do you mean this package systemd-sysvcompat ? If true, yes.
What groups are you in?
I'm a normal user.
How do you start KDE?
I use .xinitrc and SLiM as login manager, with the command: exec startkde.
Offline
I have the same problem with "shutdown" and "reboot" buttons in KDE, but I don't use Login Manager at all. I start KDE with ~/.xinitrc (autologin & startx). So was looking for the solution and found this: https://wiki.archlinux.org/index.php/KD … ng_systemd. So that is KDE bug - https://bugs.kde.org/show_bug.cgi?id=294714. I am not sure that it is your case, but wiki says:
Note that this bug does not concern systems using KDM.
So.. as long as this bug is not fixed, I made my own "special funny" button -
... ;-)
@有志者事竟成@
Offline
up
Offline
up
So, is your issue solved? Was is that bug?
@有志者事竟成@
Offline
up
Please don't do this - it is against the forum rules in any case but is especially annoying when you don't seem to have followed up the leads which people have given you. If it is the bug, bumping your thread here will have absolutely zero effect. If not, bumping will also have zero effect although explaining why not obviously might.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
When I use shutdown -h now or reboot to do the relative functions, they work.
The problem is that I don't have the relative button in the kickoff menu. I don't think is a bug.
How I can solve?
Last edited by Grant (2012-12-25 19:03:31)
Offline
Why don't you think it is that bug since that bug affects (1) shutdown/reboot in KDE on (2) setups not using KDM and you (1) cannot shutdown/reboot (through GUI) on (2) a setup which does not use KDM? I'm not saying you don't have good reasons for what you claim but if you don't explain them, I'm not sure what help people are likely to be in a position to give.
In my experience, if there's an authorisation problem, KDE just doesn't offer the options for the unauthorised actions. Fixing the authorisation fixes the missing options. That sounds like what you're seeing.
Last edited by cfr (2012-12-25 23:48:31)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
You should search more thoroughly, magic key-word is: "consolekit removal". For example: https://bbs.archlinux.org/viewtopic.php?id=152700
Offline
Offline
If is an authorization problem, why logging with root's account it doesn't work the same?
I have read that consolekit is out of date, and so I don't want to use it. I will try to create some shortcuts to reboot and shutdown my system or do like deniolp.
Thanks to all participants.
Offline