Questions tagged [x11]

The X window system (commonly X Window System or X11, based on its current major version being 11) is a computer software system and network protocol that provides a basis for graphical user interfaces (GUI) for networked computers.

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

How to translate setxkbmap to xinitrc config

I am setting my keyboard layout using this command on every startup: setxkbmap us,cz -variant ,ucw -option grp:caps_switch How can I write this configuration in to xinitrc file so xserver loads it ...
Jan Černý's user avatar
  • 1,205
0 votes
0 answers
12 views

Separate independent screen using X and Python

I have a request for guidance/keywords to search on a problem that is new to me. We are running a microscopy application on Ubuntu 20.04 and using Python. We have two HDMI outputs on our GPU. One ...
Druidris's user avatar
  • 101
0 votes
1 answer
32 views

What is the replacement for the xwd utility (X Window Dump) with Wayland (or even RHEL9)

I have old software that uses the program xwd to save graphics files (to make movies, or figures in papers). xwd exists as a utility in RHEL8 (and Rocky Linux 8) but in Rocky Linux 9 (and one presumes ...
Schatzi's user avatar
  • 91
0 votes
0 answers
5 views

Modify X11 scaling settings from the terminal on KDE Plasma

Is there a way to modify X11 scaling settings from the terminal on KDE Plasma? I find that I am able to get proper scaling in X11 apps, along with sharp fonts, if I first set the X11 scaling settings ...
Lite Riyusaki's user avatar
0 votes
1 answer
37 views

Redhat 8 and xorg.conf and x11-xorg-drv-dummy and console monitor and VNC

For RHEL 8 not having an nvidia graphics card, I had instructions given to me to do a yum install xorg-x11-drv-dummy followed by creating /etc/X11/xorg.conf with Section "Device" Identifier &...
ron's user avatar
  • 5,786
0 votes
1 answer
49 views

Why and how is DISPLAY variable set by MobaXterm but not VS code?

I am attempting to transition using the VS Code with the remote plugin for development on Linux VMs. However I am struggling with something related to the DISPLAY variable. Somehow during SSH to ...
shawn1874's user avatar
  • 101
1 vote
1 answer
166 views

How can I get colored output of `systemd` commands run with `watch` inside xterm?

Somehow I'm unable to get this working with color output, it works but no colors are shown. I'm currently using these alias'es in my bash shell: alias Xterm='xterm -geometry 132x60 +dc +cm -e ' alias ...
Tripple Moon's user avatar
0 votes
0 answers
23 views

Mouse button emits both "press" and "release" events on button release, and no event on pressing

After Manjaro update left mouse button started to emit both "press" and "release" events on left button release, and no event on left button press. Right and middle buttons ...
vvch's user avatar
  • 1
0 votes
0 answers
9 views

Running X on 3 of 4 Monitors and tail syslog on fourth

Is it possible to run the X-Server only on 3 of my 4 Monitors and use the last one for tail the syslog on a classic console? For me it is no option to tail it on a console inside X-Server. System is ...
Johannes Brunner's user avatar
0 votes
0 answers
16 views

GTK window will not show up: [xcb] Unknown sequence number while processing queue

I have a GTK4 application GTKConsole which worked fine on another Debian bullseye system that was upgraded to bookworm. I made a fresh bookworm install on a different pc, and it refuses to work,...
Cheetaiean's user avatar
0 votes
0 answers
89 views

Keeping the Screen Turned off While Getting Inputs

I need to run a set of (graphical) benchmarks with the screen disabled. The following command did not work: xset dpms force off Because any keyboard/mouse input would re-enable the screen. The other ...
TheAhmad's user avatar
  • 101
0 votes
0 answers
13 views

Possibility of headless GPU rendering using Singularity?

I have a C++ program that uses VTK to render images internally (no window appears while executing the code). I have access to an HPC cluster and I've managed to run the code using a OSMesa version of ...
MenacingFiedua's user avatar
0 votes
1 answer
26 views

Ubuntu no longer detects external monitors

I have been working with two external monitors for most of a year using Ubuntu linux. Recently, I gave it the okay to update linux base. Upon rebooting, neither monitor came up. The displays settings ...
L Herbison's user avatar
2 votes
0 answers
41 views

Why is the X Clipboard Storing JPG Images as Large files?

I've been delving into a bizarre behavior of the X clipboard on my Linux setup. I initially copied an image from a web browser, which I later identified to be in JPG format when I saved the file. But ...
15 Volts's user avatar
  • 1,979
0 votes
1 answer
26 views

Configure Cygwin so that Windows's Shift+Insert pastes into xterm

I had Cygwin and its X-Windows installed on my Windows 10 laptop. On all of my Windows computers (Acer, EliteBook, some Dell brand, and others), the Windows 10 and X-Windows clipboard buffers were ...
user2153235's user avatar
0 votes
1 answer
20 views

Force X11 to keep xmodmap changes

On my Lenovo T420 I use this: # Lenovo back/forward => PgUp/PgDown xmodmap -e 'keycode 166=Prior' 2>/dev/null ...
Ole Tange's user avatar
  • 33.7k
0 votes
1 answer
61 views

Forwarding X11 Displays to VNCs On RHEL8/RHEL9

On previous versions of RHEL (RHEL5/6/7 at least) it was possible to create run a vncserver (from tigervnc-server) and forward X11 displays from another server by exporting the DISPLAY environment ...
Natolio's user avatar
  • 1,137
0 votes
0 answers
54 views

Windows are glitchy and don't render properly

I recently got a new laptop, System 76 Lemur Pro, preinstalled with Ubuntu 22.04. I've been installing and configuring Awesome Window Manager 4.3. I believe I messed something up with xrandr or picom ...
marbri's user avatar
  • 11
1 vote
1 answer
71 views

Mouse scroll events in the terminal

I am trying to catch mouse scroll events in the terminal for my text editor. I have a couple questions. Firstly, how can alternate scroll mode be enabled? Am I interpreting it correctly that when the ...
user129393192's user avatar
0 votes
1 answer
28 views

Use x11 with a windows client and a linux server

I've been trying to use X11 with my local server for quite a while, but i'm unable to with the built in windows ssh client. Does someone has a way to fix it ? I've tried a lot of tutorials to fix it ...
Moréo's user avatar
  • 1
2 votes
0 answers
28 views

How can I get xrandr to realize my screens are of a different height?

On Manjaro Linux using i3, I have an issue with lining up my two monitors to achieve seamless transition. Currently they look fine using this command to orient them: xrandr --output USB-C-0 --primary -...
ckrug's user avatar
  • 31
0 votes
0 answers
56 views

Is it possible to force set class name for wayland window in KDE?

I have two Chromium windows. Both are working with ozone wayland. I want both to have different class names. This is for the reason, that I want to apply different window rules for them, and I want to ...
Ashark's user avatar
  • 767
0 votes
0 answers
36 views

Identify a specific mouse using xinput to process an xinput command

Using Manjaro 23.0, I found a way to decrease the speed of my USB SteelSeries mouse but I struggle to make it persistent. After some time being not in use, or a system reboot, the xinput settings ...
user1144409's user avatar
0 votes
1 answer
24 views

How do I enable keyboard + mouse shortcuts on x11?

I'm using Garuda Linux with Gnome and I recently switched to X11 because I like to share my screen and play games, and wayland comes short specifically on that. I know Gnome isn't supposed to be used ...
cake's user avatar
  • 1
1 vote
1 answer
87 views

prevent xbindkeys from overriding mouse click when used for mouse button chording

I am trying to set up some mouse button chording, inspired by the Acme text editor: http://acme.cat-v.org/mouse On Windows and Mac, I was able to set up the following using AutoHotKey and Hammerspoon ...
Levi's user avatar
  • 61
0 votes
2 answers
100 views

Set individual auto-repeat rate for each key

On X11, doing something like xset r rate 120 240 it's possible to set the repeat rate for the entire keyboard. But I wonder if it's possible to do the same thing for each individual key? (Ie. to have ...
étale-cohomology's user avatar
0 votes
0 answers
39 views

Is there an alternative to the xinput --query-state command that works on wayland instead of only X11?

To put it most simply: I need to be able to check if any key is in the down or up state at any time from a script. To explain my use case: I have a have a script thats meant to execute while a certain ...
queenbiscuit311's user avatar
0 votes
2 answers
76 views

How to launch two applications without desktop environment

I would like to launch a GTK applicaton and a Chromium window, each fullscreen on its own monitor, without having to login and start desktop environments. How would I do that? I ran systemctl disable ...
Cheetaiean's user avatar
0 votes
0 answers
14 views

Virtual output on an iGPU-only Xorg (Optimus laptop)?

On an optimus laptop I've passed a dGPU (Nvidia) through to a virtual machine and all physical display outputs (Display Port alternate modes of USB-C ports and an HDMI port) are only available to the ...
Daniel Krajnik's user avatar
0 votes
0 answers
75 views

xdotool does not work for terminal window copy paste

I'm using Ubuntu 22 and i have set up two custom shortcuts via settings (works for all windows i have tested so far). xdotool getactivewindow key ctrl+c (-> super+c) xdotool getactivewindow key ...
AliceTheCat's user avatar
0 votes
0 answers
138 views

X server hang for a couple minites and can't open display errors

I want to run a GUI application, like xclock, on a remote Linux system and view it on a local Windows 10 system. After a few minutes of hanging, it displays an error message: Error: Can't open display:...
xing cui's user avatar
0 votes
0 answers
42 views

What program can I use to invert the state of Shift?

I want the Shift key to behave as if it was inverted, when it is not being pressed, it's state should be set to 'pressed' and when it is being held down, then it's state should be 'released'. This ...
Sabudum's user avatar
0 votes
0 answers
32 views

Allow multiple XDMCP sessions (local and remote) for the same user

Currently, on our CentOS 7 machines, we are able to log in to the usera account on the physical CentOS machine and also access the same usera account remotely via XDMCP using XMing. I performed the ...
hymcode's user avatar
  • 29
0 votes
0 answers
52 views

Why put X0 socket in /tmp (.x11-unix)? Can I move it somewhere else?

I'd got a habit of clearing /tmp directory, after all it is "storage with a short lifetime" (What is the difference between /tmp and /var/tmp?). Recently I've noted one app does not start ...
Alex Martian's user avatar
0 votes
0 answers
14 views

Strange set of characters (including question box) instead of Hyper modifier key

As many people before me, I have set Caps Lock to Hyper_L using a variety of methods (xmodmap, setxkbmap, the system settings). However, in all of these methods an issue arises, I get a strange ...
cleger's user avatar
  • 1
0 votes
0 answers
459 views

Is it possible to scale two displays differently?

I am using Ubuntu-based PopOs 22.04 LTS and I have two displays. One is my built-in display which has 2560x1440, and another external monitor has a 1920x1080 resolution. I enabled Fractional scaling, ...
Serdar's user avatar
  • 11
1 vote
0 answers
416 views

Two desktop sessions after fresh install of Debian 12

I successfully installed Debian 12 (with KDE Plasma DE) on my PC and the first time logging into the desktop environment, I noticed there are two desktop sessions for me to pick from: Plasma (Wayland)...
Chairman Meow's user avatar
0 votes
1 answer
22 views

After resuming from suspend, my mouse pointer is confined to a small rectangle in the middle of the screen

On my Thinkpad T460 running XFCE on Debian Bullseye (11.7), when resuming from suspend, sometimes my mouse pointer is restricted to a small rectangle in the middle of the screen, and my keyboard no ...
Ryan Nowakowski's user avatar
0 votes
0 answers
53 views

GNOME apps don't display correctly after installing NVIDIA drivers on EndeavourOS

I installed NVIDIA drivers on my EndeavourOS system using these commands: sudo pacman -Syu sudo pacman -S nvidia nvidia-utils sudo nano /etc/modules-load.d/nvidia.conf and added "nvidia" to ...
ciahoneypot's user avatar
0 votes
0 answers
53 views

X11 equivalents of grim, slurp, and wl-copy

I have been using Sway on Wayland for the last couple of years, but am currently stuck on X11/i3 due to various reasons... The configs are compatible for the most part, but I am having trouble getting ...
Ruslan's user avatar
  • 101
0 votes
0 answers
8 views

How to set _NET_WM_STRUT for my app in python

I want to make a standalone status bar (something like polybar) in python. I chose tkinter to work on it but sadly I can't find any option to set _NET_WM_STRUT_PARTIAL and _NET_WM_STRUT which are ...
mcnuggetsx20's user avatar
0 votes
0 answers
13 views

Ease switching from one display controller to the other

My laptop (a Dell M4800) provide 2 display controllers. The default controller (i815) drives the LCD while the Radeon controller drives the HDMI output. To activate HDMI output, I have to declare the ...
user3435121's user avatar
0 votes
0 answers
43 views

Blank Window when upgrading to AlmaLinux 8.8

I have updated to kernel 4.18.0-477.10.1.el8_8.x86_64 and now all windows are black as shown in the picture. If I make the account a system account, it works without problems. cat <<-'EOF' > ...
supmethods's user avatar
2 votes
0 answers
17 views

Flip an xcursor in the console

I'm left-handed and I want to be able to correctly flip any arbitrary xcursor theme so that I can use it as a left-handed version. I’m surprised this isn’t build in. So a way to flip an xcursor file, ...
Evi1M4chine's user avatar
0 votes
1 answer
45 views

How can I not remove but disable xfce? [duplicate]

I'm trying temporarily switch between dwm and xfce. When using dwm, I would just run it from the ~/.xinitrc script, but with xfce it's more complicated. When I installed xfce it completely took over ...
kamkow1's user avatar
  • 103
0 votes
1 answer
165 views

Why all Xorg log messages are written to journal at level 4 (warning)?

All the content of Xorg.n.log can be viewed with journalctl. As Xorg is launched by GDM (if I understand it correctly), it always has the --identifier=/usr/libexec/gdm-x-session. But despite this hint ...
Kelly Roadkill's user avatar
0 votes
1 answer
134 views

How to disable dead keys

I have a Debian 11 box running the Cinnamon DE. My keyboard layout is, per localectl status: System Locale: LANG=en_GB.UTF-8 VC Keymap: uk X11 Layout: gb X11 Model: pc105 ...
Fran Burstall's user avatar
0 votes
0 answers
34 views

Setting wm_state in python xlib

I want to write my own status bar. I figured it has to have a specific _NET_WM_STATE property set to _NET_WM_STATE_ABOVE (polybar does it). What I can not figure out though is how do I go about it ...
mcnuggetsx20's user avatar
0 votes
1 answer
62 views

Reading X11 properties

I want to write my own status bar, that would be EWMH compatible, which means I have to read some X11 properties like: _NET_NUMBER_OF_DESKTOPS _NET_DESKTOP_NAMES and such. So my question is ...
mcnuggetsx20's user avatar
0 votes
0 answers
23 views

How can I debug Xorg failing to hot-plug outputs?

When I connect my laptop to USB-C docking station, Xorg fails to recognize the new, hot-plugged outputs. This is what xrandr gives me: Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 ...
graywolf's user avatar
  • 901

1
2 3 4 5
56