AutostartĪctions and applications to be launched when starting Openbox are configured in ~/.config/openbox/autostart. But if I wanted to configure something to be Openbox-specific this is a good place to do so. I don't use it myself because most of the relevant settings are configured elsewhere. Set user-specific environment variables in ~/.config/openbox/environment. Scrot 'screenshot-%Y-%m-%dT%H%M%S.png' -e 'mv $f ~/image/screenshot & lximage-qt ~/image/screenshot/$f' Scrot -s 'screenshot-%Y-%m-%dT%H%M%S.png' -e 'mv $f ~/image/screenshot & lximage-qt ~/image/screenshot/$f' Scrot -d 5 -u -z 'screenshot-%Y-%m-%dT%H%M%S.png' -e 'mv $f ~/image/screenshot & lximage-qt ~/image/screenshot/$f' Scrot -d 1 -u -z 'screenshot-%Y-%m-%dT%H%M%S.png' -e 'mv $f ~/image/screenshot & lximage-qt ~/image/screenshot/$f' Modifications go in ~/.config/openbox/menu.xml.Įxample: I add a screenshot sub-menu that calls on scrot to capture the image and lximage-qt to display it. Openbox includes a system menu that appears on a right-click on the desktop. sh -c 'i3lock -c 000000 -i ~/.i3lock.png sync systemctl suspend' Set a custom lockscreen image in ~/.i3lock.png. I use i3lock launched from a keybinding (windows key + l) to lock my screen, or to work in concert with systemctl to lock screen when suspend (windows key + s) is activated. See: Launching windows maximized, and Finding parameters for applications Leave things like dialog windows or panels untouched. Set default condition that matches all application windows and maximize + remove decorations when launched. I create hotkey keybindings that perform a range of actions: switch desktops, move windows, launch menus, lock/suspend/exit the system. Most desktop configuration details for the user are set in ~/.config/openbox/rc.xml. Let's do something with this blank canvas! Add exec openbox-session to ~/.xinitrc, run startx, and behold. I run startx from the console to launch an X environment. $ cp /etc/xdg/openbox/ * ~ /.config/openbox/ On Debian $ sudo apt install openbox obconf dunst dbus-x11 feh hsetroot i3lock libnotify-bin lxappearance lximage-qt menu network-manager network-manager-gnome papirus-icon-theme pavucontrol picom pulseaudio pulseaudio-utils qt5-style-plugins rofi scrot tint2 volumeicon-alsa xfce4-power-managerĬopy Openbox's default config files to $HOME. Verify that the PKGBUILD and accompanying files are not malicious or untrustworthy. Install with an AUR package manager (such as yay), or build manually. Package qt5-styleplugins is available in the AUR. On Arch $ sudo pacman -S openbox obconf dbus dunst feh hsetroot i3lock libnotify lxappearance lximage-qt network-manager-applet papirus-icon-theme pavucontrol picom rofi scrot tint2 volumeicon xfce4-power-manager -needed Install the Openbox window manager and desktop extras. On Debian $ sudo apt install xorg xbacklight xbindkeys xvkbd xinput xserver-xorg-input-all firefox-esr xfce4-terminal fonts-firacode fonts-liberation2 fonts-ubuntu On Arch $ sudo pacman -S xorg xorg-xinit xbindkeys firefox polkit ttf-dejavu ttf-fira-code ttf-liberation ttf-ubuntu-font-family xfce4-terminal -needed Install xorg group, web browser, terminal, fonts. Setup is done on one laptop running Arch Linux and the other running Debian. greater appreciation of how an X environment works.lower memory requirements, runs quick on older hardware.pick and mix your own desktop components.Some advantages of a self-assembled Openbox desktop: I start with a bare display and pick and choose components to make a desktop just the way I like it. However - given a few tweaks, add a few applications, and a fresh splash of "paint" (themes) - Openbox can run in standalone mode and makes an excellent foundation for a custom lightweight and delightful Linux desktop! Let's go! Home → Archive Roll your own Linux desktop using OpenboxĪ window manager like Openbox handles the "drawing" of windows on a display, and typically run underneath heavier full-desktop X environments. Roll your own Linux desktop using Openbox ☯ Daniel Wayne Armstrong Daniel Wayne Armstrong
0 Comments
Leave a Reply. |