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

4
votes
1answer
68 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).
4
votes
1answer
68 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. ...
4
votes
1answer
3k 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 ...
4
votes
4answers
2k 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. ...
3
votes
1answer
345 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
2answers
2k views

Make mouse movements scroll when the middle button is held down

In Windows, I'm used to clicking the center button and it offering a "fast scroll" option up or down. How can I get this behavior on Linux? It currently seems to use the back button upon center click ...
3
votes
2answers
389 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 ...
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
1answer
188 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
1answer
7k 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 ...
2
votes
4answers
1k 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 ...
10
votes
4answers
91 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. I guess what I'm looking for would be called a ...
7
votes
1answer
386 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 ...
5
votes
1answer
678 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?
5
votes
1answer
1k 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 ...
4
votes
1answer
54 views

Keeping copies of the X log file on Debian

I recently tried to replace my Nvidia driver with the Nouveau driver for my Nvidia card, (see Switching from Nvidia proprietary driver to Nouveau driver for Nvidia card on Debian wheezy). ...
4
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. ...
3
votes
1answer
462 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 ...
3
votes
4answers
2k 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 ...
3
votes
1answer
230 views

Spawn 6 windows in 2 rows in the i3 window manager

How can I bind a key that spawns (via the exec command) six terminal windows? I managed to figure out how to do this, but all windows were on one row. What I would like to have is that 3 on top and 3 ...
3
votes
2answers
588 views

If you SSH into another computer, how to access other X displays?

This is a query based on personal use. A troll in our local network had downloaded Crikey, the key-event simulator. He used it to simulate events on other computers, leading to unwanted things. For ...
2
votes
1answer
72 views

What are the purposes of the different types of XWindows fonts?

In my /usr/share/fonts/ I have four sub-directories categorizing types of fonts: cmap truetype type1 X11 The command fc-list produces a list of them. Are these different categories for specific ...
2
votes
1answer
262 views

Why doesn't dzen2 work when invoked via at?

dzen2 is a notification utility of sorts. This command will make a notification that says "Hi" appear on the screen: echo Hi | dzen2 -p Debian's at is a utility that schedules events to occur in ...
2
votes
1answer
332 views

Remap Caps_Lock to Control in Solaris

I'm having the hardest time trying to understand how xmodmap works. I want to remap the Caps Lock key to Control. In an attempt to emaulate the answers shown here, I created the file .xmodmaprc: ...
1
vote
0answers
161 views

How to set up screen resolution permanently

I just installed Fedora 19 on a VirtualBox and when I started it for the first time it only allowed the screen resolution 1024x768 After some research I managed to install the guest additions and I ...
1
vote
2answers
169 views

Debian: How to resolve Xserver failure

I keep finding similar posts online but I can't really use the solutions in my case. in my /etc/bash.bashrc file, I have the following code placed at the very bottom: if [ -e /tmp/.X0-lock ]; then ...
1
vote
2answers
132 views

Doubts about creating a .Xresources file.

I want to customize the look and feel of my xterm and have read that the way to do it is creating a .Xresources file and saving there the desired configuration. I've also learned that this file can ...
1
vote
2answers
743 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 ...
1
vote
1answer
336 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 ...
1
vote
2answers
1k views

Cinnamon failed: desktop only, no panel, no dialog frame

I am using Linux Mint 14 (MATE) with Cinnamon installed. Cinnamon failed when I tried to delete an item on the menu with menu editor. The system froze, so I logged out by pressing Ctrl+Alt+Delete. ...
1
vote
1answer
2k views

Is it possible to keep a vnc server alive after log out?

I am using OpenSUSE and I have created a script that launches at startup the x11vnc server. But when the user logs out x11vnc is killed. I want it to start again automatically. Here the script I ...
1
vote
1answer
2k views

Mint 12: synaptic package manager error

Yesterday I had the same issue, I solved it by running sudo synaptic But today I don't know what's happening, if I run gksu synaptic or gksudo synaptic they don't do anything. If I go to root and ...
0
votes
1answer
1k 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 ...