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

5
votes
2answers
19k views

With SSH X11 forwarding (`ssh -X`), get `Can't open display` trying to run X applications

I'm able to login to sever using ssh -X Hostip but when i run the command xclock it give me this error Error: Can't open display: localhost:11.0 I check my Display value using echo $DISPLAY ...
1
vote
0answers
27 views

Script executed from cron doesn't display GUI notifications [duplicate]

The script below has the name notifyrssh.sh. 1: File=/home/vaios/Desktop/tempcron/liveusers.txt //OK 2: cd /home/vaios/Desktop/tempcron 3: ps -aux | grep sshd > ...
1
vote
2answers
2k views

How to use all buttons of SteelSeries Cataclysm MMO Gaming Mouse in Xorg (GNOME)?

I've a problem with my mouse on Gentoo. The normal buttons (left/right/wheel and previous/next) work, but the other buttons are not recognized by x. I tried in xev and using them does not do anything. ...
1
vote
1answer
440 views

Where to put commands to run when X starts with SLiM

I'm having trouble determining where to add these two commands: setxkbmap latam to set the correct keyboard layout, and xcompmgr -c -C & to enable transparency. Before installing SLiM, I ...
3
votes
2answers
790 views

Display Server vs. Window Manager vs. Graphics Driver?

I am trying to sort my understanding of the different part of graphics on Linux, and I am confused as to the roles played by each of the following concepts. Display Server Window Manager Graphics ...
4
votes
1answer
666 views

Switch to TTYs without Function keys

At the moment I have a keyboard which lacks function keys (F1 through F12), and I was wondering - is there a way I could switch to textual TTYs (and back, which might prove to be a problem if I were ...
4
votes
1answer
140 views

Communicate across X-desktop sessions on same machine?

I've got a Raspberry Pi running Debian/Raspbian (thus X server) that I'd like to drive two screens with. I'm programming something that will have a public-facing screen and an operator-facing screen. ...
3
votes
0answers
452 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 ...
6
votes
2answers
592 views

How to disable a mouse movement input, while leaving mouse buttons enabled?

I have a mouse I just use for the buttons. I want to disable only the movement input of the mouse. Physically covering the sensor doesn't work.
2
votes
1answer
166 views

Mac equivalent application “shortcat”

There is a mac application called Shortcat and it make me envious. For those of you averse to clicking links here is a summary: Keep your hands on the keyboard and boost your productivity! ...
1
vote
0answers
61 views

Can I trigger an alternate keyboard layout based on switching windows?

I'd like to use different keyboard layouts (that I set with setxkbmap) depending on the application window that has focus. So for example, I'd like to switch when I change the window from terminal ...
4
votes
2answers
17k views

How can I get better-looking fonts in my terminal (URxvt)?

I've noticed that the fonts in URxvt look a little bit low-res compared to fonts that I see in my browser, for example. I was wondering how could I fix my .Xdefaults file to make the fonts have a ...
1
vote
1answer
110 views

Mute sound from specific virtual display

I'm using Linux, precisely Mint 13 Maya, which is based on Ubuntu Precise. I was wondering if there was any way to mute sound coming from other virtual displays, or to only have sound playing from ...
1
vote
3answers
101 views

The n key doesn't work anymore but N does

I've been playing around xmodmap to create a custom keyboard (refer to Get the keycode of a key, from a custom made keyboard also). But now, I can't use the N key anymore, but the Shift+N still works ...
1
vote
1answer
702 views

Resolving circular dependency hell for libX11 and libXi

I'm trying to install X11 from source. Source files from some repository: libX11-1.6.0.tar.gz libXi-1.7.1.901.tar.gz libX11-1.6.0 paulk@node005:libX11-1.6.0$ ./configure --prefix=$HOME/software ...
0
votes
1answer
4k views

Trying to open a GUI from a remote server using Mac but not succesfully

I'm brand new user in MacOSX. I'm using ssh to connect to some Linux servers. I'm trying to open a GUI locally for a process running in the remote Linux server. So I read that I should install ...
6
votes
3answers
4k views

How do I set the PATH or other environment variables so that X apps can access it?

How can I set env variables so that KDE recognizes them? How do you set the path in a non-shell environment (KDE)? Unlike the above two questions, I want to know how to do this for GNOME. Or better ...
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 ...
1
vote
1answer
1k views

How can I change the keyboard layout before I log in?

In order to switch to a new keyboard layout I have added an setxkbmap command to my Openbox's autostart.sh. However, this only takes effect once I log in (when Openbox starts). While logging in, in ...
1
vote
1answer
156 views

Segmentation fault when executing a command in rc.local

I'm trying to execute xbindkeys -f /etc/xbindkeysrc command on the start up. I've put this in my rc.local including another command : #!/bin/bash echo OFF > /sys/kernel/debug/vgaswitcheroo/switch ...
1
vote
1answer
310 views

Udev: running a shellscript that accesses an X display [duplicate]

After getting my 3g-modem to work in Arch Linux I wanted to eliminate some manual labour required in the process. Hence I needed to create an udev rule. After some trial and error I came up with the ...
0
votes
1answer
3k views

Remote desktop (KDE) over SSH reverse tunnel

I have a reverse ssh tunnel through a middleman server set up and working. I'm running Kubuntu 12.04 here and on the remote machine. I want to open a remote desktop session. Until now I've been ...
5
votes
1answer
252 views

Clipboard utility to paste back multiple lines one by one

I need a tool or utility that can take a text file and copy each line onto the clipboard in a way so I can paste back the text line by line by continuously pressing Ctlr-V. For example, if the text ...
1
vote
2answers
2k views

PuTTY X11 forwarding can't forward Google Chrome

I'm using PuTTY with Windows to connect a remote Linux (Mint desktop) server. It's correct to forward Firefox, Banshee and other applications, however, when I want to use Google Chrome, it shows a ...
3
votes
3answers
1k views

switching windows in twm with keyboard shortcuts

I am using a system that runs twm and I am wondering if it is possible to switch between windows using keyboard shortcuts, as I do in gnome with Alt+Tab.
1
vote
1answer
110 views

Splitting display among computers

If i have 17 system units (computers with monitors) that connected using network, is it possible to display image or video splitted into those computers without having split it manually? 1 2 3 4 ...
1
vote
1answer
161 views

What graphical launcher program can I use?

I have the following setup: I am running Ubuntu on VirtualBox in a Windows Environment. I am using Xming launcher to start xterm from Ubuntu as a client from where I can launch other graphical ...
5
votes
3answers
261 views

Interacting with X applications programmatically

I have an application which is built using GTK+. The application has a very simple interface. When started, the same window always opens, with a few input controls. We want to write a script to fill ...
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 ...
1
vote
1answer
434 views

How to change gravity (win_gravity) of a window?

Skype always pops messages at lower right corner of screen. Does changing widow gravity (win_gravity, defaults to NorthWest) for Skype alters pop-ups position (what I want to do actually)? Got no ...
1
vote
1answer
145 views

What video card will support four monitors without Xinerama?

I'm running OpenSuse 12.3 and currently have two NVIDIA video cards spanning four monitors. The problem I have is performance since Xinerama can't utilize the hardware acceleration. There are lots ...
1
vote
3answers
314 views

Is any part of the X.org software multithreaded?

None of the command-line shells that I am aware of are multithreaded. In particular, even those shells that support "job control" (Control-Z, bg, fg, etc) do so via facilities (namely, fork, exec, ...
4
votes
2answers
300 views

Get PID of the application running in the active terminal emulator

My end goal is to be able to open a new terminal window (urxvt) directly in the current working directory of the program running in the window currently active. I'm currently using the shell (Bash), ...
2
votes
2answers
8k 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: $ ...
1
vote
3answers
357 views

Bring up all terminal windows to front of screen?

I usually have 2-3 terminals open when programming on Fedora, but I find it quite tedious having to click and manually bring every terminal to the front screen when I compile and run. Are there any ...
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
1answer
427 views

Keyboard shortcut for SIGTERM in GUI application?

Related to another question, is there a way to send SIGTERM to the currently focused local GUI window application with a keyboard shortcut? Like clicking the [X] button in most WMs or Ctrl-c for the ...
3
votes
3answers
2k views

How does GDM authenticate to the X Server?

Given that you usually have to authenticate to the X Server by way of a "magic cookie" stored in the .xauthority file in the user's home directory: How does GDM (like most login processes, running as ...
2
votes
2answers
443 views

How do I find out the pixel depth of my graphic card?

Is there a command that can tell me which my graphic card is and its pixel-depth? I am running vncserver and I would like to learn which is the best parameter for pixeldepth (-depth).
6
votes
1answer
192 views

How do I prevent Skype notifications during a call

If I am on a Skype call with a person (with Share Screen Option switched ON), I don't want to get notified if someone calls me or messages me. They shouldn't know who my contacts are. What should I do ...
1
vote
1answer
2k views

urxvt not loading xft font from ~/.Xdefaults

Some basic details: archlinux 3.9.3-1 xmonad 0.11 urxvt 9.18 I can get urxvt to load my desired font manually using: urxvt -fn "xft:Ubuntu Mono" However, I'm unable to get this font to load ...
3
votes
2answers
2k views

Playing a remote movie on the remote computer

I have two computers (a desktop and a laptop) running linux connected to my local area network. I like to ssh from my laptop over to my desktop and run programs there, and sometimes listen to music on ...
0
votes
1answer
197 views

Intel 82845G Video Crash workaround

I have the Intel 82845G video card and trying to get X11 working with it. It routinely crashes with artifacts. I know the existing history with this driver and X11 and I am about to buy a replacement ...
4
votes
3answers
560 views

Screenshot of non active window

How to take a screen shot of non active window? If I have 2 windows, I want to capture the screenshot of the one which is running in the background.
12
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 ...
4
votes
1answer
320 views

Querying display power status on Linux (Xorg) on command line

Is there a way to query the power status of an Xorg/X11 display from command line? I want to know if my laptop LCD is powered on after the screen saver--apparently the backlight is still on. This is ...
1
vote
1answer
379 views

Start the GUI automatically in OpenBSD

I can't find the GUI to start up automatically in OpenBSD hppa 5.3. What commands must I use to get this working? I want to use Gnome like in OpenSuse which I am more comfortable with.
1
vote
1answer
482 views

Udev rules involving X11 don't run on startup

I have some udev rules written to run when I connect certain usb devices. For example, I change pointer velocity for certain mice, and change xmodmaps for particular keyboards. The scripts work well ...
3
votes
4answers
18k views

X11 forwarding not working from putty and XMing to centos 6.4

I have centos 6.4 running on VirtualBox. I can connect to it via putty just fine. However X11 forwarding is not working. I Have Xming 6.9.0.31 running and putty 0.62 is setup for X11 forwarding: ...
8
votes
2answers
221 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? $ ...