Ctrl-Alt-Backspace / ctrl_alt_bksp
Ref:
http://alanyih.blogspot.com/2010/05/slitaz-setxkbmap.html
Extract from:
https://wiki.archlinux.org/index.php/Xorg
[..]
Ctrl-Alt-Backspace does not work
There are two ways of restoring Ctrl+Alt+Backspace; with and without input-hotplugging. Using hot-plugging is recommended.
With input hot-plugging
System-wide
Within /etc/X11/xorg.conf.d/10-evdev.conf, simply add the following:
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Note: On KDE, this system-wide setting has no effect. To restore, go to Kickoff > Computer > System Settings which will open up the System Settings window. Click on 'Input Devices'. In this new window click the Keyboard tab and then click on the advanced tab. In this new window, click the box for 'Configure keyboard options.' Expand the entry for 'Key sequence to kill the X server' and ensure Control + Alt + Backspace is checked. Click Apply and close the System Settings window. You now have your CTRL-ALT-Backspace back in KDE.
User-specific
Another way is to put this line in xinitrc:
setxkbmap -option terminate:ctrl_alt_bksp
Note: This setting has no effect on Gnome 3.
Without input hot-plugging
New Xorg disables zapping with Ctrl+Alt+Backspace by default. You can enable it by adding the following line to /etc/X11/xorg.conf,
Option "XkbOptions" "terminate:ctrl_alt_bksp"
to InputDevice section for keyboard.
2011-11-30
2011-11-25
Slitaz -- navimap / easymap
1.
http://easymap.land.moi.gov.tw
8. 系統更新,請更新java版本至1.6 JRE 6(update 26~),否則系統將無法正常運作。
2.
http://navimap.land.moi.gov.tw
Slitaz -- java6-jdk
1.
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #2 SMP Wed Nov 2 22:01:57 CET 2011 i686 GNU/Linux
tux@slitaz:~$ java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Server VM (build 20.4-b02, mixed mode)
tux@slitaz:~$
2.
tux@slitaz:~$ ls -l /usr/lib/mozilla/plugins
total 0
lrwxrwxrwx 1 root root 34 Nov 25 19:48 libflashplayer.so -> /usr/share/flash/libflashplayer.so
lrwxrwxrwx 1 root root 50 Nov 25 19:09 libnpjp2.so -> /usr/lib/java/jdk1.6.0_29/jre/lib/i386/libnpjp2.so
tux@slitaz:~$
3.
tux@slitaz:~$ ls -l /usr/lib/java/jdk1.6.0_29/jre/lib/fonts/fall*
lrwxrwxrwx 1 root root 36 Nov 25 19:43 /usr/lib/java/jdk1.6.0_29/jre/lib/fonts/fallback -> /usr/share/fonts/truetype/droid-font
tux@slitaz:~$
4.
tux@slitaz:~$ cat get-java6-jdk.diff
--- get-java6-jdk-orig
+++ get-java6-jdk
@@ -6,9 +6,9 @@
# Author : Kévin DA SILVA
PACKAGE="java6-jdk"
-VERSION="1.6.0_13"
-URL="http://raphaello.univ-fcomte.fr/ftp/java/Jdk"
-TARBALL="jdk-6u13-linux-i586.bin"
+VERSION="1.6.0_29"
+URL="http://download.oracle.com/otn-pub/java/jdk/6u29-b11/"
+TARBALL="jdk-6u29-linux-i586.bin"
TEMP_DIR="/tmp/$PACKAGE.$$"
ROOT="$1"
@@ -80,8 +80,9 @@
post_install()
{
echo -n "Processing post install commands..."
- cd /usr/lib/firefox*/plugins
- ln -s /usr/lib/java/jdk\$VERSION/jre/plugin/i386/ns7/libjavaplugin_oji.so
+ mkdir -p /usr/lib/mozilla/plugins
+ cd /usr/lib/mozilla/plugins
+ ln -s /usr/lib/java/jdk\$VERSION/jre/lib/i386/libnpjp2.so
#lien mit dans red5 /usr/bin/javajdk
cd /usr/bin
@@ -94,8 +95,11 @@
post_remove()
{
- rm -f /usr/lib/firefox*/plugins/libjavaplugin_oji.so
+ rm -f /usr/lib/mozilla/plugins/libnpjp2.so
rm -f /usr/bin/java
+ rm -f /usr/bin/javac
+ rm -f /usr/bin/javadoc
+ rm -f /usr/bin/javap
}
EOT
tux@slitaz:~$
2011-11-02
Slitaz -- LibreOffice / langpack
20111126 update
tux@slitaz:~$ echo ${LANG/_/-} ${LANG%_*} ${LANG%.*} | sed s/_/-/
zh-TW.UTF-8 zh zh-TW
tux@slitaz:~$ diff get-LibreOffice-orig get-LibreOffice
--- get-LibreOffice-orig
+++ get-LibreOffice
@@ -24,7 +24,7 @@
TARBALL="LibO_${VER}_${SUFFIX}"
-for LOC in ${LANG/_/-} ${LANG%_*}; do
+for LOC in ${LANG/_/-} ${LANG%_*} ${LANG%.*} | sed s/_/-/; do
L_SUFFIX="Linux_x86_langpack-rpm_$LOC.tar.gz"
L_TARBALL="LibO_${VER}_${L_SUFFIX}"
LANG_URL="$WGET_URL/${VERSION}/rpm/x86/${L_TARBALL}"
tux@slitaz:~$
----
get-LibreOffice
tar: can't open '/tmp/src.1650/LibO_3.4.3_Linux_x86_langpack-rpm_zh.tar.gz': No such file or directory
http://download.documentfoundation.org/libreoffice/stable/3.4.3/rpm/x86/LibO_3.4.3_Linux_x86_langpack-rpm_zh-TW.tar.gz
1.
tux@slitaz:~$ head -1 /tmp/get-LibreOffice.log
tar: can't open '/tmp/src.1650/LibO_3.4.3_Linux_x86_langpack-rpm_zh.tar.gz': No such file or directory
tux@slitaz:~$ tazpkg info get-LibreOffice
Tazpkg information
================================================================================
Package : get-LibreOffice
Version : 1.2
Category : office
Short desc : Productivity suite.
Maintainer : ben@seawolfsanctuary.com
Web site : http://www.documentfoundation.org
================================================================================
tux@slitaz:~$ tazpkg info LibreOffice
Tazpkg information
================================================================================
Package : LibreOffice
Version : 3.4.3
Category : office
Short desc : Productivity suite.
Maintainer :
Depends : java6-jre
Web site : http://www.libreoffice.org
================================================================================
2.
http://download.documentfoundation.org/libreoffice/stable/3.4.3/rpm/x86/
[..]
LibO_3.4.3_Linux_x86_langpack-rpm_xh.tar.gz | 25-Aug-2011 13:57 | 7.8M | Details | |
LibO_3.4.3_Linux_x86_langpack-rpm_xh.tar.gz.asc | 25-Aug-2011 13:57 | 836 | Details | |
LibO_3.4.3_Linux_x86_langpack-rpm_zh-CN.tar.gz | 25-Aug-2011 13:57 | 1.7M | Details | |
LibO_3.4.3_Linux_x86_langpack-rpm_zh-CN.tar.gz.asc | 25-Aug-2011 13:57 | 836 | Details | |
LibO_3.4.3_Linux_x86_langpack-rpm_zh-TW.tar.gz | 25-Aug-2011 13:57 | 1.7M | Details | |
LibO_3.4.3_Linux_x86_langpack-rpm_zh-TW.tar.gz.asc | 25-Aug-2011 13:57 | 836 | Details | |
LibO_3.4.3_Linux_x86_langpack-rpm_zu.tar.gz | 25-Aug-2011 13:57 | 1.6M | Details | |
LibO_3.4.3_Linux_x86_langpack-rpm_zu.tar.gz.asc | 25-Aug-2011 13:57 | 836 | Details |
3.
tux@slitaz:~$ grep LOC /usr/bin/get-LibreOffice
for LOC in ${LANG/_/-} ${LANG%_*}; do
L_SUFFIX="Linux_x86_langpack-rpm_$LOC.tar.gz"
echo "Added $LANG ($LOC)."
tux@slitaz:~$ echo ${LANG/_/-}
zh-TW.UTF-8
tux@slitaz:~$ echo ${LANG%_*}
zh
tux@slitaz:~$ echo ${LANG/_/-} ${LANG%_*}
zh-TW.UTF-8 zh