UbuntuFAQ

How to install Steam

sudo apt-get update && sudo apt-get install steam && steam

How to use run Virtual Machines using Virt-Manager

sudo apt-get install qemu-kvm libvirt-bin virt-manager

Good tool to capture and edit screenshots

apt-get install shutter

How to Display all Startup items

Open a terminal

cd /etc/xdg/autostart/

sudo sed --in-place 's/NoDisplay=true/NoDisplay=false/g' *.desktop

gnome-session-properties

# Now in Startup Application all services will be shown

# By default the services will not show, this will allow them to displayed

How to create a file with all installed package names

sudo dpkg --get-selections | sed "s/.*deinstall//" | sed "s/install$//g" > mypackagelist.txt

How to List all Ubuntu install packages by size

dpkg-query -W --showformat='${Installed-Size}\t${Package}\n' | sort -nr | less

How to open GUI Tools as root user

First install the packages if needed

sudo apt-get install gksu

Then open the application as root user

EX) gksu gedit

How to use Laptop Mode Tools to achieve better battery life

gksudo gedit /etc/laptop-mode/laptop-mode.conf

Look at the config file and make sure the following is set to a 1

ENABLE_LAPTOP_MODE_ON_BATTERY = 1

How to start/check to see if its currently running

sudo laptop_mode

How to update boot parameters

gksudo gedit /mnt/boot/grub/grub.cfg

How to open Ubuntu System Settings from terminal

gnome-control-center

To view ram usage:

free -m

How to free up memory by clearing cached memory

To clear cached memory:

sync

sudo su

echo 3 > /proc/sys/vm/drop_caches

Map Windows Network shares

smb://servername/c$

Run command to view memory

free -m

Folder where Applications shortcuts live

/usr/share/applications

Folder where executable live

/usr/bin/

Leave the terminal as a user, and enter the terminal as root

sudo su

How to open Ubuntu System Settings from terminal

gnome-control-center

How to view disk usage

df -hl

Unity freezes on Ubuntu startup using an Nvidia 8800 GTX

Enter terminal, ALT+F2, or recovery mode

sudo apt-get install nvidia-current

Example changing file permissions

chmod 750 file.txt

No Installer in Remastersys backup

#sudo apt-get install ubiquity-frontend-gtk

Then once completed

Just run ubiquity to install

#ubiquity

Remove all Ubuntu Default Games

sudo apt-get purge aisleriot gnome-sudoku mahjongg ace-of-penguins gnomine gbrainy

How to add Virt-Manager with libvirt

sudo apt-get install qemu-kvm libvirt-bin virt-manager

Difference between upgrade and dist-upgrade

Using upgrade keeps to the rule: under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. If that's important to you, use apt-get upgrade. If you want things to "just work", you probably want apt-get dist-upgrade to ensure dependencies are resolved.

upgrade upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first so that apt-get knows that new versions of packages are available. dist-upgrade dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. So, dist-upgrade command may remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.

How to install Unity tweak tool on Ubuntu

sudo apt-get install unity-tweak-tool

How to install spotify

Open the following file as root, etc/apt/sourceslist

Add the following line to the file

deb http://repository.spotify.com stable non-free

Add Spotify Repo Key

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59

Install Packages

sudo apt-get update && sudo apt-get install spotify-client

How to develop Ubuntu Applications using Quickly

Disable System Crash Reports

open the following file as root- /etc/default/apport

In the last line of this file, you will see the enabled=1

Change it to enabled=0

Save file and close

Reboot, or enter the following command to stop the service

sudo service apport stop

Running Ubuntu 13.10 Daily Build, want to upgrade to latest daily.

$ sudo apt-get update

$ sudo apt-get dist-upgrade

How to upgrade the an older version of Ubuntu to the current

$ sudo apt-get do-release-upgrade -d

How to view and force change CPU frequencies manual

sudo apt-get install indicator-cpufreq

indicator-cpufreq

How to add most current version of Unity Tweak Tool

sudo add-apt-repository ppa:tualatrix/ppa

sudo apt-get update

sudo apt-get install ubuntu-tweak

Screenshots using Gnome Disk Utility

How to use Wii Remote as mouse on Hall LinuxOnce bluetooth applet is open and running the script below can be run to do the rest Download Script

How to view motherboard temperature readings in Ubuntu

How to use ETTERCAP and DRIFTNET on Hall Linux

sudo apt-get install ettercap sudo apt-get install driftnet sudo ettercap -T -Q -M arp -i eth0 // // Open another Terminal ( In Second terminal ) sudo driftnet -i eth0

How to get xbindkeys to work on Hall Linux