

- Xscreensaver ubuntu 14.04 uninstall install#
- Xscreensaver ubuntu 14.04 uninstall portable#
- Xscreensaver ubuntu 14.04 uninstall plus#
- Xscreensaver ubuntu 14.04 uninstall windows#
#!/bin/bashĮcho "adding " $variable_name " to environment variables: " $variable_valueĮcho "export "$variable_name"="$variable_value>~/.bashrcĮcho $variable_name"="$variable_value>~/. The solution is to go into Synaptic and completely remove the Gnome screen saver. You just have to set the name and value of your environment variable. I've written a simple script for these procedures to do all those work. Xubuntu 14.04 is an LTS (Long-Term Support) release and will be supported for 3 years. But you can apply changes in bashrc and profile by these commands: $ source ~/.bashrcīut for /etc/environment you have no choice but restarting (as far as I know) A Simple Solution The Xubuntu team is pleased to announce the immediate release of Xubuntu 14.04. Normally you have to restart your computer to apply these changes.
Xscreensaver ubuntu 14.04 uninstall plus#
If a plus sign (+) is appended to the package name (with no intervening space), the identified package will be installed instead of removed.
Xscreensaver ubuntu 14.04 uninstall install#
Note that in this file you do not have to write export command remove pkg(s) Identical to install except that packages are removed instead of installed. Add the following command at the end of this file: DISPLAY=0 If you want your environment variable in every window or application (not just terminal window) you have to edit this file. Same as bashrc you have to put the mentioned command line at the end of this file to have your environment variable in every login of your OS.
Xscreensaver ubuntu 14.04 uninstall windows#
Therefore, if you wish to have a permanent environment variable in all of your terminal windows you have to add the following line at the end of this file: export DISPLAY=0 Brunno Vodola Martins at 17:46 I opened a Terminal Window in Ubuntu and enter export MYVAR1. When you open any terminal window this file will be run. I just pasted the content above in a blank file, named it insertvar.sh, then chmod -x insertvar.sh, then bash insertvar.sh. It doesn't matter what user the program runs as combine with su if you like.You have to edit three files to set a permanent environment variable as follow: Login into it, run xfce4-session, check the xterm window for errors. Once you have both pieces of information, put the chosen display in the DISPLAY environment variable, the chosen X authority cookie file in the XAUTHORITY environment variable, and you're set. 1 Answer Sorted by: 0 Create a fail-safe Xorg session which only starts xterm. Now type sudo rm -rf /opt/lampp Check your opt directory. Stop the XAMPP server by typing sudo /opt/lampp/lampp stop in the Terminal (you can open the terminal by pressing Ctrl+Alt+t). If you have trouble finding the cookie file, see Open a window on a remote X display (why "Cannot open display")? Follow the following steps: XAMPP gets itself installed in opt/lampp directory by default. Another way is to find a process running on that X server and grab its XAUTHORITY environment variable. The most accurate way to find out is to find out the pid of the X process and look for the argument to the -auth option.
Xscreensaver ubuntu 14.04 uninstall portable#
I can't think of a portable way to find out the actual X cookie file. That works on many systems, but not all it depends on the display manager and how it's set up, and in particular Gdm (the default on Ubuntu) did not use the default location last I looked. It does not involve any commands so a newbie or GUI-friendly user can perform this task easily. You have to look for the user's cookie file, which is ~/.Xauthority by default (all you need is the location of the cookie file, you don't need to extract the cookie from it). Method 1: Uninstalling TeamViewer from Ubuntu using GUI If you prefer using GUI (Graphical User Interface) over Terminal, you can use this method to remove TeamViewer from your system with some clicks.

The following command should list the local displays that the user is logged on (one per line) on most unices: who | awk -v user="$target_user" '$1 = user & $2 ~ "^:" 'įinding the authorization cookie is a little harder. To launch a graphical program on a user's desktop, you need to find two things: what display the user's desktop is on (the address) and what authorization cookie to use (the password).
