Accessing the X server requires two things:
The $DISPLAY variable pointing to the correct display (usually :0)
Proper authentication information
The authentication information can be explicitly specified via $XAUTHORITY, and defaults to ~/.Xauthority otherwise.
If $DISPLAY and $XAUTHORITY is set for your user, sudo will set them for the new shell, too, ...
Short of muting the sound entirely or disconnecting your headphones, there is no system-wide setting for events which will be followed by all applications. In your case especially, since you’re using Nautilus on a KDE system, you’ll run into issues since Nautilus won’t follow your desktop’s configured behaviour.
Nautilus uses GNOME’s settings. If you have ...
(I am looking into the relation of GNOME and X. I'd like to share some of my understandings. I will present it in a logical way as much as I can.)
1. What is GUI composed of?
Below is an illustration of the basic components of a GUI.
The key component is the display server. There are several display servers available. Such as:
X11 (mostly for *nix)
I had the same question as you but for a normal user. Let's say I want to start firefox using the user account foo. I'm logged in as bar:
[bar@localhost ~]$ sudo -u foo -H firefox
Sadly that command failed with the same error as in the question (i.e. no protocol specified & cannot open display)
My solution was to simply add the user foo to the list of ...
You could either try using user:live as username:password combination or adding live-config to the boot options (as suggested here: http://forums.debian.net/viewtopic.php?f=10&t=102937 ) which should log you in automatically.
The following has been copied verbatim from an answer that @Luke posted on Ask Ubuntu. I am posting it as a community wiki answer so the information can be on this site as well.
KDE has not built this into its control center yet, but you can use xinput from the command line. First, run xinput list to find the device number of your mouse:
$ xinput list
At least from Meld 3.16.4 support different color schemes.
See Meld > Preferences:
(possibly this change was introduced in earlier versions)
It is also possible to force a specific theme for Meld by CLI: GTK_THEME=Adwaita:dark meld
This (and much much more) can be done in advanced settings of KDE's window manager KWin. You can get to it if you right click on window titlebar and select Advanced > Special Application Settings (or Special Window Settings if you would like to apply only to specific window and not all windows of this app). Then on the Size and Position tab you can force it ...
First, LIBGL_ALWAYS_INDIRECT is a flag related to the Mesa 3D client-side OpenGL implementation (libGL.so). It won't work with binary drivers from other vendors (e.g. NVIDIA).
Second, to answer your question directly, last I looked at the Mesa code the flag works like this:
Pre ~2008 when Mesa was working with an indirect X server (e.g. you did ssh -X or ...
The default action to show present windows is
This will zoom out and show all open windows.
If you go to
System settings - Desktop behavior - Screen edges
You can set
present windows (all desktops/current desktop/current application)
On one of the 8 screen edge actions, that way you just push your mouse cursor to ...
Upgrading to Qt 5.12 is fine, but does not seem to fix the issue straight away. In Konsole profile settings under the advanced tab, change "Line Spacing" to 1. This has fixed the issue with horizontal lines for me.
This information is documented in the okular documentation.
As alxs mentioned, a method supported for a while now is to save the PDF document as an archive, which creates a .okular file. Saving the annotations directly in the PDF is quite recent, and from the documentation this option is only available from version 0.15. With such a recent version, using ...
Power management -> advanced settings -> Lock screen on resume.
EDIT: In new Plasma vesrions, it's in
System settings -> Desktop Behaviour -> Screen locking.
In the systemsettings screen, there is an useful dialong in which you can search for "lock", it'll highlight the relevant icons.
I know your pain, this has been annoying me for months now.
1) The only way to fix the desktop I've found is brute force, I made a shortcut to do this and run it every time I resume from standby:
killall plasmashell; kstart plasmashell
2) I can't properly answer this but I'm posting all the info I've got so I can link this from the bug report page. The ...
The XDG_RUNTIME_DIR is one of the standard directories, defined by the
XDG Base Directory Specification (freedesktop.org)
$XDG_RUNTIME_DIR defines the base directory relative to which user-specific non-essential runtime files and other file objects (such as sockets, named pipes, ...) should be stored. The directory MUST be owned by the user, and he MUST ...
Since plasma5's modularization the config files are not saved in a single folder anymore. You will find different files in ~/.config (typically ending with .rc) and some other parts in ~/.local (e.g. plasma themes).
The plasmoids are saved in "~/.config/plasma-org.kde.plasma.desktop-appletsrc". It also saves the folder view desktop and the kickoff launcher....
Im not entirely sure what goes on behind the scenes in KDE but it appears that chrome was not getting the url as a parameter, it was getting the fetched html instead (and only the html, no other resources).
So based on this answer for getting web based email as your default in KDE, on a hunch, I added $s to the end of the default Web Browser component, and ...
EDIT: I just got tapping working on my Debian AlpsPS/2 touichpad with synclient:
I am not an expert on this but found an old synaptics.conf file that I was using on a different laptop:
Identifier "touchpad catchall"
You can either
Specify the display to be used on the command line, by adding -display :0.0
Set up the environment variable in root's login script (one of .bashrc, .profile, .bash_profile ...).
You can check whether it's set,
$ env |grep DISPLAY
To open up your display for all users from all hosts as your normal ...