28 Jul 2020 |
swrangsar | after having pressed $mod+shift+e to exit Wayland session, is there any keyboard shortcut to confirm the exit? | 12:12:32 |
donbex | swrangsar: no, but there's a workaround https://wiki.archlinux.org/index.php/Sway#Control_swaynag_with_the_keyboard | 12:15:38 |
dudebundy | I use wlogout which gives you a fancy customizable logout screen. It's quite nice: https://github.com/ArtsyMacaw/wlogout | 12:58:03 |
cypa | In reply to @donbex:matrix.org
swrangsar: no, but there's a workaround https://wiki.archlinux.org/index.php/Sway#Control_swaynag_with_the_keyboard that's misfit, I can't exit without mouse? | 17:59:04 |
donbex | You can, but not straight out of the box. | 18:03:00 |
| paulos joined the room. | 18:30:44 |
pablo_marcendo | I have a problem with some steam games refusing to use the correct monitor.
| 19:31:49 |
pablo_marcendo | * I have a problem with some steam games refusing to use the correct monitor.
I have 2 monitors, a low resolution one on coordinates (0,0), and a high resolution to the right. Some steam games will always open on the low resolution one, and I can't even move the windows to the other monitor.
When I set the high resolution monitor on coordinates (0,0), the games open on that monitor, but the other monitor will be on negative coordinates which causes problems with xwayland.
Has anyone else encountered this problem? | 19:35:37 |
pablo_marcendo | * I have a problem with some steam games refusing to use the correct monitor.
I have 2 monitors, a low resolution one on coordinates (0,0), and a high resolution to the right. Some steam games will always open on the low resolution one, and I can't even move the windows to the other monitor.
When I set the high resolution monitor on coordinates (0,0), the games open on that monitor, but with an offset equal to the horizontal resolution of the left monitor, i.e. I can see my background on the left part of the screen and then the left half of the game on the right part of the screen. Also the left monitor will be on negative coordinates which causes problems with xwayland.
Has anyone else encountered this problem? | 19:44:00 |
genrtone | I have very similar issues. Sometimes it helps to set the output you want stuff to appear on as primary. | 21:03:06 |
genrtone | You do that with xrandr, like xrandr --output <outputname> --primary | 21:03:30 |
genrtone | Other times launching through Lutris helps. There's some workarounds you can activate in it | 21:03:47 |
genrtone | It seems like Sway natively doesn't have the concept of a primary monitor? | 21:06:38 |
genrtone | Kind of seems like an oversight | 21:06:46 |
donbex | pablo_marcendo: Have you tried simply putting something like this in your sway configuration file? | 21:31:52 |
donbex |
| 21:31:59 |
donbex | * bindsym $mod+0 workspace games
assign [class="MyGame"] games
| 21:32:58 |
donbex | * bindsym $mod+0 workspace games
assign [class="MyGame"] games
| 21:34:27 |
donbex | * bindsym $mod+0 workspace games
workspace games output BigScreen
assign [class="MyGame"] games
| 21:36:01 |
donbex | References (from the i3 manual):
https://i3wm.org/docs/userguide.html#assign_workspace
https://i3wm.org/docs/userguide.html#workspace_screen | 21:38:09 |
29 Jul 2020 |
pablo_marcendo | Setting the output as primary did make the game go to the correct monitor, but is has trouble capturing mouse and keyboard inputs. I still can't move the game to other workspaces, but by pressing mod+shift+5 a few times, I can move all other windows (which I can't see, because the game is full screen), like steam, away. If I then click on waybar once, the game does capture mouse input, but not keyboard. | 07:25:36 |
pablo_marcendo | I'll try donbex's solution later today after work | 07:26:26 |
pablo_marcendo | * Setting the output as primary did make the game go to the correct monitor, but it has trouble capturing mouse and keyboard inputs. I still can't move the game to other workspaces, but by pressing mod+shift+5 a few times, I can move all other windows (which I can't see, because the game is full screen), like steam, away. If I then click on waybar once, the game does capture mouse input, but not keyboard. | 08:00:03 |
genrtone | Lutris helps with games not capturing mouse and keyboard inputs | 08:44:20 |
genrtone | Is the game Sekiro, by any chance? | 08:44:30 |
genrtone | I had these exact problems with that game | 08:44:38 |
genrtone | I just worry that the window class solution will mean you have to add an entry for every game you want to play | 08:45:18 |
pablo_marcendo | I tried Mount and Blade: Warband this morning, FlatOut 2 had the same problem last week. I do not own Sekiro. | 08:46:31 |
genrtone | It's a great game, comes highly recommended :P | 08:48:00 |
genrtone | Although it does kind of work like ass on Sway | 08:48:12 |