AdaShoelace / hadlock

X window manager
MIT License
156 stars 9 forks source link

Installation guide #60

Open adrien-barret opened 4 years ago

adrien-barret commented 4 years ago

** How to install Hi @AdaShoelace :) finally tried today the install guide but coming from stuff like awesomewm, bspwm... it seems more complicated like put the hadlock binary alone in /usr/local/bin seems not enough to launch it from a tty. I probably miss some steps too. if may be you can had a how to put that in the list of the ui when you log on, (tried in .xinitrc but not enough). It can be easily scripted too so if you don't get the time the both I can make the script after a detailled how to I think.

Also few options which can be cool too:

Ty, Hk

AdaShoelace commented 4 years ago

@Hkyx Do you have /usr/local/bin in your $PATH? And when starting it you can't have another wm running since only one is allowed at a time. The best way to installl it is to make a .desktop entry for your session manager eg LightDM and then login with that. Hadlock also needs to take the path to the config as it's only argument.

I will look into packaging Hadlock along with a installation script at a later date.

adrien-barret commented 4 years ago

Hi @AdaShoelace , yeah of course :) first thing in my env PATH. So

here is my hadlock.desktop config:

 π ~ ❯ cat hadlock.desktop    
[Desktop Entry]
Encoding=UTF-8
Name=Hadlock
Exec=hadlock ~/.config/hadlock/hadlock.ron
Comment=Hadlock - a wm for x
Type=Application

lightdm seems to now see the .desktop

adrien-barret commented 4 years ago

ok solved to launch hadlock and put it into the choice menu. Solution was to move the hadlock.desktop to /usr/share/xsessions

but got freezing on windows and super+shift+q or others key exepting return was not working the ~/.config/hadlock/hadlock.ron file is the one provided by the installation directly

AdaShoelace commented 4 years ago

Could you provide a printout of you .xsession-errors from when the problems occur?

I see that I need to do some cleaning in the repo... I'll take a look at an install script as soon as I have the possibility.