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

7
votes
1answer
4k 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 ...
13
votes
2answers
14k 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.
21
votes
3answers
2k views

Can I “drag” a file into a window without a file manager?

(I'm on Arch Linux, using i3 as my wm and xterm as my terminal emulator, though I don't know if any of that is relevant.) Occasionally, a website asks me to drag a file with my mouse from my desktop ...
8
votes
1answer
12k views

~/.xinitrc not being run

I am not able to run my ~/.xinitrc (~/.xsession) scripts when logging into my computer. I'm using Xubuntu 12.10 with vanilla lightgm as the login manager. Both these files have the right permission ...
6
votes
1answer
5k views

How can I get xrandr to detect both nvidia cards: 2 x GTX480, triple-head?

I am running Linux Mint 16 (Petra) I am running the default driver nvidia-319 shipped with the distro I have 2x GTX480 cards I have 3 monitors Using the Nvidia driver, all monitors and GPUs are ...
6
votes
2answers
15k views

Why can't I run GUI apps from 'root': “No protocol specified”?

I installed debian onto my machine last night. Now, I don't understand why I can't run GUI apps from a terminal when running as root. For example: sudo -i glxgears Generates the following output: ...
4
votes
1answer
752 views

What process created this window with no PID associated? [duplicate]

Possible Duplicate: What process created this X11 window? I need to kill a process that spawned a window which seems to have no PID associated with it. At least that is what xdotool says: ...
14
votes
5answers
1k 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 ...
11
votes
1answer
1k 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?
6
votes
1answer
720 views

Understanding linux desktop

I use debian wheezy xfce and want to set up my desktop. But I read some settings are redundant. Hence I want to understand how everything works, but I am massively lost. Can someone please sort, ...
6
votes
1answer
5k views

Xvfb or Firefox throwing errors & gratuitously logging

per the answer to this question, I'm running Xvfb to make a virtual display so firefox will run on my CentOS server. (I don't need to see firefox or do any actual key or screen input/output with ...
5
votes
3answers
8k views

How do I change currently selected keyboard layout from command line?

I have my keyboard layouts (two of them) and switching between them configured via the following command: setxkbmap -layout us,ru -option -option "grp:lctrl_lshift_toggle,ctrl:nocaps" Now I want to ...
13
votes
1answer
663 views

Find X.org pointer grab owner

I have an application that seems to have grabbed the mouse (I can move it but can't click anywhere), is there a way to find which app owns the X.org mouse grab? The shortcut given here to release the ...
12
votes
4answers
11k 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 ...
7
votes
2answers
6k views

How can I run a separate X session on a different physical display?

Here's what I need to do. I need to be playing a movie over HDMI to a television screen for my friends while I'm hacking on some personal projects over VGA to a smaller monitor. It's imperative that ...
6
votes
2answers
21k views

Debian: very low resolution and an “unknown monitor” problem

Edit: I have installed CrunchBang (or #!, a Debian-based distro), and that seems to have solved all of my resolution problems. I've just installed Debian after using Linux Mint for a few months. ...
5
votes
1answer
190 views

Some apps doesn't accept some characters from the «Compose» key

The problem is that the compose key works fine, but some application doesn't accept some characters from it. E.g. I can paste the character ∞ in Emacs (Compose+8+8), but this won't work in FireFox, ...
5
votes
1answer
4k views

Can X11 scale to virtual resoltions on HiDPI/Retina screens the way OS X does?

I've recently had the chance to use a Macbook Pro with Retina Display, and its quite clear that the display is futuristic enough to actually warrant Apple's over-the-top marketing. I've got sensitive ...
5
votes
0answers
226 views

How to disable select-on-release right mouse button in Linux [duplicate]

We are having issues with mouse behavior in Linux. In Windows: In any application, to open a context menu and select an option: right mouse button down + release move the cursor to an option left ...
3
votes
1answer
708 views

Disable ForwardX11Timeout without ForwardX11Trusted in OpenSSH Client?

By default, recent versions of OpenSSH automatically set ForwardX11Timeout to 20 minutes if you set ForwardX11Trusted to no. This means that 20 minutes after you start your ssh connection, you can't ...
3
votes
0answers
424 views

Running (X) Xfce4 in Debian chroot

I was trying to start Xfce4 in a chroot. The problem is that Xfce4 starts, shows default the UI but the USB keyboard and mouse are not working. My chroot script: #!/bin/bash mount --bind /dev ...
3
votes
2answers
1k views

Change scroll lines when use mouse wheels?

Is there a way to control how many lines will scroll, when you use the mouse wheels? It seems to be 5 lines by default, anyway to change this value? I didn't find it in xfce4-settings-manager
1
vote
2answers
7k views

can't start x11vnc without attached monitor

I'd like to setup x11vnc (or any other vnc server) to start at boot-time. The display manager is kdm, the distribution is Ubuntu 12.04.2 LTS. When I try to start x11vnc, I'm getting this errors: $ ...
8
votes
1answer
671 views

keyboard hard remap keys?

I am trying to find a way to remap keyboard keys forcefully. I tried using xmodmap and setxkbmap, but they do not work for one specific application. Such commands work for other normal ...
6
votes
1answer
94 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 ...
6
votes
1answer
838 views

Is there a command such as xwininfo, xdpyinfo, xprop, or xlsclient that will tell me what font an X client window is using?

I'm trying to find a command that will report what font a given X window is configured to use. Does such a command exist? Looking through these tools I did not see an option that would give me this: ...
5
votes
1answer
10k views

Cannot start xterm over ssh after several successes

I am running some MATLAB scripts on the command-line of a remote computer using ssh. These scripts launch 5 xterms that are forwarded to me via ssh (using the -X option). At the moment I am debugging ...
5
votes
2answers
667 views

Viewing a part of the screen in a window on Linux

I plan to make a presentation with a live demo using my wide screen Ubuntu 12.10 Laptop and a projector. My plan is to connect the projector as a second (small) display and put my slides and live-demo ...
5
votes
1answer
105 views

How can I get information about my virtual desktops via the command line?

I'm curious how I can get information such as the dimensions of my desktop, which desktop is currently active, and what labels (if any) are set for my desktop enviornment (DE).
5
votes
2answers
2k views

how to ssh -Y and then su - <another user> and still forward X applications to your local machine

it is easy enough to 'fetch' (ie draw locally) a remotely running linux application: If I ssh -Y to the remote machine and run an application, that application will surely enough pop up in my local ...
5
votes
2answers
1k views

How to make gdm3 start X installed in a different path (or running X from a personalized path)?

I've built the entire Xserver from git for testing proposes using the build.sh provided by freedesktop.org as the easier method to compile all modules against the git tree, and installed under the ...
5
votes
1answer
2k views

Send a command from the console to a running X server

Is it possible to send a command from the console, say tty1, to the terminal currently occupied with X (in my case tty7 as I use Debian), to tell for example mplayer to play a movie? Edit - made a ...
5
votes
1answer
4k views

xinerama, 2 cards, 3 monitors

I've been trying to get this right and I'm so nearly there, but not quite. This machine has an Intel adapter with one monitor, and an ATI adapter with two. I'm happy to use xinerama to get this ...
5
votes
4answers
3k views

Are there any advanced clipboard managers for Linux?

Are there any "advanced clipboard" managers for Linux that can store several things at one time? For example I might wnat to collect several things in the clipboard: a .jpg file some text etc. ...
4
votes
2answers
937 views

Disable the external keyboard from a script

I have a udev rule for my external keyboard. I can catch events, and by running a script I can also reach udev env variables. Can I disable keyboard with udev? Or must I use a script to disable the ...
4
votes
2answers
742 views

Simulate x-screen?

I'm working in a koding terminal running ubuntu 13.04, and I'm trying to run an application that requires an x-screen (even to run in terminal mode). I am unable to connect with x11 forwarding, and ...
4
votes
1answer
122 views

Computing the visible area of a partly hidden window

I have to (scriptly) take screenshots of windows, some of which may be partially or fully hidden by other windows. Of course, in such a case the screenshot is useless, and I'd rather print a warning. ...
3
votes
2answers
2k views

How to refresh a window by terminal? Or how to simulate `F5`?

I would like a way to refresh a specific window by the terminal. Probably I will need a comand to find the id or the name of the window and a command to refresh it. It looks like xrefresh cannot do ...
2
votes
3answers
3k views

How to get cpu usage for every core with a bash script using standard *nix tools

I'm writing a bash script to print system stats to my dwm status bar using xsetroot. Everything works as expected. What I'm currently missing is an easy way that just uses standard *nix tools to give ...
2
votes
2answers
2k views

how to swap ctrl and capslock using xmodmap?

I know this xmodmap script can swap ctrl and capslock: remove Lock = Caps_Lock remove Control = Control_L keysym Caps_Lock = Control_L keysym Control_L = Caps_Lock add Lock = Caps_Lock add Control ...
2
votes
2answers
2k views

Is xinitrc executed when logging in?

I have a ~/.xinitrc with the following content xrdb -merge $HOME/.Xdefaults this xinitrc is basically useless because it's not loaded when the user logs in, I don't think that I'm doing something ...
2
votes
4answers
2k views

Anacron job complains “Gtk-WARNING **: cannot open display”

I'm trying to make a simple weekly Anacron job that backs up my computer if I click yes on the dialog. The script I wrote works fine if run manually, but when Anacron runs it, nothing happens and I ...
11
votes
4answers
272 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 on the server (for which xfontsel does an adequate ...
9
votes
2answers
13k views

Why does my X11 forwarding attempt fail with “connect /tmp/.X11-unix/X0: No such file or directory”?

On my local machine, I run: ssh -X me@remotemachine.com (For completeness, I have also tested all of the following using -Y with identical results). As expected, this accesses remotemachine.com ...
6
votes
1answer
2k views

Keyboard shortcut to copy current command from terminal to clipboard [duplicate]

Is there any way to copy current command (line typed in bash prompt) in terminal to X-clipboard without involving a mouse?
6
votes
2answers
3k 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
3answers
2k views

how to assign another modifier to Alt key for X11?

Aim: I would like to assign Alt to CapsLock-key, and Meta to Alt-key. But in such way, Alt-key would no longer be recognized as Alt, and CapsLock-key would no longer be recognized as CapsLock. ...
5
votes
1answer
423 views

Change the status of the keyboard leds, from within an X session, without root access

I am trying to force the capslock led on. xset does not work for me, so I am trying to use setleds. In a graphical console, this command returns: > LANG=C setleds -L +caps KDGKBLED: Inappropriate ...
5
votes
1answer
2k views

How to run startx as non-root?

Recently, I switched from Ubuntu to Arch Linux. I've installed X11 as my Window System and KDE as my Desktop Environment. I've separate partition for /home, /var, / and /boot and they all mount at ...
5
votes
1answer
1k views

“unix:10.0” in DISPLAY variable

We are using Oracle Secure Global desktop to provide remote access to the Solaris desktop. It sets the DISPLAY variable to unix:10.0. It seems to be working as if the DISPLAY was set to ...