Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE Shutdown Menu missing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1024
Location: Stuart, Florida

PostPosted: Thu Apr 18, 2019 1:35 am    Post subject: KDE Shutdown Menu missing Reply with quote

I just moved my system to a new computer and incidentally emerged a new version of KDE using a chroot.

Anyway, my current KDE environment has the Power OFf and Reboot menu items missing from the Power/Session menu.

Any thoughts on how to get them back?

KDE Plasma Version 5.14.5
Frameworks Version 5.54.0
Qt Version 5.11.3
Kernel 4.19.27-r1
OS Type amd64
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1024
Location: Stuart, Florida

PostPosted: Thu Apr 18, 2019 4:22 am    Post subject: Reply with quote

I created a new user and the shutdown and restart options were missing on that Power/Session menu as well.
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1024
Location: Stuart, Florida

PostPosted: Thu Apr 18, 2019 2:27 pm    Post subject: sddm missing shutdown and reboot buttons Reply with quote

In researching why there isn't a shutdown or reboot menu item in my version of KDE, I came across a comment on the web, that KDE uses sddm for those functions and they are missing from my current version of sddm.

Is there a setting that will cause these controls to reappear? I have checked /usr/share/sddm/sddm.conf and none of the settings appear to control these functions. I don't see the file /etc/sddm.conf described in the documentation or anything similar to it in /etc.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3423

PostPosted: Thu Apr 18, 2019 4:03 pm    Post subject: Reply with quote

I believe your solution will be found in the USE flags when you build sddm.
I believe you need either "elogind", "consolekit", or maybe "systemd" in order to get the reboot/shutdown buttons. One of those is how it gets the authority to perform those functions.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1024
Location: Stuart, Florida

PostPosted: Thu Apr 18, 2019 4:23 pm    Post subject: Reply with quote

Annoying that the USE flag requirement silently came with no notice.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7428
Location: Austria

PostPosted: Thu Apr 18, 2019 4:56 pm    Post subject: Reply with quote

Featherfoot wrote:
Annoying that the USE flag requirement silently came with no notice.

Why do you think that anything has changed on that end? I don't see a difference between latest sddm and 0.15.0, the latter was introduced in 2nd Sept 2017. Besides, desktop profiles will already have you covered there. Do you use a desktop profile or not?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1024
Location: Stuart, Florida

PostPosted: Thu Apr 18, 2019 5:25 pm    Post subject: Reply with quote

I don't believe I have ever set a desktop profile. I don't think I ever needed one.

I can see how these things can disappear without notice, and I can understand the rationale for why someone would not want their computer to be shut down or rebooted. I would expect that this be an explicit setting buried in a system configuration file.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7428
Location: Austria

PostPosted: Thu Apr 18, 2019 6:03 pm    Post subject: Reply with quote

Do you understand the concept of desktop profiles and what they could do for you, e.g. having to ask for support less often? It is also mentioned in our wiki: https://wiki.gentoo.org/wiki/KDE
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1024
Location: Stuart, Florida

PostPosted: Thu Apr 18, 2019 6:43 pm    Post subject: Reply with quote

I read it again and I see that somebody has added the USE variable kdesu to kde-cli-tools. That may help me.

I'm a retired programmer and I lived in the world of making changes and having users mad at me because I broke the system. I sympathize with both sides of the problem. In this instance, as a user, I think you would have a better system if you made a decision about what would be the best option and not require USE variables to get that case. Furthermore, breaking a working desktop without notice is also disheartening.

If it weren't for people like you on the forums to help me figure out what happened, it would be time for Ubuntu.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7428
Location: Austria

PostPosted: Thu Apr 18, 2019 9:23 pm    Post subject: Reply with quote

Featherfoot wrote:
I read it again and I see that somebody has added the USE variable kdesu to kde-cli-tools.

kdesu is default-enabled in kde-cli-tools since its beginning in 2015.

Featherfoot wrote:
In this instance, as a user, I think you would have a better system if you made a decision about what would be the best option and not require USE variables to get that case.

Many Gentoo users will disagree with you. There are three ways for sddm to do this, we support all and none of them. As a desktop user, choose any desktop profile and you will be covered. If not, you have chosen to make it your own duty to figure this out.

Featherfoot wrote:
Furthermore, breaking a working desktop without notice is also disheartening.

But nothing has changed on Gentoo's end.

I have provided a link to our KDE wiki for a good reason.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1024
Location: Stuart, Florida

PostPosted: Thu Apr 18, 2019 9:42 pm    Post subject: Reply with quote

Nothing has changed as you assert, but it broke within the last month.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18335

PostPosted: Sun Apr 21, 2019 3:00 am    Post subject: Reply with quote

Merged newer thread to the older thread.

It is generally considered good netiquette to not post to your own thread within 24 hours if no one has responded. Many people try to help by searching for threads with no replies. That may be why no one responded to the first thread. It is even better netiquette to not create duplicate threads.
_________________
Don't even pause and ask them why. Turn around and say goodbye.
Back to top
View user's profile Send private message
VoxUnius
n00b
n00b


Joined: 31 Jul 2018
Posts: 10

PostPosted: Sat Apr 27, 2019 3:10 am    Post subject: Reply with quote

Hi guys,

Is it the same issue as https://forums.gentoo.org/viewtopic-p-8329772.html ?

Cheers.
Back to top
View user's profile Send private message
Ghoraab
n00b
n00b


Joined: 23 May 2014
Posts: 17

PostPosted: Sun Nov 24, 2019 8:08 am    Post subject: Reply with quote

Just in case someone stumbles on this thread with the same problem:

I have a fresh install using elongind and sddm and the shutdown, restart, hibernate and standby buttons were missing. Powerdevil and upower were installed.
Adding elogind to the boot runlevel solved the problem for me, see here.

Good luck on the path
Back to top
View user's profile Send private message
daveg
n00b
n00b


Joined: 26 Mar 2006
Posts: 38

PostPosted: Tue Feb 04, 2020 6:07 am    Post subject: Reply with quote

Ghoraab wrote:
I have a fresh install using elongind and sddm and the shutdown, restart, hibernate and standby buttons were missing. Powerdevil and upower were installed.
Adding elogind to the boot runlevel solved the problem for me, see here.


That fixed it for me, thanks. The strange thing is, the menu options were there earlier in the install process when I was using startx to start a session. When I switched over to sddm, they were gone - from both!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum