<phim[m]>
Hi guys! I discovered river a few days ago and it apeals to me right from the start. I have a question concerning the systemd integration (has been discussed here several times ,acoording to the logs):
<phim[m]>
Does sb know how to cleanly shut down my self-defined `river-session.target`? I.e.. *before* all dependent apps complain about a missing wayland display?
<phim[m]>
Tried to use a `trap` in the `init` script, but so far without success...
<phim[m]>
* Hi guys! I discovered river a few days ago and it apeals to me right from the start. I have a question concerning the systemd integration (has been discussed here several times, acoording to the logs):
<phim[m]>
Does sb know how to cleanly shut down my self-defined `river-session.target`? I.e.. *before* all dependent apps complain about a missing wayland display?
cabal704 has joined #river
<ifreund>
I don't officially support running river with any systemd integration and don't have any help to offer there.
<ifreund>
In my humble opinion, there's no reason to do so
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
talismanick has quit [Ping timeout: 264 seconds]
cabal704 has quit [Quit: WeeChat 3.5]
<tleydxdy[m]>
ye, launching river is so simple if systemd needs some custom integration then systemd is not doing it's job
<tleydxdy[m]>
or it is doing it's job, depending on where you stand
<tleydxdy[m]>
xd
<phim[m]>
I think you missunderstood me here. The startup procedure works really well, i.e. the `init` script first defines all the mappings, then launches the systemd target (which in turn starts various other services) and ends with `exec rivertile`
<phim[m]>
What I am searching for is a way to intervene the exit procedure. I need to issue a command that stops the sytemd target (which would graefully stop its childs). Otherwise the cildren just fail as they unexpectedly loose the wayland server (which has been shut down)
<phim[m]>
* to intervene in the exit
<tleydxdy[m]>
same, river works just like any simple daemon
<tleydxdy[m]>
open socket, listen to socket, close socket
tsraoien has joined #river
tsraoien has quit [Ping timeout: 260 seconds]
waleee has joined #river
snakedye has quit [Ping timeout: 264 seconds]
snakedye has joined #river
gldk has joined #river
<gldk>
Hey, i don't know if it's a good place to ask, I am trying my best to setup riverwm on linux void virtual machine, just to test things out before installing on hardware.
<gldk>
I did everything as instructed in void handbook and riverwm readme - when i start river i am greet with empty #002b36 screen
<gldk>
seems like keymaps from example init file are ignored and all i can do is to reboot machine from different tty at that point
mon_aaraj has quit [Read error: Connection reset by peer]
<ifreund>
gldk: likely your init file is not in the right location or not executable
mon_aaraj has joined #river
<gldk>
i made sure to chmod +x it, put it in ~/.config/river/init
<ifreund>
gldk: perhaps whatver environment you are running your vm in is eating the keypresses before they make it to river?
<ifreund>
beyond that I'm not going to be of much help without logs
<gldk>
might be, it's not the case with sway tho
Guest88 has joined #river
Guest88 has quit [Client Quit]
gldk has quit [Quit: Client closed]
talismanick has joined #river
gldk has joined #river
<gldk>
hah figured it out myself, the problem comes from the example init file
<gldk>
as You promped me i redirected river stdout to file to be able to read it and then i was surpries to find following "error: invalid modifier 'Super'"
<gldk>
I changed it similiar to your config mod="Mod4" and then used $mod instead of Super everywhere in the config file and it does work
<ifreund>
ah, you're using a older version of river with the example init from master branch
<gldk>
I use whatever in packed in linux void package repo :)
<ifreund>
it's quite out of date sadly
<ifreund>
void's llvm packaging is super behind -> zig package is out of date -> river is out of date