[Solved] How can I add "Sleep" and "Hibernate" options alongside these three options?

Title says it really, I really want to have both the sleep and hibernate option added to this part of my setup, but how? I use the Application Dashboard for when I click the meta button.

Am on NixOS if that has anything to say in the matter.

37 points · 13 comments · view on lemmy.world

13 Comments

MentalEdge@sopuli.xyz · 14 pts · 2y (1 reply)

Figured it out.

Open the Power / Session tab:

Then right click an option, and add/remove as favorite:

LunchEnjoyer@lemmy.world · 7 pts · 2y

Ahh shoot can't believe I didn't try this... Thanks a million!! 🌻

McMonkyNSFW@lemmy.world · 6 pts · 2y

I’m not familiar with whatever technology this is, but I too would like the option to sleep or hibernate.

mox@lemmy.sdf.org · 5 pts · 2y (1 reply)

Is that the launcher called Application Dashboard? I don't see a way to do what you're asking with that one.

The default one in Plasma 5.27 (Application Launcher) makes the leave buttons somewhat configurable. It might be worth a try.

LunchEnjoyer@lemmy.world · 4 pts · 2y

Yeah am using Application Dashboard, really like the fullscreen menu, but looks like I might have to do some scripting to add the buttons there myself.

MentalEdge@sopuli.xyz · 3 pts · 2y (1 reply)

I also use the dashboard.

Alternative: set up keyboard shortcuts for sleep and hibernate.

Personally I configured the power button to sleep instead of shut down, so I just hit that when I'm done at my desktop.

LunchEnjoyer@lemmy.world · 1 pts · 2y

Thanks, I might do thid in addition to the posted solution in comments 😊

Braindead@programming.dev · 3 pts · 2y

Not sure about how to actually add them to the bottom button list, but this explains how to do the things you want in a slightly different way...

Toes@ani.social · 3 pts · 2y (3 replies)

I'm not too familiar with adjusting that menu.

But assuming it's not a simple process you could add a script to your favourites there that does what you need.

LunchEnjoyer@lemmy.world · 2 pts · 2y (2 replies)

Ye thought so, I'll ask around on KDE forum too to see if I get better luck there before I start scrambling around with scripts. Thanks though 🌻

Toes@ani.social · 2 pts · 2y (1 reply)

https://pastebin.com/GLvwnKNQ

See if these do it for you. 🌞

LunchEnjoyer@lemmy.world · 2 pts · 2y

Thanks for sharing, however another solution was also just posted πŸ‘

Lantern@lemmy.world · 2 pts · 2y

I don’t use Application Dashboard, but on Plasma Drawer if you right click these options, a context menu pops up and allows you to choose what options are presented.