This tag can be used for questions regarding the X Window System. For X Version 11 you can use the tag x11.
Questions tagged [x]
53 questions
10
votes
2 answers
Cannot open virtual console 7 (Permission Denied) when trying to start X on Gentoo
When I try to start X with i3 by typing startx /usr/bin/i3 I get the following error message:
(EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
Launching startx as root or after chowning /dev/tty7 solves it (expect for input…
xuwenbuwer
- 285
- 1
- 3
- 10
8
votes
1 answer
WM_CLASS vs WM_INSTANCE?
When I run xprop I get a class string that has two values, one of them i3 calls an instance, the other a class, for example on chromium-browser the xprop utility will return something like this,
WM_CLASS(STRING) = "chromium-browser",…
Evan Carroll
- 28,578
- 45
- 164
- 290
8
votes
4 answers
Start X Server on Login with Systemd
I know that this is not the normal way people use X. Most setup instructions tell you to put something like startx in your shell's profile. However I want to have systemd manage things.
Ideally I would have something like systemctl --user enable…
Nathan Lilienthal
- 181
- 1
- 1
- 3
5
votes
2 answers
Is there any way to launch gui application without gui?
I'm using Linux Mint MATE. I would like to launch a gui application without recognized by my eyes. I tried the following code which launches the application and moves it to another workspace with wmctrl right after the launch but that didn't…
ynn
- 850
- 1
- 11
- 23
4
votes
0 answers
Changing mouse scroll speed
I'm trying to change the mouse scroll speed. Currently it's way too slow. I'm using GNOME 3.32 and there are no obvious settings to adapt that. Ideally I would like to change it at the system level, so I can use other window managers as well.
This…
Muppet
- 224
- 4
- 10
4
votes
1 answer
limit cpu and memory consumption of all X applications
I want to reserve a small amount of cpu and memory to be able in case of emergency create tty session and kill a memory hogging X application. cgroups provide this functionality. How do I put all my X applications inside cgroup automatically?
Sergey
- 353
- 1
- 3
- 13
4
votes
2 answers
Get list of screen in display
I understand that a screen is identified by :D.S where:
D is the display number
S is the screen number
I'm looking to list all screens associated with a display.
I can get all the current displays with something like cd /tmp/.X11-unix && for x in…
M-Gregoire
- 145
- 1
- 1
- 5
4
votes
1 answer
How can I test if a background job failed before it exits?
I'm writing a script that launches a virtual framebuffer with Xvfb. I want to make sure the command succeeds, but I don't want the script to wait until the command completes, because Xvfb continues running until the X server is killed. For…
Big McLargeHuge
- 3,044
- 11
- 35
- 49
4
votes
1 answer
Display console on usb screen without X server
I'm running a custom version of raspbian on my raspberry pi, it has no X server running only in text mode with only basic services installed. i got a usb monitor that i want to plug in and use to show the console, i plugged it in it's detected and…
Tychus
- 123
- 1
- 3
- 8
4
votes
0 answers
How to install X window system for a minimal desktop?
On a server running CentOS 7, how to make a minimal install of the X window system?
The idea is to build a very minimal desktop that the end-user will use with only one software for backups. No need for an Internet brower or other tools. I already…
OuzoPower
- 231
- 2
- 7
3
votes
1 answer
Clear specific X buffer directly, without going through xsel or xclip
I am trying to completely disable middle-click for pasting from a buffer, using Radivarig's solution.
Place this in ~/.xbindkeysrc
"echo -n | xsel -n -i; pkill xbindkeys; xdotool click 2; xbindkeys"
b:2 + Release
This solution, however, depends…
Greg Nisbet
- 2,996
- 2
- 25
- 42
3
votes
1 answer
Is 'xhost local' (no colon) allowing malicious access?
I'm setting up a new system and need to grant the root user authority to access the nonroot user's X display in order to run GUI utilities. I used the xhost command for this as follows, but mistakenly leaving off the colon suffix seems to have…
DocSalvager
- 2,143
- 2
- 25
- 38
3
votes
1 answer
bios, bootloader, kernel startup & screen driver
I'm trying to setup as touchscreen for a raspberry pi.
My screen only displayed a white screen when kernel started. So I wondered how boot messages are displayed on my screen during startup. Bios, Bootloader, kernel are able to show some things on…
rem
- 283
- 2
- 11
3
votes
1 answer
How can I get Opengl 3.3 (with GLSL 3.3) support through mesa on an Intel HD Graphics 3000 iGPU?
I recently bought a laptop with a i5-2520M cpu in it that uses the integrated graphics. Intel's ark says that this cpu has an Intel HD Graphics 3000. Wikipedia's relevant page says that this iGPU supports OpenGl 3.3 on Linux. The source cited by…
john01dav
- 243
- 2
- 6
3
votes
1 answer
What is the x command on a Mac?
I typed x into bash, and some weird stuff happened.
If I do:
command -v x
I get this output:
/opt/X11/bin/x
looks like something to do with XCode, does anyone know how I could find more info? (There is 'No manual entry for x').
Alexander Mills
- 9,330
- 19
- 95
- 180