<novakane>
I don't see why it would truncate 't', it does this with all input device though
<ifreund>
maybe some printf debugging can tell you more
<novakane>
yeah I'll look at it if I have time, no really a big problem lol
<novakane>
anyway is there a way I can try drm panel orientation with my laptop screen?
<ifreund>
novakane: I don't think so, unless there's some way to spoof hardware properties on linux I'm not aware of
<novakane>
ah well it compiles and run but I can't really try it then
<ifreund>
compiling and running and not breaking is good enough most likely
<novakane>
yeah I'll open a PR in zig-wlroots and river, and is someone can test, that's better
<novakane>
s/is/if/
<ifreund>
I'm not 100% sure what kind of hardware would have a non default orientation
<ifreund>
maybe something like a phone or a tablet?
<novakane>
yeeh no idea, well if that useless no need to merge it
<novakane>
ifreund: is there the contrary of std.meta.stringToEnum()?
<ifreund>
novakane: @tagName()?
<novakane>
ifreund: ah yeah, that's what I was looking for, thanks!
<ifreund>
no problem!
<angry_vincent>
can i disable xwayland in river init? binary pkg for FreeBSDis compiled with X11/Xwayland supprot by default
<novakane>
angry_vincent: no, that can only be disabled at compile time
<angry_vincent>
:(
<novakane>
can't they add an option to have it with or whithout xwayland in the pkg?
<angry_vincent>
it is possible yes, maybe i will add patch for them to have river-nox pkg
<novakane>
this is probably your best solution yeah
monaaraj has quit [Ping timeout: 250 seconds]
monaaraj has joined #river
monaaraj has quit [Ping timeout: 250 seconds]
monaaraj has joined #river
<novakane>
ah input device default names are truncated on sway too so this not from river
<leon-p>
I think I have seen screens with gravity sensors in them to detect their orientation. Perhaps those advertise a non-standard orientation?
<novakane>
could be, need to find someone with this then :P
<leon-p>
the real question then is if they update during runtime. Would be pretty neat to have a monitor I could just turn and the desktop updating accordingly.
<leon-p>
btw, I think I have finally figured out what causes the weird crashes, slowdowns, stutters and IO-locks I had with river when watching a high-quality video. Turns out it's neither bad hardware or a river issue, but rather the ath9k driver for qualcom WLAN chips crashes when the traffic is too high.
<ifreund>
:/
<novakane>
oh yeah that would be great, perfect to play a race game and do rollover :P
<leon-p>
it's a regression introduced sometime since kernel 5.2, not sure. It has been known for a year at least, so I don't expect a fix soon. For now I just salvaged a non-qualcom chip from another device.
<leon-p>
and ever since I swapped the chips, firefox is a lot more responsive, a bit spooky, but I'll take it I guess
<ifreund>
RE gravity sensors, I think that's orthagonal
<ifreund>
if I understand correctly the DRM panel orientation is about how the screen is physically mounted on the device
<ifreund>
and therefore what logical rotation appears as 0 to the user
<leon-p>
hmm... yeah logical rotation does mean that the panel orientation is just for startup, like boot splash
<novakane>
but then most screen can be turn around, so can't you change this with like kanshi or somethings, if you use a vertical setup?
monaaraj has quit [Ping timeout: 256 seconds]
<leon-p>
I think the idea is that by default, assuming the user did nothing weird like turning the device, the displayed image is correctly rotated.
<leon-p>
for example a company might decide to flip the phyiscal panel 180° for random manufacturing reasons, but to the user this should be fully opaque.
monaaraj has joined #river
<novakane>
hmm yeah would makes sense
<novakane>
RE: names invetigation, sway in a nested river session return `wayland-keyboard-defaul` and sway in a nested sway session return `wayland-keyboard-seat` so it might be from river
notzmv has quit [Ping timeout: 250 seconds]
<novakane>
I really do some exciting investigation when I should clean up my home huh :D
<leon-p>
novakane: don't remind me, I totally messed up my place searching for a replacement WLAN chip and my soldering gun this morning...
monaaraj has quit [Ping timeout: 256 seconds]
monaaraj has joined #river
<novakane>
leon-p: happen to the best of us, hope you found them at least :P
<novakane>
leon-p: what's your soldering stuff by the way, I want to invest in something for a bit of electronics DIY but I don't know shit
<leon-p>
novakane: my soldering equipment is basically just a bunch of ancient equipment my grandfather no longer needed. Nothing post made 2000, literally.
<leon-p>
in other words, I don't know much about that kinda stuff either, I am just winging it usually
<ifreund>
I managed to solder 42 tiny SMD diodes with the cheapest soldering iron from the hardware store for my keyboard :D
<ifreund>
just make sure you get solder with flux for electronics
<novakane>
leon-p: haha allright
<novakane>
ifreund: for your corne keboard? that would be my first project
<ifreund>
yep
<ifreund>
actually been thinking about stopping using the outer columns of my corne and seeing how 36 keys is like
<novakane>
damn that small, I don't know how I would adapt to this
<novakane>
was it hard to assemble your keyboard? or you had some experience in this before?
<ifreund>
hand soldering SMD things is pretty tricky, I had some experience soldering before but not a ton
<ifreund>
depending on what exact pcb you go for you may not need any SMD things though
<leon-p>
yeah, through-hole is a bit easier
<novakane>
well I don't know which model I'm going too choose yet, finding pieces is already hard enough ^^
<novakane>
and there is a looooot of parts :P
<ifreund>
I really like the low profile switches personally, it's a matter of taste though
<ifreund>
they're also a bit harder to find stuff for probably
<novakane>
thought about having some parts pre built, but damn that expensive
<novakane>
yeah I'll probably go with normal profile
<novakane>
but yeah I guess low profile should be cool for ergonomic
<ifreund>
yeah, ergonomics and being able to maintain my very high number of hours using a keyboard every day long term without RSI are the main reason I put time into this
monaaraj has quit [Ping timeout: 256 seconds]
<novakane>
same, that why I want to invest in this, I just invest in a great office chair and this is already a very nice improvement for my back :D
monaaraj has joined #river
<ifreund>
I should probably do that, I still have the random ikea office chair I found on the street the day I moved in 3.5 years ago xD
<leon-p>
I can recommend standing desks, although they are a bit pricy
<leon-p>
and if you need to use the pointer a lot, a trackball is also super nice
<novakane>
haha yeah I had a old chair I get from my mom, really shitty, I buy an expansive one (~200e) and it worth it, that so pleasant
<novakane>
I do have a standing desk, everything shaking when you put it up or down though
monaaraj has quit [Ping timeout: 240 seconds]
monaaraj has joined #river
waleee has joined #river
notzmv has joined #river
monaaraj has quit [Ping timeout: 256 seconds]
snakedye has quit [Ping timeout: 250 seconds]
<steef>
I'm looking for a standing desk, but shakiness is something I am afraid of haha
<steef>
Do you have a manual crank or electric? I wonder which is actually more stable
<steef>
What I actually came here for: is there a nice way to set environment variables for riverctl spawn?
<steef>
I now just export them before starting river
<novakane>
steef: a manual, no idea if it shake more but it could be
<novakane>
what variables do you need, I personally put all I need in the script that start river
<steef>
ok, thank you
<steef>
variables like XDG_SESSION_TYPE and XKB_DEFAULT_LAYOUT etc.
<ifreund>
steef: I put them in a start_river.sh script as well
<steef>
I'm used to putting stuff like that in .xprofile and then it would get automatically sourced
<steef>
The reason is really that I usually use a login/session manager
<steef>
there's a default .desktop file that just starts river but then I have nowhere to inject my vars
<steef>
not a huge deal to write my own but I was just wondering
<steef>
Thank you both!
<leon-p>
steef: you can change the .desktop file to start river through a login shell and put all that stuff into .profile
<ifreund>
ah, yeah I just start river from my .zprofile if logging in on tty one
<steef>
yeah I could also do that
<steef>
But then I have to type in my username, the horror, haha
<steef>
(I'm currently using ly, it's a really simple TUI display manager, would recommend)
<ifreund>
agetty is even simpler :P
<steef>
haha
<steef>
oh, apparently you can prefill the username with agetty
<novakane>
heh nothing like writing 3 times in a row the same typo in your username in a tty :P
<leon-p>
steef: or just use greetd. I have it setup to automatically log me in
<steef>
leon-p: Thanks, but that looks more involved than setting up ly I think for my purposes
<steef>
ly just eats desktop files in /usr/share/wayland-sessions so I can create one that launches my "launch river" script
<steef>
but I think I will try the agetty with .zprofile route since that saves me a dependency
<steef>
the only thing I really get out of a display manager is not having to type my username so
<elshize>
steef: I have this one: https://www.vari.com/electric-standing-desk-60x24/FD-ESD6024.html I spent a lot of time picking one and was very anxious about it shaking or breaking, but so far I have to say it's been perfect; very sturdy, you got a few presets, so if I want to switch I just push one button and wait
<elshize>
when I type vigorously, sometimes my monitor shakes a tiny bit (on standing) but it's rare and subtle; the desk itself really stable
<elshize>
but it's big and expensive
<elshize>
novakane: try buying a chair that's $1.5k, it's another level of comfort :D
<elshize>
about a year ago I've started having a lot of pain in my wrist, back, elbows, so I invested a lot of money for desk, chair, split keyboard, monitor, everything
<elshize>
my advice is to really pay attention to your body before the real pain starts
<novakane>
elshize: damn yeah that's some impressive stuff, clearly not in the same budget as me lol, standing desk was like 200e same as the chair, already better that basic things though
<ifreund>
yeah I've managed to head off any serious issues so far, had some strangeness in the hands a few months into the pandemic after spending too much time sitting in front of my PC writing the foundations of river :D
<ifreund>
that's when I switched to colemak and started reasearching split keyboards
<elshize>
split keyboard is a godsend; without it, i'd be almost a cripple
<ifreund>
what model are you using?
<elshize>
anyway, take it from someone who's gone through some pain and therapy: take breaks and listen to your body!
<elshize>
I'm using ergodox ez
<novakane>
ah yeah some that not in my budget again :P
<elshize>
novakane: budget is one thing, but I think just taking breaks, exercising, and just not pushing your body is the most important.
<elshize>
and yeah, I had your budget for a long time; I did my time, so to speak :D now I'm trying to reverse the demage :p
<novakane>
elshize: yeah my problem is mostly back pain due to previous shitty work, I try to go easy when I feel it gonna be painful lol
<elshize>
yep, I think standing should help, or rather changing position, I find that it's good for the back
<ifreund>
making your back and body stronger probably helps too
<ifreund>
I've got really strong hands from a lot of electric bass playing and bouldering :)
<elshize>
ifreund: yes! that's a big part of it.
<elshize>
that will do it :D
<elshize>
I'm your standard nerd, kinda weak. but now I got a workout regime from my therapist so hopefully will get better
<leon-p>
I got some posture weirdness a few years ago. Even just getting a monitor arm so it is a lot higher and so you can push the keyboard further back does quite a lot already.
<steef>
elshize: thanks for the suggestion! Doesn't look like they sell that in Europe but it sort of confirms my suspicion that manual is wobbly I guess
<leon-p>
steef: we have a few motorized ones in the rentable offices at university, they are pretty stable, even more so than my normal desk. Unsurprisingly I work there a lot, although I usually do miss my second monitor.
<steef>
ok nice then I will go motorized
<novakane>
I guess it depends on what you have on your desk too
<steef>
I did read online that it's important that they have a motor on each side I think but at least this already limits my choices nicely
<leon-p>
I am actually thinking about just getting a desk-top and mounting it to the wall at standing hight. No chance to get lazy that way :P
<steef>
novakane: large monitor, keyboard, mouse, pen and paper, lots of other stuff that shouldn't really be there
<steef>
but the monitor is heavy and expensive so that's why I'm worried
<novakane>
yeah I have 2 monitors, 2 monitoring speaker and a lot of music stuff hardware all almost on the same side of the desk so probably not ideal lol
<steef>
haha
<steef>
I've had two monitors but now just one 2560x1440px screen, works well enough for me
<novakane>
well one good is better than 2 bad for sure :P
<novakane>
leon-p: I wouldn't bet againt lazyness though :D
<steef>
haha, definitely
<novakane>
this channel really has been offtopic all day ^^
<ifreund>
as long as it's not preventing people from having on-topic discussion it's fine
<ifreund>
#river-offtopic does exist though xD
<novakane>
everyone who arrived with a question left with an answer I think, so that's good :P