Saturday, April 16, 2011

Some handy SLAX tidbits

I've made another SLAX digital picture frame and found a few useful options I want to document so the next time I don't have to fire up the google machine to hunt this info down.

If you want to disable the screen saver and the energy star feature which will keep the screen from being turned off after inactivity run the 2 commands below: I placed this in an executable file in rootcopy/root/.kde/Autostart
xset s off
xset -dpms

To run konqueror in full screen use this:

kstart --fullscreen konqueror

To hide the various tool bars edit konquerorrc:

[KonqMainWindow Toolbar locationToolBar]

[KonqMainWindow Toolbar mainToolBar]

To refresh konqueror every 60 seconds create an executable file with(change 60 to your needed time):


K=`dcopstart konqueror`; dcop $K qt/.*mainwindow#1 showFullScreen
while [ true ]; do
sleep 60; # wait 1 minute
dcop $K "konqueror-mainwindow#1" reload

If you want the mouse cursor hidden use "unclutter". Put

/bin/unclutter &

in an executable file in rootcopy/root/.kde/Autostart

Command to make bootable iso run in parent directory of slax and boot directories

mkisofs -r -V "Slax" -cache-inodes -J -l -b boot/isolinux/isolinux.bin -c boot/isolinux/ -no-emul-boot -boot-load-size 4 -boot-info-table -o output.iso .



Post a Comment

<< Home