Install Openbox on Arch Linux

aaah

Attention!: Before installing open box, you must install the Basic Graphic Environment (Xorg) and video driver, if you don't have it installed, go to the following guide:

Installation of Basic Graphic Environment and Video Driver.

Openbox is a lightweight, highly configurable window manager with wide compatibility with standards.

-11c

Openbox installation

Openbox is available from the official repositories.

$ sudo pacman -S openbox

Once installed, we must copy the files rc.xml, menu. Xml, autostart y environment from default configuration to ~ / .config / openbox /.

To copy the files:

$ mkdir -p ~ / .config / openbox
$ cp / etc / xdg / openbox / {rc.xml,menu.xml,autostart,environment} ~ / .config / openbox

These files are the base of your configuration in openbox. Each file targets a single aspect of the configuration and serves the following roles:

-year

rc.xml: It is the main Openbox configuration file. It is used to configure keyboard shortcuts, themes, virtual desktops, other properties.
-year

menu.xml: Controls the Openbox application menu that appears when you right-click on the desktop.
-year

autostart: This is the file that is read when starting the openbox session. Contains the programs that will be started with the session. It is typically used to launch docks, set the background image, or run scripts at startup.
-year

environment: This file sets the Openbox environment variables. Any variables set will be executed on each login. Used to start IMEs, export language modules, indicate the default directory and so on.

-12d

 Plugin Installation

-a

ObConf: is a graphical interface tool for configuring Openbox, which can set most of the preferences including themes, virtual desktops, window properties, and desktop margins.

$ sudo pacman -S obconf

-a

 MenuMaker: is a powerful tool that creates XML-based menus for a number of window managers, including Openbox. MenuMaker will search for executable programs that are installed on your computer and create an XML menu based on the results.

$sudo pacman -S menumaker

-a

Tint2: Basic and customizable user panel.

$sudo pacman -S tint2

To start Tin2 at the start of the environment:

We open our file ~ / .config / openbox /autostart.sh o .xinitrc (just choose one), for example .xinitrc:

$ nano .xinitrc

We place the following line inside:

tint2 &

-a

Applet for Networkmanager.

$ sudo pacman -S network-manager-applet

-a

Nitrogen: is a fast and lightweight wallpaper browser/placer for X.

$sudo pacman -S nitrogen

To restore our background to the start of Openbox, we add Nitrogen to our file .xinitrc or to our ~ / .config / openbox / fileautostart.sh, we open either of the two, for example .xinitrc:

$ nano .xinitrc

Once inside, we put the following line at the end:

nitrogen --restore &

-a

lxappearance a tool for selecting themes, icons, cursors, fonts. In short, it is a highly recommended tool for customizing the environment.

$sudo pacman -Slxappearance

-a

Slim startup manager:

$sudo pacman -S thin

-13d

 Environment settings

This is the part of the guide let's say more "entertaining" since as I had said before, open box It is one of the most configurable environments, in this step we use the previously installed tools.

-year

obconf:

We open the tool to see and / or activate the functions already mentioned:

$ obconf

-year

MenuMaker:

Once installed, you can generate a full menu by running:

$ maker -v OpenBox3

By default, MenuMaker will not overwrite a previous menu.xml file. To do so, run it with the -f (force) argument:

$ maker -vf OpenBox3

For a full list of options, run

$ maker --help

This will provide you with a fairly comprehensive menu. Now you can modify the file menu.xml by hand, or just regenerate the list when you install new software.

Another alternative, especially if you don't like to edit XML files:

Obmenu is a graphical editor for the Openbox menu. For those of you who don't really like fiddling with XML, this is probably the best option for you.

-14d

 Themes and appearance

This is the last step to have our environment finished.

The themes of open box control the appearance of window borders, including the title bar and its buttons as well as notifications (OSD). A number of themes are available by installing the openbox-themes package.

$ sudo pacman -S openbox-themes

box-look is a great resource for getting topics from open box.

The downloaded themes should be placed in ~ / .themes and can be installed or selected with the tool ObConf (previously installed).

-15d

Activate login manager

Slim reads local settings from ~ / .xinitrc and then start the desktop according to what is in this file, in the guide: Arch Linux Basic Configuration There is a base file for .xinitrc, in case you don't have it, perform the following command:

$ cp /etc/skel/.xinitrc ~

We open our ~ / .xinitrc file:

$ nano .xinitrc

We add our environment at the end:

exec openbox-session

We activate Slim:

$ sudo systemctl enable slim.service

• We restart:

$ sudo reboot

Once our system is restarted, we can enjoy openbox.

Please! send your problems / doubts in my email: [email protected]

ff

Help us with one click! Share the guide with your friends.


Add as preferred source