x11

Can't find x11 terminal in gnuplot Octave on Mac OS

匿名 (未验证) 提交于 2019-12-03 02:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am running Mac OS Mavericks 10.9.4. Installed Octave 3.8.1 via Homebrew which came with gnuplot 4.6 Have XQuartz 2.7.6 installed. I restarted my computer after all was done. In order to plot in octave-cli everyone states that I should just 'set terminal x11' BUT I don't even have x11 listed when I run 'set terminal' in gnuplot Of course octave-cli will complain that my terminal is unknown. octave:1> x=1; octave:2> plot(x); gnuplot> set terminal aqua enhanced title "Figure 1" size 560 420 font "*,6" dashlength 1 ^ line 0: unknown or

PuTTY X11 proxy: Unsupported Authorisation Protocol [closed]

喜夏-厌秋 提交于 2019-12-03 01:59:51
I get the following error if I login as root; if I login as admin user, then x11 starts with no problems. Ubuntu 14.04 Xming server 2.0 running on Windows 8.1 PuTTY X11 proxy: Unsupported authorisation protocol java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82) at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)

Opening a fullscreen OpenGL window

青春壹個敷衍的年華 提交于 2019-12-03 01:32:46
I am tring to open an OpenGL full screen window using GLFW on linux red-hat. I have a desktop that spans two monitors with total resolution of 3840*1080. I have two problems: 1. The window is opened just on one monitor with maximum window width of 1920 (the width of a single monitor). 2. The maximum height of the window is 1003 (which I think is the height of the screen minus the height of the task bar and the top bar). This is the code I use to open the window: if (glfwInit() == GL_FALSE) std::cout<< "Unable to initialize GLFW\n"; glfwOpenWindowHint(GLFW_STEREO, GL_FALSE); if (glfwOpenWindow

X,X11,Xorg,XServer,XClient,Xlib

匿名 (未验证) 提交于 2019-12-03 00:33:02
1.X 就是 X Window System ,1984年由MIT研发,它的设计哲学之一是:提供机制,而非策略。 主要特点:1,Server/Client网络模型。2,通过扩展使它保持”与时俱进”。 Linux内核是没有GUI图形显示的,X Window的目标就是提供GUI的显示。 为啥要命名为X呢,因为英文字母X就在W(indow)后面,戏称为下一版的新视窗之意。XFree86 『 X + Free software + x86硬件 』 @在 Unix Like 上面的图形使用者介面 (GUI) 被称为 X 或 X11; @X11 是一个『软体』而不是一个作业系统; @X11 是利用网络架构来进行图形界面的执行与绘制; @较著名的 X 版本为 X11R6 这一版,目前大部分的 X 都是这一版演化出来的 (包括 X11R7); @现在大部分的 distribution 使用的 X 都是由 Xorg 基金会所提供的 X11 软体; @X11 使用的是 MIT 授权,为类似 GPL 的开放原始码授权方式。 ”X Window System’,通常简称为X11或只是X。 X.org 项目旨在创建和维护一个自由、可再发行的并且开源的 X11。它是一个开放源码,基于X11桌面所需要的基本软件。 2. X11 XWindow在推出之后快速演化,在1987年时候,其核心协议已经是第11版本了

How does X11 clipboard handle multiple data formats?

懵懂的女人 提交于 2019-12-02 20:07:06
It probably happened to you as well - sometimes when you copy a text from some web page into your rich-text e-mail draft in your favorite webmail client, you dislike the fact that the pasted piece has a different font/size/weight.. it somehow remembers the style (often images, when selected). How is it than that if you paste the same into your favorite text editor like Vim, there's no HTML, just the plain text? It seems that clipboard maintains the selected data in various formats. How can one access data in any one of those formats (programmatically or with some utility)? How does the X11

GLEW_APPLE_GLX Causes Linking Error When Building GLEW

这一生的挚爱 提交于 2019-12-02 20:01:00
问题 I grepped inside GLEW while trying to solve my other question, concerning missing __glewX* symbols for Mac, and found that they are guarded by GLEW_APPLE_GLX . When I attempt to build GLEW from source with that flag defined, I get undefined symbols (stuff like _glXGetClientString ). Linking against X11 ( -lX11 ) doesn't help. Question: assuming defining GLEW_APPLE_GLX does indeed make sense, how can I fix the build? 回答1: When building an application that uses the X Server (XQuartz) instead of

how to add the missing RANDR extension

你。 提交于 2019-12-02 18:52:42
I have setup the xvfb server on my headless server and when I m running the DISPLAY=:99 firefox I am getting this exception missing RANDR extension Many of them said to disable some xinerna from the xorg.conf file but this file is not getting created in my case. So I am searching for how to add the missing RANDR extension. First off, Xvfb doesn't read configuration from xorg.conf. Xvfb is a variant of the KDrive X servers and like all members of that family gets its configuration from the command line. It is true that XRandR and Xinerama are mutually exclusive, but in the case of Xvfb there's

Linux X11 - Global Keyboard Hook

送分小仙女□ 提交于 2019-12-02 16:38:54
Is it possible (or how) to create a mechanism (in Linux X11, C++) that works like a global hook in windows (SetWindowsHookEx())? I would like to be able to catch the key event but with the possibility of further propagation . I'm trying to use a XGrabKey solution (like in xbindkeys ) but when I set capturing the key event, this event is "consumed". Requirements for this mechanism are the following: Global / system-wide - catching events regardless of the window that has focus The possibility of "catch-hold" and "catch-pass through" It must be quite fast Sample code looks like this: bool

Best setup for Linux development from Windows? [closed]

岁酱吖の 提交于 2019-12-02 16:17:46
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 snappy (noticeably worse than Eclipse running natively on my much slower Windows workstation), I can't resize some dialog boxes, and I haven't figured out a good way to reconfigure my fonts. Is there a better setup available? Edit: This is for C/C++ development.

X11 Problems when using CImg header in XCode on Mac OSX 10.11.6

跟風遠走 提交于 2019-12-02 12:31:25
问题 I added X11 to my header search paths, library search paths, and I linked the binary to the X11 library in the build settings and build phases in XCode however I am still getting the errors shown in the picture below. I am 99.999% Sure the problem is X11 because when I disable the display capabilities the warnings aren't there. Any ideas on what I can do next? 回答1: I think you have your build settings a little incorrect. Here is a very simple program to get you started - you can choose to