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
2 answers
47 views

How/Where does udev give permission to X11 input drivers to open /dev/input/event* files without also giving access to the logged-in user?

This is the permission of my /dev/input/event* files: crw-rw---- 1 root input 13, 64 Mar 21 09:02 /dev/input/event0 crw-rw---- 1 root input 13, 65 Mar 21 09:02 /dev/input/event1 crw-rw---- 1 root ...
0 votes
0 answers
15 views

What does it mean when xunmapevent.event == ROOT in X11?

I am currently working on a window manager. When receiving unmap events (this is where I run the logic to unframe my windows) I am currently ignoring all events where the xunmapevent.event is equal to ...
  • 145
0 votes
0 answers
40 views

Do chromium browsers leave any cue that they have been closed?

I have been working on a small window manager project. Currently, I am running into an issue with closing browsers by exiting the last open tab. In theory everything should close, however the internal ...
  • 145
3 votes
0 answers
39 views

linux mint periodically freezing after closing lid

After closing the lid of my laptop I suffer a periodic freezing system (~0.5 seconds). The symptoms are: mouse pointer stops keyboard input stops (=delayed) video freezes ms teams meetings stuck (...
  • 61
0 votes
0 answers
16 views

How to change the default actions for the function keys?

Most computers these days comes with function keys which already have some action setup for it. For eg; Fn+F1 will mute the device and triggers a XF86AudioMute. How can I change this triggered action? ...
  • 111
0 votes
0 answers
32 views

Unable to start X, load amdgpu driver, after graphics card upgrade

I recently upgraded my graphics card to a Radeon RX 6600 (from R9 290x) and I've been unable to get the desktop to load properly since then. I can get it to start by blowing-away the xorg.conf file ...
0 votes
1 answer
52 views

xinput mouse setting not persistent during session

I use linux Manjaro Gnome X11. I like to have a special setting of mouse buttons, which I obtain with xinput. In order to make this setting persistent across sessions, I write the xinput in ~/....
0 votes
1 answer
28 views

How to make paste the content of the X selection as plain text

I often copy contents of a Web site displayed on Firefox to LibreOffice Writer (which I'm forced to use by government administrators), and I really like to use the X selection by highlighting middle-...
  • 443
0 votes
0 answers
48 views

yad: how to set font size? Is there a bug?

I use yad fonts as pango style, like the man page required: yad --width=250 --text 'foo bar base' --fontname="Serif bold italic 90" there's no difference if I do yad --width=250 --text 'foo ...
0 votes
0 answers
26 views

Disabling an AMDGPU video output

I have a Gentoo pc setup with a pci RX6600 which is used through PRIME on the amdgpu driver to offload graphic work from the integrated graphics which is connected to a screen. However, the Rx6600 has ...
0 votes
0 answers
19 views

How to debug the issue of a Function-Key keypress not registered by xev?

Issue appears on Ubuntu kernels 5.17 and 6.1. My issue is specific to the F8 key, which should act as mic-mute. xev reports modifier + F8 to be: keycode 74(keysym 0xffc5, F8) Unmodified F8 keypress is ...
1 vote
1 answer
103 views

How to use custom keyboard layout in Windows and Ubuntu (WSL)?

I created a custom keyboard layout with Microsoft Keyboard Layout Creator (MSKLC) for my Windows 10 machine. The custom keyboard layout is based on the Swiss German Layout and the numbers are swapped ...
  • 133
0 votes
0 answers
22 views

Getting the exit code of an application launched via startx

I'm setting up Debian so that it works in kiosk mode. To do this, I created a service that performs the watchdog function: [Unit] Description=Watchdog for Myapp After=getty@tty6.service After=...
0 votes
0 answers
28 views

Phonetic keyboard using python-evdev and xkb

I am working on a phonetic transliteration scheme for Indic scripts using a 'us' keyboard on Kubuntu 22.04 (Xorg). IBus or other input methods are not an option because I want the keycode -> ...
  • 1
0 votes
0 answers
20 views

xvkbd -xsendevent doesnt work after X server update

I previously used ubuntu 18.04 and following script #!/bin/bash xsel --clipboard | xvkbd -xsendevent -file - it worked nicely and I was able to paste my clipboard with hotkey to literally any kind of ...
  • 101
1 vote
1 answer
79 views

How can I display xeyes on a remote host without using SSH?

I have X running on two machines - astra (slackware 15), and nebula (macos mojave). I would like to run xeyes locally on astra, and have it display on nebula. My understanding from various documents ...
  • 367
0 votes
0 answers
17 views

Trouble with x2x

I've tried out x2x as per this old link but have hit a snag. Its purpose is to allow use of the keyboard and mouse of one linux computer on the desktop of another linux computer. I tried the first ...
  • 101
1 vote
1 answer
91 views

Convert Xorg log timestamps to human readable timestamps

I need to change the time stems of a whole Xorg/X11 log file (e.g. /var/log/Xorg.0.log) into human readable format. The default format is the time in seconds since boot, preferably yyyy-mm-dd + time. ...
1 vote
1 answer
122 views

How can I get X server to stop while installing nvidia's proprietary drivers on Arch linux?

I am currently in the process of immigrating to Arch Linux. I am trying to install the drivers, however it keeps telling me that "X server is running". I have looked everywhere and CRTL+ALT+...
0 votes
0 answers
40 views

How to recognize if app use terminal or Xwindows in Linux

Is posible recognize if application/program run in terminal or in Xwindows window? I want create script which I relay command and it runs this command in terminal if necessary or it runs directly if ...
0 votes
1 answer
40 views

How can I set a font in a bash --x11 script?

#!/bin/bash module load rstudio srun -p interactive -N 1 --cpus-per-task=8 --time=4:00:00 --mem=80gb --job-name="RS_job" --x11 rstudio A simple bash to bring up an interactive node but ...
  • 101
0 votes
0 answers
215 views

feh ERROR: Can't open X display. It *is* running, yeah?

Followed this tutorial to try and get a photo album running on my raspberry pi 3: https://pimylifeup.com/raspberry-pi-photo-frame/ Using feh to try and run DISPLAY=:0.0 XAUTHORITY=/home/pi/.Xauthority ...
0 votes
1 answer
90 views

How to set up a Linux server for remotely starting a XFCE desktop environment from a VNC client?

My problem Assuming: I have a macOS system with a VNC client (Screens 4) I have a Rocky Linux 9 system installed on a server without monitor, keyboard, mouse... Rocky Linux 9 was installed with ...
  • 93
0 votes
1 answer
59 views

How is DISPLAY variable defined for X access on WSL?

My WSL defines the DISPLAY variable for x windows on the .profile, checking the IPs I have on the resolv.conf. Why ? If I am not wrong, resolv.conf is only used for define the DNS to use, and the ...
  • 23
1 vote
2 answers
94 views

Why is X11 forwarding allowed even though I excplicitly disabled it?

I've been hardening SSH but, for some odd reason, X11Forwarding stays enabled. I tried adding X11UseForwarding no, but running sudo sshd -T | grep x11 resulted in the error below, so I removed it: /...
  • 1,685
0 votes
0 answers
20 views

Xfce panel is in wrong place on screen when the screen is rotated with xrandr

I'm using Rocky 8 with Xfce version 4.16.0. I'm using this in a mostly unattended graphical display, meaning that usually there is no user that interacts with the screen. I have the display in a ...
0 votes
0 answers
13 views

xdotool windowactivate only working with some parameters

For example, I have this window open: 0x02a00019 0 alex-M52AD-M12AD-A-F-K31AD Ubuntu Manpage: xdotool - command-line X11 automation tool - Google Chrome Typing Ubuntu won't focus the window: alex@...
0 votes
0 answers
20 views

how to assign sound effect to some keyboard keys

I use gnu+linux, and I need to assign an audio sound to the | keys, Imp pant and the mouse click only, for educational use, ¿how can I achieve that assignment if I'm user of the i3wm window manager?
0 votes
0 answers
55 views

NixOS can't access desktop environment

I'm clearly missing something basic. but... I've used the graphical NixOS installer from a USB stick and configured and run the installer which runs within a graphical session. When it ends, it ...
0 votes
0 answers
28 views

Mirroring a Linux Machine Onto a Linux Laptop (via HDMi cable)?

I have an old Linux laptop I'd like to repurpose as a mirror of my main Linux Desktop. Basically, it'd be nice to Plug an HDMi cable from my main machine into my laptop. The laptop then mirrors my ...
  • 1,749
0 votes
1 answer
43 views

How can I prevent vim from trying to connect to an X server?

I'm starting vim in a bash session, within an SSH session. This session has X forwarding enabled, for reasons, but - I want vim to not try to connect to the X server (see this question). Other ...
  • 8,143
0 votes
0 answers
70 views

Gnome installed after LXQt doesn't use Wayland?

While streaming and recording with Debian 11, running LXQt and Openbox as the WM, I would drastically lose frames. I heard that the solution for this would be to use XWayland or qtwayland5 on LXQt, ...
2 votes
2 answers
579 views

Script to start Android LineageOS with Waydroid in an X11 session

I would like to make a script to start the Waydroid Android container (LineageOS). Currently, I can start a LineageOS virtual phone without issues with: sudo systemctl start waydroid-container weston ...
  • 1,311
0 votes
0 answers
48 views

xrandr --rotate inverted is making a kind of mirror effect

I use a script to setup all my screen when I plug my laptop on my dock xrandr --output eDP1 --off xrandr --output DVI-I-2-2 --mode 1920x1080 --pos 0x0 --rotate inverted xrandr --output DP1 --mode ...
  • 11
0 votes
0 answers
57 views

Vulkan, DRI, X11, and KMS: how do they relate?

I think I have a decent understanding of the chain of software that gets graphics code from a program to your hardware, but I would like someone to correct me on any mistakes. When I write a program (...
2 votes
0 answers
47 views

Xorg.conf options not staying

I am trying to enable tap to click by default on my trackpad. The device name is "bcm5974". xinput --set-prop "bcm5974" "libinput Tapping Enabled" "1" works a ...
0 votes
0 answers
29 views

Linux: re-enable display port after disabling by kernel command video=DP-1:d

Is it possible to re-enable an display that was disabled by kernel option video=DP-1:d ? Background: I have a laptop (ux8402) that has two monitors by design and I do not want a second display on ...
1 vote
2 answers
110 views

x11- Set entire screen to single color

I would like to know how to set the entire screen to a single color (white in my case). I'm trying to make a primitive wake-up light script (that uses my laptop screen). I would trigger it using cron. ...
0 votes
0 answers
417 views

Why am I using x11 instead of wayland on bookworm?

I got curious about Wayland and trying to switch to it. First, I wanted to make sure I was using X11, so with the help of How to know whether Wayland or X11 is being used I typed the command: ➜ ~ ...
  • 532
1 vote
1 answer
76 views

KDE multimonitor woes

I have two external monitors on my kubuntu laptop, one at work 1920x1200, and one at home 1920x1080. Half the time when I connect to either monitor, the screen gets tiled in weird ways and become ...
  • 557
1 vote
1 answer
33 views

SDL does not work on non-privileged X11 server

I start X server as a systemd service under non-root user systemd.services."autovt@tty1".enable = lib.mkForce false; systemd.services = { startx = { enable = true; ...
  • 566
4 votes
1 answer
79 views

How to trick a certain program into believing a non-primary monitor is primary?

Some context in case this is an XY problem: I use a laptop which I sometimes attach to an external monitor. When attached to the external monitor, I would like to have games display on it instead of ...
  • 141
0 votes
1 answer
19 views

Manjaro, KDE - weird default font akruti2 in X11 windows

For some reason in my fresh installation of Manjaro the X11 always uses this weird looking font akruti2 as default (see for example xfontsel image below).
  • 101
1 vote
0 answers
147 views

XWayland applications with black flickering

Currently on my computer I have ArchLinux with sway-nvidia + nvidia-lts. With 2 monitors (1080p 144hz and 1080p 60hz) The wayland applications work perfectly (Chrome, vkube, alacritty, etc) but the ...
0 votes
0 answers
14 views

Xorg labeling devices as keyboards

I have an inputclass section in /etc/X11/xorg.conf.d/10-keyboard.conf as follows: Section "InputClass" Identifier "kinesis keyboard" MatchIsKeyboard "on" ...
0 votes
0 answers
21 views

Where shall I put app-defaults file for a Motif application? does it need to be specified in code?

I am (re)learning Motif. I am using FreeBSD and I see app-defaults are located in two directories: $ find / -name "app-defaults" 2> /dev/null /usr/local/share/X11/app-defaults /usr/local/...
  • 579
0 votes
0 answers
105 views

In windows 11, wsl2 won't run startx

In windows 11, wsl2 will not run startx. The log file is attached. I forgot what I did trying to get FreeBSD to run startx too. Sorry. I need a screen to display. Xorg.1: [ 3903.329] (WW) The ...
0 votes
0 answers
36 views

How does Linux set older GPUs to use modsetting drivers in X server?

How does a typical (in my case MX Linux) linux install setup the system to use modsetting driver for older amd video cards instead of using radeon or amdgpu drivers - for x server? I have 2 computers. ...
0 votes
0 answers
24 views

Can I make Xephyr toggle user keyboard and mouse?

I need to pilot an X application with my PC, to take scientific measuring. I have an xdotool script which does the job pretty well, but while it's running, I cannot use my PC, which is frustrating and ...
0 votes
0 answers
99 views

Can KDE Legacy Applications (X11) scaling be applied per-app basis?

If I have X11 app A1 and A2, can I make A1 be scaled by the system and A2 scale itself? Or is the setting applied to all X11 apps without exceptions?

1
2 3 4 5
55