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/
<leon-p> jacobly: are you using the proprietary driver for that nvidia card? It's not officially suported and has a reputation of being wonky
<leon-p> I assume it does not show up on the laptop screen? (I assume it's a laptop since one of the connectors is named eDP-1)
<leon-p> laptop screens are usually connected to the integrated graphics chip and if you render on the dedicated graphics card it has to be copied over. Maybe that doesn't work here
<k-man> is there a way to get grim to flash the screen to indicate it took a screenshot?
<k-man> or some kind if visible feedback?
<k-man> also how can i not only save the screenshot to a file, also copy to clipboard?
<leon-p> to copy the file to the clipboard: grim -t png - | wl-copy
<leon-p> if you want both, file and clipboard, use `tee` in the pipeline
<leon-p> for flashing the screen, maybe a script that adjusts the backlight? I don't think there is any tool to render a screen flash like that
<k-man> thanks leon-p
leopoldek has joined #river
<k-man> how do i lock screen when i close the lid?
<k-man> of my laptop
<leon-p> k-man: there are multiple ways to achieve that, the simplest is probably to use `riverctl map-switch <mode> lid close spawn <lock command>`
<jacobly> leon-p, this feature support table says that nouveau doesn't support this card so I didn't know what else to use
<leon-p> it's a laptop, right? so it should have an integrated graphics chip
<jacobly> oh, use that driver instead?
<leon-p> yes
<leon-p> should be in mesa though
eShaev9z_ has joined #river
eShaev9z has quit [Ping timeout: 258 seconds]
<jacobly> alright, main laptop screen is working now
<NickH> k-man: I use this function for screenshots with notificataion https://0x0.st/H4j4.txt
<k-man> is that sh ?
<NickH> bash
<k-man> nice
<k-man> i shall study it later
<k-man> thanks NickH
<k-man> how do you handle switching on/off/mirror outputs ?
<k-man> like when you plug a projector into the laptop
<NickH> kanshi
<k-man> thanks leon-p
<NickH> The trick with using funtions like that is to actually bind to them. Easist way is to put them in standalone scripts then
<NickH> riverctl map normal None Print spawn "path/to/my-screenshot.sh"
<NickH> and
<NickH> riverctl map normal Super Print spawn "path/to/my-screenshot.sh interactive"
<k-man> so my-screenshot.sh would call the function?
<k-man> or have the function in it and call it
<k-man> why do so many of these projects appear archived on gh and moved to sh? due to ms owning gh?
<jacobly> wow, proprietary graphics driver is instantly wonky
angry_vincent has joined #river
notzmv has quit [Ping timeout: 240 seconds]
<NickH> my-screenshot.sh would just contain a #!/bin/bash and then the code that is within that function.
<NickH> In my (probably overly complicated) setup that function definition is inside the init file and I make the keybinding run the init file with an argument a that causes it to do nothing other than run that function...
Ordoviz has joined #river
<NickH> My init file is a beast... I can share it but it will probably result in generating more questions than it answers ;-)
notzmv has joined #river
ayushnix has quit [Quit: "pouncing on ..."]
ayushnix has joined #river
haliucinas2 has joined #river
haliucinas has quit [Ping timeout: 264 seconds]
haliucinas2 is now known as haliucinas
kotto has joined #river
Ordoviz has quit [Ping timeout: 260 seconds]
Ordoviz has joined #river
leopoldek has quit [Ping timeout: 272 seconds]
<ifreund> I must admit, that claim makes me curious to see it :D
waleee has joined #river
kotto has quit [Quit: WeeChat 4.0.5]
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #river
andyrtr has quit [Quit: ZNC 1.8.2 - https://znc.in]
andyrtr has joined #river
waleee has quit [Ping timeout: 272 seconds]
leopoldek has joined #river
waleee has joined #river
waleee has quit [Ping timeout: 252 seconds]
Guest61 has joined #river
Guest61 has quit [Client Quit]
Loggers_VIII has joined #river
Loggers_VIII has left #river [#river]
Ordoviz has quit [Quit: WeeChat 4.0.5]
NickH has quit [Read error: Connection reset by peer]
NickH has joined #river
switchy has quit [Read error: Connection reset by peer]
jacobly has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
switchy has joined #river
jacobly has joined #river
angry_vincent has quit [Ping timeout: 264 seconds]
angry_vincent has joined #river
haliucinas has quit [Quit: .]
haliucinas has joined #river
angry_vincent has quit [Remote host closed the connection]
tiosgz has joined #river
<tiosgz> ifreund: having seen your reply to #877 (wl-mirror crash), i guess i should link back to https://libera.irclog.whitequark.org/river/2023-09-05#1693906336-1693906381; / https://0x0.st/HpnX.log
<tiosgz> unfortunately i have no way to help further anymore, as i've only got the laptop screen now
<ifreund> tiosgz: ah thanks, I tend to forget things if I don't write them down :)
<tiosgz> happens to all of us :)
<leon-p> hell, I forgot things even if I write them down...
<ifreund> hmm, I think I did try physically unplugging the monitor though I'll try again
<ifreund> maybe I had kanshi running which messed with it
<tiosgz> btw it may be better to re-upload the log for archival purposes
<tiosgz> cos 0x0's nature
<adamcstephens> fwiw I'm using kanshi. i hope to run some tests this evening
<ifreund> welp, I still can't reproduce following the steps in the issue with no kanshi running
<tiosgz> hmm. i thought i left more info in the log, but apparently there isn't anything about focus or whatever may be relevant. i recall i had to try several times though
<ifreund> ah, if it's not deterministic that suggest a race
TheAnachron has joined #river
<ifreund> From glancing at the come it really seems more like a wlroots bug to be honest
<ifreund> I think I'll move on to other bugs for now and come back to it once the issue tracker is a bit cleaner
<TheAnachron> hey, does anybody here use wf-recorder? I am having trouble with the quality as mentioned in the issue https://github.com/ammen99/wf-recorder/issues/130
tiosgz has quit [Quit: tiosgz]
waleee has joined #river
tiosgz has joined #river
<ifreund> I use obs when I need to record something personally
<ifreund> I don't claim to use it well though
<tiosgz> ftr, from the log it seems like i had wl-mirror on the external output. not sure if that matters though
<TheAnachron> I would rather not use something as complicated as OBS, I've checked a 1 hour video tutorial and I can hardly grasp how it works
<tiosgz> it may have some consequences like the output trying to rerender, but the client already gone. i'm just phantasising now though. phaps better to ignore this
<ifreund> I never looked up how to use obs fwiw, I just grabbed it from the package manager and fumbled my way through the UI for a few minutes
<ifreund> seemed pretty self-explanatory for simple things
Guest60 has joined #river
<ifreund> tiosgz: nice, having the wl-mirror window on the output that gets unplugged did it
Guest60 has quit [Quit: Client closed]
waleee has quit [Ping timeout: 255 seconds]
tiosgz has quit [Quit: tiosgz]
waleee has joined #river
<TheAnachron> oh yeah and also, I dont really like GUI stuff :P I automate most things
<TheAnachron> like I wrote a wrapper for wf-record that guides me through a wizard to say which type to record (desktop, area) and which audio source (Speaker, Micro, None) and then checks for a GPU that supports GPU acceleration and then automatically passes the right flags to wf-recorder
waleee has quit [Ping timeout: 260 seconds]
waleee has joined #river
<ifreund> welp, I fixed the wl-mirror crash but then realized it had already been fixed several months ago in wlroots master xD
TheAnachron has quit [Quit: TheAnachron]
TheAnachron has joined #river
waleee has quit [Ping timeout: 258 seconds]
notzmv has quit [Ping timeout: 252 seconds]
leopoldek has quit [Remote host closed the connection]
leopoldek has joined #river
waleee has joined #river
TheAnachron has quit [Quit: TheAnachron]
dvzrv has quit [Read error: Connection reset by peer]
waleee has quit [Ping timeout: 260 seconds]
waleee has joined #river
<adamcstephens> sorry ifreund, I should have checked wlroots
<adamcstephens> I can confirm the fix in wlroots does fix the crash
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #river