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.

learn more… | top users | synonyms

19
votes
4answers
11k views

How to speed up X over SSH on a slow network connection?

Are there any specific recommendations on speeding up X applications over ssh on a slow network connection? In this specific case, I am accessing a server located in west coast from a laptop in east ...
19
votes
4answers
9k views

How to get keycodes for xmodmap?

I'm trying to use xmodmap to remap Alt / Super keys on Dell L100 keyboard, and have trouble getting the keycodes. For instance, using xev doesn't give me keycode for Alt FocusOut event, serial 36, ...
16
votes
4answers
3k views

Setting the window dimensions of a running application

I'm trying to start an application within Ubuntu (xfce or gnome) and via the command line and was wondering if there's a generic way to set the dimensions of a given window of a given app that is ...
15
votes
4answers
31k 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 ...
15
votes
1answer
172 views

How do keyboard input and text output work?

Suppose I press the A key in a text editor and this inserts the character a in the document and displays it on the screen. I know the editor application isn't directly communicating with the hardware ...
15
votes
1answer
348 views

Shortcut keys that are independent to keyboard layout

Is there a way to define an association of a particular physical key of the keyboard to some action, independently of the letter that this key is associated to in any layout? Example: In most ...
14
votes
2answers
1k 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 ...
14
votes
5answers
607 views

How to make X less sensitive when right clicking?

Whenever I right click in X, I almost always seem to trigger the first option in the menu unless I am thinking about what I am doing because I: Mouse down; menu appears Accidentally drag mouse 1-3 ...
13
votes
5answers
4k views

What process created this X11 window?

Given an X11 window ID, is there a way to find the ID of the process that created it? Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd ...
13
votes
2answers
1k views

How can I use just one unified clipboard?

I don't really understand the linux clipboard/s scheme. Instead of understanding it, is there a way to simplify it into one, unified clipboard? You know, so I could copy in any app and paste in any ...
13
votes
2answers
865 views

Copying files from command line to clipboard

In a GUI file manager it is possible to select a few files, press Ctrl-C (which supposedly copies come info about the files to clipboard), then navigate to another folder and press Ctrl-V, which will ...
12
votes
4answers
9k 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.
12
votes
1answer
4k views

How do I find the window dimensions and position accurately?

I've been trying to figure out the size of a window for use in a small script. My current technique is using wmctrl -lG to find out the dimensions. However, the problem is this: The x and y figures ...
12
votes
1answer
674 views

Screenshot of X from tty

Using Xvfb I can launch an application and take a screenshot. What I'm wondering about is how to capture from an existing (dormant) X session. Say from tty or over ssh. From what I understand ...
11
votes
1answer
454 views

Does window minimizing free memory usage?

Both the undisplayed maximized window and minimized window are invisible to the end user. By undisplayed I mean an inactive maximized window covered by the active window. There is a difference ...
10
votes
2answers
8k views

How to use keyboard instead of mouse middle-click for copy/paste? [duplicate]

Possible Duplicate: Pasting X selection (not clipboard contents) with keyboard Is there a shortcut for copy-paste under X? I'd like to use the keyboard for pasting.
10
votes
2answers
612 views

How do I prevent programs from sniffing keystrokes to su/gksu?

I've read here that it's possible for any app using the X server to sniff keystrokes to any other app which is also using the X server, including su (on a terminal) or gksu. I've heard of a few ways ...
9
votes
7answers
148 views

Record screen in X

How can I record all activity on the screen for a certain amount of time? I know about tools like xwd that capture a still image; can they be extended to record video? I'd prefer not using any fancy ...
9
votes
4answers
3k views

Reassign Ctl and Alt keys - xmodmap error

I am attempting to remap my keyboard in order to make emacs usable - my ergonomic keyboard puts its single Control key in an isolated 4-key island way off to the left. The OS is debian squeeze. Here ...
9
votes
1answer
1k views

Copy file to xclip and paste to Firefox

I'm coping file to xclip cat file.txt | xclip I'm pasting without problem with xclip -o When I want to paste it to Firefox with Ctrl+V it pastes old text (that shouldn't already be in the ...
9
votes
1answer
242 views

Have you seen this cat?

I am of course referring to the 'screenmate' cat, Neko - looks like this: A few years ago, I remember Neko could follow my mouse cursor around, and was a helpful distraction from during long hours ...
9
votes
2answers
760 views

Is there any way to let it snow on my linux mint destkop?

I want snow fall on my desktop really badly. Tried Xsnow (with Mate/Marco, Mate/Compiz and KDE/Kwin) but doesn't work. Snow plugin for Compiz doesn't work anymore either. Snow feature of KDE was ...
9
votes
2answers
530 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 ...
8
votes
2answers
2k views

GNU Screen for X11 Forwarding

I'm using X11 forwarding over ssh to run Linux apps on my Windows box, and when the network drops the lose everything that was running. Is there anything similar to screen for X11?
8
votes
4answers
56 views

Gallery of installed fonts

I want to view the fonts that are installed on my system. Specifically, I want the client-side (fontconfig) fonts, not the old-style X11 bitmap fonts. I guess what I'm looking for would be called a ...
8
votes
1answer
79 views

Filter the clipboard content without using an intermediate file

I'm trying to modify the text that is in my clipboard, remove certain lines of that contains some strings and then get the output for further manipulation (I prefer coping to my clipboard only if I ...
8
votes
2answers
1k views

How to disable caps-lock, without remapping or disabling it?

I have an X11 program that grabs caps-lock, and uses it. The problem is, I want to disable the regular caps-lock toggling, but doing so seems to disable the key. So whatever X11 gets for a caps-lock ...
8
votes
4answers
5k views

How can I run a script that starts before my login screen?

I was calibrating my touch screen, and saw that the best tool around was xinput_calibrator. So I used it. It have two options (one of which did not work), so I am here for the second. It says I should ...
8
votes
2answers
629 views

Manipulating X key and pointer grabs on the command line

What command line tools exist to list and manage X server grabs? (That's grab as in key and pointer grabs, i.e. restricting the use of a particular key or mouse button to a particular application, or ...
8
votes
1answer
83 views

Map a symbol to a specific key

I have the following problem: I use the intl variant of gb keyboard layout, i.e., what you get with: setxkbmap -layout gb -variant intl I use gmail in Firefox, and for some reason, the gmail ...
8
votes
2answers
1k views

Single set of keyboard shortcuts for copy/paste/cut across all X11 applications

A common quibble that I have when I'm running X11 on a Linux system is that there doesn't seem to be any X11-wide keyboard shortcuts for copying and pasting. Ctrlc and Ctrlv work fine across most ...
8
votes
2answers
184 views

Single key audio capture in Linux (save on key release)

I'd like to run a program that records audio only when the Right Control key is held down. On keyboard release the result would write to disk as, e.g. yy-mm-dd hh:mm.ogg. How might I do that? $ ...
8
votes
1answer
464 views

Which virtual terminal is a given X process running on?

When X starts, it searches for the lowest unused VT, and attaches to it. My problem is that when there are several running X processes, I need to be able to identify which one is the currently active ...
7
votes
1answer
777 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 ...
7
votes
4answers
2k views

How do I type the degree symbol under X11 (using a default English keyboard layout)?

I'm trying to put in an email the temperature outside in degrees. On my Mac, the degree symbol (°) is Option+Shift+8. But I'm writing the email in Thunderbird on an Ubuntu 10.10 with the default US ...
7
votes
2answers
413 views

Are SUSE servers intended to be used graphically?

After being a long-time Debian Linux user, I decided to give SUSE a try. One of the major selling points of SUSE is the YaST configuration system. It provides a set of wizards for common configuration ...
7
votes
1answer
268 views

How set environment variable based on whether a GUI is available?

How can I set up my .bashrc such that the value of an environment variable changes based on whether or not the current session has access to the gui / windowing system? For example, let's say I have ...
7
votes
1answer
702 views

Must an X11 server be installed for X11 forwarding over ssh to work?

I would expect that my local X11 server and sshd X11 forwarding turned on is all that is needed for X11 over ssh to work, but I haven't been able to get it. Am I wrong about this? Does the remote ...
7
votes
3answers
1k views

Script to toggle setxkbmap

I would like a bash script that toggles between: setxkbmap se and setxkbmap us. Then my intentions are to map that script to CtrlEsc through the Keyboard > custom shortcuts. The point is that I ...
7
votes
8answers
1k views

Alternatives to FVWM window manager?

I've been using FVWM for over a decade, and for some time I've been concerned that the window manager is dying a slow death. I realize that 2.6.0 just came out a few days ago, and ironically that is ...
7
votes
1answer
600 views

How can I find out if the ~/.XCompose file has loaded?

I've added a simple sequence, but it won't work. How can I find out if the OS (Ubuntu 12.10 with Unity) is actually loading the file?
7
votes
3answers
1k views

How to get near-perfect screen recording quality?

Someone suggested I direct a copy of the unmodified X display to a file and afterwards convert that file to a general purpose video file. What commands would I use to do this on a Kubuntu system? ...
7
votes
2answers
481 views

How to map a console keyboard layout to a X keyboard layout in Linux

In my distribution (Slackware 13.37), the console keyboard layout is chosen among some of those available in /usr/share/kbd/keymaps ' sub directories, coming from the kbd package. Under X instead ...
7
votes
1answer
160 views

How to use /etc/fbtab in OpenBSD to secure X11?

OpenBSD's man page afterboot(8) suggests: "You might wish to tighten up security more by editing /etc/fbtab as when installing X." How might one do this? What lines when added to /etc/fbtab would ...
6
votes
6answers
5k views

Lightweight X11 alternative available?

Is there any lightwight X11 alternative suited for old systems? (Say, 1GHz and 256-314MB RAM)
6
votes
2answers
199 views

Is it possible to choose which X display a program instance should run on?

If there are multiple X Windows running on a system, is it possible get a program to run on a particular window? How would you identify the Window and get the program to run there? I'm assuming that ...
6
votes
3answers
4k views

Are there any Linux distros currently using Wayland?

I know that Ubuntu is planning to use it in 11.10, and Fedora has announced 'eventual' migration, but I'm curious if there is something using it already that I could load in a VM to help with ...
6
votes
2answers
498 views

Launch a GUI browser on server without a GUI? [duplicate]

What's a simple way to launch a browser on an server that doesn't have a GUI, but needs a GUI-like browser? Something like Firefox or Chrome. I need to trigger a page load but it needs full javascript ...
6
votes
1answer
2k views

Linux - LXC; deploying images with tiniest possible X11

is it currently possible to setup LXC containers with X11 capabilities? I'm looking forward for the lightest available X11 container (memory-wise), hardware acceleration a plus but not essential. If ...
6
votes
1answer
60 views

How to make a key simulate another key?

In my keyboard the I key doesn't work. So, I use an on-screen keyboard. I'm using Ubuntu 13.04. But its hectic. Is there a way so that I can make another key (for example Home on my keypad) to behave ...