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

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 ...
0
votes
0answers
65 views

Best way to connect to all X displays

In a C or C++ program, what is the best way to connect to all X displays on a computer? I would like to check the X idle time of each display, to determine whether the computer is idle across all ...
3
votes
2answers
434 views

how is a keyboard shortcut given to the correct program?

in Ubuntu (or for that matter most other linux distros), I could use the shortcut ctrl+t to open a new tab (in firefox or similar), or I could use alt+tab to make unity switch highlighted window, or I ...
1
vote
1answer
13k views

Forwarding X11 not working - Error: Can't open display: localhost:11.0

LM 17 Xfce OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 Despite googling everywhere, I cannot seem to get this to work. I keep getting this error. $ xlogo Error: Can't open display: localhost:10.0 I have tried ...
2
votes
0answers
153 views

Capture timestamped X mouse events, and render a video with custom mouse pointer?

I am typically using recordmydesktop to record some application interaction; however, on my system, recordmydesktop always shows the same mouse pointer/cursor (the arrow) - regardless if, in reality, ...
1
vote
2answers
60 views

'Present' terminal window on shell/executable command?

Currently using Xfce and xfce4-terminal, but suggestions involving other Linux-based systems may still be helpful. I start a longish-running program in a terminal window, then alt-tab away and do ...
6
votes
1answer
2k views

Why does Shift+Insert paste from CLIPBOARD in some applications and PRIMARY in others?

How do I paste from the PRIMARY selection (eg. mouse-selected text) with a keyboard shortcut? Shift+Insert inconsistently pastes from PRIMARY or CLIPBOARD, depending on the application. Background: ...
1
vote
0answers
49 views

What is the difference between X11 keymapping and virtual console keymapping

In linux we have X11 which governors keyboard layouts but sadly any changes made there don't affect the system as a whole so in a tty you are left with standard qwerty no matter what your X11 ...
0
votes
1answer
796 views

Run a script that displays an X window from an udev rule

I found several questions on http://unix.stackexchange.com & on http://stackoverflow.com related to launch script by udev rules. But I can't find exact solution or certain answer for executing ...
2
votes
1answer
103 views

How do I remove a particular default xterm X11 translation?

I'm using xterm which comes with a set of default translations as enumerated in the man page. To #augment or #override the translations I edit my $XAPPLRESDIR/XTerm file; this works as expected. ...
1
vote
1answer
920 views

Can't access virtual terminals after manually starting an X server

I'm working on a display manager. When an X server is already started, my display manager works fine and is able to log in a user. However, in order for it to be a proper display manager, it needs to ...
2
votes
1answer
3k views

What does this `xhost …` command do?

Please help me understand this line of command: xhost +SI:localuser:lightdm in reference to the answer in this post and also suggest if there's a better way and why that's needed. I couldn't make ...
2
votes
1answer
828 views

vnc: unable to get a shell prompt with the default opened terminal application

i am setting up a vnc server (vnc4server on mint) and i have a default xstartup file in ~/.vnc. i am using twm window manager. when i connect to the vnc server, i can authenticate successfully and see ...
2
votes
1answer
325 views

Can an X video driver be restarted/reinitialized without loosing the session?

Have been experiencing problems with my laptop display usually brought on by interacting with graphics images in chromium web browser. When it happens the display goes haywire as if the horizontal and ...
2
votes
1answer
242 views

Cross linux method to detect screensaver or locked screen running

I'm looking for a cross linux method to detect if screensaver (both XScrenSaver and non-XSCreenSaver) is running or if locked screen is up. Bash or c method would be awesome. Can you please help me ...
0
votes
1answer
887 views

Clone monitor on HDMI without changing laptop display resolution

My laptop's display has native resolution of 1366x768, and I connect it to my TV which has 1920x1080i. My problem is that the only supported resolution for cloning is 640x480, which happens to be the ...
1
vote
0answers
96 views

Method to convert simultaneous key chord / letter key combo into another key?

I'm looking for a method to make simultaneous key presses trigger another, e.g. for the keys W, E, F, pressed simultaneously, to trigger another key press, say, Ctrl+Alt+Esc. My ultimate goal (in ...
2
votes
0answers
88 views

Make mouse side buttons trigger virtual keys

I have a mouse with two side buttons. I've posted the output from xev and evtest for both buttons: xev EnterNotify event, serial 37, synthetic NO, window 0x4600001, root 0x306, subw 0x0, time ...
0
votes
0answers
36 views

Accessing xfig from x11 fails

I am trying to get access to xfig from x11 on my mac to draw some diagrams and including them in latex, but it shows the following error bash-3.2$ xfig dyld: Library not loaded: ...
1
vote
1answer
462 views

xset not having any effect in my .xsessionrc file

I need to set some trackpoint settings automatically. I don't know the best file in which to place these commands, but I used .xsessionrc. The commands are properly executed (I can verify that by ...
1
vote
0answers
101 views

Does X11 still have a hardcoded limit for application resource strings?

The xterm(1) manual page states: Due to a hardcoded limit in the X libraries on the total number of resources (to 400), the resources for 256-colors are omitted when wide-character support and ...
1
vote
1answer
139 views

X0 does not exist in the directory

winecfg connect /tmp/.X11-unix/X0: No such file or directory Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set ...
1
vote
1answer
413 views

Rhel 7 not booting up

I recently installed rhel 7 on my laptop as dual boot (with windows 8.1) in UEFI mode. After the installation I cannot log into redhat. The gnome desktop starts to load and then it goes to a black ...
1
vote
1answer
182 views

GUI running without $XAUTHORITY being defined, but not for root

I'm using CentOS 6, with Xfce as a desktop environment and have switched to xdm from gdm as a display manager. However, after making this change, I am observing a very strange oddity: graphical ...
2
votes
2answers
64 views

Is there a way to use a PT_BR locale in an English installation of Debian?

I'm Brazilian but when I installed Debian on my machine I set the language to English (US). I prefer to keep my menus and error messages in English because they are more googable (and the translations ...
0
votes
1answer
236 views

How to install Afterstep on ubuntu?

I'm using Ubuntu 14.04 LTS and I'd like to install Afterstep. I'm quite new in Unix don't know how to compile. Please help if you can.
1
vote
1answer
112 views

Change X server configuration at runtime

Environment: NVidia video card with NVidia drivers. Debian 8. Multiple monitors I currently have 2 screens connected to my computer. Usually (while working) I like to use both. Sometimes (while ...
1
vote
0answers
19 views

Which activity/program prevents my monitor from going off?

I can set my monitor off with xset dpms force off but something prevents KDE from setting it off. On the other hand, when I play a long youtube video it might go off (!). This correctly happens after ...
3
votes
1answer
178 views

Counting windows

Is there a command to get the number of (visible or iconified) X11 windows? The command $ xwininfo -children -root returns a long list of windows but most of them are neither visible nor iconified. ...
1
vote
1answer
1k views

Run a GUI application in background and reconnect later [duplicate]

Is there a way to run a Gui application (X11) in background so that if I disconnect, I can resume the running app again? I am using SmarTTY on windows to connect to remote CentOS. When I run a Gui ...
2
votes
1answer
117 views

what does Xserver access control mean

What meaning does Xserver access control have, when the Xserver is started with tcp disabled: /usr/bin/X11/X -nolisten tcp AFAIU, Xserver can be used to allow remote network connection. But, if it ...
3
votes
1answer
145 views

Retrieve X11 window ID of a just-launched GUI-program

I want to retrieve the X id of GUI programs I launch in background, in order to work on their windows properties. I've been so far using this workaround: myprogram & sleep 1 winID=$(wmctrl -l | ...
1
vote
1answer
108 views

How to write short alpha using the compose key

I'd like to enter a short alpha using the compose key: ᾰ. I tried using compose+U+α but this doesn't work. Neither does using b instead of U. How can I enter the short alpha using the compose key?
0
votes
1answer
505 views

Start script on boot up?

I want to run a script when the system starts. The script is: #!/bin/bash gnome-terminal --tab -t "MyPC" -e "sh -c 'nohup firefox & nohup gedit & bash'" --tab -t "MYPC2" -e "sh -c 'ls -al;ls; ...
1
vote
1answer
118 views

xmessage in a script freezes

I use the following script called from a udev rule in order to automate backup: #!/bin/bash export DISPLAY=:0 export XAUTHORITY=/home/gauthier/.Xauthority # ... other things like offering abort, ...
1
vote
1answer
87 views

Shutter Script(s)

When i play some games with wine , i must not change the window , because of that , the game crash or that window are fill of black. im using xfce4 desktop , when i press "PrintScreen" key from ...
1
vote
0answers
70 views

Resizing Xterm window kills Django running in it

I have a Django instance running in a terminal window. Any time I resize the window, the Django process dies ungracefully, leaving no record of it in the error_log file. I tested it within ratpoison, ...
1
vote
1answer
148 views

How to continue a script after X has been closed?

I recently installed RetroPie on my Raspberry Pi and I'm trying to find a way to (once I'm in LXDE) run a shell script that kills X and then starts EmulationStation. I can kill X with pkill x but then ...
0
votes
3answers
4k views

Arch linux: set keyboard layout to PL

I'm unsuccessfully trying to force my Arch to set pl layout on X start. I've googled for solutions, and I found couple of tutorials/tips but none of them works. My current, keyboard related ...
1
vote
2answers
64 views

X11 confusion with windows/solaris/windows config

I am struggling with X11 forwarding .... I use a Windows 7 laptop to Putty onto a Sun T2000 running Solaris 10. I have got ssh -> X11 -> X11 Forwarding ticked but nothing in the the X display ...
4
votes
2answers
773 views

make terminal selection automatically copy to the system clipboard buffer?

Is there a way to have terminal applications (gnome-terminal, terminator, etc) automatically move selected text to the CLIPBOARD system buffer, and not just the PRIMARY (i.e. terminal-local) buffer? ...
0
votes
1answer
216 views

aterm or gnome-terminal window unresponsive to keyboard events

I try to investigate a problem: Depending on the way I launch aterm or gnome-terminal, the window may or may not be responsive to keyboard events. The cause of the problem may reside in Aterm, ...
2
votes
1answer
62 views

Can I control a graphical program from the command line?

How can I enter text in the text fields of the window shown by a program in an automated manner?
2
votes
4answers
287 views

Paste text to another application from script via shortcut

Let me describe what I want to achieve. We are using two-factor authentication and I would like to create script which will generate TOTP token for me and it will paste it to let's say Firefox on some ...
1
vote
0answers
28 views

execute command on pointer movement, wait and revert?

I've got two pointing devices (touchpad and trackpoint) and the goal is to execute a command when movement (any direction, any distance) is detected on the trackpoint, then wait a configurable amount ...
1
vote
2answers
128 views

Change behavior of superscript key in text editor (elementary os)

When writing latex in sublime text is often use the ^ character to insert superscript. right now the default behavior is quite annoying, as it does not insert the ^ until i press space. How change i ...
0
votes
0answers
87 views

Unable to restart xmonad on archlinux

xmonad --restart used to work but it doesn't anymore and it's not a prevalent issue so I think it's probably a problem on my side. I have pasted the output of strace xmonad --restart below. I am quite ...
3
votes
2answers
343 views

Prevent auto-selected text from copying

I really like the Linux-style copy paste (highlight text to copy, middle-click to paste) - except when text is automatically highlighted in a dialog box. For instance, selecting text on a web page ...
1
vote
0answers
518 views

GLX extension missing on display “localhost:10.0”

I have installed scilab 5.5.1 on rocks based cluster(with GPU card & nvidia driver installed), and i am able to successfully use scilab on the same . Issue arises when i need to use scilab from a ...
1
vote
0answers
91 views

XKB: Can I have an eight-level key and have Ctrl participate in selecting it’s levels?

Is there an XKB way to generate a key event, form a normal key combo which includes Ctrl without having the ctrl modifier bit set? Or the same question asked in another way: Can I have an eight-level ...