Hot answers tagged

3

There is a way to add users to a given display and remove users from a given display, but not to just swap. You could do this by having each user run xauth to add the other user to their display, and then using xauth to remove themselves from the original screen. That seems like a lot of work, since it involves copying authorization data from one account ...


2

Use Devilspie2 to set the window type to "Utility" for selective applications. This window type will not be affected by "Opacity of inactive windows" in Xfce environment. Preliminary setup Install Devilspie2 from the repository (available in Debian and Ubuntu repositories), then create a new configuration file at $HOME/.config/devilspie2 with the following ...


2

You're referring to xorg/lib/libXt/Resource.c #define MAXRESOURCES 400 used later in the same file: } else if (num_resources >= MAXRESOURCES) { XtAppWarningMsg(XtWidgetToApplicationContext(widget), "invalidResourceCount","getResources",XtCXtToolkitError, "too many resources", (String *)NULL, (Cardinal *)NULL); return NULL; ...


2

The question sounds a bit contradictory since you're citing X tools but ask for a solution that "ideally should work without X". About your 4th finding: xinput will give you the correspondence $ xinput list-props 11 Device 'AT Translated Set 2 keyboard': Device Enabled (145): 1 Coordinate Transformation Matrix (147): 1.000000, 0.000000, 0.000000, ...


2

I think you use, Vino. Vino is the GNOME desktop sharing server. This (vino) is default package in most of the distribution along with gnome.


2

Since you've already enabled backports, I'd suggest trying the latest backported kernel, 4.5.1-1~bpo8+1 as of this writing. The kernel's Intel GPU driver has been vastly improved since 3.16, and should be much more stable.


2

Well, for one thing, you are running three separate external programs when one would be enough. You could do all the parsing and arithmetic in awk for example: xrandr --output LVDS-1 --brightness $(xrandr --prop --verbose | awk "/Brightness:/{print \$2 $1 0.1; exit}") The exit in the awk script ensures that it doesn't need to parse the whole output ...


1

If code is already working but running too slowly, the next step is to start profiling. When shell scripting, you can use time (try help time to see its help page) to see how long each command takes to run. I think bc should be very fast; sed against one line should also be very fast; and grep should be pretty quick, too, so I decided to try profiling the ...


1

This is not possible. The X server knows which display number it's handling and it doesn't have an interface to change that. (Ok, technically it's possible by running a debugger on the X server process and issuing the right commands. The wrong commands will crash the X server if you're lucky. This is not likely to succeed.) Whatever problem you're trying ...



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