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

1
vote
1answer
10 views

emacsclient connection refused

I am running emacs in daemon mode and I got dissconnected from the server on which it was running. After re-connect, when I run emacsclient -nc I get the error connect localhost port 6012: ...
1
vote
0answers
10 views

Gnome - input source not working

I have Elementary OS and there is problem if custom keyboard layout should be added, because currently the switchboard-plug-keyboard uses hardcoded layouts from data/layouts.txt and does not scan ...
1
vote
2answers
22 views

Enabling X11 forwarding permanently

I have a PHP program and in order to run a batch file, I have typed: $> xhost + $> ssh username@hostname -X $> ssh username@hostname -Y And, it works fine. But, my problem is that when I ...
2
votes
3answers
58 views

How can I copy text from xterm (Awesome, Debian, VirtualBox)?

I ran the minimal Debian installation inside a VirtualBox instance, installed X11 and Awesome window manager manually (without any custom configuration yet) and installed VirtualBox additions as well ...
1
vote
1answer
28 views

How do I enable Shift Lock? (Sticky shift key)

I want to map one of my keys the shift lock key. In my understanding, the shift lock key is a kind of a 'sticky' shift key: it remains pressed, shifting all keys of the layout until pressed again. It ...
1
vote
1answer
10 views

Keep aspect ratio true to the mode

I've recently installed Linux Mint 17, replacing my ageing Mint 13 installation. I've got a 16:9 screen. In case it matters, my graphics card is an NVidia GeForce 210. Now back in Mint 13, if a game ...
0
votes
0answers
37 views

X stopped working

A couple of weeks ago I made a system upgrade (aptitude upgrade) on my Debian Stretch x64 system. I finished my session normally, but since then I cannot access X anymore. When I turn on my computer, ...
2
votes
0answers
61 views

Difference between 'xhost + ' and 'xhost +SI:localuser:AnotherUser'

If I do xhost + >access control disabled, clients can connect from any host su AnotherUser -c xterm an xterm popups, but if I do xhost +SI:localuser:AnotherUser >localuser:AnotherUser being ...
0
votes
0answers
27 views

su success, but says No protocol specified

I can successfully log in as root on Debian Jessie as follows ...:~$ su Password: No protocol specified root@... It's a fresh installation, just a few applications added so far. I just had to do ...
1
vote
0answers
16 views

Debian - X11 not displaying until switching VTs

I am trying to make my own very light Debian-based system, using Fluxbox as window manager and Slim as login manager. I just added Slim but I had a problem before that, being that X11 worked ...
2
votes
2answers
37 views

Using reverse SSH tunneling in one step instead of two steps (with -X)

Suppose we have three hosts: miki - my computer behind a NAT vps0 - my VPS mum - computer of my mother, behind a different NAT. The task is to connect from my computer to my mum and keep X11 ...
0
votes
0answers
20 views

Installing libx11-devel from source, error in string.h

I'm running Linux version 2.6.32-504.8.1.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) and trying to install libX11-devel from source on a ...
2
votes
1answer
17 views

Using remapped Left Control <LCTL> key as shortcut

I have remapped the <LCTL> key to Tab in /usr/share/X11/xkb/symbols/en using key <LCTL> { [ Tab, Tab, Tab, Tab ] }; key <MENU> { [ Alt_R, Alt_R, ...
0
votes
0answers
18 views

How to detect whether a window is in focus?

I'm not experienced in scripting but I've made this script: #!/usr/bin/env bash # hint: use "xdotool getmouselocation" to get values if xdotool getwindowfocus getwindowname | grep -Eq " - ...
0
votes
0answers
14 views

Create shortcut in Windows to launch xterm on remote server via SSH and X11 Forwarding

I am not sure if this should go in Windows, but I figured the Unix section would know more about this. I am running a CentOS VM on my Windows 7 host and would like to have the ability to simply ...
1
vote
2answers
50 views

Swap shift and caps-lock

I would like to swap the behavior of the two keys Shift and Caps Lock on my keyboard. I have read the options in /usr/share/X11/xkb/rules/base.lst, played around with'em, but none of them seems to be ...
1
vote
1answer
133 views

Why is my R graphics device not refreshing and gets drawn so slowly through VNC?

The plotting speed of the graphics device is extremely slow when I use a VNC connection. The rest of the connection works perfectly fine so I cannot blame the network, it is specifically R devices ...
1
vote
0answers
13 views

System clipboard flushed out, once i exit vim

I use yy to access the system clipboard always. yy is mapped to a function as, function! Copy_ToSystemClip() .w !xsel -ob end function inoremap yy Copy_ToSystemClip()<CR> It copies to the ...
1
vote
0answers
10 views

Remap key to two modifers or use meta shortcuts in terminal (terminator)

Background: Running Arch Linux on KDE. KDE shortcuts have a problem with being saved past reboot so i'm using xmodmap and xbindkeys. So I am using xmodmap. Right now caps lock is mapped to meta ...
0
votes
1answer
20 views

Why are the X11 window identifiers so large (long unsigned) integers?

I would imagine that the window IDs would simply be the count of windows for a specific display but why are they in practise so large?
-2
votes
3answers
97 views

Why isn't there a Unix API?

Why isn't there the Unix API? I mean, as there is the Windows API. I know a lot of things in the Unix world is modular, and those things put together creates a whole system. This sounds good but does ...
0
votes
0answers
18 views

Emacs, window mode is not seeing .bashrc shell variables

I launch emacs from my ubuntu menu bar icon and when i try to access .bashrc variable as, (getenv "ENV_VAR") it returns nil. I collected Gilles' inputs on this issue, added the line . ~/.bashrc ...
6
votes
4answers
94 views

Insert both characters if a dead key combination is not recognized (e.g. 'a → á, 'b → 'b)

When I use any variation of English, US international (with dead keys,altGr dead keys or alternative) on my Linux Mint machine I always encounter this behaviour. When I press one of these keys: ' " ...
2
votes
0answers
54 views

X11 controlling root window or setting a window to be the background window (wallpaper)

I would like an animated background image. Or better, to make an application be the background, with no interactivity, so I don't accidentally click on it. I've seen many discussions about setting ...
0
votes
0answers
19 views

Displaying a remote window in a EOD session

Please can someone tell me how to display a remote window in a EOD session? The usual way of setting "setenv DISPLAY local.host.com:192" in the remote session and doing a "xhost +" in the remote ...
0
votes
0answers
33 views

Ctrl + y on shell terminal, paste from system clipboard [duplicate]

I use emacs style bindings for my bash terminal. And i use only the system clipboard and never use any of the application specific/primary selection stuff. When i copy text from emacs window and use ...
3
votes
2answers
34 views

Cycle between open windows with wmctrl

I have a script that I'm trying to use to make handing applications easier. Right now it gets the window id of an application name (the first parameter) and checks if the window_id exists or not. If ...
0
votes
1answer
23 views

Clear X clipboard using cron [duplicate]

Is there any way I can clear the X clipboard from a cron job? The usual commands for xclip don't seem to work. echo -n | xclip -selection clipboard doesn't work from cron.
0
votes
0answers
89 views

Unable to operate mouse in GUI on Ubuntu Server in VBox VM

Mouse can't work on Ubuntu Server (minmal virtual machine mode) in VBox VM. I ran: sudo aptitude install --without-recommends xserver-xorg-core sudo aptitude install jwm startx output: -bash: ...
1
vote
0answers
26 views

“Replay” feature (repeat / rewind)

This occurred to me playing some games where there is no live rewind feature. Basically what I'm looking for is an application which records the screen, and - when pressing a shortcut - rewinds what ...
4
votes
2answers
120 views

Run an app with a window manager behind in a separate X server

I want to launch an app in a separate X server. It needs a window manager behind it, though. I created a script #!/bin/sh x-window-manager & my-gui-app and launched it with xinit ...
3
votes
1answer
43 views

Can't enter capital letters using shift key

In some applications entering capital letters works like hitting ESC key. Reproducing: Open LibreOffice document Select "Save as" (Unity dialog) Hit "Create folder" Enter a capital letter using ...
1
vote
1answer
25 views

Remove formatting from copy/paste buffer

Whenever I copy any text via X11's copy/paste feature, I would like all formatting to be removed. I waste time daily dumping the text into a terminal, then copying again. Is this possible?
1
vote
1answer
23 views

invalid MIT-MAGIC-COOKIE-1 error whenever computer falls asleep

Whenever my laptop falls asleep and is woken up (Lenovo Thinkpad X1 Carbon Gen 3), certain applications will no longer run. For example, when trying to launch dmenu or google-chrome-stable (XMonad ...
3
votes
1answer
39 views

How to programatically control X11 forwarded apps?

I'd like to set-up X11 Forwarding to run remote X applications on the server and X11 client can handle the UX interaction. However I would like to configure the X11 client or fake it to actual do the ...
2
votes
0answers
45 views

Middle mouse button behaviour in Iceweasel (FireFox): paste at *text* cursor

In Iceweasel under Gnome on Debian Jessie, the middle mouse button exhibits the following behaviour: If clicked on a hyperlink, it opens the link in a new tab. If clicked anywhere in an editable ...
6
votes
3answers
168 views

Larger “xterm” fonts on HIDPI displays

After several years of happily using different terminal emulators like Konsole, Gnome-TERMINAL, and lately XFCE Terminal in their appropriate desktop environments, I decided to use good old xterm with ...
3
votes
1answer
61 views

Create an ARGB struct for C header from a PNG

I need to update a logo bitmap to an updated logo. The existing code uses a C header which is loaded via XChangeProperty. I have looked into imagemagick and the Gimp in order to convert the updated ...
0
votes
1answer
50 views

How do I run X11 applications over ssh from a Gentoo server that does not have a GUI installed (with minimal added software)?

Currently I am renting a VPS from VPS.net running Gentoo. How can I run "X11" applications remotely without installing a full GUI on the VPS. What is the minimum pieces of "X11" I would have to ...
0
votes
1answer
24 views

Play videos in a different screen without showing desktop environment and cursor interactions in Gnome

I'm editing videos for a live music event. There's a video for each song. I'll have a projector and each song will have a video playing in a big screen behind the artists. I have the length for each ...
0
votes
0answers
35 views

X will not start, Centos 7

I installed X/X11 and proceeded to install DWM on my X220. However, X does not start and I am having trouble figuring out why. I have posted the /var/log/Xorg.0.log file here: ...
2
votes
0answers
39 views

EDID - help to detect proper DPI and refresh rate values

I just tried to extract EDID file data with read-edid util; The thing is the output shows : $sudo get-edid | decode-edid ... Manufacturer: AUO Model 20ec Serial Number 0 Made week 0 of 2013 EDID ...
0
votes
0answers
9 views

Running supertuxkart in a separate X server doesn't work as expected

I tried to run supertuxkart in a separate X server (to be able to access my desktop) I ran xinit supertuxkart -- :1 The game launches, but there's no cursor. What am I doing wrong? Running ...
0
votes
1answer
21 views

X11Fowarding not working on Arch Linux ARM

I am trying to setup X11Forwarding between my Arch Linux ARM server and my OSX computer. I am accessing the server locally (always). /etc/ssh/ssh_config: X11Forwarding yes AddressFamily any ...
2
votes
0answers
27 views

Problems after mapping Alt_R to Control [closed]

I have mapped by Alt_R to Control. My Control_R is also mapped to Control. Alt_L remains as Alt (Mod1). I used xkbcomp :0 keyboard.xkb to dump the current configuration file. In that file, in the ...
1
vote
1answer
22 views

Run a command when logging in with xmonad

I have a simple script that I want to run every time x starts up. #! /bin/sh /home/kevin/.dropbox-dist/dropboxd & I have run chmod 755 on it, so it's fully executable. And it just will. not. ...
1
vote
1answer
19 views

How to remap keycodes (not symbols)?

Using XKB I can change the symbol for the TAB key: key <TAB> { type= "ONE_LEVEL", symbols[Group1]= [ Overlay1_Enable ] }; However, Google Chrome detects keycode 23 (aka <TAB>) ...
3
votes
0answers
46 views

Patching X11 to remove SELECTION clipboard

How would I patch the X11 source to disable or remove the SELECTION clipboard?
1
vote
0answers
12 views

DDvorak layout, but QWERTY with Ctrl or Alt modifiers

I comfortably type a keyboard layout named Light Developer's Dvorak, further customized (negligibly) for myself. I don't know how to modify the commands so that pressing Ctrl, Alt, etc. will read the ...
0
votes
0answers
53 views

Remote X11 applications have wrong keyboard mappings (local: OSX, remote: Linux)

I am connecting from a Mac (with OSX 10.6) to a Linux machine (with CentOS 6.6) by using the ssh command (ssh -X). On the Mac side, I am using the Terminal app. After logging into Linux, I can use ...