Все вопросы: [x11]

129 вопросов

похожие теги: x11-forwarding
2
голосов
2ответов
2428 просмотров

Windows API function equivalents (SetCursorPos, GetCursorPos, mouse_event, keybd_event ...) for Linux (X11)?

I was wondering if there were equivalents of the above mentioned functions for Linux (X11) - I can't seem to find them.

0
голосов
3ответов
717 просмотров

Problem with R rendering base Graphics in CentOS 4

Hi we're trying to get R with the standard gui loaded onto CentOS 4, and under certain users R will not render certain graphics. When logged in as root the graphics render, but under the restricted user they don't. The graphics don't render with the error: > testdata <- rbind(c(1,2,3,4,5...

2
голосов
4ответов
3701 просмотров

Running a GTK+ application on a Linux machine, from Windows

I have Installed GTK on a Linux machine. I am connecting To Linux Machine from a Telnet Session to compile the GTK programs From A Windows Machine. I am using Cygwin on Windows Machine. but i am not able to see GUI output of my GTK program on my Windows Machine. When i run program from my termi...

3
голосов
5ответов
4969 просмотров

to create X window(X11) in java swing and to get its id

Can anyone help me in creating an X11 window in java swing using eclipse?And also the function to get the x11 id also.What are the basic requirement for creating an X11 window in java.

7
голосов
4ответов
10063 просмотров

X11 unable to maximize applications when no window manager is used

We have a Linux based system that does not use a Window manager. When we start certain applications (for instance Firefox) from a terminal window (e.g. Firefox &) we find that no matter what we do, we can't get the application to display full screen. If we run xrandr, it shows the default r...

0
голосов
2ответов
425 просмотров

Creating an "overlay" onto a window

Is it possible to create a window that acts as an overlay on top of another window, say, an icon that you can display in the window's title bar or status bar? Assume for the purposes of this question that: The window is a foreign window (not owned by my application) The overlay is 16x16 pixels...

13
голосов
4ответов
17799 просмотров

Which package in ubuntu contains the header file X11.h?

Which package in ubuntu contains the header file X11.h?

1
голосов
2ответов
830 просмотров

Paste text to active window on Linux

I want to write an application which pastes some text to the active window on some keystroke. How can I do this with Python or C++? I want to write an app which will work like a daemon and on some global keystroke paste some text to the current active application (text editor, browser, and jabbe...

0
голосов
2ответов
340 просмотров

OpenGL / X-Window program hangs during Window creation

I've got a C/C++ app using the GLFW Library on a netbook-like device running Ubuntu 8.10. As far as I understand the source the GLFW lib, it creates its window using calls to the X-Window library. We do not use any desktop on the machine but login to a tty and start a X-server in the backgroun...

5
голосов
1ответов
1562 просмотров

will linux emit event when monitor connect with D-sub connector?

I want to write a software, when monitor connect with D-sub connector, this software will pop-up, and ask user to mirror monitor or extend monitor. but i doesn't find any event emit when d-sub connect. on Windows vista, if you connect a monitor, vista can pop-up a software to same thing. does a...

15
голосов
1ответов
2859 просмотров

Keep QPixmap copy of screen contents using X11, XDamage, XRender, and other tricks

I'm attempting to solve what I thought would be a very simple problem. I want to keep a QPixmap updated with the entire screen contents. You can get such a pixmap by doing this: QDesktopWidget *w = QApplication::desktop(); if (w) { QRect r = w->screenGeometry(); QPixmap p = QPixmap::g...

5
голосов
1ответов
1784 просмотров

Help: Maximum number of clients reached - Segmentation fault

I want to simulate many key press events. I found a solution by using XTestFakeKeyEvent, but when I simulate more than 210 times my program raises a "Maximum number of clients reached" segmentation fault. I don't known how to solve this problem. My code here: #include <X11/Xlib.h> #includ...

5
голосов
4ответов
3369 просмотров

(Ruby || Python) window manager

I want to make a window manager in either of these languages (Preferably ruby). I honestly have no idea where to start except that I will need some kind of X module to load. So if anyone has a clue it would be great if you could point me in the right direction. Thanks

7
голосов
5ответов
16210 просмотров

(C++) MessageBox for Linux like in MS Windows

I need to implement a simple graphical message box for a Linux (SDL) application similar to the Windows MessageBox in C++ (gcc/g++ 4.4.0). All it needs to do is to display a caption, a message and an ok or close button and to return to the calling function when that button is clicked. SDL just u...

4
голосов
4ответов
3215 просмотров

Self contained GTK application when there is no X windows environment

I am using a very stripped down version of Linux, I want to create a self contained GTK application on a system that has no X window environment installed. I want to use GTK GUI classes and widgets and not create a server version where GUI is disabled. The only thing you can expect is a working...

1
голосов
6ответов
9832 просмотров

Vim copy-paste to system buffer not behaving as expected

I'm having a headache trying to figure out why vim isn't copying to a system buffer. Here's my workflow: vim asd y1y :q vim qwe p On computerA and computerB, this works as I want it to: the line yanked from the file asd is put into the file qwe. On computerC, this doesn't work. All systems...

2
голосов
2ответов
8168 просмотров

Running X11 Server on MacOS X - and connecting from a remote machine

Question now asked on SU. I have a Windows XP laptop, and I can run the Cygwin X11 server on there (script startxwin.bat, IIRC). I also use a remote machine - it happens to be a Solaris 10 SPARC machine, about 1800 miles away - that can be called xclient.subdom2.example.com for the purposes of ...

6
голосов
2ответов
2256 просмотров

How to tell if a full-screen application is running?

Is it possible in python to tell if a full screen application on linux is running? I have a feeling it might be possible using Xlib but I haven't found a way. EDIT: By full screen I mean the WHOLE screen nothing else but the application, such as a full-screen game.

3
голосов
1ответов
2778 просмотров

What dummy X server should I use with openoffice on debian?

I need to run openoffice in batch mode to turn .doc files into pdf, but openoffice won't start because it needs an X server. My linux box doesn't have one. Is there some dummy blackhole X server around I can use? I'm using debian etch.

2
голосов
3ответов
366 просмотров

Emacs 23 fails to send Unicode combining diacritics through XWin -clipboard

Emacs 23 is running on a remote Linux box. It displays its frame on this local Windows box, using Cygwin's X server. I used to be able to copy-paste any text from Emacs to any Windows application. Since after I upgraded from release 22 to 23, combining diacritics don't come through any more. ...

1
голосов
3ответов
1294 просмотров

X-server for Windows CE

I'm trying to run an app from a remote X session (Ubuntu, 9.04) on a handheld device powered by Windows Mobile. I want to do this by running an X-server of some description on the mobile device and using SSH/PocketPuTTY or similar for a tunnel, as you'd do it on a standard PC/Mac. Can anyone poi...

1
голосов
2ответов
1364 просмотров

Create GLX context in specific region of a window

I would like to create an OpenGL context with GLX inside a window. However, I do not want it to span over the whole window region. Instead, it should only cover a subregion. For example, GLUT provides a function for this behaviour. Also major toolkits like GTK+ or QT provide GL widgets, which ar...

5
голосов
1ответов
1480 просмотров

X11: waiting until a window is visible?

I'm running X across a slow network connection. How can I tell when a window has become visible? I need to wait so that I can perform another operation on the visible window. xterm -T foo & # how to flush the display, or wait until the window is visible? # polling the visibility would be a...

4
голосов
1ответов
2722 просмотров

How do I map an X11 keysym to a Unicode character?

X11 maps keycodes to keysyms and then maps keysyms to Unicode. What's a good way to retrieve keysym to Unicode mappings in a program?

1
голосов
1ответов
2213 просмотров

How do I enumerate all available keyboard layouts in X.org?

I have a device that outputs a limited number of keycodes (for example a keyboard-wedge barcode scanner) and I want to know what those keycodes will type on all possible keyboard layouts. I'd like to write an X11 client that sets the keyboard layout to each installed keymap and then records the U...

16
голосов
4ответов
5459 просмотров

Does Mac X11 have the XTEST extension?

So I moved some X programs down to the mac, and I'm getting Error: XTEST extension unavailable on '(null)'. from xdotool. Does OS X X11 come with XTEST? If not, is there a way to add it?

1
голосов
1ответов
250 просмотров

How to get the inside dimensions of a decorated window in XWindows?

If I create a full screen window where m_winw and m_winh is the full screen size, it seems to create a window for me where the outside dimension is the full screen and the inside is smaller based on the "decoration" (window border) size. Is there a way to query the window to get it's inside width...

7
голосов
2ответов
17838 просмотров

Simulate keypress in a Linux C console application

Is there any way to simulate a keypress in Linux using C? In my specific situation, I'm on Ubuntu 9.04 and need a simple app that invokes a press on the "pause" button when launched. That would get an iframe in Firefox to refresh using Javascript.

3
голосов
7ответов
7916 просмотров

Help getting Conky to work with LXDE & PCManFM

As some of you might be aware, there's a bug with either Conky or PCManFM (the desktop manager aspect of it) that makes the Conky window disappear in one of these situations: Setting "own_window_type override" in .conkyrc (the usual configuration for Nautilus) flat out doesn't show the Conky wi...

7
голосов
3ответов
4368 просмотров

Is it possible to port an X11 server to the iPhone?

I'm looking for an X11 server on the iPhone to be able to use the NX protocol. There are RDP clients, Citrix clients, VNC clients, but no X11 server... Do you think it is possible to port (or create ?) an X11 server (by example kdrive modified for Cocoa) for the iPhone? Does it have enough CPU-p...