Ubuntu Tips

UBUNTU TIPS 12.10 and higher

X11 startup options can be set in /etc/X11/xorg.conf

List hardware via terminal
  • sudo lshw (complete list)
  • sudo lshw -class video (only video settings)
ACER 7715Z No display with ubuntu 10.12 or older:
  •  in /etc/default type: via terminal: sudo nano grub
  •  change next 2 lines in the grub file
  •  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
  •  GRUB_CMDLINE_LINUX="acpi_osi=Linux"
  •  And save and quit the file.
  •  now run sudo update-grub (now you can turn on display by using <FN>+<LCURSOR> )
Booting text only no GUI:
  •  in /etc/default type: via terminal: sudo nano grub
  • change to GRUB_CMDLINE_LINUX_DEFAULT="text"
  • now run sudo update-grub
ex installing cheese (webcam)  sudo apt-get install cheese
 
Shortcut for starting terminal : <CTL><ALT><T>
 
safe reboot hold <ALT><SYSREQ> and type <R><E><i><S><U><B>
 
when single program hangs press <ALT><F2> and type xkill <ENTER>
 
Backup using rsync:
  • rsync -aq /* /media/dirk/SG1TB/backup/ --exclude={/dev/*,/media/*,/proc/*,/sys/*,/run/*}
  • --progress --stats
Remove all files/folders recursively in current folder without prompting!!!
  • rm -rf *  (be careful!)
Show all connected IP's in local network:
  • sudo arp-scan --interface=wlan0 192.168.2.1/24
Boot From USB LIVE STICK 12.10 for ACER7715Z to solve black screen problem.
  •  at start of booting press <SHIFT> for boot options
  • Then <F6> for extra options and add acpi_osi=Linux at end of kernel options
  •  (after -- Type here)

Geen opmerkingen:

Een reactie posten