Nov 15, 2014

Tricks After Installing Ubuntu

  • Enable root user:
sudo gedit /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf

greeter-show-manual-login=true

sudo passwd
  • Remove guest user:
 sudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
allow-guest=false
  • Set your environment variables in:
/etc/environment
  •  To make .sh files excutable:
    Open the folder contains the file, from Edit menu  -> preferences : behavior tab : 
    check "run executable text files when they are opened"
  • To create desktop shortcuts:
sudo apt-get install --no-install-recommends gnome-panel
gnome-desktop-item-edit ~/Desktop/ --create-new
  • Create wifi hotspot:
prepare:
the hostapd version in Ubuntu 14.04 is buggy and doesn't work properly. To get AP-Hotspot to work with hostapd in Ubuntu 14.04, you need to downgrade hostapd and use apt to hold the package so it's not upgraded


cd /tmp wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb sudo dpkg -i hostapd*.deb sudo apt-mark hold hostapd
installing AP-Hotspot:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install ap-hotspot
start  hotspot:
sudo ap-hotspot start
  • Enable hibernate option:
sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

Fill it with this:

[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sessions
ResultActive=yes
then restart
  • Add refresh to right click menu
    sudo add-apt-repository ppa:nae-team/ppa
    sudo apt-get update

    sudo apt-get install nautilus-refresh
    then logout and login again

  • Enable minimize windows from launcher icon
    gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-minimize-window true
    

No comments:

Post a Comment