Showing posts with label Xubuntu. Show all posts
Showing posts with label Xubuntu. Show all posts

Tuesday, 6 March 2012

Autologin - Xubuntu

To enable autologin in Xubuntu:
  • Open the file /etc/lightdm/lightdm.conf
            $ sudo leafpad /etc/lightdm/lightdm.conf
  • Modify the value of the string "autologin-user" with the required user name
        Eg: autologin-user=MyLoginName
  • Save the file
  • Reboot/ restart

To enable autologin in Xubuntu10.04:
  • Open the file /etc/gdm/custom.conf
            $ sudo mousepad /etc/gdm/custom.conf 
  • Add these fields:

    TimedLoginEnable=false
    AutomaticLoginEnable=true
    TimedLogin=user_You_want_to_login
    AutomaticLogin=user_You_want_to_login
    TimedLoginDelay=30
  • Save the file
  • Reboot/ restart

Note:
  • Make sure the user is created before modifying the file.
  • You can use any text editor instead of leafpad/mousepad.

Sunday, 23 October 2011

Setting proxy for Software center and Synaptic package manger (Xubuntu)

The proxy for APT can be set in Xubuntu by following these steps:
  • Open a Terminal
  • Open the file /etc/apt/apt.conf in an editor by entering the command:
    $ sudo leafpad /etc/apt/apt.conf &
    Note:
    The file may not exist initially.
  • Include the following lines in the file:

    Acquire::http::proxy "http://<proxy>:<port>/";
    Acquire::ftp::proxy "ftp://<proxy>:<port>/";
    Acquire::https::proxy "https://<proxy>:<port>/";


    Eg:
    Acquire::http::proxy "http://192.10.12.13:8080/";
  • Save the file
  • Reboot/ restart
Note:
  • If you need authentication include "<username>:<password>@" before the proxyserver name.
    Eg: Acquire::http::proxy "http://<username>:<password>@<proxy>:<port>/";
    Acquire::http::proxy "name:password@http://192.10.12.13:8080/";
  • The proxy for Synaptic package manager can also be set from its menu. 
  • Leafpad is a text editor. You can use any text editor instead of it.
  • Do not forget the ';' at the end of each line. 
  • The '&' at the end of the command opens the file as a new process. If it is omitted the Terminal window will be locked until the file is closed.

Friday, 21 October 2011

Add/change keyboard shortcuts (Xubuntu)

  • How to:
    1. Open the Settings Manager (Applications->Settings->Xfce4 Settings Manager)
    2. Search for Keyboard.
    3. Select the [Application Shortcuts] tab.
    4. The existing keyboard shortcuts can be found here. They can be changed.
    5. Click the add button to add your own.
  • My favourites: I have customized the shortcuts to act just like in Windows:
    • Hide all windows and set focus to Desktop: (Windows + d)
    • To open the file explorer: You can add a new command to open any folder:
              thunar folder_path

              Eg: thunar /home/myname/d-drive
      Note: thunar is the default file browser in Xubuntu