Moksha

README.md

Moksha desktop for Artix

Package repository (unofficial) for Moksha for Artix Linux as well as Arch and derivatives.

Introduction

Moksha Window Manager and Desktop environment for Artix Linux.

Moksha is a fork of Enlightenment release E17, and focuses on stability and low resource usage. It is developed for Bodhi Linux, but can also be used on other distributions.

In 2010 the Moksa fork was created to get more focus on quality and stability. Also the resulting Window Manager and Desktop Envrionment were integrated with a Ubuntu distribution. This became the Moksha Desktop Environment on Bodhi Linux

Moksha is known as a Window Manager but provides most of the functionality found in much more resource-hungry Desktop Environments. You could say that it straddles the line between a Window Manager and a Desktop Environment.

Moksha is written using the Enlightenment Foundation Libraries (EFL), and remains in active development to this day.

Two ideals and qualities of Moksha are:

Moksha has now been built completely from source, on and for Artix Linux.

Random desktops can look like this (click on image for full size):

Installation

To be able to install Moksha, add the following to the /etc/pacman.conf file:

[moksha]
Server = http://omniverse.artixlinux.org/$arch/moksha

[omniverse]
Server = http://omniverse.artixlinux.org/$arch

All Moksha packages are located in the 'moksha' repository, and some packages depend on packages in the 'omniverse' repository.

moksha

Moksha can be installed using:

pacman -Sy moksha

This will also install packages moksha-menu and arandr-moksha, where the last one is required for setting up and saving the display configuration.

There a are two additional package groups available:

moksha-modules-extra

These are the modules with which Moksha's functionallity can be extended. These can be installed separately or all using:

sudo pacman -Sy moksha-modules-extra

A desription of all modules can be found here https://www.bodhilinux.com/softwaregroup/modules/

moksha-themes

These are the themes for Moksha, and can be installed separately or all using:

sudo pacman -Sy moksha-themes

Additional packages

LightDM

Moksha integrates nicely with eg. LightDM. To use this install eg. lightdm, lightdm-runit/openrc/s6/suite66/dinit and lightdm-gtk-greeter, or as alternative for lightdm-gtk-greeter install and set up lightdm-slick-greeter, eg:

sudo pacman -Sy lightdm lightdm-runit lightdm-gtk-greeter
and enable and start the lightdm service

ACPID

Install acpid and its service for power events and laptop lid events, eg.:

sudo pacman -Sy acpid-runit
enable and start the acpid service.

Audio control

Install pavucontrol for the Mixer module settings.

File manager

Install a light weight file manager like pcmanfm or thunar and tumbler (for svg preview).

Terminmal emulator

Enlightenment and Moksa have their own terminal emulator called Terminology. It has no scrollbar but a mini view instead, and does have a lot of features: https://www.enlightenment.org/about-terminology

Polkit authenticator

As a light-weight polkit authenticator agent, package lxpolkit can be installed.

Setup and Usage

elogind / seatd

Moskha on Artix was tested with elogind and seatd.

init systems

Moskha on Artix was tested with dinit, s6 and runit, but other init's should work as well.

Enlightenment Guide and FAQ

https://www.bodhilinux.com/w/enlightenment-guide

Menu expansion

By moving the mouse over the Main Menu items you get to sub-menus, and mousing over these may lead to further sub-menus (sub-menus may sometimes 'disappear' off the right of the screen; if this happens simply move the mouse pointer to the right edge of the screen and the menus will shift to the left).

Startup applications

These can be enable in the Applcations section of the Settings menu.

Startup commands:

An alternative method for adding commands to be executed when Moksha starts is using editing the file below file .e/e/applications/startup/startupcommands as eg.:

conky -p 1 -d | \
compton -b

Brief explanation of commands:
 -p   (seconds) makes conky pause before it starts
 -d   makes conky work as a daemon
 |    (the pipe symbol) is needed between two different commands in this file

Shutdown and Reboot arguments

Depending on the init system that is being used, specific arguments have to be set for the shutdown and reboot commands. This is done in file: /usr/etc/enlightenment/sysactions.conf which is updated automatically by pacman.

# ENLIGHTENMENT SYSTEM ACTIONS CONFIGURATION
#
# ...
#
# shutdown and reboot commands commands for dinit:
action:   halt      /sbin/shutdown -p
action:   reboot    /sbin/shutdown -r

Dual screen setup

When using multiple screens it can be usefull to set up the login screen identical to what is used and saved for the session. For LightDM this can be done as follows:

Configuration backup

To make a complete backup of the Moksha configuration setup, simply copy directories ~/e and ~/.elementary
When downgrading, file /usr/etc/enlightenment/sysactions.conf might be overwritten, so backup this file as well.

Issues

Shutdown or reboot not completing

In case a reboot or shutdown results in a hanging popup showing "Resetting", most probably the reboot or shutdown command is incorrectly set in file /usr/etc/enlightenment/sysactions.conf

Flashing/alternating windows

In case application windows start rapidly alternating focus, in the Settings Panel for Windows / Windows Display, select Allow windows partly/completely out of visual screen limits.

Support status

Note that Moksha is not one of the supported desktops on Artix.

Moksha repository

To enable this repository, add the following two lines to your /etc/pacman.conf file.

[moksha]
Server = http://omniverse.artixlinux.org/$arch/moksha
Add the key below.
This is not required for Artix users as this key is trusted via the Artix pacman keyring.
Key-ID: 73580DE2EDDFA6D6

Maintained by: artist

Last update: 22 Apr 2022

--