Tag Info

New answers tagged

0

i ever play in fullscreen , i make my scripts for change the resolution & refresh rate of my monitor , because i use the wrong rate , in my monitor appear a floating box with a msg "Entrace not adm" . for fix that i use something like the follow This its with "Ace Of Spades" #!/bin/bash # Resolution Fix echo `xrandr --current | grep current | awk ...


0

Tangent, but this might really interest you: http://www.nongnu.org/stumpwm/ https://www.youtube.com/watch?v=tKt_rVO960Q


1

Can you run X11 in emacs? Yes, but not how you describe. If you start in text only mode sudo init 3 and then log in and start emacs, you can start x by running the startx command through emacs. M-! startx Doing so will start the X environment on a separate screen/terminal that you will have to shift to using Ctrl-Alt-# where # is the in order to see. ...


0

xmodmap and xev You could use xmodmap to dump or modify keyboard mapping: xmodmap -pke | grep space keycode 65 = space NoSymbol space You could use xev to watch about keyboard events xev You could try to modify you keyboard mapping: xmodmap -e 'keycode 65 = space space space space' This may work, but warn! Playing with xmodmap could place you ...


3

For questions 1 and 2, I will take a wild guess that they are accessing the root window's drawable through RootWindow (3), then using XGetImage (3) to copy the root window's pixel data somewhere to process it further (e.g. dumping it to a PNG). These man pages may help: XOpenDisplay (3), DefaultScreen (3), RootWindow (3), XGetImage (3) See also this ...


0

Please run chkconfig --list | grep mouse It should show something like this: mouse 0:off 1:off 2:off 3:off 4:off 5:off 6:off If it does, it indicates that the service will not run on startup. You can make it run on startup using : chkconfig --add mouse OR chkconfig --level 35 mouse on Give it a try.


0

The init.d scripts aren't run on login, so it's normal that it doesn't run if you just log out and in. They only run on boot, or when changing runlevels. /etc/init.d is the right place if the settings are global (shared amongst all users) and need only be run on boot. For simple tasks you may instead want to add the commands to /etc/rc.local, which doesn't ...


0

This video explains how to solve the error step by step. If you don't wan't to watch then follow the text below: The No protocol specified error indicates that "the user doesn't know how to launch a GUI application" and the "user doesn't have permissions to launch a GUI application". In the video the GUI application is dbca. The key piece of this video ...


0

As @michas pointed out, you need a tiling WM. I'd look at awesome. My take on this question is that many simple tiling WMs are a bit too simple and awesome strikes a good balance here: on the one hand it's fully scriptable, on the other hand, the stock configuration script is just okay for day-to-day work.


1

You are looking for the Matchbox window manager, it has one full screen window open at once (as you specify) and opens any new ones over it until you close them. It is very light weight and ideal for things like PDAs or set top media boxes. The only exception is is allows small popups like the file chooser to open not full screen as they may not be ...


3

I think the i3 window manager might be something for you: The i3 tiling window manager is a nice modern tiling window manager for GNU/Linux and BSD operating systems. It supports tiling, stacking, tabs, virtual desktops, and multiple monitors. You can do almost everything from the keyboard, or mix up keyboard and mouse. Most linux distributions have it ...


5

Sounds like you are looking for some tiling window manager. Have a look at the feature comparison. Which one is the best is really a matter of taste. They mainly differ in the kind of possible configuration, like turning off window decoration and default window mode.


3

evilwm is one of the most minimalistic window manager


5

This option was added to address xterm flickering (on some setups) when resizing/scrolling back/long outputs. The initial patch was posted by a user on Archlinux forums. It was later integrated into xterm source code.


-1

See this previous question and this one. The first answer to the second question above discusses a way of asking X to write a list of current key grabs to the X log: xdotool key XF86LogGrabInfo although when I tried it, it didn't display some of the grabs I expected to see. xev is also a useful tool for diagnosing X event problems. It brings up a ...


0

xbindkeys can register for hot-keys in and execute whatever you want. This way you can have a key which activates your program and then do as you wish. The thing to launch would be a terminal emulator with zsh running your script that directly does read -k. This way you don’t have to launch the terminal yourself. Please note that you can instruct the ...


1

You most likely haven't started the cygwin/X server, or maybe not even installed it, you should do that first, so that there is an actual X Display to connect to. cygwin normally only handles commandline programs and the idle development invorment for Python is X based Alternatively you can use the Windows idle environment for development and run the ...


1

I "detect" three issues in your question: Why do xev and showkey report different keycodes for a key? Why does xev not show Alt being pressed properly? How to swap Alt and Win? Regarding the first question: these days, where the keyboard "driver" in X does not really drive the hardware, it could just pass-through the keycodes from the kernel to the X ...


5

Have a look at /etc/X11/Xsession.d/50x11-common_determine-startup: if [ -z "$STARTUP" ]; then if [ -x /usr/bin/x-session-manager ]; then STARTUP=x-session-manager elif [ -x /usr/bin/x-window-manager ]; then STARTUP=x-window-manager elif [ -x /usr/bin/x-terminal-emulator ]; then STARTUP=x-terminal-emulator fi fi So basically, this tries ...


-2

A trick is to open a terminal and to run: cat Then try your shorcuts. If you see key in term then shortcut is free to use, if nothing happen, or an external event happen there is a very high probability that the shortcut isn't free... But I still don't know global solution to globally manage shortcuts...


0

In the pas i try install and configure X11 and desktop manager but i don't get any result, well, finally i get a good behavior of touchscreen, i use the next command: xinput set-int-prop 11 "Evdev Axis Calibration" 32 440 3600 480 3500 i discover the values by accident, when i write 300 in xmin instead 30(usually see values under 200), and so i make ...


3

I have worked out this problem by the following steps. I am on Ubuntu 14.04. Download your specific Nviadia drivers from here. The driver name looks like NVIDIA-LINUX-X86_64-340.58.run. # service lightdm stop, Ctrl+Alt+F1 switch to tty1, excute the command to stop X server with root priviledge. # bash NVIDIA-LINUX-X86_64-340.58.run ...


2

The ttf2afm utility, now available in TeXlive, extracts AFM from a TrueType font (as the name suggests). AFM stands for Adobe Font Metrics, and is a text format which is simple to parse. Here's a sample: StartCharMetrics 10538 C -1 ; WX 600 ; N .notdef ; B 34 -71 566 750 ; C -1 ; WX 0 ; N .null ; B 130 -9 237 676 ; C -1 ; WX 333 ; N CR ; B 130 -9 237 676 ; ...


0

There is no competition between applications of keybindings. Either your X server catches something (in most cases your Desktop) and reactions on a key (like pressing the volume up key) or the key is passed to the current application (i.e. the one that has focus). This is different from what I remember from Windows where you could have hot-keys that went to ...


2

-config file Specifies the name of an XKB configuration file which describes the keyboard to be used. I think this dates back from the time of xf86cfg. When starting X on multiple VTs one could have different keyboard configurations with per-server keyboard config files: <Xroot>/lib/X11/xkb/X0-config.keyboard ...


6

Thank @Gilles, I finally found the answer. So, the problem was in the different input methods used by a different applications. I am almost didn't programmed with GUI, so it is hard to say more what that could mean, but at least the problem in the different Compose files — the one used by X is in the /usr/share/X11/locale/<your-locale>/Compose and ...


0

If you just want to display X (client) applications you should consider the Xming X server for windows. If you want to be able to use the RHEL desktop you can either use a remote desktop based protocol. You will have to enable this on your server (and that is assuming it has the Desktop packages installed). Another approach is installing a virtual machine ...


1

Here's how it used to be done, with XKB. More recent versions of Chrome OS now use Ash. Create a directories called ~/.xkb/keymap, ~/.xkb/types and ~/.xkb/symbols. Create a file ~/.xkb/types/chromebook containing the following definition: xkb_types "chromebook" { virtual_modifiers Alt; type "ARROW" { modifiers = ...


1

It's not the answer I'm looking for (which is why I'm not going to accept it as the answer), but it works. I was trying Alt+F1 to get to the tty, but it turns out in my configuration (Debian+i3wm) I had to use Ctrl+Alt+F1 to get to tty1. Solution found here. This is relevant to at least Debian/Ubuntu. -- Press Ctrl+Alt+F1 to get to tty1. Login. Use the ...


0

You should log out, and then log in to a terminal-only environment. But if you don't care about preserving the current state of the GUI environment you can instantly kill X windows with Ctrl-Alt-Backspace. I'm not very familiar with the modern Red Hat environment, but I assume that when X is killed it's restarted and you are then presented with the graphical ...


0

See xmodmap. Something like xmodmap -e "remove mod1 = Alt_R"


2

No need to "invoke" the PrtSrn button, if you install ImageMagick then you can do the following in your script: import -window root output.png If you want a particular window you can try to find its id first with wmctrl (the following captures the Firefox window displaying this post, the grep-ed string has to be unique.): id=$(wmctrl -l | grep -F 'bash ...


1

Mate uses themes and mouse pointers of gnome2 (gtk2 actualy), so a good place to start looking is gnome-look.org , here you can find many themes for the mouse pointer to install, and it works, I use mate myselve. After downloading the theme file (do not extract it!) go to the appearance screen of gnome/mate, there you have a install button, use it to ...


3

What matters is actually not what console you run the command from, but that you tell the program to connect to the still-existing X display. To do this, set the DISPLAY variable and restart Compiz from a standard terminal. Depending on your distribution and configuration, you may need to set XAUTHORITY as well. Switch to tty1 and type: $ export DISPLAY=:0 ...


1

I guess you're using KDE. You need to use the kdesu command instead of the sudo for programs that are using X.


0

in my log files i see everything is okay up to Initializing built-in extension GLX but then it is followed by The XKEYBOARD keymap compiler (xkbcomp) reports: > Internal error: Could not resolve keysym XF86AudioMicMute Errors from xkbcomp are not fatal to the X server may be the key issue is with xkbcomp?


1

first run $ xrandr this will give output like this: Screen 0: minimum 320 x 200, current 5120 x 1080, maximum 8192 x 8192 HDMI1 connected 2560x1080+2560+0 (normal left inverted right x axis y axis) 677mm x 290mm 1920x1080 60.00* 1680x1050 59.88 1600x900 59.98 ... HDMI2 connected 2560x1080+0+0 (normal left inverted right x ...


1

Installation will not result in memory or cpu overhead. Installation only will use up disc space. However if you ever find yourself at the display connected to the machine and are forced to use a commandline/text only version of a utility for which task you are more familiar with a graphical tool, you can always startup X and "waste" the cpu/mem for that ...


0

For the server tasks, you don't need X server at all. All services work fine without GUI. For remote connection, you can use ssh. Actually, usage of CLI ususally gives you more facilities to manage server than GUI does.


1

You can find the compose table used by your system at the same place programs do: it's a text file. To locate it, you can run something like strace xterm -e true 2>&1 | grep -i compose For example, the relevant lines on Debian wheezy are: open("/home/gilles/.XCompose", O_RDONLY) = -1 ENOENT (No such file or directory) ...


2

Neither the window manager nor the X server know about widgets/controls, so there is no standard way that a tool could query the system for the details of another application's widgets. An application mostly sends the X server things like pixmaps, polygon drawing operations and text drawing operations. However there are tools that can attach to a process ...



Top 50 recent answers are included