Tag Info

Hot answers tagged

4

Try to add a last line kill %1 In interactive shells at least you can kill the pid of the background job this way. Otherwise look if the process can write a pid file or use killall, if you're sure, there's only one process of this wm


3

FocusOut event, serial 37, synthetic NO, window 0x4c00001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 37, synthetic NO, window 0x4c00001, mode NotifyUngrab, detail NotifyAncestor What happened when you pressed A with Shift held is a passive grab: there's an X client which has exclusive control over this key combination, and ...


2

XChat can run commands in existing instances, and the command you want is "gui show" $ xchat -e -c "gui show"


1

kill -TERM -$$ (kill current process group) should also do it in a race condition-safe manner. This or kill % should be preferred to killing by pid or by name.


1

Using ImageMagick, based on rlogo_icon.h. #!/bin/sh echo 'unsigned long rlogo_icon[] = {' identify -format '%w, %h,' $1 convert $1 -color-matrix '0 0 1 0, 0 1 0 0, 1 0 0 0, 0 0 0 1' RGBA:- | hexdump -v -e '1/4 "0x%08x,\n"' echo '};' Usage: ./script.sh rlogo_icon.png > rlogo_icon.h I'm not sure this -color-matrix is always correct. I placed bytes in ...


1

You'll run your things with ssh -X (assuming your laptop runs a Linux with some X11 desktop) and you would only install the packages of client applications, e.g. sudo aptitude install gedit gnome-terminal emacs24 xterm I forgot the package manager on Gentoo, so use pacman instead of aptitude this will pull the required client libraries (e.g. GTK, Xlib, ...


1

2 shots: 1. Perhaps login as root is denied (that's the default setting on many systems and it is pretty reasonable). Did you tried with a different user? 2. Did you try sshing with ssh -Y?


1

If you access X11 over UNIX sockets then it should "just work". Apparently UNIX domain sockets are not segregated by network namespace. Since you are getting an error, then I guess you are using TCP, not UNIX sockets. To connect to X11 with TCP, you will have to proceed the same way you would in order to access any other network service across network ...


1

Running an strace on the remote system where xauth is failing will show you what's tripping up xauth. For example $ strace xauth list stat("/home/sam/.Xauthority-c", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 open("/home/sam/.Xauthority-c", O_WRONLY|O_CREAT|O_EXCL, 0600) = -1 EEXIST (File exists) rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 ...


1

Only scaling wont help. I have yoga 2 pro with resolution 3200x1800 and external FHD monitor. In my case i use xrandr panning option: xrandr --output eDP1 --auto --output HDMI1 --auto --panning 3840x2160+3200+0 --scale 2x2 --right-of eDP1 Basically if your hidpi monitor is AxB pixels and your regular monitor is CxD and you are scaling by [ExF], the ...



Only top voted, non community-wiki answers of a minimum length are eligible