Multi-monitor setup for games

ok so I been trying to setup my systems so that all games open on my 4k tv and all desktop apps on the monitor. Luckly I found that in kde there window rules you can setup so I set it up so that all apps whose class name starts with steam or wine is forced to display on my tv maximized without borders. this works great except one problem. the wine rule also affects wine apps that are not games. The problem with that is that since i set it to forced I cannont move those apps to my monitor. I've tried setting it to apply inatialy instead of forced so that I can drag the ones I want on my monitor to the monitor but if I do that it seems to ignore the applyinatialy and it just opens all wine app on the monitor. any ideas?

inxi -Fxxxza --no-host
System:    Kernel: 5.4.2-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.0                                                                                          
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 root=UUID=d52056ad-8164-4fc0-be0c-f6ddfff48830 rw quiet 
           Desktop: KDE Plasma 5.17.4 tk: Qt 5.13.2 info: latte-dock wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Desktop System: Gigabyte product: X470 AORUS ULTRA GAMING v: N/A serial: <filter> 
           Mobo: Gigabyte model: X470 AORUS ULTRA GAMING-CF v: x.x serial: <filter> UEFI: American Megatrends v: F42g 
           date: 10/18/2019 
CPU:       Topology: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ family: 17 (23) model-id: 8 stepping: 2 
           microcode: 800820D L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 118441 
           Speed: 4036 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 4023 2: 3310 3: 4063 4: 4009 5: 4045 
           6: 3961 7: 4025 8: 4027 9: 4032 10: 4057 11: 4037 12: 4005 13: 4037 14: 4036 15: 3988 16: 4009 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1080] vendor: Gigabyte driver: nvidia v: 435.21 bus ID: 0a:00.0 
           chip ID: 10de:1b80 
           Display: x11 server: X.Org 1.20.6 driver: nvidia compositor: kwin_x11 resolution: 3840x2160~60Hz 
           OpenGL: renderer: GeForce GTX 1080/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 direct render: Yes 
Audio:     Device-1: NVIDIA GP104 High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 0a:00.1 
           chip ID: 10de:10f0 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus ID: 0c:00.3 chip ID: 1022:1457 
           Sound Server: ALSA v: k5.4.2-1-MANJARO 
Network:   Device-1: Intel I211 Gigabit Network vendor: Gigabyte driver: igb v: 5.6.0-k port: f000 bus ID: 07:00.0 
           chip ID: 8086:1539 
           IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.96 TiB used: 2.23 TiB (75.3%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 250GB size: 232.89 GiB block size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 2B2QEXE7 scheme: GPT 
           ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 960 EVO 250GB size: 232.89 GiB block size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 3B7QCXE7 scheme: GPT 
           ID-3: /dev/sda vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB block size: physical: 4096 B 
           logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: CC43 scheme: GPT 
           ID-4: /dev/sdb vendor: Seagate model: ST2000DX002-2DV164 size: 1.82 TiB block size: physical: 4096 B logical: 512 B 
           speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: CC41 
Partition: ID-1: / raw size: 232.59 GiB size: 227.94 GiB (98.00%) used: 125.47 GiB (55.0%) fs: ext4 dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 56.9 C mobo: N/A gpu: nvidia temp: 51 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 25% 
Info:      Processes: 468 Uptime: 10h 26m Memory: 15.65 GiB used: 10.10 GiB (64.6%) Init: systemd v: 242 Compilers: gcc: 9.2.0 
           alt: 8 clang: 9.0.0 Shell: bash v: 5.0.11 running in: cool-retro-term inxi: 3.0.37

Sorry to say, but:

  1. Remove wine applications from the "forced section"
  2. Whenever you start a wine game, start it in windowed mode and then:
  3. Right-click on the title bar
  4. Choose More actions
  5. Choose Configure Special Window Settings
  6. Change these settings only:

You'll have to do this once for every wine game that you want to go to screen 2 and not do anything for any wine applications that you want to remain on your primary monitor.


1 Like

thats one way . I found that the following also worksScreenshot_20191223_101317

This way all wine windows will be resized and moved to my tv upon opening then if I need it on the monitor I can just drag it. Does this look good? I will also share my other configs, but I think I got it setup.
EDIT: minor adjustment I needed to set retro arch higher than non games other wise it would be forced on my monitor. cant belive I over looked that :sweat_smile:
EDIT: also I needed to unselect desktop in all the configs otherwise my desktop would be missing lol

Screenshot_20191223_102438 Screenshot_20191223_102423


Screenshot_20191223_102358 Screenshot_20191223_102334


Screenshot_20191223_102253 Screenshot_20191223_102228


Screenshot_20191223_102152 Screenshot_20191223_102123

non games

Screenshot_20191223_102054 Screenshot_20191223_102018


Screenshot_20191223_101936 Screenshot_20191223_101858

steam games

Screenshot_20191223_101739 Screenshot_20191223_101713

wine games

Screenshot_20191223_101317 Screenshot_20191223_101259

1 Like

No better solution than your own solution! (Ever! :wink: )

Mark it as such as per the screenshot below so that your question gets removed from the "unsolved" queue.



thanks yeah i think some of my setting are redundant but it works :grin:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by