AwesomeWM: Difference between revisions
m (+ link, category,) |
Prabuanand (talk | contribs) (added intro and links) |
||
(24 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
[[file: awesome-01.png |thumb |Screenshot]] | [[file: awesome-01.png |thumb |Screenshot]] | ||
{{TOC right}} | {{TOC right}} | ||
[https://awesomewm.org/ Awesome] is a highly configurable, next generation framework window manager for X. It is primarily targeted at power users, developers and any people dealing with every day computing tasks and who want to have fine-grained control on their graphical environment. | |||
{{:Include:Desktop prerequisites}} | |||
{{ | |||
= | == Installation == | ||
Install X11 and set it up using the <code>setup-xorg-base</code> script.{{Cmd|# setup-xorg-base}} | |||
# | |||
}} | |||
Install awesome, xterm and terminus font. {{Cmd|# apk add {{pkg|awesome|arch=}} {{pkg|xterm|arch=}} {{pkg|font-terminus|arch=}}}} | |||
Install awesome, | |||
{{Cmd|# apk add awesome | |||
{{ | |||
{{ | |||
=== Video and Input packages === | === Video and Input packages === | ||
You <u>might</u> | You <u>might</u> want to install a package suitable for your video chipset and input devices.<BR> | ||
For example | For example: | ||
{{Cmd|# apk add | {{Cmd|# apk add {{pkg|xf86-input-synaptics|arch=}}}} | ||
{{ | |||
Run | Run {{ic|apk search {{pkg|xf86-video*|arch=}}}} to see available xf86-video packages.<BR> | ||
Run | Run {{ic|apk search {{pkg|xf86-input*|arch=}}}} to see available xf86-input packages.<BR> | ||
=== VMWare Users === | |||
{{Cmd|# apk add {{pkg|xf86-video-vmware|arch=}}}} | |||
and/or | |||
{{Cmd|# apk add {{pkg|xf86-input-vmmouse|arch=}}}} | |||
=== acpid === | === acpid === | ||
If you installed your Alpine Linux as a VirtualBox or VMWare guest you might find it handy to be able | If you installed your Alpine Linux as a VirtualBox or VMWare guest, you might find it handy to be able execute an ACPI shutdown.<BR> | ||
{{Cmd|# rc-update add acpid}} | {{Cmd|# rc-update add acpid}} | ||
= | == Start your desktop == | ||
= Start your desktop = | |||
{{Cmd|$ echo 'awesome' >> /home/<newuser>/.xinitrc}} | {{Cmd|$ echo 'awesome' >> /home/<newuser>/.xinitrc}} | ||
{{Cmd|$ mkdir /home/<newuser>/.config}} | {{Cmd|$ mkdir /home/<newuser>/.config}} | ||
{{Cmd|$ cp -r /etc/xdg/awesome /home/<newuser>/.config}} | {{Cmd|$ cp -r /etc/xdg/awesome /home/<newuser>/.config}} | ||
{{Cmd|$ vi /home/<newuser>/.config/awesome/rc.lua}} | {{Cmd|$ vi /home/<newuser>/.config/awesome/rc.lua}} | ||
Start awesome. | Start awesome. | ||
{{Cmd|$ startx}} | {{Cmd|$ startx}} | ||
= Troubleshooting = | == Troubleshooting == | ||
D-Bus problems: | D-Bus problems: | ||
Line 72: | Line 43: | ||
{{Cmd|D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory}} | {{Cmd|D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory}} | ||
If startx fails and returns an error about D-Bus failed to read machine uuid, as shown above, proceed as | If startx fails and returns an error about D-Bus failed to read machine uuid, as shown above, proceed as follows: | ||
Install dbus from apk (you must be logged in as root | Install dbus from apk (you must be logged in as root for the step shown below) | ||
{{Cmd|# apk add dbus}} | {{Cmd|# apk add {{pkg|dbus|arch=}}}} | ||
Log in or su to the root account, then launch the following command (Note: sudo does not work for this step): | |||
{{Cmd|# dbus-uuidgen > /var/lib/dbus/machine-id}} | {{Cmd|# dbus-uuidgen > /var/lib/dbus/machine-id}} | ||
Now if startx is launched it should load | Now if startx is launched, it should load the desktop correctly | ||
= = | == See also == | ||
* [[ | * [[Xorg]] | ||
* [https://awesomewm.org/doc/api/documentation/07-my-first-awesome.md.html Official Documentation] | |||
[[Category:Desktop]] | [[Category:Desktop]] | ||
[[ | [[Category:Window Managers]] |
Latest revision as of 07:38, 9 January 2025

Awesome is a highly configurable, next generation framework window manager for X. It is primarily targeted at power users, developers and any people dealing with every day computing tasks and who want to have fine-grained control on their graphical environment.
- Ensure you have Internet connectivity. If the test fails, setup your Internet access first, before you proceed further.
- Create a non-privileged user account for security reasons, if you skipped this step during Installation.
- Enable community repository.
- Install graphics driver for your video hardware.
Installation
Install X11 and set it up using the setup-xorg-base
script.
# setup-xorg-base
Install awesome, xterm and terminus font.
# apk add awesome xterm font-terminus
Video and Input packages
You might want to install a package suitable for your video chipset and input devices.
For example:
# apk add xf86-input-synaptics
Run apk search xf86-video*
to see available xf86-video packages.
Run apk search xf86-input*
to see available xf86-input packages.
VMWare Users
# apk add xf86-video-vmware
and/or
# apk add xf86-input-vmmouse
acpid
If you installed your Alpine Linux as a VirtualBox or VMWare guest, you might find it handy to be able execute an ACPI shutdown.
# rc-update add acpid
Start your desktop
$ echo 'awesome' >> /home/<newuser>/.xinitrc
$ mkdir /home/<newuser>/.config
$ cp -r /etc/xdg/awesome /home/<newuser>/.config
$ vi /home/<newuser>/.config/awesome/rc.lua
Start awesome.
$ startx
Troubleshooting
D-Bus problems:
D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
If startx fails and returns an error about D-Bus failed to read machine uuid, as shown above, proceed as follows:
Install dbus from apk (you must be logged in as root for the step shown below)
# apk add dbus
Log in or su to the root account, then launch the following command (Note: sudo does not work for this step):
# dbus-uuidgen > /var/lib/dbus/machine-id
Now if startx is launched, it should load the desktop correctly