Disable screensaver in Ubuntu

#To disable the screensaver:
gconftool-2 -s /apps/gnome-screensaver/idle_activation_enabled --type=bool false

#To disable monitor sleeping:
gconftool-2 -s /apps/gnome-power-manager/ac_sleep_display --type=int 0
(via: http://ubuntuforums.org/showthread.php?t=428967)
Permalink
Posted in: |

UC-232A USB 2 Serial adapter with Ubuntu

The Aten UC-232A is a serial interface adapter for RS232 to USB. Since there are no hints regarding the chip on neither the plug nor the package, googling unveiled that it is about a `PL-2303'. The appropriate kernel module can be configured under USB-to-Serial -> Generic Driver -> Prolific-2303 and leads to a module named pl2303.ko

Permalink
Posted in: |

Suspend2

Installing Software Suspend 2 for Ubuntu breezy, Kernel 2.6.12
Download the appropriate versions of Software Suspend 2 Kernel patches and the hibernate scripts from http://www.suspend2.net/downloads/all/.

Applying the kernel patches:
~# cd /usr/src/linux
~# /path/to/software-suspend-version-for-kernel-version/apply
An `All Happy' response from the script confirms the successful application of the patches.

Configuring the new options available:
# Softwareuspend2
CONFIG_SOFTWARE_SUSPEND2=y
CONFIG_SOFTWARE_SUSPEND2_BUILTIN=y
CONFIG_SOFTWARE_SUSPEND_SWAPWRITER=y
CONFIG_SUSPEND2_FILEWRITER=y
CONFIG_SOFTWARE_SUSPEND_LZF_COMPRESSION=y
CONFIG_SOFTWARE_SUSPEND_TEXT_MODE=y
CONFIG_SOFTWARE_SUSPEND_DEFAULT_RESUME2='swap:/dev/resume_partition'
# CONFIG_SOFTWARE_SUSPEND_KEEP_IMAGE is not set
CONFIG_SOFTWARE_SUSPEND_CHECK_RESUME_SAFE=y
# CONFIG_SOFTWARE_SUSPEND_DEBUG is not set
# CONFIG_SOFTWARE_SUSPEND_DEVELOPER is not set
... where `/dev/resume_partition' is the default swap partition - fdisk -l knows more if in doubt. (Also configurable via the resume2=swap:/dev/resume_partition/ kernel boot option.)

Finally, the hibernate scripts provides a convenient and configurable way to send the system to sleep. After executing ./install.sh from the hibernate-script source dir, the program gets installed in /usr/local/sbin/hibernate with the appropriate configfiles in /etc/hibernate/

Basic suspend worked fine - now playing around with the configuration :)
A more extensive howto can be found at http://www.suspend2.net/HOWTO.html
Permalink
Posted in: |

1-3/3

LiveSearch

Blogroll

Relayed

Archive

Buttons

  • RSS 2.0 Feed
  • Latest comments
  • XHTML 1.0 compliant
  • Powered by Flux CMS
  • Powered by Popoon

Login


BXCMSNG Errors:
Notice[8] Undefined index: 0 in [BX_PROJECT_DIR]/inc/bx/plugins/blog/categories.php at line 59.