#StackBounty: #nvidia #xorg #multiple-monitors #display #display-resolution Is it possible to have two monitors with different scales?

Bounty: 50

I have currently two monitors :

Screen 0: minimum 8 x 8, current 6400 x 2160, maximum 32767 x 32767
DP-2 connected primary 3840x2160+2560+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00*+  30.00  
   2560x1440     59.95  
   1920x1080     60.00    59.94  
   1600x900      60.00  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94  
   1152x864      59.96  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94    59.93  
DP-4 connected 2560x1440+0+360 (normal left inverted right x axis y axis) 598mm x 336mm
   2560x1440     59.95*+ 165.00   144.00   120.00    99.95    84.98    23.97  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  

My problem is, tha the 4k one (DP-2) is way to small. If I increase the scaling, then the DP-4 is way too big.

I saw other posts that told that the multiple scaling is possible in wayland but since I have a nvidia there were no drivers currently…

I also tried some commands with xrandr but none worked for exemple :

xrandr --output DP-4 --scale 2x2 --pos 7680x0; xrandr --output DP-2 --scale 1x1 --mode 3840x2160  -fb 8960x5040  --pos 0x0

I’m running Ubuntu 18.04 with Gnome 3.38.2.
Are there currently a solution to this ?


Get this bounty!!!

#StackBounty: #drivers #graphics #xorg #webcam Xorg repeatedly tried to add built-in webcam as keyboard

Bounty: 50

First time poster here. I’m having a problem with xorg and my laptop Dell Inspiron 15 7537 running Ubuntu 15.10. I’m not configuring the nvidia GT750M in my system so no nvidia stuff at all in my computer. I’m running the latest Intel graphic firmware as installed by Intel graphic installer app.

The first symptom is after using the computer for 2 or 3 days all the graphics animation start to lag very badly, including chrome and playing YouTube video. When i checked via ‘top‘ command, xorg idles with 30% cpu usage, and when browsing web with chrome, something as simple as scrolling the web page would make xorg jump to 100% cpu usage. I thought it was the built in intel driver that is causing this. So i tried updating it to the latest version but the issues remains.

Then i tried checking the xorg log located at /var/log/Xorg.0.log for some clue, and i found something weird, Xorg repeatedly tried to add an input device called “Integrated_Webcam_HD” as a keyboard

[359929.951] (II) config/udev: Adding input device     Integrated_Webcam_HD (/dev/input/event13)
[359929.951] (**) Integrated_Webcam_HD: Applying InputClass "evdev keyboard catchall"
[359929.951] (II) Using input driver 'evdev' for 'Integrated_Webcam_HD'
[359929.951] (**) Integrated_Webcam_HD: always reports core events
[359929.951] (**) evdev: Integrated_Webcam_HD: Device: "/dev/input/event13"
[359929.951] (--) evdev: Integrated_Webcam_HD: Vendor 0xc45 Product 0x6a00
[359929.951] (--) evdev: Integrated_Webcam_HD: Found keys
[359929.951] (II) evdev: Integrated_Webcam_HD: Configuring as keyboard
[359929.951] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input6735/event13"
[359929.951] (II) XINPUT: Adding extended input device "Integrated_Webcam_HD" (type: KEYBOARD, id 13)
[359929.951] (**) Option "xkb_rules" "evdev"
[359929.951] (**) Option "xkb_model" "pc105"
[359929.951] (**) Option "xkb_layout" "us"
[359929.951] (WW) Option "xkb_variant" requires a string value
[359929.951] (WW) Option "xkb_options" requires a string value
[359930.507] (II) config/udev: removing device Integrated_Webcam_HD
[359930.520] (II) evdev: Integrated_Webcam_HD: Close
[359930.520] (II) UnloadModule: "evdev"

my xorg.log file was completely filled with that log repeating itself over and over. I thought this was the cause, so i search the internet for way to disable the Webcam as i don’t use it. I found this guide here
https://superuser.com/questions/335687/disabling-an-dev-inputx-input-device-on-ubuntu-linux

and I did all the steps by adding a rule to ignore the webcam, restart my laptop and now the log looks like this:

[   969.406] (II) config/udev: Adding input device Integrated_Webcam_HD (/dev/input/event14)
[   969.406] (**) Integrated_Webcam_HD: Ignoring device from InputClass "disable broken device"
[   970.577] (II) config/udev: Adding input device Integrated_Webcam_HD (/dev/input/event14)
[   970.577] (**) Integrated_Webcam_HD: Ignoring device from InputClass "disable broken device"
[   971.729] (II) config/udev: Adding input device Integrated_Webcam_HD (/dev/input/event14)
[   971.729] (**) Integrated_Webcam_HD: Ignoring device from InputClass "disable broken device"
[   972.901] (II) config/udev: Adding input device Integrated_Webcam_HD (/dev/input/event14)

also repeating itself over and over again. I believe this will also cause some problems down in the line.
Do anybody have solution for this ?


Get this bounty!!!

#StackBounty: #shortcut-keys #xorg #virtual-console Switching virtual terminals is hanging X

Bounty: 50

I know there is often confusion about ctrl-alt-Fkey surprisingly “killing” X when in reality they have just switched to a text virtual console.

This is not that question.

When I switch to a virtual console something happens to X such that I can’t switch back to X in vt 7. It’s still running, but I can’t X to show anything. Instead I see a blank screen at virtual terminal 7 with a blinking underline cursor (that doesn’t respond to typing).
Sometimes just killing and restarting the window manager will let me switch back, but usually I have to kill gnome-session or Xorg to completely restart it.

It used to only be virtual console 10 that caused this problem, I could switch to other virtual consoles fine and come back to X, but VT 10 would always break X. Now switching to any virtual console is crashing X.


Get this bounty!!!

#StackBounty: #gnome #xorg #19.10 #window-manager Gnome grouping of windows for minimization and focus

Bounty: 50

I run Ubuntu 19.10 with Gnome. I recently switched to a 4K monitor. With the extra real estate, I’ve been putting windows into corners and on left and right halves. Invariably, Gnome decides that some windows go together, such that when I minimize one it minimizes others, or that when I focus one it brings to front some window on the other side of the screen. I don’t want this behavior. I don’t want any windows tied to other windows. How do I turn it off? (And what’s the technical term for it as I can’t find it by searching the web.)


Get this bounty!!!

#StackBounty: #x11 #xorg #fluxbox Prevent application from changing the window layer

Bounty: 100

I’m running Debian 10 with fluxbox.

I have an application where the window layer keeps changing to “Above dock”, despite me checking “Remember…” “Layer”. This layer change seems to happen randomly.

How do I prevent this from happening? Pop ups created by the application launch with the “Normal” layer, so they are unclickable until I find them…certainly a very annoying issue.

This only happens with this one application.

Two more questions as asides:

Do other window managers have this layer feature, or is it only fluxbox?

What can control the window layer? Is it the window manager only, the application only, or both the window manager and application?


Get this bounty!!!

#StackBounty: #arch-linux #xorg #mouse Getting thumb buttons working | Zowie ec2-b

Bounty: 50

I’m using steam to play CS:GO on Arch Linux. So far everything works but mouse thumb buttons. I tried to map them in game, then I realized game does not identify those keys at all. I went through Thumb Buttons – forward and back but I think the issue here is evdev is not identifying thumb buttons events as buttons. (I’m using Arch Linux + bspwm + sxhkd setup)

xev output for forward thumb button

LeaveNotify event, serial 33, synthetic NO, window 0x4c00001,
    root 0x1e6, subw 0x0, time 4046616, (2,420), root:(974,442),
    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 0

EnterNotify event, serial 33, synthetic NO, window 0x4c00001,
    root 0x1e6, subw 0x0, time 4046777, (2,420), root:(974,442),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 0

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  4294967270 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

xev output for back thumb button

LeaveNotify event, serial 33, synthetic NO, window 0x4a00001,
    root 0x1e6, subw 0x0, time 3944070, (7,455), root:(979,477),
    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 0

EnterNotify event, serial 33, synthetic NO, window 0x4a00001,
    root 0x1e6, subw 0x0, time 3944181, (7,455), root:(979,477),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 0

KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  4294967270 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0  

I tried following configurations to xorg too.

Section "InputDevice"
  Identifier      "Evdev Mouse"
  Driver          "evdev"
  Option          "Name" "Kingsis Peripherals ZOWIE Gaming mouse"
  Option          "evBits"  "+1-2"
  Option          "keyBits" "~272-287"
  Option          "relBits" "~0-2 ~6 ~8"
  Option          "Pass"    "3"
  Option          "CorePointer"
EndSection

Section "ServerLayout"
  Identifier     "Default Layout"
  InputDevice    "Evdev Mouse" "CorePointer"
EndSection

I tried killing sxhkd

According to solution in this question, keys could be grabbed globally. only potential application would be sxhkd so I killed the process and tried thumb buttons on xev window but it gave the same results mentioned above.

How do I get thumb buttons working?


Get this bounty!!!

#StackBounty: #gnome #xorg #window-manager Gnome grouping of windows for minimization and focus

Bounty: 50

I run Ubuntu 19.10 with Gnome. I recently switched to a 4K monitor. With the extra real estate, I’ve been putting windows into corners and on left and right halves. Invariably, Gnome decides that some windows go together, such that when I minimize one it minimizes others, or that when I focus one it brings to front some window on the other side of the screen. I don’t want this behavior. I don’t want any windows tied to other windows. How do I turn it off? (And what’s the technical term for it as I can’t find it by searching the web.)


Get this bounty!!!

#StackBounty: #linux #xorg #keyboard Bind key combinations to commands and suppress all others

Bounty: 50

I’m trying to make my keyboard function a bit like a stenotype (but not). I want to bind combinations of keys to commands and ignore the standard individual key presses.

I am on GNU/Linux, using Xorg. I don’t mind if the solution relies on Xorg.

Utilities like sxhkd and xbindkeys can bind key combinations to commands, capturing those events but I don’t know how I could make them suppress everything beside the specified key combinations.

Does anyone know how I could do this? Could you point me in the right direction in Linux generally, a utility, or something in a programming language? I know shell scripting, Python, and I am just beginning to learn C. This keyboard module for Python looked good but there’s currently no key suppression for Linux .


Get this bounty!!!

#StackBounty: #linux #xorg #keyboard Bind key combonations to commands and suppress all others

Bounty: 50

I’m trying to make my keyboard function a bit like a stenotype (but not). I want to bind combinations of keys to commands and ignore the standard individual key presses.

I am on GNU/Linux, using Xorg. I don’t mind if the solution relies on Xorg.

Utilities like sxhkd and xbindkeys can bind key combinations to commands, capturing those events but I don’t know how I could make them suppress everything beside the specified key combinations.

Does anyone know how I could do this? Could you point me in the right direction in Linux generally, a utility, or something in a programming language? I know shell scripting, Python, and I am just beginning to learn C. This keyboard module for Python looked good but there’s currently no key suppression for Linux .


Get this bounty!!!