I have a dual monitor setup and each has its own x screen in Ubuntu 9.04. Everything works as it should in screen 0. When I open an application in screen 1 (using any menu, e.g., Applications, Places, etc.), it opens in screen 0 instead of screen 1.
So to get an application to open in screen 1, I hit - and type the program name. This al...
Sorry, not really programming question, but I am not sure where else I could find some help.
After a recent update (Xorg was updated among other things), GTK apps stopped running in my kde4. I have a Debian unstable, updated around 22 April. When I try to run them I get the following error:
ga@grzes:~$ iceweasel
The program 'firefox-...
I installed all the necessary packages for running GUI programs in Cygwin.
Right now, I have to do these things to launch an XWindow program:
1) /bin/startxwin.sh
2) It starts a separate window (the X Window?)
2) In that X Window, ssh -X user@server (this is the remote box where I want to run that box's programs)
3) Then in that X Wi...
I installed the newest X11.
I run the following command unsuccessfully after sourcing ~/.profile
$exec /usr/X11/lib/X11/xinit/xinitrc
I get a message
Screen is terminating
and I do not see any evidence of XMonad.
I run the command the second time, and I get
zsh: permission denied: /usr/X11/lib/X11/xinit/xinitrc
Process completed...
I would really like to be able to run our test suite on Xvfb so that swing windows don't keep popping up in the way of my work. Unfortunately I cannot seem to find a way to get the java runtime to use the display specified in the DISPLAY environment variable. I suppose this is because the Mac JDK is hardwired to use the (non-X-based) Mac...
My X11 opens and closes repeatedly. I can see only the following at my Dock
Application not responding
How can you find logFiles which tell me the application that opens/closes X11 continuously?
...
I am displaying an on-screen keyboard overlay, and ideally I would like to display something resembling the user's actual keyboard, which I do under X with XkbGetGeometry, much like xkbprint. I was wondering if there was something comparable on OS X and Windows.
...
OpenSolaris doesn't seem to support the Intel 82Q35 chipset. This is translated into slow Xorg whose performance degrades with time and is not usable at all even doing a ls on a fullscreen gnome console terminal.
I notice that a huge amount of memory (>400Mb) is used by Xorg process and gnome (>100Mb per gnome app). Once I switched to v...
linux only:
i want to open two windows for my application, one on the main screen of the computer, and one on a virtual X11 sessions to be accessed by remote desktop only. Can some X11 expert tell me how this is done?
...
The XInput specification defines three use values for the XDeviceInfo structure. They are:
IsXKeyboard
IsXPointer
IsXExtensionDevice
These roughly equate to (if I'm reading the XInput spec correctly):
Device is being used for core keyboard events
Device is being used for core pointer events
Device is available as an extension devic...
When generating a png image file in Mathematica on a linux box running X, there's no problem. Doing the same on a linux machine without X but instead Xvfb the png generates fine but the colors are all screwed up. We tried changing the pixel depth from the default of 8, to no avail. Any other tweaks that might make Xvfb mimic normal X ...
What's the best setup for developing Linux apps from a Windows workstation? Right now I'm connected via SSH to our Linux development server and am using Eclipse, forwarded over SSH via PuTTY, to the public domain version of Xming running on my Windows workstation. It works, but it's not great; Eclipse's response times are far from snap...
Hi, looking at the declaration for XDrawString from X11, it is
int XDrawString(Display *display, Drawable d, GC gc,
int x, int y, char *string, int length);
How come the 6th argument is type "char *" instead of "const char *"? Does drawing the string require modifying it? I've seen lots of examples where people pass in...
If not why not? It seems as though reading, writing, and appending to it would be far more flexible provided multi instance and multi-user issues are accounted for.
...
I would like to know how can I ask X11 which windows has focus. And if for any reason my own application (that may be visible or not) got the focus I want be able to let the former windows to get focus again.
For instance, my application is running with many others (e.g. firefox, gvim, nautilus,...)
Suppose that at first firefox has fo...
I want to monitor all the open windows under X11. Currently, I'm doing this as follows:
Initially walking the whole tree by recursively calling XQueryTree from the root window
Listening for substructure changes on the whole desktop: XSelectInput( display, root_window, SubstructureNotifyMask | PropertyChangeMask )
Handling all MapNo...
Programming is at the heart about automating tasks on a computer.
Presumably those tasks would normally be done manually by a human.
Humans use the computer through the keyboard, mouse, and interaction with the console or the window manager. But very few languages have built in functions that provide an interface to these basic computin...
I have two xterms and several gnome-terminal windows active on my X display.
However, xlsclients only shows one gnome-terminal client.
$ xlsclients
luban.local /usr/X11/bin/xterm
ohm gnome-terminal
luban.local xterm
How can I get a list of the gnome-terminal sessions attached to my display?
...
I'm spawning some processes running in their own gnome-terminal and
don't want to show the scrollbar. Is there something like xterm +sb
to turn the scrollbar off for that particular window?
...
Given an X client window ID, is there a way to raise that window from the command line?
$ xlsclients -a
Window 0x3000001:
Machine: ohm
Name: Terminal
Icon Name: foo
Command: foo
Instance/Class: foo/bar
$ xraise -id 0x3000001 <-- this is what I would like to do
...