p.description=qoledescript.read()
p.xsbc_bugtracker="https://garage.maemo.org/tracker/?atid=3577&group_id=953&func=browse"
p.maemodispname="Easy Chroot"
- version = "0.3.1" #Version of your software, e.g. "1.2.0" or "0.8.2"
+ version = "0.3.3" #Version of your software, e.g. "1.2.0" or "0.8.2"
build = "1fremantle1" #Build number
versionbuild = version + "-" + build
p.author="Alan Bruce (qole)"
-0.2.1: First version for Fremantle, fifth package. Trying a new version of py2deb.
-0.2.2: Added thp's patches, some other fixes.
-0.2.3: First version in Extras!
-0.2.4: Fixed some small bugs and added a bugtracker field.
-0.2.5: Unmount /dev/shm in the closechroot script
-0.2.6: Include Debian's fuser as a workaround for broken busybox
-0.2.7: Remove the closechroot .desktop file, move to Easy Debian
-0.2.8: Support dmsetup + kernel-module-dmloop packages, if installed
-0.2.9: Use the 'cd /proc' workaround for broken fuser bug, add 'nodiratime,nobh' to mount options
-0.3.0: Require dmlosetup to be present before attempting dm-loop.
-0.3.1: Strip trailing slash on mountpoint in all scripts, fixed problems in multi-loop handling.
\ No newline at end of file
+0.3.3: Fix "osso-xterm" bug
\ No newline at end of file
echo "Closing the chroot..."
+ # Place any commands you wish to run before you close the chroot
+ # into the /var/run/onclosechroot-ext.rc file (inside your rootfs)
+
+ if [ -f "$CHROOT/var/run/onclosechroot-ext.rc" ] ; then
+ . "$CHROOT/var/run/onclosechroot-ext.rc"
+ fi
+
+ # Place any commands you wish to run from inside the chroot
+ # before you close the chroot into the /var/run/onclosechroot.rc
+ # file (inside your rootfs)
+
+ if [ -f "$CHROOT/var/run/onclosechroot.rc" ] ; then
+ chroot $CHROOT "/var/run/onclosechroot.rc"
+ fi
+
+
# Fremantle's fuser command is broken.
# We can either use Debian's one instead (as gfuser),
# or we can use the workaround: "cd /proc" first.
echo "...closing chroot apps..."
TEST1=`mount | grep " $CHROOT "`
-if [ "x$TEST1" != "x" ] ; then
+MAPPER=`mount | grep "/dev/mapper"`
+if [ "x$TEST1" != "x" ] && [ "x$MAPPER" == "x" ] ; then
if [ -f "/bin/gfuser" ] ; then
gfuser -m "$CHROOT" -k
else
mkdir -p "$CHROOT/var/lock"
fi
-trap "rm -f $CHROOT/var/lock/chroot-complete ; echo -ne '\033]0;osso_xterm\007' ; exit" INT TERM EXIT
+trap "rm -f $CHROOT/var/lock/chroot-complete ; echo -ne '\033]0;X Terminal\007'>/dev/stderr ; exit" INT TERM EXIT
echo $IMGFILE $@ > "$CHROOT/var/lock/chroot-complete"
#Custom prompt and xterm title. Reduces confusion.
p.description=qoledescript.read()
p.xsbc_bugtracker="http://talk.maemo.org/showthread.php?t=34550"
p.maemodispname="Easy Debian"
- version = "0.9.53" #Version of your software, e.g. "1.2.0" or "0.8.2"
+ version = "0.9.54" #Version of your software, e.g. "1.2.0" or "0.8.2"
build = "1fremantle1" #Build number
qolechangelog = open("control/changelog", "r")
changeloginformation = qolechangelog.read()
-0.9.37 Fixed the closechroot icon, added back oo icon & fullscreen key
-0.9.38 Fixed top menu in LXDE and added ctrl-space fullscreen key.
-0.9.39 Tweaked top menu in LXDE
-0.9.40 New image (m5-v3), new icons for HW keys, closechroot and Evince, improved installer
-0.9.41: Fixed closechroot icon conflict with easy-chroot pkg
-0.9.42: Changed icon and .desktop name for Evince to avoid conflict with Maemo pkg, improved installer.
-0.9.43: Removed Evince icon; Maemo version is just as good. Don't overwrite user's .xbindkeysrc
-0.9.44: Added notification (noise, vibration, LED) to install script, ready to push to Extras!
-0.9.45: Fixed ~/.xbindkeysrc file to work with all keyboards. Installer now triggers synchroot script.
-0.9.46: Deleted theme line from /home/user/.config/lxde/config
-0.9.47: PR 1.2 keyboard focus workaround, added debsu and debbie-sue
-0.9.48: A less image-dependent keyboard focus workaround, /usr/bin/fixkbdfocus
-0.9.49: Cleaned up the fixkbdfocus script.
-0.9.50: Made a new script that first attempts to raise the existing LXDE window, and if that fails, it starts a new LXDE session. This allows one icon to work for both starting and restoring LXDE. Thanks rebhana. Ready for Extras-Testing now.
0.9.51: New Maemo-side script to launch LXDE with full keyboard focus!
0.9.52: Tweaked Maemo-side script to avoid timing issues.
-0.9.53: Moved MurrinaNightOrange out, depends on it now. Depends on wmctrl too.
\ No newline at end of file
+0.9.53: Moved MurrinaNightOrange out, depends on it now. Depends on wmctrl too.
+0.9.54: Added new script to give keyboard focus to the active window via xbindkeys (Deb HW Keys icon); use the Fn-Return key combo
\ No newline at end of file
# xbindkeys configuration #
###########################
#
-# Version: 1.8.2
-#
-# If you edit this file, do not forget to uncomment any lines
-# that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# To specify a key, you can use 'xbindkeys --key' or
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
-# List of modifier:
+# List of modifiers:
# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Blue Fn).
#
# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events
-# By defaults, xbindkeys does not pay attention with the modifiers
+# By default, xbindkeys does not pay attention to the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines above if you want to pay attention to them.
#keystate_capslock = enable
#keystate_scrolllock= enable
+###############################################################
+# NEW as of Sept 2010:
+# Make keyboard active in current window with Fn+Return
+# (you need the /home/user/.kbdactive script, of course!)
+###############################################################
+
+ "/home/user/.kbdactive"
+ m:0x80 + c:36
+ Mod5 + KP_Enter
+
+###############################################################
+
"wmctrl -r :ACTIVE: -b toggle,fullscreen"
m:0x4 + c:111
Control + Up