New answers tagged

0

follow these instructions try; 1. cleanup login as user to console pacman -Q | grep box sudo pacman -R all your current virtualbox stuff 2. reinstall sudo pacman -Syy sudo pacman -S virtualbox-guest-utils select virtualbox-host-modules-arch then the most important bit; sudo systemctl enable vboxservice sudo reboot login then startx still ...


0

In Nix mesa is patched to search drivers in /run/opengl-driver directory. Install mesa-noglu: $ nix-env -i mesa-noglu and create symlink $ sudo ln -s /nix/store/*-mesa-noglu-*-drivers /run/opengl-driver


0

xmonad is non-reparenting and this causes issues with some applications. Moreover, the problem happens because the applications do not know that xmonad is a non-reparenting window manager. A common solution to this is to set xmonad's window manager name to LG3D. lg3d is an ancient window manager written in java, but, since it has been a huge hype when its ...


0

You can make the installation on a machine with a GUI and transfer the files. But If you want to run the installer on the GUI-less server, you can do it. You will need to install all the libraries required by the installation program. This does not mean installing a GUI, just whatever libraries are required, some of which might be about GUI elements. Run ...


2

The interface between the terminal and the application sends bytes, not keys. Printable characters are interpreted as the byte sequence corresponding to the character encoding of the terminal. Function keys are encoded as escape sequences. There are common conventions for those escape sequences but they aren't completely standardized. For more general ...


3

A few keys are used as modifiers (shift, control are the most used). Terminal emulators receive a series of X events, which you can see with xev. The terminal emulator combines some of those events such as shifta using X libraries to get A. For other cases such as function-keys and cursor-keys (called "special keys") there is no predefined transformation ...


0

Remapping an individual device with xinput and .xsessionrc I had a similar issue where I wanted to reverse scrolling on one device. The ID didn't work for me because it changed with each start up. Using the device name did work. Type the following line in terminal to find the name of the device: xinput list Then use a text editor to edit or write ....


0

I was messing around and accidentally enabled the Synchronize contents of the clipboard and the selection option in KDE Plasma's Clipboard application. Un-checking this solved a similar problem for me.


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) * ...


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() ...


0

When trying to forward to XQuartz on macOS, I fixed the issue by running the ssh command (ssh -Y in my case) from the XQuartz terminal (opened by right-clicking the XQuartz icon in the dock and clicking Applications > Terminal).


0

It is working after replacing * * * * * /home/anmol/display-notif.sh with * * * * * sudo -u anmol /home/anmol/display-notif.sh


0

I've got the patch for firegl_public.c working on the latest kernel: --- ../firegl_public.c 2016-06-04 23:00:11.938899758 -0400 +++ firegl_public.c 2016-06-06 21:30:45.942122307 -0400 @@ -136,6 +136,9 @@ #include <asm/processor.h> #include <asm/tlbflush.h> // for flush_tlb_page #include <asm/cpufeature.h> +#if LINUX_VERSION_CODE >= ...


0

In the xkb_symbols section of your custom layout, add the following: key <your key> { repeat= no, type= "ONE_LEVEL", symbols[Group1]= [ Hyper_L ], actions[group1]=[ SetMods(modifiers=Shift+Control) ] }; You can replace <your key> by <LWIN> or whatever you want. For the choice of the symbol Hyper_L, it is the more convenient that ...


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

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 ...


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

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 ...



Top 50 recent answers are included