Comments (4)
Turns out all I needed was elogind. The solution is (for example) to use loginctl reboot
instead of systemctl reboot
from rofi-power-menu.
@doonoo It's quite hard, after I search how to detect init system using bash script. There is no "safe" way to do that.
I think workaround for this, you need to edit the script on your system. I did it on my Artix and it works well.
from rofi-power-menu.
Turns out all I needed was elogind. The solution is (for example) to use
loginctl reboot
instead ofsystemctl reboot
Thank you for posting the solution. I made a pull request to add a comment in the script to explain this, so people have less searches to do on Google.
from rofi-power-menu.
Currently, editing the script to match the correct system is the way to go. Future implementation for this might come but no promises.
from rofi-power-menu.
Related Issues (20)
- The logout button caused my kernel to have a kernel panic HOT 1
- Void Linux support HOT 1
- Symbols disappear or change
- Unable to lock Lock was blocked by an application HOT 1
- Hibernate not working HOT 1
- rofi-power-menu works when launched from terminal but not from sxhkd keybind HOT 2
- Wrong icons after updating to Nerd Fonts 3.0.0 HOT 2
- betterlockscreen and i3lock fail to lock HOT 1
- Use of `loginctl terminate-session` to logout is apparently nonstandard HOT 6
- Icon and text on different line
- Example command in README causes error: unrecognized option '--symbols-font'
- Execute action after rofi window is closed
- Can I use a seperate themec onfig file for the power menu?
- 🔒 i3lock & betterlockscreen support HOT 3
- Menu translation HOT 2
- `display-power-menu` seems not to work HOT 1
- escape key doesnt exit properly
- hyprlock support HOT 1
- Is AUR package coming? HOT 1
- No icons HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rofi-power-menu.