ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
hspak has quit [Quit: Ping timeout (120 seconds)]
hspak has joined #river
jao has quit [Ping timeout: 255 seconds]
elshize has quit [Ping timeout: 260 seconds]
hryx has joined #river
hryx has quit [Client Quit]
hryx has joined #river
eShaev9z has quit [Ping timeout: 246 seconds]
eShaev9z has joined #river
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
angry_vincent has joined #river
angry_vincent has quit [Changing host]
angry_vincent has joined #river
smach has joined #river
smach has quit [Client Quit]
elshize has joined #river
talismanick has joined #river
t0ngub1n has joined #river
<t0ngub1n> hi guys
<t0ngub1n> i have a problem running river through lightdm
<t0ngub1n> running it as an x sessions works but resolution of river is 800 x 600
<t0ngub1n> if i run it as a wayland session lightdm restarts itself
<t0ngub1n> btw in x session the space around river is covered in black
<ifreund> t0ngub1n: river doesn't support any display managers officially, what happens when you simply run river from a tty?
<ifreund> logs would be useful here
<mohan43u> Hi, how can I ask riverwm to not put client-side-decoration (no csd) for qemu process? I can see that we have reverctl command to add and remove appids/titles to csd list, but I'm not able to see whether "QEMU" is in the list or not.
<t0ngub1n> ifreund it runs from tty succesfully
<t0ngub1n> since when does qemu have csd?
<mohan43u> t0ngub1n: I dont know, but qemu (with gtk frontend) shows window header with close button, I want to prevent it.
<ifreund> patch gtk I guess
<t0ngub1n> mohan43u quote from wiki: 'It is also possible to remove GTK window buttons with gsettings set org.gnome.desktop.wm.preferences button-layout "" '
<t0ngub1n> River by default disables CSD (Client-side decoration) but GTK use an obsolete protocol. See issue #24 for more information.
<t0ngub1n> that means there is no way you could disable gtk csd through riverctl
<mohan43u> t0ngub1n: ok, will check, thanks.
<t0ngub1n> i want to use a display manager because of an auto login feature. it is very convenient to not have to type login and password manually every time you boot
<t0ngub1n> ifreund
<t0ngub1n> is there any way to do hat without a dm
<t0ngub1n> s/hat/that
<mohan43u> t0ngub1n: I use emptty https://github.com/tvrzna/emptty , which works for wayland sessions
<mohan43u> t0ngub1n: not gui based though, if you want, you can use greetd with wlgreet frontend as display manager.
<t0ngub1n> does empty have autologin?
<t0ngub1n> it only has autologin if a user does not have a password
<t0ngub1n> sadge
<mohan43u> t0ngub1n: I think you can add yourself to nopasswdlogin group, see their pam.d config file
<ifreund> t0ngub1n: there's a river.desktop file in the contrib folder, I've been told it can be used with gdm and maybe others
<ifreund> I can't help you debug display managers here though, I don't use them and don't care to learn how they work
<t0ngub1n> ok i will try to install gdm
uncomfy has quit [Remote host closed the connection]
<ifreund> mohan43u: by the way, this is my personal gtk patch to disable CSD: https://0x0.st/oTaC.diff
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
<mohan43u> ifreund: yes, I see that gtk path you sent. not wonder it is yet to be merged anyay.
<mohan43u> s/path/patch/g
<ifreund> mohan43u: that MR is not complete and I don't have any plans to finish it currently
uncomfy has quit [Remote host closed the connection]
<ifreund> gtk4 makes this a non-issue I believe
<ifreund> the patch I just sent is a 2 line change that is trivial to rebase and force disables the useless variant of CSD for wayland everywhere
<ifreund> it's obviously not upstreamable though
<mohan43u> what is the expectation from gtk4? obviously its a bug right? or I'm wrong?
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
<mohan43u> ifreund: gsettings chanages only removed 'close' button, but the titlebar is still visible. It seems, I have to patch my gtk
uncomfy has joined #river
<ifreund> yeah, it's obviously a problem that gtk doesn't support the standard protocol and only supports an ancient kde protocol
<ifreund> the gtk developers don't care about SSD at all though so aren't going to do anything about it themselves
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
<ifreund> iirc gtk4 improves on this case where the application doesn't provide a customized titlebar in some way, but I can't really remember the details
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
t0ngub1n has quit [Quit: Client closed]
<angry_vincent> ifreund: thx for patch!
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
mohan43u has quit [Quit: WeeChat 3.8]
mohan43u has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
<mohan43u> ifreund: it will be helpful if we can forcefully disable csd if user explicitly asks to disable csd through riverctl, at the end, it is the server which is going to do decoration right? It be better than patching gtk everytime it gets updated
<ifreund> mohan43u: I don't understand, CSD means "client side decoration" - gtk is doing the decoration
<mohan43u> ifreund: not profecient in this area, I thought generally decerations are done by compositors/window-managers. got it. it is gtk which is doing.
elshize has quit [Ping timeout: 268 seconds]
<ifreund> The only things rendered by river are the background color and borders, everything else you see is rendered by one client or another
uncomfy has quit [Remote host closed the connection]
<mohan43u> ifreund: I patched gtk, title bar gone. thanks for the patch.
<ifreund> no problem!
<ifreund> and apologies for the trouble, river could theoretically implement the obsolete kde protocol to make gtk do the right thing out of the box but I've decided to take a somewhat idealistic stand and not do that
<angry_vincent> some of gnome/gtk decisions regarding gui look and own standards ( that everyone must obey ) are rather questionable.
<angry_vincent> sorry for off-topic
talismanick has quit [Ping timeout: 252 seconds]
<leon-p> at least they got rid of menu bars, which are objecticely the worst UI component like ever
<ifreund> what did they replace them with?
<leon-p> pretty sure they try to make all the functionality accessible in areas of the UI that are thematically related, however I am not saying they are good at it :)
<leon-p> the general idea is of course nothing new: pretty much everyone can arrive at the conclusion, that an image viewer that has a rotation feature should probably make that available as two small buttons in the image view area instead of in some nested menu noone will ever click through.
emersion has quit [Remote host closed the connection]
emersion has joined #river
uncomfy has joined #river
uncomfy has quit [Remote host closed the connection]
uncomfy has joined #river
smach has joined #river
jao has joined #river
elshize has joined #river
jao has quit [Ping timeout: 248 seconds]
jao has joined #river
elshize has quit [Ping timeout: 255 seconds]
waleee has quit [Quit: update & rewind]
waleee has joined #river
elshize has joined #river
jao has quit []
jao has joined #river
uncomfy has quit [Remote host closed the connection]
<mohan43u> while running river, I see a zombie child invoked from river, seems init was not reaped by river parent process?
<ifreund> mohan43u: river will send SIGTERM to the process group init is started in on exit, it's meant to support starting long running programs from init that run for the entire river session like layout generators and status bars
ayushnix has joined #river
andyrtr has quit [Quit: ZNC 1.8.2 - https://znc.in]
andyrtr has joined #river
elshize has quit [Ping timeout: 252 seconds]
ayushnix has quit [Remote host closed the connection]
ayushnix has joined #river
<angry_vincent> i use simple `river` in tty to start river. apparently i need to start some dbus application, can i start river with dbus somehow?
<leon-p> angry_vincent: I have this in my init, which keeps dbus happy enough to not complain: dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river
<angry_vincent> i do not use systemd, though
<angry_vincent> i think i need to export these variables somewhere in .bash_profile, then start river with exec dbus-run-session. something like that
Guest7 has joined #river
Guest7 has quit [Client Quit]
<tleydxdy[m]> --systemd tells the command to *also* pass them to systemd, for just dbus it should work the same if you leave it oht
<angry_vincent> so, just skip "--systemd" ?
<tleydxdy[m]> yeah, you do need to have a dbus user session started some other way tho
<tleydxdy[m]> last I worked on this, starting dbus without systemd was a big rabbit hole
taupiqueur has joined #river
<angry_vincent> ok, all for tomorrow
angry_vincent has quit [Remote host closed the connection]
<novakane> just start river with `dbus-run-session river `
<novakane> and I also have this in my river init, mostly to make allo portal things happy https://git.sr.ht/~novakane/dotfiles/tree/main/item/.config/river/init#L20
<jokeyrhyme[m]> Yeah, there are all sorts of tricks you can find in other starter scripts
<jokeyrhyme[m]> Here's how COSMIC checks for a dbus session and starts one if absent: https://github.com/pop-os/cosmic-session/blob/master/data/start-cosmic#L37
ayushnix has quit [Remote host closed the connection]
zdykstra has quit [Read error: Connection reset by peer]
zdykstra has joined #river
elshize has joined #river