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.

learn more… | top users | synonyms (1)

128
votes
6answers
279k views

How to forward X over SSH from Ubuntu machine?

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 ...
101
votes
6answers
12k views

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 ...
58
votes
10answers
48k views

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 ...
52
votes
4answers
14k views

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, ...
40
votes
4answers
73k views

Open a window on a remote X display (why “Cannot open display”)?

Once upon a time, DISPLAY=:0.0 totem /path/to/movie.avi after ssh 'ing into my desktop from my laptop would cause totem to play movie.avi on my desktop. Now it gives the error: No protocol ...
36
votes
11answers
15k views

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 ...
33
votes
7answers
21k views

How do I get current keyboard layout?

I'm wondering is there any command line tool, that returns current keyboard layout. I have XkbLayout set to us, ru. Update: setxkbmap returns layout settings, not selected layout. E.g.: $ setxkbmap ...
29
votes
4answers
32k views

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.
27
votes
4answers
9k views

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 ...
25
votes
5answers
11k views

How to enable killing Xorg with Ctrl+Alt+Backspace

I don't remember why they did this, but at one point X.org 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 ...
24
votes
6answers
3k views

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 ...
24
votes
4answers
9k views

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 ...
23
votes
2answers
5k views

Getting a window's PID by clicking on it

Is there any package which shows PID of a window by clicking on it?
23
votes
1answer
1k views

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 ...
22
votes
1answer
13k views

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. ...
19
votes
8answers
9k views

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 ...
19
votes
2answers
5k views

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 ...
19
votes
3answers
6k views

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 ...
19
votes
2answers
2k views

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 ...
18
votes
2answers
15k views

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 ...
18
votes
3answers
7k views

How can I put my HDMI display into (and out of) power save mode?

I am using a Raspberry Pi to run an information display in an office. I want the display in power save mode when outside of business hours. I was going to use cron to execute something at the ...
17
votes
5answers
2k views

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 ...
17
votes
11answers
8k views

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 ...
16
votes
1answer
3k views

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 ...
16
votes
6answers
13k views

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 ...
16
votes
6answers
11k views

Correlating /var/log/* timestamps

/var/log/messages, /var/log/syslog, and some other log files use a timestamp which contains an absolute time, like Jan 13 14:13:10. /var/log/Xorg.0.log and /var/log/dmesg, as well as the output of $ ...
16
votes
1answer
7k views

How can I simply adjust monitor color temperture in X?

I have a new 27" iMac, on which I run Fedora 15 (with no Apple OS) — just boot straight to Linux. The colors are basically accurate to my eye, but the white point is much higher than I'd like (that ...
15
votes
3answers
3k views

How to use three monitors on a laptop?

I have a laptop running Ubuntu 9.04 with a dual-head setup: laptop panel + external monitor. I'd like to add another monitor but the laptop has a single VGA port, so my question is: what are my ...
15
votes
3answers
5k views

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? ...
15
votes
1answer
2k views

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 ...
15
votes
2answers
683 views

Hiding the mouse cursor dynamically when using the touchscreen

I have a touchscreen laptop and I want to hide the pointer whenever I touch the screen. I am aware of solutions like unclutter and startx -nocursor but I want the pointer to hide/show dynamically, ...
14
votes
4answers
60k views

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 ...
13
votes
2answers
3k views

Disable mouse (not touchpad!) in Xorg while idle

I am an avid keyboard user, but I still need the mouse every now and then. To minimize the hand travel, I have the mouse located below my keyboard. (On a side note, using the mouse this way feels ...
13
votes
2answers
2k views

Avoid very fast double clicks

I have a mouse with a weird problem. The left button sometimes fires a double click even if I click just one time. I would like to know if there's a way to avoid fast double clicks, ignoring clicks ...
13
votes
2answers
1k views

How to Save X Session — ArchLinux+Openbox

I use Arch Linux and Openbox. How can I save the state of my current openbox/X session and later restart them? The scenario is like this: I've several browsers windows open, terminals, file ...
12
votes
6answers
3k views

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

It's like this: “ (U+201C) ” (U+201D).
12
votes
6answers
8k views

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 ...
12
votes
2answers
2k views

Using many monitors (4+) in linux

I want to be able to run more than 4 monitors (maybe 6) and it's extremely confusing what's compatible now with the Displayport cards coming out. Right now I have an ATI card that only has 2 HDMI ...
12
votes
3answers
1k views

How can I write a “idempotent” .Xmodmap

Currently I have an .Xmodmap file that changes my Command to Ctrl, then changes my Ctrl to Super (I'm running Linux on a Mac). It works quite well, when only run once but on successive runs (for ...
11
votes
7answers
15k views

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.
11
votes
2answers
3k views

Map “windows” key on keyboard to “ctrl”

I am on Ubuntu and using a Microsoft keyboard. I want to map my Win key to a Ctrl key. How can I do that?
11
votes
2answers
14k views

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 ...
11
votes
2answers
7k views

How do I achieve higher resolution than physical resolution of an LCD?

I'm using the original EeePC with screen resolution of 800x480. Some screens and dialogs do not fit into that resolution, so I have to use Alt-Drag to move windows around to reveal the bottom part of ...
11
votes
3answers
972 views

Emulate horizontal scrolling with Shift key

I want to emulate horizontal scrolling when I use my (vertical) scroll wheel and pressing Shift. In some applications (Chrom{e,ium}) this already works, but I'm looking for a generic solution for X ...
11
votes
1answer
125 views

How do I activate Xorg record module on Raspbian?

I'm trying to automate some tests on my RaspberryPi and I'm using python's pymouse to perform some emulated clicks. On my Debian it works fine, but when it comes to Raspbian it keeps failing with this ...
11
votes
0answers
1k views

Monitor connected via displayport to DVI adapter won't sleep properly

I have a monitor connected to my machine that displays odd behavior when entering power saving sleep mode. When entering sleep, the monitor will alternate between blanking and displaying a default ...
11
votes
3answers
473 views

Laptop VGA Output Randomly Changes Name Between VGA1 and VGA2

Periodically (every few reboots by the look of it) my external VGA output on my Laptop changes name between VGA1 and VGA2. For example right now xrandr is displaying: timp@helez:~$ xrandr | grep VGA ...
10
votes
4answers
1k views

Can I keep applications running across X sessions?

Let's say I have a Firefox window downloading a big file that will take a lot of time. Now that it's running halfway and I want to switch to another DE (for example from GNOME to KDE), can I do that ...
10
votes
2answers
2k views

How does Linux manage fonts?

When I used Windows (a very very long time ago!), and Mac OS X, there was always a central "repository" of fonts shared and accessed by the OS and all programs (the font folder in Windows, and Font ...
10
votes
1answer
421 views

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 ...