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: |

Fedora - replace NetworkManager with netwok init script

chkconfig NetworkManager off
chkconfig –levels 35 network on
/etc/init.d/network restart
Permalink
Posted in: |

X resolution switching script

A little script to switch between different screen resolutions.

#!/bin/bash
xrandr -q |
grep "^[ *][0-9]" |
cut --output-delimiter : -c0-3,6-16,40- |
sed "s/:/\n/g" |
sed "s/*/ /g"  |
zenity --list --column "No" --column "Resolution" 
    --column "Refresh" --separator : |
xargs -n1 xrandr -r 60 -s
Permalink
Posted in:

Where do you want to vpn today?

Linux Kernel 2.6.15 has been released and includes a PPP MPPE (Microsoft Point to Point encryption) module. MPPE is used i.e. by Microsofts pptp sever for encrypting data ( See the Kernel Changelog for more details). The kernel config. option is CONFIG_PPP_MPPE. Once at it, i suggest to also enable CONFIG_PPP_FILTER, CONFIG_PPP_ASYNC. The previously required module/patch from the pptpclient project becomes obsolete.


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-5/5

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.