AlphaTechnolog / dotfiles

A repository that contains a collection of various rices that i made over the time
MIT License
736 stars 34 forks source link

Mousebindings configuration error. Nothing loads. #11

Closed Adog64 closed 2 years ago

Adog64 commented 2 years ago

Hi Gabriel,

I am running awesomewm on Fedora 36. I followed the steps in the install instructions, but when I login to awesome I get the following error message:

error while running function! stack traceback: /home/sharpe/.config/awesome/configuration/mousebindings.lua:5 in local 'set_mousebindings' /home/sharpe/.config/awesome/configuration/mousebindings.lua:26: in main chunk [C]: in function 'require' /home/sharpe/.config/awesome/configuration/init.lua:3: in main chunk [C]: in function 'require' /home/sharpe/.config/awesome/rc.lua:8: in main chunk error: /home/sharpe/.config/awesome/configuration/mousebindings.lua:5: attempt to call a nil value (field 'append_global_mousebindings')

Please let me know if you are aware of any fixes.

Thank you so much, Adog64

AlphaTechnolog commented 2 years ago

Hello! That could happen if you don't install the awesomewm git version. How'd u installed awesome? Using dnf?

Adog64 commented 2 years ago

Yes, originally I installed from dnf. I reinstalled it from git, built, and installed it, but it doesn't show up as a WM option now from my lightdm greeter.

AlphaTechnolog commented 2 years ago

Sorry for late response :v Create the file (with sudo) /usr/share/xsessions/awesome.desktop and put this inside:

[Desktop Entry]
Name=awesome
Comment=Spawn awesome 
Exec=awesome
Type=Application
AlphaTechnolog commented 2 years ago

Then (completely) restart the lightdm service btw, and u'll be able to login using the awesomewm compiled with git

AlphaTechnolog commented 2 years ago

Closing due to inactivity, please, reopen this if necessary :)