Tagged Questions

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

12
votes
1answer
860 views

Screenshot of X from tty

Using Xvfb I can launch an application and take a screenshot. What I'm wondering about is how to capture from an existing (dormant) X session. Say from tty or over ssh. From what I understand ...
2
votes
2answers
2k views

How to check if DISPLAY is valid

I've read man-page X(7) and searched for this but I can't find a solution. How can I check in a long running process if the environment DISPLAY=:0 is still a valid display? (User could have logged ...
4
votes
1answer
6k views

Why does my X11 forwarding attempt fail with “connect /tmp/.X11-unix/X0: No such file or directory”?

On my local machine, I run: ssh -X me@remotemachine.com (For completeness, I have also tested all of the following using -Y with identical results). As expected, this accesses remotemachine.com ...
2
votes
1answer
214 views

Black and white (greyish color) console and X11 [closed]

Can I achieve simply the state of my system with no color? I'm using openbox.
1
vote
1answer
2k views

Weird mouse behaviour. Mouse too fast

When I move my mouse slowly over the desktop the pointer jumps often a few pixels (one or two) in the opposite direction of which I move my mouse. Horribly when trying to set the cursor around some ...
3
votes
1answer
1k views

Keyboard layout changed. How and why?

Yesterday, I upgraded my kernel (to 3.5.0-19-generic), rebooted, and had to reinstall my video drivers to get full resolution. (After upgrading the kernel, the resolution always goes to 640x480, until ...
3
votes
1answer
253 views

Display a right-click menu using a shell script

Is it possible to display a right-click menu using a shell script (or some kind of Unix command?) I'm trying to find a program that can be used to display a context menu at a specific location on the ...
5
votes
1answer
496 views

Understanding linux desktop

I use debian wheezy xfce and want to set up my desktop. But I read some settings are redundant. Hence I want to understand how everything works, but I am massively lost. Can someone please sort, ...
9
votes
2answers
838 views

Is there any way to let it snow on my linux mint destkop?

I want snow fall on my desktop really badly. Tried Xsnow (with Mate/Marco, Mate/Compiz and KDE/Kwin) but doesn't work. Snow plugin for Compiz doesn't work anymore either. Snow feature of KDE was ...
0
votes
1answer
165 views

Grade book program that works on gentoo

I am looking for a program that I can use to keep track of and calculate my grade in all my classes without going through and making a spreadsheet for each class.
1
vote
2answers
3k views

How to attach to remote machine's local display session over ssh?

Scenario: Linux mint is running on a machine at my home. I have some gui applications open on it. I'm away from home but want to get at the open applications. I have cygwin/x and I know how to ssh ...
1
vote
1answer
366 views

Fedora 17 doesn't detect some key-presses

About 1 week ago, I installed MATE desktop (Gnome2 fork) because I wanted to use XMonad in gnome. So I am pretty sure this problem has something to do with MATE. My keyboard is just a basic HP ...
3
votes
2answers
346 views

Is there any way to prevent focus being grabbed by another application?

I am getting annoyed by windows under X opening and taking focus away from the current window which has focus. This is particularly annoying when you are typing a password into a password dialog and ...
4
votes
1answer
604 views

How does X11 forwarding work?

How does X11 forwarding work? I am interested in knowing whether the processing to render graphics is done at the end of the host running the application or the host displaying the graphical ...
3
votes
1answer
1k views

Ctrl-Alt-F1 not working from X

I have a system running Debian 5.0 that doesn't respond to Ctrl-Alt-F# (1-6) Check if Ctrl, Alt, F1 and F2 are intercepted correctly... $ DISPLAY=:0 xwininfo xwininfo: Please select the window ...
14
votes
2answers
1k views

Copying files from command line to clipboard

In a GUI file manager it is possible to select a few files, press Ctrl-C (which supposedly copies come info about the files to clipboard), then navigate to another folder and press Ctrl-V, which will ...
4
votes
2answers
318 views

What does “Do you expect to run the X Windows System?” do when installing OpenBSD?

When installing OpenBSD 5.1, I got the question: Do you expect to run the X Windows System? What change does the installer make to my system if I say "yes"? I know what X Windows is, but I don't ...
1
vote
1answer
164 views

C-u leaves ghost characters at command prompt in xterm

I am using bash (v3.2.25) on linux, through xterm, through exceed. When using Ctrlu the cursor is moved next to the bash character prompt ($) but the rest of the line remains and is not erased as ...
1
vote
1answer
2k views

How can I have new ~/.vnc/xtartup files be configured for normal desktop by default?

When a user first runs vncserver, the following ~/.vnc/xstartup file gets created: #!/bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec ...
5
votes
2answers
977 views

Can I start my main desktop graphical session remotely?

So my workstation at work got rebooted and I'm currently not logged in physically there with a graphical session. I have ssh access to it, and I can start a new X windows session and use my graphical ...
1
vote
0answers
64 views

How can I fix my X11 draw garbled icons?

I'm running linux mint 12: $ cat /etc/issue Linux Mint 12 Lisa \n \l This started happening recently: And I'm not sure why. It's not just limited to the above icons and text. $ lspci | ...
2
votes
1answer
1k views

Multiple Screens cause flickering (only when laptop is charging)

I'm using i3 window manager (shouldn't be relevant) on 3.6.2-1-ARCH with XServer (ver 1.13.0), xrandr (ver 1.3.5) and RandR (ver 1.3). Graphics card is Intel HD 4000. I have set up my screen using ...
1
vote
1answer
231 views

Two monitors and a single X-Screen: How to change “full screen” center and resolution

I have two monitors, both 1600 x 900, running as a single x-screen. When I try to run a full screen application (a game for example), the application full screens as though my two monitors were one ...
7
votes
1answer
186 views

How to use /etc/fbtab in OpenBSD to secure X11?

OpenBSD's man page afterboot(8) suggests: "You might wish to tighten up security more by editing /etc/fbtab as when installing X." How might one do this? What lines when added to /etc/fbtab would ...
1
vote
1answer
286 views

fluxbox keyboard switch german, greek (modern) and polytonic greek

Where can i find a list of keyboard-layout codes to switch between german, greek (modern) and polytonic greek in fluxbox menu? vim ~/.fluxbox/menu [begin] (fluxbox) [include] ...
3
votes
3answers
412 views

No Audio Output with X11

I have a queer issue with my Arch-Linux System. I am unable to get any Sound Output when playing audio, AFTER starting X Server. The issue is not with Volume Controls or Sound Card Drivers because, ...
4
votes
1answer
303 views

How can I set left alt + right shift keyboard layout switch in xubuntu?

From what I found from xkeyboard-config man page there is no such combination, which is very upset. Is there any workaround for that? Because I want layout change to be as in winXP.
3
votes
2answers
4k views

Accessing Linux server from Windows machine in graphical mode via SSH

I need to access one of my school Linux servers from my home computer that runs Windows. And I need to access graphical desktop (X server) on them remotely, not only shell. The problem includes 3 ...
4
votes
2answers
2k views

Fastest remote X from Windows

I have the following set up: |-----------------| |---------------| | Windows | LAN (or VPN) | Linux box | | (local machine) | ...
4
votes
1answer
210 views

detect if key is pressed from script

I would like to detect if a key is being pressed when running a script. I have the following script: #!/bin/bash sleep 0.5 xte 'str sometext' I run this script using a shortcut to paste "sometext" ...
3
votes
2answers
599 views

How to prevent a Qt/GTK app (Calibre) from using colors defined in .Xresources?

I have colors defined in .Xresources. They look lovely on urxvt, and utterly ghastly on Calibre. Calibre does not appear to have any way to disable or override those colors, so is there any way I can ...
2
votes
1answer
7k views

Xlib: No protocol specified [duplicate]

Possible Duplicate: Open a window on a remote X display (why “Cannot open display”)? I have a script that when run independently works that needs X11 Display variables to be ...
4
votes
2answers
308 views

How Do I Shrink the Visible Area of the X11 Root Window?

I would like to make the visible workspace of my desktop fill up less space than the entire monitor while keeping image fidelity constant. Presumably, any solution would leave a black border around ...
3
votes
2answers
1k views

What is keeping Wayland from overthrowing X in Linux?

Everyone agrees that Wayland is better than X11 for your usual desktop. Why is X then used by every major distro then? Is it bugs, little compability from apps (is that even an issue?) or something ...
1
vote
1answer
97 views

Is there a way to execute a command when a user logs off from X?

I am trying to execute two commands one on logon and one on logoff. For the log on one, I put my script into /etc/X11/xinit/xinitrc.d and this works. I'd like it to be system-wide so I can use any ...
3
votes
0answers
348 views

Use Emulated Scrollwheel Instead of Real One X11

So I've got this Kensington trackball that ships with a pretty horrible scrollwheel/touchring doohicky, and only two physical buttons. I'd like to disable the touchscroll entirely, enable 3 button ...
1
vote
2answers
3k views

X11: Client not authorized when calling with sudo [duplicate]

Possible Duplicate: Can I launch a graphical program on another user's desktop as root? I'm trying to do the equivalent of: $ sudo -u myuser DISPLAY=:1 xterm However, it give me the ...
22
votes
5answers
15k views

How to get keycodes for xmodmap?

I'm trying to use xmodmap to remap Alt / Super keys on Dell L100 keyboard, and have trouble getting the keycodes. For instance, using xev doesn't give me keycode for Alt FocusOut event, serial 36, ...
2
votes
0answers
889 views

How to setup 3 screens with 2 ATI GPU Debian Squeeze

I want to use 3 screens on my computers with 2 graphics card ATI Radeon HD 5450. I've installed fglrx ATI drivers. Here is the result of lspci : root@dev1:~# lspci | grep VGA 01:00.0 VGA compatible ...
3
votes
2answers
959 views

Change scroll lines when use mouse wheels?

Is there a way to control how many lines will scroll, when you use the mouse wheels? It seems to be 5 lines by default, anyway to change this value? I didn't find it in xfce4-settings-manager
2
votes
0answers
91 views

xkb config has pointless entry?

I dumped the current xkb configuration with xkbcomp :0 keyboard.xkb and found that, for example, ISO_Level3_Shift has two 'interpret' entries: interpret ISO_Level3_Shift+AnyOf(all) { ...
4
votes
1answer
2k views

How can I set the position that terminal opens at?

I'd like Terminal to open near the bottom of my screen. Is there a way to set the default size and position? I'm using Linux Mint 13, Cinnamon.
5
votes
1answer
249 views

How to dump the icon of a running X program?

Is there a way to get the icon of a running X program? When you switch between windows, you could see the icon of it, e.g through xfwm4.
3
votes
2answers
153 views

X11 on server without forwarding

I'm running a java application on my ubuntu server which refuses to open if it cannot open a window (the content of the windows is of no interest for me). Since the server is not connected to any ...
4
votes
1answer
161 views

Set window manager's meta key depending on connected Xserver

Situation A linux server is running an xdm supporting XDMCP, it is connected to from various different Linux and OS X boxes using XDMCP via an X -query <server> command. Once the user is ...
7
votes
1answer
506 views

Linux in a mostly Windows dev environment

A little background: our shop has traditionally run a Microsoft software stack but now we're planning to use embedded Linux and I find myself in the role of Columbus: conquer the new world. I mention ...
2
votes
1answer
171 views

Start window in specific size and location, is there a general tool can do that?

Is there a general program, that start my GUI program, and able to specify the size and location of this program ? Not just X programs, but also other GUI libs.
1
vote
3answers
4k views

Chinese input in Linux Mint 13

I started to use Linux Mint 13 MATE a few days ago. What frustrates me most is that I can't found anywhere to change my input language. In Windows, it is easy, just Ctrl+Shift. How can I configure the ...
17
votes
4answers
15k views

What is “.xsession” for?

What is the purpose of the .xsession file in the home folder? What should be put in there? The desktop environments don't use that file and for the X startup from the tty there is .xinitrc.
2
votes
0answers
137 views

xkbcomp doesn't update keymap for running xterms?

When I use setxkbmap all programs use the new layout but when I change the keyboard layout with xkbcomp to my own only newly started programs are affected (using xkbcomp with a file with a default ...