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
1k 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
1answer
1k views

How to detect which keyboard device is being used

I'm working on a computer with two keyboards and two users. They are using different layouts. The two keyboards are identical. Their device ID can be found easily with xinput, but when typing we can't ...
4
votes
2answers
84 views

X11 protocol recorder

I'm wondering if there is a tool (or a tool-set) to record every single X11 message received from the server, to post-render them in a movie. I think this could be very useful to create screen-cast: ...
1
vote
1answer
557 views

How to permanently disable the Insert key on Linux?

The Insert is located right next to Backspace. So when I am using Leafpad, Gedit, etc., I hit Insert by accident often, which causes the cursor to turn into a bold box which over-writes text as I ...
0
votes
2answers
2k views

How to use ( yumdownloader --resolve <package name> ) on ( yum -y groupinstall “Desktop” “Desktop Platform” “X Window System” “Fonts” )?

As soon as I finish installing "centos-minimal" from the minimal ISO file, I need to install the GUI desktop. for this I simply run, ifup eth0, and then I run: yum -y groupinstall "Desktop" "Desktop ...
1
vote
4answers
324 views

ssh X forwarding web browser flash

I have a question regarding ssh X forwarding. Specifically when it comes to forwarding X program i.e. some web browser client, for example Iceweasel. X Server <--(request to display Iceweasel ...
1
vote
3answers
899 views

Installed fonts not showing up, Linux Mint 15 64bit

I'm trying to install these bitmap fonts: http://font.gohu.org/ I downloaded the compressed PCF files and extracted them to /usr/share/fonts, Then ran sudo fc-cache -fv. The fonts weren't showing up ...
0
votes
1answer
2k views

cannot open display “default display” in Linux Mint 15

I have a really strange problem, i rebooted my laptop running Linux Mint 15 with XFCE and unexpectedly it doesn't show the login screen instead i see tty1. The strange part is, that i haven't changed ...
2
votes
0answers
97 views

How to set up the login screen to ask for keyboard layout

I just upgraded my distro, now it no longer has a menu to set the keyboard layout in the login screen (gdm). Previously a user could select there icon, then change the keyboard layout (it would also ...
3
votes
4answers
3k views

How to send keystrokes (F5) from terminal to a process?

I'm using an Raspberry Pi in combination with Chromium (kiosk mode) to show up some stats. The Pi doesn't have an connected keyboard so I searched for a solution to send keystrokes from the terminal ...
4
votes
0answers
115 views

Configure third button of a 3M Ergonomic Mouse

I've just bought a 3M Ergonomic Mouse, model EM500GPL, and for pointer movement and left/right click it works fine. But I'd like to know if it's possible to configure the third button to behave the ...
5
votes
2answers
124 views

ssh tunnelling explanation

I have a question regarding ssh tunneling. I've read this article http://www.popcornfarmer.com/2009/01/ssh-tunneling-tutorial/ I would like to make X forwarding work and run some X applications ...
2
votes
1answer
179 views

Colon/Semicolon remapping with xmodmap with two active setxkbmap layouts

Gentlemen, I'm a non-native english speaker and need a second language layout. And I'm a heavy Vim user, and use : much more often than ;. At the moment they are remapped in .vimrc, buth that causes ...
0
votes
0answers
92 views

CTRL meta key 'sticky' in GUIs over X11 forwarding from CentOS to fedora

Despite numerous problems, I managed to get X11 forwarding working from a SSH server running on a CentOS host to a Fedora client (changing various settings and finally fixing it by installing a ...
2
votes
1answer
12k views

Disabling graphical login in Debian wheezy

I have installed Debian wheezy on my machine with a netinst image, now I would like to deactivate the desktop and boot straight to the command line, not only that but I would like to not waste any ...
0
votes
3answers
247 views

Is it possible to display a graphical application on another host/user [duplicate]

We have a small linux cluster ~12 computers and a similar number of users. Is it possible for a superuser to launch a graphical application - say firefox or even a python script on another machine ...
3
votes
1answer
218 views

A robust way to execute a command/run a script at login?

I have two commands that change keyboard behaviour: xset r rate 120 66 /usr/bin/setxkbmap -option "ctrl:nocaps" When I open a terminal and execute them, they change auto-repeat settings and remap ...
2
votes
1answer
265 views

WM-independent way to focus/raise URGENT window

I would like to have a keyboard shortcut to "go to" (focus + raise) window with URGENT flag set which looks like URGENT: it appears on the taskbar (Gnome + Metacity) even if it is on desktop other ...
3
votes
3answers
5k views

Error `No protocol specified` when running from remote machine via ssh

I have a script, simply to run my Graphical (GUI) Application, as below. #cat gui.sh #!/bin/bash ./gui -display 127.0.0.1:0.0 When I run it from local machine (./gui.sh) it runs perfectly ...
1
vote
1answer
212 views

How can I blank the desktop via the command line?

How can I programmatically make my desktop blank (i.e. remove the icons and make it black) from the command line? I'd also like to be able to restore it afterwards. Multiple solutions are OK, Ubuntu, ...
3
votes
1answer
4k 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 ...
5
votes
2answers
797 views

Is there a way to simulate a “Close” event on various windows using the terminal?

I answered on Ask Ubuntu Quit all instances of gnome-terminal via a command but as you all can read gnome-terminal didn't seems to have a SIGcall I could use to simulate this "Close" event. So this ...
5
votes
2answers
195 views

How to assign shell command to key?

I want to assign my script to special key on my keyboard. xmodmap recognize this key as XF86AudioMute, but I want to execute my script when it pressed. How to do it? My window manager is Window ...
2
votes
1answer
129 views

how to find the hostname of an X server

Say I'm on machine local and log into machine remote with ssh, using X11 forwarding. Is there any way for programs running within the ssh session on remote can know they are being displayed on local? ...
3
votes
2answers
199 views

Fluxbox menu entry that prompts for some input

How do I ask 'which man file would you like to open?' in one command from the commandline, which will also open xterm at the same time. This is needed for a fluxbox menu item. For it to be a fluxbox ...
4
votes
3answers
979 views

How can I make Ctrl + Alt act like Alt gr in Ubuntu?

I recently switched to Ubuntu on my laptop and one thing that almost got me to switch back to windows is the fact that I can't make Ctrl + Alt to act like Alt gr. I have programmed in several years ...
0
votes
1answer
131 views

Set up nvidia drivers on mobile sli configuration

I have been trying to get xfce running on my slackware install for a while now, but no matter which graphics driver I use it always fails with the no screens found error. I can run it at a ...
1
vote
2answers
868 views

Fedora 18 detecting non-existent monitor

I have an HP Envy dv7 with a dual boot setup of Win 8 and Fedora 18. On 07/22/2013 I updated all packages in Fedora 18 that had updates available. After a reboot, Fedora is now detecting that a ...
4
votes
3answers
255 views

How many clipboards are in system? [duplicate]

I was recently thrown there from the windows world and I'd like to ask some questions about clipboards in Linux (and Unix?) systems. What is X clipboard? How many clipboards are in Linux? Actually, ...
6
votes
1answer
1k 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?
3
votes
1answer
10k 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
1k 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
320 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
394 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 ...
3
votes
1answer
348 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
130 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
284 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
382 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
109 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
52 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 ...
2
votes
2answers
8k 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
91 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
2answers
46 views

the n key does't work anymore but N does

I've been playig around xmodmap to create a custom keyboard (see Get the keycode of a key, from a custom made keyboard) But now, I can't use the n key anymore, but the Shift+n still work. I think I ...
1
vote
1answer
485 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
2k 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
2k 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
917 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
699 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
115 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 ...