Table of Contents generated with DocToc
- linux problems
- ssd/hdd
- antergos (arch)
- Nvidia
- shell
- Ubuntu greeter
- tweaks
- fonts
- virtualbox shared folder
- Linux Soft
/
- 25gbswap
- same as RAM/home
- all space- ~15% reserved space for ssd
sudo rm /var/lib/pacman/db.lck
to fix pacman lib error
ctrl+h
- show hidden filesyaourt -Syua
- fully upgrade the system
sudo pacman -S bumblebee mesa xf86-video-intel nvidia lib32-nvidia-utils lib32-virtualgl lib32-mesa-libgl nvidia-settings bbswitch
sudo gpasswd -a $USER bumblebee
- (replace user with your name)optirun --status
- checkoptirun pwd
- run
sudo nvidia-settings
add panel widget, or go to nvidia settings- save a x-server profile to home folder
- reboot
-
usual driver install:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo add-apt-repository ppa:xorg-edgers/ppa -y
xorg-edgers ppasudo apt-get update
sudo apt-get install nvidia-XXX (352, only major)
- check latest here- or
sudo apt-get install nvidia-current
- for latest (352)
In the "device" section of your xorg.conf:
Option "RegistryDwords" "PowerMizerEnable=0x1; PowerMizerDefaultAC=0x1"
- compiz-nvidia-refresh-test
- download their latest
.run
file sudo apt-get install build-essential
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install linux-source
sudo sh ati-driver-installer-9-3-x86.x86_64.run
-
sudo apt-get clean
- clean clears out the local repository of retrieved package files. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. When APT is used as a dselect(1) method, clean is run automatically. Those who do not use dselect will likely want to run apt-get clean from time to time to free up disk space. -
sudo apt-get autoclean
- Like clean, autoclean clears out the local repository of retrieved package files. The difference is that it only removes package files that can no longer be downloaded, and are largely useless. This allows a cache to be maintained over a long period without it growing out of control. The configuration option APT::Clean-Installed will prevent installed packages from being erased if it is set to off. -
sudo apt-get autoremove
- is used to remove packages that were automatically installed to satisfy dependencies for some package and that are no more needed. -
sudo dmidecode --type 0
hardware info
run: sudo gedit /etc/lightdm/lightdm.conf
add:
[SeatDefaults]
greeter-session=unity-greeter
allow-guest=false
play-ready-sound=false
- http://ubuntu-tweak.com/ - cleaner here
- CompizConfig Settings Manager - install in app store
- fix for suspend/hibernate on old ubuntu/videocard
place new and local fonts to user /home/.fonts/
- for global ttf fonts
sudo mkdir /usr/share/fonts/truetype/newfonts
sudo apt-get install ttf-mscorefonts-installer
cd && wget http://webupd8.googlecode.com/files/install-google-fonts
chmod +x install-google-fonts
./install-google-fonts
sudo fc-cache -fv
sudo dpkg-reconfigure fontconfig
fc-list
sudo adduser xxxxxxx vboxsf
- and share it on windows for all with full access