Table of Content
This is a multiple-parts article. There are few sections here.Overview
Config: General rc.xml
Config: Key and Mouse Binding
Menu: XDG Applications
Tint2: Simple Taskbar
Tint2: More Backgrounds
Tint2: Panel Items
Install: openbox, tint2
Install: scrot, feh, nitrogen
OB Menu Generator
Goal: Explaining how to log out from openbox using menu.
Sub menu systemd
Using systemd exit is as easy as:
And the respective openbox menu would be
I have test this in my Fedora, openSUSE and Debian.
Sub menu other than systemd
This could be like this in other system (such as openrc). But may vary depend on your setup.
It needs workaround to setup this in openbox menu.
And in mainmenu add this.
The result is as simply as this one.
The issue with systemctl is, any user can shutdown.
There are some workaround,
such as using
Just edit your xml menu config.
Now your menu could be
Using urxvt sudo
Using xterm sudo
Setting up sudoers
In order this
sudo to work you,
first you must setup
Or in openSUSE, there is something like this:
Forcing no Password
Now consider to see non-systemd again.
The respective openbox menu would be
And set in
to make it behaves like systemctl.
Use no password.
I have test this in my Gentoo.
There is, however, this old good trick from urukrama, using gxmessage. gxmessage is not very common, and not available in all distro.
Let me rewrite the good script for a modern days systemd style.
Or the ugly one.
We are almost finished with openbox configuration.
Consider continue reading [ Openbox: Exit ].
- August 2018
- July 2018
- June 2018
- Distribution - Slackware Plasma 5
- Linux Network - Samba
- Linux Multiboot - chroot
- Linux Multiboot - /etc/fstab
- Linux Multiboot - Partition Schema
- Tint2 - Panel Items
- Tint2 - More Backgrounds
- Tint2 - Simple Taskbar
- Openbox Utility - Exit
- Openbox Menu - Generator
- Openbox Menu - XDG Applications
- Openbox Menu - Dynamic
- Openbox Menu - Static
- Openbox Config - Rules
- Openbox Config - Key and Mouse Binding
- Openbox Config - General rc.xml
- Openbox Config - Overview
- April 2018
- March 2018
- February 2018
- January 2018