Customization of our desktop
It is now up to us to customize the desktop.
I will be using the following assets
- Sardi icons from sourceforge
- Sardi extra icons from github
- Surfn icons from github
- Plank themes from github
- Aureola conky from github
and all the scripts to install any of the above and all the applications we need to work and play from this github.
Gettting the scripts
We will go to the github of AntergosOpenbox and download the installation scripts. Scripts or files are just a collection of terminal commands, you would type to install software, pasted in one file.
Tip : you can fork my github and change the scripts to your liking
Follow and install the scripts. You will receive an explanation about the contents of the scripts.
Personalisation of Antergos Openbox
I have not choosen to install all scripts at once. Now I can cut the tutorials into very specific issues and solve them one by one.
Let us get the scripts from the Antergos Openbox github first.
git clone https://github.com/erikdubois/antergosopenbox
First tutorial will show you how to get the code from github.
Openbox conky and Aureola conky
When we start Antergos Openbox we see a conky. The menu is not visible but can be activated with right mouse click. We navigate with the file manager to figure out where the code is for this Antergos conky file. The Aureola conky can be found in
Open with mousepad to see the configuration.
We will go over all the software that is installed via Antergos.
We install aureola conky collection by running a script and install the Aureola Acros conky and change as well the logo of the conky.
We want our aureola conky to start at each reboot. Normally conky aureola will boot on its own because of a file we copy/paste to ~/.config/autostart.
We do not need to edit the file ~/.config/openbox/autostart.
DELETE THE COMPLETE LINE about conky in ~/.config/autostart.
Tip: opening a terminal in current folder can be done with F4 in pcmanfm not with right-mouse-click
Lxterminal will be used standard for terminal in openbox IF you set it in the preferences panel.
I discovered this a few tutorials later and show this in the middle of this tutorial.
Installing plank themes and changing the preferences
Let’s install the plank themes with a script. Openbox has already the latest plank application. The script will install the themes ~/.local/share/plank/themes.
Plank will not create a file in the ~/.config/autostart file. So we need to add plank to the startup file of openbox at ~/.config/openbox/autostart.
Variety can provide and change wallpapers. It will give you wallpapers from desktoppr.co. I advise you to make an account there and use your free dropbox account to sync all the wallpapers.
We had some trouble installing variety. The issue was that an application, it relies on, was not installed.
Antergos uses nitrogen to set the wallpaper.
Variety uses feh to set the wallpaper. Installing feh fixed the issue.
sudo pacman -S variety feh
NOT necessary to add variety to the file ~/.config/openbox/autostart. It will add itself at ~/.config/autostart IF you activate this in the Variety Preferences like you see it in this screenshot.
Normally we need to edit this file (~/.config/openbox/autostart) and add a line for variety. BUT this is not necessary for variety.
In the tutorial however I will add a line to figure out later that it is started automatically due to the settings of variety to autostart it. Variety will install a file in ~/.config/autostart.
Applications to change openbox
What have we done up to now and what applications are installed out-of-the-box in Antergos?
Let us look for configuration applications like
- openbox configuration manager
- customise look and feel
- openbox autostart
I will go over all the possible configuration tools.
Installing icons, themes, conky and cursor
We run a script to quickly install all elements including the following elements
- sardi icons
- sardi extra icons
- surfn icons
- arc theme from horst3180 – blue
- breeze-snow cursor
- plank themes
We will need to install an special arc theme for the window borders in openbox.
Speed of github sometimes is very slow. Stop the script and start again.
How to change the openbox look
We will select a new theme, icon set and cursor.
We use Customise Look and Feel aka lxappearance.
We will need to install openbox-arc-git to be able to change our window borders in Openbox.
In this tutorial we will install also packer, an Aur helper, finally. Previously we have been using yaourt.
Changing the font in openbox
You can change the font and the font size in openbox as well. There are different places to change it.
The font size of the menu is for me an issue. It would like to make it a lot bigger.
The Openbox Configuration Manager is the place to change many settings of openbox
Fonts can be changed for
- active window title
- inactive window title
- menu header
- menu item
- active-on-screen display
- inactive-on-screen display
We will add the shade (roll up) in the meantime.
Some of the aureola conky’s use graphical representation like circles, clocks or bars. We need to install an application from AUR.
An example of the aureola phantom.
We take a look at the configuration file of this conky and change the code so the text does not overlay the picture.
Desktop changes and more software installation
We have changed our desktop. A red wallpaper made me change the theme, icons and conky.
Let us install more software via the scripts. Like firefox, vlc, neofetch, spotify, sublime-text, …
Adding my personal configuration preferences for applications
The personal folder is a collection of configuration files. Rather than setting my preferences every time manually I copy/paste my configuration files to specfic places.
We have installed a variety of Arc Colora themes.We will use the Arc-Dark-Crimson theme made with the arc colora scripts.
We check if the configuration folders exist and if not they will be created.
Bookmarks we always go to like dropbox or .config can be added.
Setting gnome-screenshot to take pictures in jpg rather than png.
Gimp scripts and themes will be copied.
Configuration of sublime text will be copied.
Configuration of variety will be copied.
Plank settings are copied.
After logging out and logging in our ‘new’ personal preferences for icons have been applied due to a script.
Firefox script to fix inputboxes that become unreadable because I choose Arc Dark.
Installing extra software for Openbox
We check all the software we get from Antergos and install even more software that will help us in the next tutorials.
I want to know what has been installed by Antergos and what has not yet been installed.
I take my script apart and check manually via pacman or packer if it is already installed.
Obmenu is a gui tool to edit ~/.config/openbox/menu.xml
Notify-osd is a notification daemon.
Obconf is the openbox configuration manager.
Lxappearance is the tool to change themes, icons and cursors.
Lxrandr a tool to set your display.
Obkey will be our editor for all the keyboard shortcuts.
Ob-autostart is a simple autostart application for Openbox.
Nitrogen is for wallpapers.
Feh is necessary for variety to work.
Menumaker is obviously a menu maker. Check here for more info.
Obmenu-generator is the one that will create my menu from now on. You can set your parameters and variables in these two files :
Help is on the way with these commands.
obmenu-generator -p -i
obmenu-generator -s -c
Gmrun is a way to run commands or start applications.
Archlinux-xdg-menu is an other way to make a menu as described here.
Xfce4-panel is an other way to give you a panel. It can serve as a replacement for tint2.
Compton is used to achieve shadow and transparency.
Dmenu is an other way to have a menu coming from i3.
Lxinput is to set your mouse and keyboard.
Playerctl is a tool to control your sound buttons.
Openbox-themes are themes made just for openbox.
At the end of the video I got confused and mixed playerctl up with pasystray. There is NO ISSUE with playerctl.
In the meantime I found an application that works on the Aur : pasystray-gtk3-standalone
Making a menu automatically
Antergos Openbox comes with the pcmanfm file manager. I have also Nemo (file manager from Linux Mint) and I will set my preferences. Thunar Manager is also installed because of catfish that we like to search for text, hidden or inside files.
The first time we start Nemo, it takes over our desktop. You will be able to right mouse click the desktop and add folders and files like you normally can in Linux Mint.
At this point we can NOT get to the standard menu of Openbox with our right mouse click.
From now on we activate the menu with Super + spacebar.
If you stop nemo in the terminal with “nemo –quit”, you will get back the standard menu with right mouse click.
We will take at all the software that has been installed until now.
We can create menu’s with obmenu-generator.
These two file will be the template it starts from.
Parameters I changed in config.pl are :
- editor = subl3
- terminal = gnome-terminal
Parameters I changed in schema.pl are :
- nemo = filemanager
Help is on the way with these commands.
obmenu-generator -p -i
obmenu-generator -s -c
You can make a static menu with or without icons. They will not change if you delete or add applications.
You can make a dynamic menu with or without icons. They will change if you delete or add applications. They are also called piped menu’s.
We will copy/paste my personal preferences to ~/.config/obmenu-generator.
This application will replace your personal menu.xml in ~/.config/openbox and make a backup. But just make a backup yourself to be sure.