jzbor / marswm

A modern window manager featuring dynamic tiling (rusty successor to moonwm).
https://jzbor.de/marswm/
MIT License
47 stars 3 forks source link

dummy on debian whats to fly to mars... #5

Closed deltahoch3 closed 1 year ago

deltahoch3 commented 1 year ago

howdy jzbor, former dwm-user on debian system here who can't get his head around, how to install and run / fly to marswm...

could you provide a little help/readme, how to install and run it on debian / ubuntu, sorry for this newbie questions...

looks really nice, clean and minimal, just how i like it...

cheers and thanks in advanced and keep it up, all the best hardy

jzbor commented 1 year ago

Hi, I am not quite sure, as I am not using Debian myself. I don't think it is packaged for Debian nor probably will it in the near future.

What you can do is install it via cargo (cargo install marswm marsbar mars-relay), which will install the binary in cargo's binary path. If you have not changed it it is $HOME/.cargo/bin/. I have not tested this myself, but I am pretty sure this will work, so tell me how it goes.

Also for building the application you will need the following libraries installed: libX11, libXft, libXinerama, libXrandr. It might be that their package names are slightly different on Debian.

deltahoch3 commented 1 year ago

@jzbor thanks for replying, i'll give it a go, and will let you know how it went :)

0323pin commented 1 year ago

It's possible to bootstrap pkgsrc on Linux, so you could use it to build marswm on your Debian system.

jzbor commented 1 year ago

It's possible to bootstrap pkgsrc on Linux, so you could use it to build marswm on your Debian system.

Same goes for nix ;).

But I think I cargo is the easiest and "most native" solution. I am also planning on adding a cargo section to the README if anyone can confirm that this in fact works fine (although I don't know why it would'nt).

deltahoch3 commented 1 year ago

cargo seems to work, but how do i start marswm? same as dwm with an .desktop file in? sorry for being a dummy

0323pin commented 1 year ago

@deltahoch3 either in .xinitrc, here's mine or, if you're using a display-manager in .xsession.

jzbor commented 1 year ago

cargo seems to work, but how do i start marswm? same as dwm with an .desktop file in? sorry for being a dummy

Yes a .desktop file is the way to go.

The suggestions from @0323pin will work too, but I think they are only preferable if you don't want to use a display manager for login.

EDIT: You will probably also want to launch different applications at launch, so maybe putting a startup script in the desktop file and then launching marswm (and e.g. marsbar) from there...

deltahoch3 commented 1 year ago

cargo seems to work, but how do i start marswm? same as dwm with an .desktop file in? sorry for being a dummy

Yes a .desktop file is the way to go.

The suggestions from @0323pin will work too, but I think they are only preferable if you don't want to use a display manager for login.

EDIT: You will probably also want to launch different applications at launch, so maybe putting a startup script in the desktop file and then launching marswm (and e.g. marsbar) from there...

thanks a lot! I'll try asap

jzbor commented 1 year ago

Hello, have you been able to confirm the instructions given here or in INSTALLATION.md?

jzbor commented 1 year ago

I am closing this now. Feel frew to reopen if you want to test marswm on Debian.