View on GitHub

Draco

Desktop Environment

Download this project as a .zip file Download this project as a tar.gz file

screenshot

GitHub last commit Build Status GitHub issues Telegram chat

Draco Desktop Environment

Draco is a simple and lightweight desktop environment. While small still features XDG integration, freedesktop services and integration, power and storage management, desktop, panels, multi-monitor support and much more. Draco does not include any user applications.

Draco is developed for and on Slackware Linux.

Features

Desktop

Panel

Storage management

Power management

Usage

Default shortcuts

Shortcut Action
Alt+F1 Default terminal
Alt+F2 Application launcher
Ctrl+Alt+Left Switch desktop/workspace
Ctrl+Alt+Right Switch desktop/workspace
Ctrl+Alt+Up Switch desktop/workspace
Ctrl+Alt+Down Switch desktop/workspace
Shift+Alt+Left Move window to desktop/workspace
Shift+Alt+Right Move window to desktop/workspace
Shift+Alt+Up Move window to desktop/workspace
Shift+Alt+Down Move window to desktop/workspace
Win+F1 Switch to desktop/workspace 1
Win+F2 Switch to desktop/workspace 2
Win+F3 Switch to desktop/workspace 3
Win+F4 Switch to desktop/workspace 4
Win+D Toggle show desktop
Alt+Tab Next window
Alt+Shift+Tab Previous window
wheel/touchpad up/down on desktop Switch desktop/workspace

Screen saver

Draco depends on XScreenSaver to handle the screen session, the default settings may need to be adjusted. You can launch the (XScreenSaver) configuration GUI with the xscreensaver-demo command or from settings.

Recommended settings are:

A custom configuration tool will be added in the future.

Backlight

Backlight is supported through /sys/class/backlight. The current brightness can be adjusted with the mouse wheel on the system tray icon.

Hibernate

A swap partition (or file) is needed by the kernel to support hibernate/hybrid sleep. Edit the boot loader configuration and add the kernel option resume=<swap_partition/swap_file>, then save and restart.

Note that some distributions don’t require resume=, and some have hibernation disabled. Consult your distribution documentation regarding hibernation.

Components

Draco is divided into the following components:

Screenshots

Various screenshots.

Settings

Main settings:

screenshot

Draco XDG/mime settings:

screenshot

Applications and services that are launched during desktop startup:

screenshot

Basic keyboard configuration:

screenshot

Panels configuration:

screenshot

Power configuration:

screenshot

Wallpaper configuration:

screenshot

General desktop configuration:

screenshot

Monitor configuration:

screenshot

History

Draco was an alternative GNU/Linux distribution developed between 2005 and 2015. Since then the OS has been dropped in favor of (upstream, and) creating a desktop environment. The distribution started out as a fork of Slackware Linux, while the desktop started out as a fork of Lumina aimed at Slackware Linux. What goes around comes around …

Requirements

Build and runtime requirements.

Optional recommended applications.

Build

Daemon notice

Draco includes a power daemon (to be able to adjust screen and cpu) this daemon must run as root (or a user with write access to /sys), this service run through D-Bus and can only be accessed by a predefined system group, this should be a common desktop user group like power or something similar. The default when building Draco is root as user and power as group. If you want something else you can change this during build.

Add the following during cmake configure:

-DPOWERD_SERVICE_USER=<run service as this user>
-DPOWERD_SERVICE_GROUP=<user group that have access to service>

You can also change the /etc/dbus-1/system.d/org.dracolinux.Powerd.conf file manually if you want.

Slackware Linux (14.2+)

Install the following packages from SlackBuilds.org or slackware.com/~alien:

The rest should be available in a standard installation.

A draco.SlackBuild is available.

You can of course build it manually:

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_INSTALL_MANDIR=/usr/man -DCMAKE_INSTALL_DOCDIR=/usr/doc -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install

Note that the install prefix should be the same folder as D-Bus (usually in /usr), else you will need to copy the Draco service files to the proper location manually.

Ubuntu (Xenial+)

Minimal testing is done on Ubuntu, some features may not work.

Known issues:

Dependencies (based on a miminal install of Xenial):

sudo apt-get install build-essential cmake pkg-config openbox adwaita-icon-theme-full xscreensaver xdg-utils qt5ct qtbase5-dev libqt5x11extras5-dev libx11-dev libxss-dev libxdamage-dev libxrandr-dev libxfixes-dev libxcb1-dev libx11-xcb-dev libxcb-randr0-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-composite0-dev libxcb-damage0-dev libxcb-util0-dev libxcb-shm0-dev openbox-dev

Build and install:

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_INSTALL_LIBEXECDIR=bin -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install

Note that the install prefix should be the same folder as D-Bus (usually in /usr), else you will need to copy the Draco service files to the proper location manually.

Fedora

Minimal testing is done on Fedora, some features may not work.

Known issues:

Dependencies:

sudo dnf install qt5-qtbase-devel qt5-qtx11extras-devel cmake gcc-c++ pkg-config libXScrnSaver-devel libXdamage-devel libXrandr-devel libxcb-devel xcb-util-devel xcb-util-wm-devel xcb-util-image-devel xdg-utils shared-mime-info hicolor-icon-theme adwaita-icon-theme openbox xscreensaver qt5ct openbox-devel

Build and install:

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install

Note that the install prefix should be the same folder as D-Bus (usually in /usr), else you will need to copy the Draco service files to the proper location manually.

License

This project has source files licensed under BSD-3, LGPL-2.1 and GPL-2.