practice / blog

For personal blogging
1 stars 0 forks source link

Ubuntu Desktop Basic Config #38

Open practice opened 7 years ago

practice commented 7 years ago

Install nvidia driver on ubuntu

Works on Ubuntu 16.10

$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt update

Search nvidia website which version is recent. Then make sure that driver version is in the repo example:

apt search nvidia-375

If it is there

sudo apt-get install nvidia-375
practice commented 7 years ago

Installing Java 8 on Ubuntu

Add webupd8team Java PPA repository

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer

Webupd8 ppa repository also provides a package to set environment variables, Install this package using following command.

$ sudo apt-get install oracle-java8-set-default
practice commented 7 years ago

How to uninstall LibreOffice

Type the following in terminal to remove libreoffice:

sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove
practice commented 7 years ago

Change the system folder name back to English

$ LANG=C xdg-user-dirs-update --force
practice commented 7 years ago

How to Mount EXFAT partition on Ubuntu 16.04 LTS

To mount exfat partition on Ubuntu, simply install the necessary packages:

$ sudo apt-get install exfat-fuse exfat-utils

If you need to mount it from the command line, you could do

$ sudo mkdir /media/exfat
$ sudo mount -t exfat /dev/sdxx /media/exfat

where /dev/sdxx could be /dev/sda1 or /dev/sda2, or so on.

If you are not sure whether the exfat partition you are looking for is /dev/sda1 or /dev/sda2, then you could also run

$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
practice commented 7 years ago

Trackpad horizontal scroll

https://askubuntu.com/questions/264091/enable-horizontal-scrolling-in-ubuntu

Neither dconf editor nor gsettings worked for me on Lubuntu 14.04, but this one did:

$ synclient HorizEdgeScroll=1
practice commented 7 years ago

Trackpad natural scroll

synclient에서 scroll delta 값을 마이너스 값으로 주면 된다.

$ synclient # 값을 확인해보고
$ synclient VertScrollDelta=-157
$ synclient HorizScrollDelta=-157