Skip to content

Instantly share code, notes, and snippets.

@Bearbobs
Last active July 4, 2024 20:20
Show Gist options
  • Save Bearbobs/2b744adda0a5151d4530ba763de993ef to your computer and use it in GitHub Desktop.
Save Bearbobs/2b744adda0a5151d4530ba763de993ef to your computer and use it in GitHub Desktop.
Awesome Dot Files Config and How to Setup on Ubuntu/POP-OS/Debain and other debian based distro
Config Files Repo : https://github.com/Bearbobs/glorious-awesome-debian
Setps to setup on debain based system as the original author is on arch and It's quite diffrent procedure as compared.
## Awesome and Rofi are quite old in debain repo, Building from Git is required.
Steps to do the same.
## Rofi->
git clone --recursive https://github.com/DaveDavenport/rofi
cd rofi
sudo apt install flex bison librsvg2-dev libjpeg-dev libxcb-ewmh-dev libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev
meson setup build
ninja -C build
sudo ninja -C build install
## Awesome->
sudo apt build-dep awesome
git clone https://github.com/awesomewm/awesome
cd awesome
make package
sudo apt install build/*.deb
## Building Compositor for Debain
##Picom->
git clone https://github.com/tryone144/compton.git
cd compton
git fetch
git checkout feature/dual_kawase
sudo apt install libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libxdg-basedir-dev libgl1-mesa-dev libpcre2-dev libevdev-dev uthash-dev libev-dev cmake libx11-xcb-dev libxcb-glx0-dev
git submodule update --init --recursive
meson --buildtype=release . build
ninja -C build
ninja -C build install
## log in into awesome and fixing configs
*Please backup any previous configs*
git clone https://github.com/Bearbobs/glorious-awesome-debian.git
cd glorious-awesome-debian
-> Copy awesome folder to .config
## login to awesome desktop environment and enjoy!
Please Drop comment for any Help and Amendment.
Main Developer and Maintainer : https://github.com/manilarome/the-glorious-dotfiles
@tuxinal
Copy link

tuxinal commented Apr 17, 2020

I'm getting the error:
ninja: Entering directory build' [1/2] Installing files. Traceback (most recent call last): File "/home/name/.local/bin/meson", line 6, in <module> from mesonbuild.mesonmain import main ModuleNotFoundError: No module named 'mesonbuild' FAILED: meson-install /home/name/.local/bin/meson install --no-rebuild ninja: build stopped: subcommand failed.
anyone knows how to fix this?

@tuxinal
Copy link

tuxinal commented Apr 17, 2020

ok so the solution was to install meson using sudo:sudo pip3 install meson

@tuxinal
Copy link

tuxinal commented Apr 17, 2020

A new problem, i'm trying to install the packages required to install picom and i get this error:
The following packages have unmet dependencies: libgl1-mesa-dev : Depends: mesa-common-dev (= 19.2.8-0ubuntu0~19.10.3) but it is not going to be installed Depends: libglvnd-dev but it is not going to be installed Depends: libdrm-dev (>= 2.4.95) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
any solutions?

@KoO-303
Copy link

KoO-303 commented Apr 25, 2020

Picom only

Running Debian 10 bullseye had to add dependencies plus ninja & meson to get this installed. (Also removed compton before installing)
Added depens = cmake libx11-xcb-dev libxcb-glx0-dev

The complete list.
sudo apt install libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libxdg-basedir-dev libgl1-mesa-dev libpcre2-dev libevdev-dev uthash-dev libev-dev cmake libx11-xcb-dev libxcb-glx0-dev
sudo pip3 install ninja
sudo pip3 install meson

@sage-kanishq
Copy link

Is rofi supposed to be inside the awesome folder or home folder?

@KoO-303
Copy link

KoO-303 commented May 4, 2020

rofi has a config file /home/your name/.config/rofi/config
https://github.com/davatorium/rofi

@sage-kanishq
Copy link

sage-kanishq commented May 4, 2020

Plus for some reason even after I install awesome there is no /usr/share/xsessions/awesome.desktop

@Bearbobs
Copy link
Author

Updated the gist for the issues, 13/05/2020

@Shashankti
Copy link

When I run the make command I get the following error:
make[3]: lua: Command not found
CMakeFiles/generate_awesomerc.dir/build.make:288: recipe for target 'awesomerc.lua' failed
make[3]: *** [awesomerc.lua] Error 127
CMakeFiles/Makefile2:5478: recipe for target 'CMakeFiles/generate_awesomerc.dir/all' failed
make[2]: *** [CMakeFiles/generate_awesomerc.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make[1]: *** [all] Error 2
Makefile:14: recipe for target 'cmake-build' failed
make: *** [cmake-build] Error 2

Please help me fix

@varlevi
Copy link

varlevi commented Aug 21, 2020

Hi! Thanks for creating these instructions. Unfortunately, I've followed the instructions for installing Awesome from git and it doesn't show up on my login screen beside other DEs and WMs. However, when I run awesome --version, it gives me the most up to date version of awesome. Any ideas of what could be going on?

@Bearbobs
Copy link
Author

Most probably issues with awesome.desktop file. PFA link for reference :
https://unix.stackexchange.com/questions/125532/awesome-not-showing-up-in-gdm

@varlevi
Copy link

varlevi commented Aug 22, 2020

Ah, yes. There appears to be no awesome.desktop file. What command should I execute when creating one?

@varlevi
Copy link

varlevi commented Aug 22, 2020

Thanks. I have created the file, just using the command awesome as the execution and it now appears in the menu and I can use it to log in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment