<plumeus>
A guy I know wanted to know if it's possible to bind his CAPS key to function as holding ctrl + escape on River. Does anybody have any ideas?
<plumeus>
oh, apparently, the actual functionality he wants is for it to act as an escape when pressed, and caps when held. Which can in-turn be achieved by emulating both keys. huh.
<tleydxdy[m]>
there's an option to set to to act as escape, and shift+caps act as caps
<plumeus>
huh
<tleydxdy[m]>
look at /usr/share/X11/xkb/rules/base.lst for all the things xkb can do
<tleydxdy[m]>
search for ! option
<plumeus>
the guy currently seems to do `setxkbmap pl -option 'caps:ctrl_modifier'; xcape -e 'Caps_Lock=Escape'` for his X setup
<plumeus>
I just didn't think it would be possible on Wayland
<tleydxdy[m]>
the keyboard is still handled via xkb
fitrh has quit [Remote host closed the connection]
fitrh has joined #river
fitrh has quit [Remote host closed the connection]
snakedye has joined #river
mon_aaraj has quit [Ping timeout: 246 seconds]
mon_aaraj has joined #river
spyroboy has joined #river
<NikhilSingh[m]1>
How do I setup screen share?
<NikhilSingh[m]1>
I mean in Google meet? Or telegram desktop?
mon_aaraj has quit [Ping timeout: 276 seconds]
mon_aaraj has joined #river
<Shinyzenith[m]>
Setup pipewire
<Shinyzenith[m]>
Install xdg desktop portal and xdg desktop portal wlr
<Shinyzenith[m]>
That should get Google meet working
<uncomfyhalomacro>
Just a heads up, you cannot do per window screensharing yet. therefore, it is only fullscreen
<Shinyzenith[m]>
You might also wanna install slurp so you can click on the monitor you want to share
<uncomfyhalomacro>
> <@nik.singh710:matrix.org> How do I setup screen share?
<uncomfyhalomacro>
> I mean in Google meet? Or telegram desktop?
<uncomfyhalomacro>
quick question, what distro?
<NikhilSingh[m]1>
Arch Linux
<uncomfyhalomacro>
ah no need to worry then. after you install xdg-desktop-portal-wlr and slurp, then you should be good to go. :) make sure you have pipewire (and pipewire-pulse) installed and enabled by running
<uncomfyhalomacro>
`systemctl --user enable --now pipewire pipewire-pulse` as a non-root user.
<Shinyzenith[m]>
You also ( probably ) want wireplumber
mon_aaraj has quit [Ping timeout: 240 seconds]
<uncomfyhalomacro>
oh that. yeah
<uncomfyhalomacro>
`systemctl --user enable --now wireplumber` too as non-root user
mon_aaraj has joined #river
<NikhilSingh[m]1>
Aah my internet is not working will test as soon as it comes.
<NikhilSingh[m]1>
Can you please explain me how the user service differ from system?
<NikhilSingh[m]1>
wireplumber.service does not exist
<uncomfyhalomacro>
you have to install it
<NikhilSingh[m]1>
Service?
<NikhilSingh[m]1>
I have wireplumber installed...
<NikhilSingh[m]1>
Now wireplumber command ran successfully I had a typo there 😅
<uncomfyhalomacro>
> <@nik.singh710:matrix.org> Aah my internet is not working will test as soon as it comes.
<uncomfyhalomacro>
>
<uncomfyhalomacro>
> Can you please explain me how the user service differ from system?
<uncomfyhalomacro>
it is as what it says. you run the service in the user-scope while without the `--user` flag, you need to run it as root hence `sudo systemctl enable someservice`
<uncomfyhalomacro>
* it is as what it says. you run the service in the user-scope. while without the `--user` flag, you need to run it as root hence `sudo systemctl enable someservice`
<NikhilSingh[m]1>
Ohh okay. I have created one custom service is it possible to have it placed in home dir somehow?
jaafarrc has left #river [#river]
<nor[m]1>
uncomfyhalomacro: Just a quick reminder us matrix users should not quote or edit messages, this is bridged IRC and looks terrible there.
<uncomfyhalomacro>
oh i forgot this is bridged to IRC. my bad
<NikhilSingh[m]1>
In Google Chrome when I try to share screen
<NikhilSingh[m]1>
If i choose to share entire screen it shows black option to share and if I try to share window it just list chrome window there
<uncomfyhalomacro>
Nikhil, To answer your question, it kind of depends. if you want it to be in user-scope, you should put it in `~/.config/systemd/user`. I think systemd's manual has more somewhat good explanations for that but for me you shouldn't need to think about that yet unless you really want to start using your own custom-user-defined service.
<uncomfyhalomacro>
As for Google Chrome, idk about that, I don't use it. Chromium does work so I think you might have misconfigured or you need to reboot or something. :) anyway, fyi, this isn't tech support so if you have an issue, it's something of a hit and miss to help due to varied setups so I guess you have to work on that.
<NikhilSingh[m]1>
Yeah I got ur point I tried a reboot will try chromium now.
<nor[m]1>
Nikhil Singh: In the chrome flags page, did you search for pipewire and enable that option?
<NikhilSingh[m]1>
Yes I did enabled it.
<NikhilSingh[m]1>
Pipe wire webrtc
<uncomfyhalomacro>
<jaafarrc> "`~/.config/river/init`?" <- make sure it knows where `XDG_RUNTIME_DIR` is
mon_aaraj has quit [Ping timeout: 276 seconds]
mon_aaraj has joined #river
mon_aaraj has quit [Ping timeout: 276 seconds]
mon_aaraj has joined #river
mon_aaraj has quit [Ping timeout: 276 seconds]
elshize has quit [Ping timeout: 246 seconds]
elshize has joined #river
<Shinyzenith[m]>
Hi, I'm writing a compositor of my own and since quite a few experienced compositor developers are here I thought it's just best to ask in this room.
<Shinyzenith[m]>
1) I understand the concept of a seat but realistically can there be multiple seats on 1 compositor on 1 VT at once? is handling this scenario crucial? I see that river does handle multiple seats but for now just creating 1 global seat in my server object works just fine
<Shinyzenith[m]>
I don't want to write too much and then later have to refactor it all out to support multiple seats so I just wanna know if handling it is crucial
<Shinyzenith[m]>
and what kind of usecases generates multiple seats
<novakane>
Shinyzenith[m]: almost all code in river is done for multiple seats in minds but river only allow one seat for now, so I don't think that should be your priority but I don't really know about use case for multiple deats
<Shinyzenith[m]>
Hm I see. Since I'm on a laptop, realistically I'm just coding with 1 seat in mind, but in what kind of a situation would multiple seats be created?
<novakane>
I have no idea tbh, you need someone else than me to answer that
tsraoien has joined #river
zdykstra has joined #river
gwizon has joined #river
tsraoien has quit [Ping timeout: 244 seconds]
<wrl>
leon-p: hey, are there docs anywhere about what the different layout modes in stacktile... do?
Guest40 has joined #river
gwizon has quit [Quit: leaving]
Guest40 has quit [Quit: Client closed]
Guest40 has joined #river
Guest40 has quit [Client Quit]
Guest40 has joined #river
cabal704 has joined #river
Guest40 has quit [Quit: Client closed]
<Arya[vern][m]>
i just updated to the new waybar release and now it defaults to 1262 width
<Arya[vern][m]>
fun
mon_aaraj has joined #river
<mizzunet>
wrl you might want to see the layouts by trying them. And graphical representaion of the layouts on the repo README would be nice.
<Arya[vern][m]>
any clue why this is happening and/or how to fix
<Arya[vern][m]>
weirdly it keeps resizing the thing?
<Arya[vern][m]>
/ If height property would be not present, it'd be calculated dynamically
<Arya[vern][m]>
"width" : 1080,
<Arya[vern][m]>
"height": 51,
<Arya[vern][m]>
the property has been set in config
<Arya[vern][m]>
commenting width worked lmao
wrkzk has joined #river
<nor[m]1>
Arya [vern]: Yeah just get rid of that space-waster, barless is the best ;P
<nor[m]1>
Jokes aside, is there a bar that indicates what tags the focused view is on? Or can bars only display info about the outputs tags, but not those of the view? Sorry if this is a stupid question...
Arya[vern][m] is now known as Arya[Verncc][m]
<ifreund>
nor[m]1: river doesn't expose that information currently, sorry
Arya[Verncc][m] is now known as Arya[verncc][m]
<nor[m]1>
ifreund: Alright, thanks. Then I'll happily stick to no-bar :)
mon_aaraj has quit [Ping timeout: 240 seconds]
mon_aaraj has joined #river
Youpilai has joined #river
mon_aaraj has quit [Ping timeout: 244 seconds]
notzmv has quit [Ping timeout: 260 seconds]
mon_aaraj has joined #river
mon_aaraj has quit [Ping timeout: 240 seconds]
snakedye_real has joined #river
wrkzk has quit [Quit: WeeChat 3.5]
wrkzk has joined #river
snakedye_real has quit [Ping timeout: 246 seconds]
cabal704 has quit [Quit: WeeChat 3.5]
Youpilai has quit [Quit: Client closed]
Youpilai has joined #river
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
<leon-p>
wrl: the layouts are not currently documented, you'll have to try them. There should be a description, however I never got around to it.
<Youpilai>
hi everyone
<leon-p>
hi
notzmv has joined #river
<Youpilai>
nor[m]1 : you can achieve what you want with the help of ristate and jq to feed a bar custom module (i do it with waybar)
<Youpilai>
leon-p you're the author of stacktile, right ?
<leon-p>
youpilai: yes I am
<Youpilai>
great work, than to you. Coming from bspwm, i'm fund of the monocle mode (i have a small screen), and i nearly achieve similar behaviour with your compositor
<Youpilai>
(*thanks) one thing remains : the border width. I like it to disapears when in monocle mode, but this parameter is still manager by river. Is by any chance i will be manager by the compositor to have it defined by tag, like the other params ?
<leon-p>
river is the compositor
<leon-p>
stacktile is a layout generator
<Youpilai>
sorry, the layout generator (my bad)
<leon-p>
the layout generator has no control over the border right now
<leon-p>
the idea is that eventually they have more control, but nothing concrete is planned yet
<Youpilai>
yes, i've read something about the intention of separate more tasks from river to an external app (like the layout generator) but if i understood well it's not for soon, so i was wondering if stacktile could act on that... i'll wait. thanks for the response
<Youpilai>
one other thing : when i manually change the layout of the focused tag, it changes when i recall a windows from the scratchpad (reseting itself to default), changing back to custom when i send back to scratchpad the said windows. It's not critical but i wonder if you are aware of this behavuour ?
<novakane>
are you using different layout per tags?
<novakane>
if yes that sounds like the correct behavior
<Youpilai>
not generally but sometimes i change the primary ratio, and it changes to default when recalling a floating window from scratchpad. I can live with that but i expected the primary ratio to stay as i set it