<Evo221>
Today I tried out river for the first time. I've been running Sway for some time but really miss the dynamic tiling of awesome, so thought it worthwhile giving river a try. I built version 0.1.2 on a Debian 11 machine. It seems I may have missed a compile time option since I can only open pure wayland apps and not x11. Can anyone help me out? TIA.
<gabm[m]>
never built it myself but you need to enable xwayland for that..
<gabm[m]>
> To enable experimental Xwayland support pass the -Dxwayland option as well.
monaaraj has quit [Ping timeout: 240 seconds]
Evo has joined #river
monaaraj has joined #river
Evo has quit [Remote host closed the connection]
Evo221 has quit [Quit: Client closed]
monaaraj has quit [Ping timeout: 240 seconds]
monaaraj has joined #river
wsn-13 has joined #river
wsn-13 has quit [Quit: Client closed]
Evo has joined #river
Evo221 has joined #river
<Evo221>
Thanks, I worked it out. I'm now building with: 'zig build -Dxwayland=true -Drelease-safe --prefix /usr/local/stow/river-0.1.2 install'
<Evo>
Got it working. Seems there are a fwe too many things not implemented yet for it to become my daily driver but I think I will be watching the development closely.
<Evo>
Hmmm so long since I used irc... forgot all the interesting "features".
<gabm[m]>
<Evo> "Got it working. Seems there..." <- what are you missing?
<Evo>
Features?
<gabm[m]>
which ones? ๐
<gabm[m]>
I mean: if we know what you are missing, we might be able to improve ...
<Evo>
Couldbn't work out how to move a window from one display to another.
<Evo>
Couldn't find a bar program that would show the tags.
<gabm[m]>
in the defauld config, that can be done with `Mod4 + Shift + period` and `Mod4 + Shift + comma`
<Evo>
waybar is suppose to but it wasn't working.
<gabm[m]>
I use waybar that has the `river/tags` plugin
<Evo>
Yeah, 'river/tags' would cause the current stable waybar to crash.
<gabm[m]>
aaah yeah
<gabm[m]>
I had to use waybar-git
<gabm[m]>
true that
<Evo>
I'd honestly like to get this working. I invested quite a bit of time packaging the required dependencies for Debian.
<gabm[m]>
for me on arch I just used waybar-git which is basically the master branch from their project
<gabm[m]>
but I understand that is "just another manual step"
<Evo>
Packaged zig from scratch...
<gabm[m]>
๐
<Evo>
I'm not yet able to package river since the Debian packageing tools know nothing about zig.
<leon-p>
Evo: yambar is also a bar with river support, if waybar does not work out
<Evo>
Then there are a whole bunch very new dependencies that needed to be backported to Debian stable.
<Evo>
@leon-p thanks, I'll check it out.
<Evo>
Lol, seems I packaged yambar back in November. I'll have to revisit it.
<Evo>
@gabm thanks found t if "focus-output next" and "focus-output previous".
<Evo>
What is "waybar-git"? Is it jargon for the head of the master branch?
<gabm[m]>
no .. on arch linux there is the AUR - Arch User Repository with community contributed packages (well their recipes).. there is a package called "waybar-git" that co-exists with the official "waybar" package. the waybar package points usually to the latest tagged release while waybar-git builds from the master branch..
<gabm[m]>
you can rebuild waybar-git through the package manager whenever you want to upgrade
<Evo>
Ok, Arch specific package. I guess I could make my own waybar package...
<gabm[m]>
given all your packaging effort for more recent software, maybe its a good idea to consider switching to something more up to day? like arch or nix or manjaro and alikes ๐
<Evo>
But I don't really like using non-tagged releases if I can help it.
<gabm[m]>
me neither... its only necessary for software that is still quite fluid.. In fact I used sway, wlroots and waybar from tagged releases until I switched to river...
<Evo>
I used to run bleeding edge distros but I just like how rock solid the underlying system is in Debian stable. If I need to just though some extra hoops to get new shiny stuff on top that's what I tend to do.
<gabm[m]>
fair enough ๐๏ธ
<Evo>
When did you switch from Sway to River?
<gabm[m]>
2 days ago oO
<Evo>
LOL!
<gabm[m]>
๐
<gabm[m]>
I used sway for many years (and i3 before that) and given that they both use a very similar toolchain it was a matter of reconfiguring waybar and learning the shortcuts
<Evo>
The most recent waybar release, 0.9.8 is coming on 5 months old - I don't suppose you know why there hasn't been a release that would include the river/tags fix?
<gabm[m]>
no
<gabm[m]>
sorry
<gabm[m]>
you could ask
<Evo>
I used to use awesome but then I got a laptop with high DPI and needed something that did the scaling properly. Sway was the closest thing I could find. But I've just never been able to get used to the i3/sway way of doing things.
notzmv has quit [Ping timeout: 268 seconds]
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #river
Grawp has joined #river
Grawp has quit [Client Quit]
<ifreund>
Yeah, thatโs pretty much why I wrote river, got hooked on wayland thanks to sway but donโt like i3 style window management
<ifreund>
Evo: feel free to ping me with zig packaging questions for debian by the way, itโs my fault you need to do that extra work to use my software :D
snakedye has joined #river
<Evo>
Packaging zig ended up being pretty straight forward actually. The only place I had issues (still have) is correctly attributing all the differently licensed and copyrighted code.
<gabm[m]>
ifreund: is there a way to debug what is happening when docking my laptop (lid closed) .. it seems river doesn't recognise my outputs and then kanshi doesn't adjust
monaaraj has quit [Ping timeout: 240 seconds]
monaaraj has joined #river
hspak7 has joined #river
Phyrric_ has quit [Read error: Connection reset by peer]
Phyrric has joined #river
hspak has quit [Read error: Connection reset by peer]
hspak7 is now known as hspak
<leon-p>
gabm[m]: pretty sure kanshi writes messages either stdout/stderr. Logging that might give you a good first idea of what is going wrong.
<gabm[m]>
thing is: I think kanshi is doing things right... Actually when running river, on wakeup, only one of my 2 external monitors is listed
<ifreund>
gabm[m]: A WAYLAND_DEBUG=1 log of kanshi could determine whether river or kanshi is at fault (probably river since you said it works on sway iirc)
<ifreund>
river debug logs should also tell if river gets the new output event from wlroots I believe
<ifreund>
any chance you are running logind or something that puts your system to sleep on closing the lid?
<gabm[m]>
when it powers up it should find out about the two new monitors, then kanshi should do its job... but it only finds one of the two and hence then internal and one external display are active but kanshi doesnt trigger
<ifreund>
hmm, on a train right now so Iโm not very useful for debugging currently. I suspect debug river logs of that sequence of events happening would be useful though
<gabm[m]>
I will have a look and create an issue to track this
<gabm[m]>
thanks for your time and have a good trip!
<Grawp>
leon-p gabm[m] : Regarding the kanshi detecting output change and correct profile but not switching outputs correctly on a first try: I've had this problem since I started using River 1-2 months ago and all this time I've been on wlroots 0.14.1
<ifreund>
Evo: you mean due to the fact that zig redistributes a bunch of source code for libcs and whatnot? Zig also distributes the relevant license files for all the source code it bundles
waleee has quit [Ping timeout: 250 seconds]
waleee has joined #river
Grawp has quit [Ping timeout: 256 seconds]
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #river
monaaraj has quit [Ping timeout: 240 seconds]
monaaraj has joined #river
hspak has quit [*.net *.split]
qyliss has quit [*.net *.split]
monaaraj has quit [*.net *.split]
Phyrric has quit [*.net *.split]
waleee has quit [*.net *.split]
Evo has quit [*.net *.split]
kindablue has quit [*.net *.split]
travankor has quit [*.net *.split]
ifreund has quit [*.net *.split]
dbuckley has quit [*.net *.split]
Misthios has quit [*.net *.split]
notzmv has quit [*.net *.split]
duncaen has quit [*.net *.split]
angry_vincent has quit [*.net *.split]
buffet has quit [*.net *.split]
n_1713[m] has quit [*.net *.split]
LorisCro[m] has quit [*.net *.split]
Danacus has quit [*.net *.split]
natris1979[m] has quit [*.net *.split]
ecocode__ has quit [*.net *.split]
chipps_ has quit [*.net *.split]
zxtx has quit [*.net *.split]
snakedye has quit [*.net *.split]
elshize has quit [*.net *.split]
omni has quit [*.net *.split]
zdykstra has quit [*.net *.split]
norkki has quit [*.net *.split]
nani8ot[m] has quit [*.net *.split]
doaN[m] has quit [*.net *.split]
tiziodcaio has quit [*.net *.split]
roarc[m] has quit [*.net *.split]
zaynetro[m] has quit [*.net *.split]
romangg has quit [*.net *.split]
inclement has quit [*.net *.split]
dnkl has quit [*.net *.split]
leon-p has quit [*.net *.split]
anjan has quit [*.net *.split]
coder_kalyan has quit [*.net *.split]
wrl has quit [*.net *.split]
priner has quit [*.net *.split]
greenfork[m] has quit [*.net *.split]
Nulo has quit [*.net *.split]
kennylevinsen has quit [*.net *.split]
psnszsn has quit [*.net *.split]
andrea has quit [*.net *.split]
entenel has quit [*.net *.split]
gabm[m] has quit [*.net *.split]
bfiedler has quit [*.net *.split]
Snektron[m] has quit [*.net *.split]
voroskoi[m] has quit [*.net *.split]
Anderson-D has quit [*.net *.split]
emersion has quit [*.net *.split]
occivink has quit [*.net *.split]
ChanServ has quit [*.net *.split]
pkap has quit [*.net *.split]
Evo221 has quit [*.net *.split]
MatrixTravelerbo has quit [Max SendQ exceeded]
andrea has joined #river
psnszsn has joined #river
kennylevinsen has joined #river
Nulo has joined #river
greenfork[m] has joined #river
priner has joined #river
Evo221 has joined #river
buffet has joined #river
Misthios has joined #river
dbuckley has joined #river
ifreund has joined #river
duncaen has joined #river
travankor has joined #river
angry_vincent has joined #river
kindablue has joined #river
Evo has joined #river
Phyrric has joined #river
notzmv has joined #river
waleee has joined #river
monaaraj has joined #river
qyliss has joined #river
hspak has joined #river
ChanServ has joined #river
entenel has joined #river
gabm[m] has joined #river
bfiedler has joined #river
romangg has joined #river
tiziodcaio has joined #river
roarc[m] has joined #river
zaynetro[m] has joined #river
dnkl has joined #river
inclement has joined #river
leon-p has joined #river
anjan has joined #river
wrl has joined #river
coder_kalyan has joined #river
natris1979[m] has joined #river
n_1713[m] has joined #river
Danacus has joined #river
ecocode__ has joined #river
LorisCro[m] has joined #river
chipps_ has joined #river
zxtx has joined #river
priner has quit [Ping timeout: 250 seconds]
greenfork[m] has quit [Ping timeout: 250 seconds]
nani8ot[m] has joined #river
doaN[m] has joined #river
roarc[m] has quit [Ping timeout: 250 seconds]
tiziodcaio has quit [Ping timeout: 250 seconds]
zaynetro[m] has quit [Ping timeout: 250 seconds]
Ollie[m] has quit [Ping timeout: 240 seconds]
tiosgz` has quit [Ping timeout: 240 seconds]
occivink has joined #river
Snektron[m] has joined #river
voroskoi[m] has joined #river
emersion has joined #river
Anderson-D has joined #river
LorisCro[m] has quit [Ping timeout: 252 seconds]
Danacus has quit [Ping timeout: 252 seconds]
natris1979[m] has quit [Ping timeout: 252 seconds]
<ifreund>
novakane: thanks for the reminder, see the commit I just pushed :)
Danacus has joined #river
<novakane>
ah nice that do some cleanup
LorisCro[m] has joined #river
<ifreund>
neat, CI passed
<ifreund>
is fd.o gitlab working again?
natris1979[m] has joined #river
<novakane>
sometimes yes sometimes no
voroskoi[m] has joined #river
<novakane>
ifreund: hmm what's the best way to get the seat with a xwayland view?
<novakane>
ah I can just use the server
<novakane>
or maybe just view.focus to just check if there is a seat focusing it
<ifreund>
novakane: view.focus is the correct thing to check
<ifreund>
I'm not sure we even need that check though
<ifreund>
I'd rather leave it out than cargo cult sway code
<novakane>
hmm ok so what I just go with self.xwayland_surface.setMinimized(!focused and event.minimize);
<novakane>
without !focused
<novakane>
damn copy/pasting adding an enter
<ifreund>
just do what the client tells us, since apparently the client will do it anyways cause it's X11
<novakane>
ah yeah the fix is in request_activate anyway
<novakane>
setActivated() I mean
<novakane>
should be better now, don't have anythig to test though
Evo221 has quit [Quit: Client closed]
noopdecoder has joined #river
noopdecoder has quit [Remote host closed the connection]
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #river
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #river
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #river
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #river
<Nulo>
leon-p, uwu
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #river
notzmv has quit [Ping timeout: 268 seconds]
<Evo>
ifreund yes. The problem is that Debian packages need to summarise all that information into a single file /usr/share/doc/<packagename>/copyright. This means that the packager needs to trawl through all the source code and to correctly show the copyright and license for each file (or files under a given directory).