Results 1 to 7 of 7

Thread: Suspend wake on keyboard

Threaded View

  1. #1
    Join Date
    Oct 2005
    Beans
    220

    Arrow My ramblings, tips and suggestions

    Though ive been using Ubuntu for a few years I tend to forget details on setting up the system, so anything useful that im bound to forget ive been posting here Most of the suggestions below come from other threads, so when I remeber ive added credit or a link back to the original topic. Some of this also covers my Ubuntu 8.04LTS dedicated remote server.

    Disable login screen coming out of suspend:

    Terminal:

    Code:
    gconf-editor
    Go to "/apps/gnome-power-manager/lock", and disable the suspend checkbox.


    USB Keyboard wake from suspend:

    (http://ubuntuforums.org/showthread.php?t=711747&page=2)

    Type into the terminal to list the devices:

    Code:
    cat /proc/acpi/wakeup
    You will probably find your USBX is disabled, to enable it create a file in /etc/init.d by going:

    Code:
    sudo nano /etc/init.d/wake.sh
    Then add the following to the new file (making sure you update the USB number):

    Code:
    sudo -s
    echo USB4 > /proc/acpi/wakeup
    CHMOD the file to excute:

    Code:
    sudo chmod +x /etc/init.d/wake.sh
    Lastly tell Ubuntu to excute on boot:

    Code:
    sudo update-rc.d wake.sh defaults

    Disable 60 second shutdown/reboot/logout warning:


    Terminal:

    Code:
    gconf-editor
    Go to, and enable "/apps/indicator-session/suppress_logout_restart_shutdown".


    Monitor log files:

    Code:
    tail --help
    example (displays last 10 lines):

    Code:
    tail -f /var/log/auth.log

    Add user:

    Code:
    useradd
    Will create a new user without a password or associated home directory.


    Code:
    adduser
    Recommended, will allow you create a password straight away, setup a home directory and enter some user details should you wish to.


    Change file or directory owner and permissions:

    Code:
    chmod --help
    Example (group:user, normally the group is the same as the user):

    Code:
    chmod usergroup:newuser file.sh
    Code:
    chmod 777 file.sh
    RAID array still being listed during install

    If you've recently disabled your RAID array you will need to reformat the drives before attemptting to install. Gpart fails to list the drives correctly. The below command gives mixed results.

    Code:
    sudo dmraid -r -E
    Best solution ive found is to reformat the drives before running the Live CD.

    Delay the startup of programs:

    In your "Startup Applications" GUI you can define programs to load on boot, sometimes you may want to delay or stagger the launch of the apps to help system load.

    Todo this on your command add the following:

    Code:
    sh -c "sleep 10 && skype &"
    Code:
    sh -c "sleep 20 && empathy &"
    Rabbitvcs:

    An easy to use SVN client similar to Tortoise integrated into Nautilus.

    http://rabbitvcs.org


    Wacom Graphics tablets:

    Easy to use driver install script:

    http://ubuntuforums.org/showthread.php?t=1327867

    After installing the drivers, then download "wacom-tools" through the package manager, open a terminal and run:

    Code:
    wacomcpl
    Force install a deb package:

    Code:
    sudo dpkg --force-overwrite -i <filename>

    SSH connection using the terminal:

    Man SSH.

    Code:
    ssh -l username -p port 192.168.0.1
    Last edited by Gorlist; April 14th, 2010 at 07:51 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •