Hot answers tagged

3

You're referring to the text at the end of the line. That is written by screen to indicate which pseudo-terminal connection it is using, as well as which window-number screen has assigned to it. Comments in the code indicate what it does: /* * Construct a utmp entry for window wi. * the hostname field reflects what we know about the user (display) * ...


2

xdotool(1) can do that. To rename whatever window you click next: xdotool selectwindow set_window --name "new name" To find a window based on its current name, then rename it: xdotool search --name "old name" set_window --name "new name" However, this won't last for any application (such as Firefox) that keeps updating its own name. The way to ...


2

Firefox is using some specialities of X so it does not work over X11 forwarding out-of-the box. You need to play a bit with switches to firefox binary. Basically specifying X11 display. This works for me: firefox --no-remote --no-xshm or similar.


2

It sounds as if you want pseudocolor, which isn't well supported anymore. A thread on Xorg a few years ago pointed out a problem with the feature, but concluded by suggesting that it could work with a vesa driver. Alternatively, a discussion on a Raspberry Pi forum suggested using Xephyr (a nested X server) in which one could run a client. Further reading: ...


1

man xdotool says it can get/set the viewport: get_desktop_viewport [--shell] Report the current viewport's position. If --shell is given, the output is friendly to shell eval. set_desktop_viewport x y some windowmangers only obey requests that align to workspace boundaries


1

I've done in with python and uinput: #!/bin/env python2 import serial import time import uinput ser = serial.Serial('/dev/ttyACM0', 9600) events = (uinput.BTN_JOYSTICK, uinput.ABS_X + (0, 255, 0, 0)) device = uinput.Device(events) device.emit(uinput.ABS_X, 128, syn=False) while True: value = ser.readline() valuecorrect = value.strip() ...


1

I would suggest using the international (intl) variant of the us layout instead of some complex workaround. You can temporarily (until logout) set it with setxkbmap us -variant intl To set it permanently on Debian, you have to modify /etc/default/keyboard and set the variables XKBLAYOUT and XKBVARIANT accordingly: XKBLAYOUT="us" XKBVARIANT="intl" You ...


1

You should be able to get this to run by putting in house.sh: export DISPLAY=:0.0 and running xhost + on your interface. Once that works you can restrict who is allowed to connect (using xhost again), but once things stop working you'll know how permissive you have to be. This will not work if you are not logged in. I there run firefox from a python ...



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