You are not logged in.

#1 2012-12-23 21:21:58

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 246

[SOLVED]Kickoff leave menu

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

#2 2012-12-24 03:22:27

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED]Kickoff leave menu

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

#3 2012-12-24 11:02:29

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 246

Re: [SOLVED]Kickoff leave menu

cfr wrote:

Are you booting with systemd?

Probably.

cfr wrote:

Do you have the compatibility package installed which sets up the necessary symlinks?

Do you mean this package systemd-sysvcompat  ? If true, yes.

cfr wrote:

What groups are you in?

I'm a normal user.

cfr wrote:

How do you start KDE?

I use .xinitrc and SLiM as login manager, with the command: exec startkde.

Offline

#4 2012-12-24 19:56:18

deniolp
Member
From: Spain
Registered: 2012-09-11
Posts: 24
Website

Re: [SOLVED]Kickoff leave menu

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 - FluxBB bbcode test...   ;-)


@有志者事竟成@

Offline

#5 2012-12-25 10:00:15

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 246

Re: [SOLVED]Kickoff leave menu

up

Offline

#6 2012-12-25 10:11:33

deniolp
Member
From: Spain
Registered: 2012-09-11
Posts: 24
Website

Re: [SOLVED]Kickoff leave menu

Grant wrote:

up

So, is your issue solved? Was is that bug?


@有志者事竟成@

Offline

#7 2012-12-25 17:32:11

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED]Kickoff leave menu

Grant wrote:

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

#8 2012-12-25 19:02:59

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 246

Re: [SOLVED]Kickoff leave menu

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

#9 2012-12-25 23:47:19

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [SOLVED]Kickoff leave menu

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

#10 2012-12-26 00:40:19

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: [SOLVED]Kickoff leave menu

You should search more thoroughly, magic key-word is: "consolekit removal". For example: https://bbs.archlinux.org/viewtopic.php?id=152700

Offline

#11 2012-12-26 06:49:04

deniolp
Member
From: Spain
Registered: 2012-09-11
Posts: 24
Website

Re: [SOLVED]Kickoff leave menu

So,  that is bug. And as @tommytomatoe said, there are two options can be used:
1. Use startx (.xintrc) with consolekit installed
2. Use kdm login manager, consolekit not required

I just made the "systemctl pweroff" button..


@有志者事竟成@

Offline

#12 2012-12-26 10:28:27

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 246

Re: [SOLVED]Kickoff leave menu

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

Board footer

Powered by FluxBB