Skip to content

Instantly share code, notes, and snippets.

@Bearbobs
Last active March 5, 2024 19:11
Show Gist options
  • Star 29 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • 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
@eromatiya
Copy link

Hello, thanks for this. I'll link this to my repo's README so Debian/Debian family users can use it. :)

@Bearbobs
Copy link
Author

Hello, thanks for this. I'll link this to my repo's README so Debian/Debian family users can use it. :)

thanks man!

@jongit1
Copy link

jongit1 commented Mar 21, 2020

Thank you for this! When I'm trying to install awesomewm, make package doesn't work for me, I always get this error message:

jon@jonpc:~/Downloads/awesome$ make package
Running make package in build…
[ 1%] Built target lgi-check
[ 1%] Checking for LGI...
Building for Lua 5.3.
Found lgi 0.9.2.
[ 1%] Built target lgi-check-run
[ 1%] Built target setup_directories
[ 2%] Generating docs/06-appearance.md
lua: ./docs/_parser.lua:3: module 'lgi' not found:No LuaRocks module found for lgi
no field package.preload['lgi']
no file '/usr/local/share/lua/5.3/lgi.lua'
no file '/usr/local/share/lua/5.3/lgi/init.lua'
no file '/usr/local/lib/lua/5.3/lgi.lua'
no file '/usr/local/lib/lua/5.3/lgi/init.lua'
no file './lgi.lua'
no file './lgi/init.lua'
no file '/home/jon/.luarocks/share/lua/5.3/lgi.lua'
no file '/home/jon/.luarocks/share/lua/5.3/lgi/init.lua'
no file '/usr/local/lib/lua/5.3/lgi.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './lgi.so'
no file '/home/jon/.luarocks/lib/lua/5.3/lgi.so'
stack traceback:
[C]: in function 'require'
./docs/_parser.lua:3: in main chunk
[C]: in function 'require'
/home/jon/Downloads/awesome/docs/06-appearance.md.lua:3: in main chunk
[C]: in ?
CMakeFiles/generate_awesomerc.dir/build.make:303: recipe for target 'docs/06-appearance.md' failed
make[3]: *** [docs/06-appearance.md] Error 1
CMakeFiles/Makefile2:5406: 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:44: recipe for target 'package' failed
make: *** [package] Error 2

Do you have any idea how to fix this? I've already tried re-installing lua and lig a few times, but maybe I'm just doing it wrong?

@Bearbobs
Copy link
Author

Can you please match the version of the build dependencies with https://github.com/awesomewm/awesome
And Can you please provide details regarding the OS you are on,

@Bearbobs
Copy link
Author

Added pre-built awesome package
https://github.com/Bearbobs/glorious-awesome-debian
try with it as well.

@ChapelCone
Copy link

Hi, thanks for making this write up. I have a brand-new installation of Pop! OS. I followed your installation guide, I then received an error when trying to make AwesomeWM. I couldn't make my deb package, so I decided to use your pre-built awesome package. That installed, when I load into awesome wm from the lock screen, I get a black screen with nothing on it. Any suggestions?

@Bearbobs
Copy link
Author

what error you get @ChapelCone can u paste it here

@ChapelCone
Copy link

ChapelCone commented Mar 24, 2020

sudo apt install *.deb yields

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package awesome-4.3.0.0~git809-g5d1394b9-Linux.deb
E: Couldn't find any package by glob 'awesome-4.3.0.0~git809-g5d1394b9-Linux.deb'
E: Couldn't find any package by regex 'awesome-4.3.0.0~git809-g5d1394b9-Linux.deb'

make package outputs this

@Bearbobs
Copy link
Author

hey @ChapelCone just go inside the build directory , there will be a .deb file with name awesome just install it using any gui installer.

@adeleke5140
Copy link

Hey. I get this error message when I run the make package command
"$ make package
Creating build directory and running cmake in it. You can also run CMake directly, if you want.

Running cmake…
/bin/sh: 1: cmake: not found
Makefile:23: recipe for target 'build/Makefile' failed
make: *** [build/Makefile] Error 127
"

@adeleke5140
Copy link

I also get this error message when I try the sudo apt install *.deb command
"sudo apt install .deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package .deb
E: Couldn't find any package by glob '
.deb'
E: Regex compilation error - Invalid preceding regular expression
E: Couldn't find any package by regex '
.deb'
"
what do you think could be wrong?

@danbulant
Copy link

try sudo apt install build/*.deb

@Bearbobs
Copy link
Author

Thanks. updated the deb cmd

@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