Archive

Archive for the ‘Ubuntu’ Category

NVIDIA screen settings

Settings are saved in /etc/X11/xorg.conf and can be changed with

sudo nvidia-settings

The configuration file for nvidia-settings is ~/.nvidia-settings-rc and can be updated with

sudo nvidia-settings -r, --rewrite

With Intrepid Ibex and above the screen resulotion is not saved in xorg.conf but rather in the file ~/.config/monitors.xml.

Advertisements
Categories: Linux, Ubuntu

Name of graphic card

lspci | grep -i vga

Categories: Linux, Shell, Ubuntu

Assign a root password

To be able to log in as root directly, you must assign a root password. This can be done with:

sudo passwd root

Afterwards, you can use

su
Categories: Linux, Shell, Ubuntu

Delete trash of user and root

root:

sudo rm -r /root/.local/share/Trash/*

user:

sudo rm -r ~/.local/share/Trash/*

or

sudo rm -r /home/username/.local/share/Trash/*

Categories: Linux, Shell, Ubuntu

Java installieren/auswählen

Installation:

sudo apt-get install sun-java6-bin sun-java6-jdk sun-java6-jre

bzw.

sudo apt-get install openjdk-6-jre

Auswahl der Java Version:

sudo update-alternatives --config java

Überprüfung der Version

java -version
Categories: Linux, Ubuntu