Image 01
profile-image

rjheuser

Ryan Heuser
KPager2 for Kicker

Various KDE 1.-4. Improvements by lucher 176 comments

And oh yeah - add this to your autostart kde folder (usually ~/.kde/Autostart). - Aug 02 2005
KPager2 for Kicker

Various KDE 1.-4. Improvements by lucher 176 comments

I wrote a quick script in bash to let me use Kpager2 despite its bug in KDE 3.4.x. It basically does automatically what you can do manually: Restart kicker, and reload the applet. You can download it here: http://retronetworks.com/resources/kicker.start or copy it from below:

#!/bin/bash
# CONFIGURATION ######
# The initial wait time for the script to run. This needs to be set for some reason for it to work. 15 seconds worked for me.
wait=15s

# The path to the applet you want to load (kpager2)
applet="/usr/share/apps/kicker/applets/kpager2.desktop"

# The grep expression to search for to find the panel you want to send this to.. ChildPanel and Panel should work.
panel="ChildPanel"

# The path to kicker
kicker="/usr/bin/kicker"
#######################

# Wait
sleep $wait

# Restart kicker
killall kicker ; sleep 2s ; $kicker ; sleep 2s

# Get child panel
for item in `dcop kicker`
do
if [ `echo $item | grep $panel | wc -l` = "1" ]; then
cp=$item
fi
done

# Load applet
dcop kicker $cp addApplet $applet &
- Aug 02 2005