]> gitweb @ CieloNegro.org - sugar.git/commitdiff
Auto commit by The Sugar System.
authorPHO <pho@cielonegro.org>
Sun, 7 Dec 2008 14:11:41 +0000 (23:11 +0900)
committerPHO <pho@cielonegro.org>
Sun, 7 Dec 2008 14:11:41 +0000 (23:11 +0900)
dot-files/_xinitrc [new file with mode: 0644]
tools/list-files.pl

diff --git a/dot-files/_xinitrc b/dot-files/_xinitrc
new file mode 100644 (file)
index 0000000..292ac23
--- /dev/null
@@ -0,0 +1,42 @@
+#!/bin/sh
+# $Id: xinitrc,v 1.2 2003/02/27 19:03:30 jharper Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+xset fp+ /usr/local/lib/X11/fonts/Unicode
+xset fp rehash
+
+if [ -f $sysresources ]; then
+    xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+    xmodmap $sysmodmap
+fi
+
+if [ -f $userresources ]; then
+    xrdb -merge $userresources
+fi
+
+if [ -f $usermodmap ]; then
+    xmodmap $usermodmap
+fi
+
+# setup environments
+if [ -d "/usr/pkg/bin" ]; then
+    PATH="/usr/pkg/bin:$PATH"; export PATH
+fi
+
+LANG="ja_JP.UTF-8"; export LANG
+GTK_IM_MODULE="uim"; export GTK_IM_MODULE
+
+# start the window manager
+if which quartz-wm 2>&1 >/dev/null; then
+    quartz-wm --only-proxy &
+fi
+exec fluxbox
index 673d43b8ae6e0b51e76b7e248569ca3e21298531..c736839e8768214db71743ff66861bb71fd364b2 100644 (file)
@@ -44,7 +44,7 @@ sub find {
         my $rel = File::Spec->abs2rel($abs, $base);
 
         next if any { $rel =~ m/$_/ } @RE_IGNORED;
-        next if !-f $abs;
+        next if !-e $abs;
 
         if (-d $abs) {
             push @d, find($base, $rel);
@@ -92,7 +92,8 @@ __DATA__
 .localized
 .mozilla
 .mpd
-.mplayer
+.mplayer/DVDKeys*
+.mplayer/skins*
 .nautilus
 .navi2ch
 .nh-todo
@@ -112,7 +113,6 @@ __DATA__
 .uim.d
 .unison
 .viminfo
-.w3m
 .xchat2*
 .zcomp*
 .zfunc