[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: changing gconf settings



Hi,

I made the file
~/LiveCDTest/config/chroot_local-hooks/turn_off_power_managment_brightness_adjustments
with the contents

#!/bin/sh
gconftool --type bool --set /apps/gnome-power-manager/backlight/enable false
gconftool --type bool --set /apps/gnome-power-manager/backlight/idle_dim_battery false gconftool --type bool --set /apps/gnome-power-manager/backlight/idle_dim_ac false gconftool --type bool --set /apps/gnome-power-manager/backlight/battery_reduce false

I have other hooks in this file which do things like append text to etc/environments. These other hooks work fine. But this hook had no effect. I guess this is because gconf is per user, but at build-time such things can not be set.

Could you please elaborate how to achieve this with live-build hooks?

Liam


Reply to: