SliTaz Desktop
- Introduction.
- Openbox.
- Configure Openbox.
- Themes.
- Context Menu.
- Applications started automatically.
- Wallpaper and icons.
- LXPanel.
- Visual effects.
Introduction
The default SliTaz desktop is brought to you using different components of the LXDE project. Openbox, PCmanFM and LXPanel combine to implement a Desktop providing simplicity and functionality.
Openbox
Openbox is a fast, simple, themeable window manager that doesn't consume all of your system resources, it is the window manager by default on SliTaz. A window manager is an application that runs on top of the X server to control the appearance of windows, open a X terminal or display applications. It can then place, cut and resize windows at will.
Openbox provides a context menu via a right click on the desktop,
this menu can be changed by editing a configuration file. The key
combinations Alt + TAB allow you to list and navigate
through open windows. Obconf can be used to graphically configure
the window manager and various small tools (specific to SliTaz) allow
you to have a simple, stylish and coherent desktop. By default,
SliTaz uses 4 virtual desktops.
The Desktop provided by SliTaz complies with the Freedesktop standards, the file manager PCmanFM allows for management of desktop icons, drag and drop (drag and drop) and the mounting of devices with a solitary click. The panel menu, taskbar, icons, etc are powered by LXpanel.
Configuring Openbox
Most options can be configured graphically using the Obconf utility
located in the "Preferences" menu. The configuration file can also
be modified using your favorite text editor, this is located in your
home directory ~/.config/openbox/rc.xml and is a XML file.
The keyboard shortcuts are defined in the <keyboard> section of the
configuration file.
Themes
Openbox supports themes through a single file using syntax specific to the
window manager. Several default themes are provided, they can be selected
via Obconf and are found in /usr/share/themes. Each system user
can install their own themes in the directory ~/.themes either
manually or via Obconf. If you want to create your own themes for SliTaz,
then the easiest way is to copy and rename an existing theme and then
edit the file themerc. Optional themes can also use images for
buttons, icons, etc. These images can be created or modified via an image
editor such as the Gimp or mtpaint.
On the Internet you will find many more themes created by the Openbox community. More information can be found on the official Openbox website.
Context Menu
The menu is in the file ~/.config/openbox/menu.xml, the syntax
of the XML file is simple and easy to understand. It also possible to edit
this file with obmenu (not installed by default). An
example for an application in a sub menu:
<item label="File Manager"> <action name="Execute"><command>pcmanfm</command></action> </item>
The subumenus are defined at the end of the file using the menu
tag. The tag menu can use a pipe to display the menu entries,
ie. a script that creates entries on the fly. SliTaz offers by default
a pipe menu that allows you to directly open your Favorites folder
with the file manager PCmanFM. The script is found in /usr/lib/openbox
and can be used as an example.
Applications started automatically
When starting in graphical mode, Openbox allows many applications to start
automatically via the ~/.config/Openbox/autostart.sh script.
By default, using this script, SliTaz starts the file manager PCmanFM for the
management of screen and desktop icons, the panel (LXpanel) for the menu,
and dbus and Ivman for the management of devices or media such as USB keys.
To add or remove applications launched at startup of the session, you can edit
the script or use the small SliTaz GUI located in the menu "Preferences" →
"Auto started applications":
Wallpaper and icons using PCmanFM
Openbox doesn't manage the screen natively, you can use
an external tool, this allow more freedom of choice. The default desktop
on SliTaz uses the file manager PCmanFM to display pictures as wallpaper
and have desktop icons. Alternatively, you can use the package
hsetroot to display a picture or xsetroot for
a solid color. PCmanFM is started with the Openbox session as a daemon;
ie, it runs in the background and launches faster. To change the current
background image, you can go through the file manager preferences or via
the menu "Preferences" → "Wallpaper".
The icons are displayed via a simple text file (.desktop),
following the Freedesktop standards, you can create your own or customize
using your favorite text editor. To add icons to the desktop, SliTaz provides
a tiny graphical box accessible via the menu "Preferences" →
"Desktop icons" or alternatively, you can use the Openbox context menu
"Desktop files & Icons" → "Add new icon":
LXPanel
LXPanel forms part of the LXDE project and handles the taskbar, menus,
icons etc. Menus are dynamically generated by adding .desktop
files to the /usr/share/applications directory.
The system configuration file is located in /etc/lxpanel
and can also be stored locally in ~/.config, though it is
recommended that you configure LXPanel graphically by using the
"Panel Settings" (right click) entry on the taskbar.
Panel Preferences
The LXPanel configurator has 3 tabs:-
Generalhandles the position, size - either dynamic or fixed, panel background and properties.Panel Appletslets you add, remove, edit and move plugins around on the panel.Advancedallows you to set preferred applications like the file manager, terminal and logout command.
The official website for the LXDE project and LXPanel can be found here.
Visual effects
SliTaz provides several tiny tools to give effects to the Openbox windows
and menus. You can have transparent windows or use shadows to create
depth on the Desktop. The effects are achieved via xcompmgr
(composite manager) and transset-df
(transparency) and both can be activated at the same time on the
session using the Openbox context menu → "Desktop Effects".