Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [xorg]

Xorg is a full featured X server that was originally designed for UNIX and UNIX-like operating systems running on Intel x86 hardware. It now runs on a wider range of hardware and OS platforms.

Filter by
Sorted by
Tagged with
565 votes
14 answers

How to forward X over SSH to run graphics applications remotely?

I have a machine running Ubuntu which I SSH to from my Fedora 14 machine. I want to forward X from the Ubuntu machine back to Fedora so I can run graphical programs remotely. Both machines are on a ...
Mr. Shickadance's user avatar
123 votes
6 answers

How to run a command without hitting Enter Key?

Accidently I mapped Enter via xkbset to Pointer_button2. Now every time I hit Enter some gibberish text appears. I thought of a workaround involving remapping it back, but that means I will have to ...
user13107's user avatar
  • 5,355
105 votes
13 answers

How can I turn off "middle mouse button paste" functionality in all programs?

I don't like having the middle mouse button paste, because I often end up with uncompilable code in Eclipse. How can I turn this off (in all programs)? I'm running Fedora.
derekhh's user avatar
  • 1,227
100 votes
5 answers

Pasting X selection (not clipboard contents) with keyboard

I'd like to be able to paste the X selection using the keyboard. Currently I have to use the middle mouse button to do this. I gather that faking a middle mouse button press is fairly easy to do, ...
intuited's user avatar
  • 3,538
97 votes
15 answers

How do I get current keyboard layout?

I'm wondering if there is any command line tool that returns the current keyboard layout. I have XkbLayout set to us, ru. Update: setxkbmap returns layout settings, not selected layout. E.g.: $ ...
Andrew's user avatar
  • 1,432
91 votes
7 answers

List all valid kbd layouts, variants and toggle options (to use with setxkbmap)

Is there a way from command line to retrieve the list of all available keyboard layouts and relative variants? I need to list all the valid layout/variants choices to be used then from setxkbmap. ...
giuspen's user avatar
  • 1,315
77 votes
9 answers

How do I choose a graphics card for Linux?

I'm building or buying a new Linux system, and I'm trying to select the best graphics card for my needs. How do I go about making this decision? There's dozens of computer-gear review sites which ...
mattdm's user avatar
  • 40.3k
76 votes
11 answers

A tool for automatically applying RandR configuration when external display is plugged in

is there a tool which enables one to: remember current RandR configuration (position, orientation, resolution etc) on per-monitor basis, automatically apply last known good configuration as soon as ...
Yaroslav Fedevych's user avatar
69 votes
4 answers

What is ".xsession" for?

What is the purpose of the .xsession file in the home folder? What should be put in there? The desktop environments don't use that file and for the X startup from the tty there is .xinitrc.
Mirzhan Irkegulov's user avatar
69 votes
9 answers

How to close X Server, to avoid errors while updating nVidia driver?

I tried to update my nVidia driver but I got an error when I ran the driver installation. See the error: ERROR: You appear to be running an X server; please exit X before ...
Rev3rse's user avatar
  • 951
67 votes
3 answers

Getting a window's PID by clicking on it

Is there any package which shows PID of a window by clicking on it?
Nick.h's user avatar
  • 6,363
67 votes
3 answers

How does Linux's display work?

The Linux's display system uses multiple technology, protocols, extensions, applications, servers (daemon), drivers and concepts to achieve the windowing system for instance: Xorg, Wayland, X11, ...
intika's user avatar
  • 14.5k
64 votes
7 answers

How do I scale i3 window manager for my HiDPI display?

I have a Dell XPS 13 9343 2015 with a resolution of 3200x1800 pixels. I am trying to use i3 windows manager on it but everything is tiny and hardly readable. I managed to scale every applications (...
hg8's user avatar
  • 1,440
61 votes
1 answer

What does DISPLAY=:0.0 actually mean?

What does the :0.0 actually mean? I know that :0 is the first X server that is started on a local machine, :1 the second, etc. But what is that .0 part after :0? Do other combinations exist? (e.g. :0....
Lekensteyn's user avatar
55 votes
6 answers

Command line to return to the GUI after Ctrl-Alt-F1?

I'm unable to return to the GUI with Ctrl+Alt+F7 (or any of the 12 function keys). I have some unsaved work and I don't want to lose them. Are there any other key combinations that will allow me to ...
netvope's user avatar
  • 1,095
54 votes
9 answers

Running GUI application as another (non-root) user

Let's say I have 2 user accounts user1 and user2. When I login as user1, and then switch to user2 using su, I can execute command-line programs, but GUI programs fail. Example: user1@laptop:~$ su - ...
sashoalm's user avatar
  • 5,850
54 votes
5 answers

How to disable the Forward/Back buttons on my mouse

My mouse has an unfortunate feature. On the left side, right where my thumb sits ever so gently when I'm using it, there are two buttons that are so sensitive a mere brush will make them click. I'm ...
nopcorn's user avatar
  • 9,609
52 votes
2 answers

Other than Alt + Shift to switch keyboard layout, any other Xorg key combinations?

All I can find about XkbOptions was: Option "XKbOptions" "grp:alt_shift_toggle" Seems I can only use alt+shift combination to switch keyboard layout, any other keys that I can use ?
daisy's user avatar
  • 54.8k
49 votes
2 answers

Difference between Xorg and Gnome/KDE/Xfce

I want to learn more about UNIX systems and I think I have a pretty straight forward question. I think I know what X is used for: It gives a standard to applications to present their UI's (among other ...
RenX's user avatar
  • 619
49 votes
10 answers

Copy input to clipboard over SSH?

Here's my usage case: I'm often connected to other computers over SSH for work and I often need to copy and paste documents/text from the server to locally running editors for writing examples and ...
Naftuli Kay's user avatar
47 votes
1 answer

X, Xorg and D-Bus: what is the difference?

In the process of learning to do certain things in GUI programming (e.g., reserving space on the screen for an application), I have to learn more about the Window Manager, usually X11 on Linux (I'm ...
neydroydrec's user avatar
  • 3,837
46 votes
2 answers

xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)

I get this error in Xorg.0.log xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) Googling quickly reveals that this error is caused by starting Xorg as non root user. Problem ...
Kjeld Flarup's user avatar
45 votes
4 answers

How to switch between tty and xorg session

My xorg session is on tty1 and if I want to issue a command from tty (because I cannot do it from xorg session for some reasons), I press Ctrl+Alt+F2, for example, and type a command. But I cannot ...
itun's user avatar
  • 677
44 votes
4 answers

Command for forcing a pointer ungrab (captured mouse release)

Sometimes Firefox doesn't release the mouse after dragging, so I need to kill the application to force it to release its pointer grab. Is there any command to force an application to ungrab the ...
Ariyan's user avatar
  • 2,106
42 votes
7 answers

How to enable killing Xorg with Ctrl+Alt+Backspace

I don't remember why they did this, but at one point decided that disabling CtrlAltBackspace to kill it was a good idea. I know there's a way to re-enable it but I don't remember how. Can ...
xenoterracide's user avatar
42 votes
5 answers

Can I launch a graphical program on another user's desktop as root?

Following are other questions which I think I need to know: From a non X Session? (meaning root isn't logged into X) If multiple people were logged in on X, could I auto-detect who was on which ...
xenoterracide's user avatar
39 votes
3 answers

How to start a second X session?

I tried to do it with the command startx 1. It seemed to flicker to a different screen momentarily, but then exited. Got the following error: /usr/bin/xterm: No absolute path found for shell: :1 ...
Brian Peterson's user avatar
38 votes
6 answers

How can I swap my two screens, left to right?

I pressed something and accidentally swapped my two screens. My left one is actually considered as the right one, and vice versa. How can I swap them back? Edit - Specifically, I'm using Gnome, ...
ripper234's user avatar
  • 31.9k
37 votes
1 answer

monitoring events (keyboard, mouse) in X

Is it possible to display all events that are generated in Xorg? Such as keyboard pressed, mouse events...?
fstab's user avatar
  • 890
36 votes
5 answers

How is the linux graphics stack organised?

Can anybody explain(hopefully with a picture), how is the linux graphics stack organised? I hear all the time about X/GTK/GNOME/KDE etc., but I really don't have any idea what they actually do and how ...
apoorv020's user avatar
  • 1,283
35 votes
5 answers

Error when trying to use Xorg: Only console users are allowed to run the X server?

So when i try to use the Xorg command as a normal user, this is the error that it gives me : /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server but i don't understand, what ...
John P's user avatar
  • 1,123
35 votes
4 answers

Is there a way to communicate with someone at their desktop?

My wife is sitting at her home desktop, alpha, which is running a recent version of Ubuntu. I am on a bus, using ConnectBot on my G1 phone, and can SSH into alpha from wherever I am. For complicated ...
dirtside's user avatar
  • 453
34 votes
11 answers

Screen corruption after hibernate — Is there another way to refresh the X11 display?

When I restore from hibernate the screen is often corrupted. I suspect the graphics memory is not being saved. Suspend-to-ram works fine otherwise. It also looks like the font-cache is corrupted, as ...
ctrl-alt-delor's user avatar
33 votes
4 answers

How to remap the Context Menu key to the Super key

This keyboard has only one super key, so I want to remap the menu key to make up for that.
MiffTheFox's user avatar
33 votes
12 answers

Screen turns on automatically (xset dpms force off)

I am using xset dpms force off to manually turn my screen off to save power. However, it turns back on after some time (20 - 40 seconds). Distro: Ubuntu-Lucid Graphics: Intel 4500 MHD Trying steps ...
crodjer's user avatar
  • 453
32 votes
9 answers

How do I find the X window ID under the mouse pointer in bash?

From a bash script, is there some way to get the ID of the X window under the mouse pointer? (edit) I need the process to be non-interactive.
Peter.O's user avatar
  • 33k
29 votes
8 answers

Disable Keyboard & Mouse input on unix (under X)

How can one programmatically "freeze" the Keyboard & Mouse temporarily, so that no one could mess with the system? There are several possibilities where this is useful. For instance, I have a ...
Philomath's user avatar
  • 2,877
29 votes
2 answers

What does LIBGL_ALWAYS_INDIRECT=1 actually do?

KDE SC 4.5.0 has some problems with some video cards including mine. Upon Release Arch recommended several workarounds. One of which was export "LIBGL_ALWAYS_INDIRECT=1" before starting KDE I ...
xenoterracide's user avatar
29 votes
2 answers

Recovering from Sys Rq + r

I had a really bad lockup of my X server and had to do a Sys Rq + r to release my keyboard from X and get into a console. I was able to kill the process that was locking up my system, and continue my ...
Bjarke Freund-Hansen's user avatar
28 votes
3 answers

Earphone remote in sound jack as X input

I have got new earphones, the AKG K318's to be exact and they have one of those remotes. On a smartphone, such as an Android phone or iPhone, the buttons map to actions on the music player such as ...
jonallard's user avatar
  • 1,626
27 votes
8 answers

how to type “smart quotes” (U+201C, U+201D)

It's like this: “ (U+201C) ” (U+201D).
xzhu's user avatar
  • 1,382
27 votes
2 answers

What is Wayland?

I was looking for a lightweight X server, but failed to find one. Then I found out about Wayland. I says that it aims to coexist with X, but can run standalone. When I try to compile it, it needs ...
Blender's user avatar
  • 1,873
27 votes
3 answers

Invert colors of the active window

Sometimes I work in low light and I need to invert the color of specific windows to reduce my eye strain. This could be my pdf viewer to web pages for reference work. I know how to invert the entire ...
invert's user avatar
  • 1,763
26 votes
6 answers

Why does the X Window System use a server?

I never really understood why a window system must have a server. Why do desktop environments, display managers and window managers need xorg-server? Is it only to have a layer of abstraction on top ...
Aadit M Shah's user avatar
26 votes
4 answers

How to force release of a keyboard modifiers

Sometimes, when I use synergy between my machines when one is using full-screen VirtualBox guest I get stuck with some weird key modifiers turned on. If they exist on my keyboard (like Shift_L) I can ...
Adam Ryczkowski's user avatar
26 votes
3 answers

How to get information about which display server is running?

I'm using Ubuntu 15.10 and i want to know which display server is running. In first version of Ubuntu it is definitely X server, but recently i got updated my Ubuntu 15.10 and i came to know that some ...
user avatar
25 votes
4 answers

Determine xinput device manufacturer and model?

I'm trying to find the device manufacturer and model of my keyboard and touch pad so I can write an XOrg configuration file targeting it via: Section "InputClass" Identifier "touchpad" ...
Naftuli Kay's user avatar
25 votes
4 answers

Sharing an X server (session) across computers

I have 2 computers (both running linux) and I'm currently using synergy to use them. This is great, but now I'm wondering, is there any way (is it possible? being worked on? tried and failed? ...
Falmarri's user avatar
  • 13.1k
24 votes
1 answer

Can I move a running application to a different X server? [duplicate]

Is there any way to open a graphical program (for instance, gedit) while using X11 forwarding over SSH and transfer the X server connection back to the X server on the SSH host?
KG6ZVP's user avatar
  • 413
24 votes
1 answer

Can another program on X capture my root password while I type it in a virtual terminal?

Usually I only install open source programs on my linux box because I don't trust closed source applications. Recently I had to use Dropbox for a university project. I created a separate linux account ...
problemofficer - n.f. Monica's user avatar

2 3 4 5