]> Dogcows Code - chaz/openbox/blobdiff - data/autostart.sh
töölaud %i
[chaz/openbox] / data / autostart.sh
index 962cae071a739a571c827dd6629ad47131107d19..f8b804c6da0a47a02651f27e02151ed230b45398 100644 (file)
@@ -1,4 +1,5 @@
-#!/bin/sh
+# This shell script is run before Openbox launches.
+# Environment variables set here are passed to the Openbox session.
 
 # Set a background color
 BG=""
@@ -29,3 +30,11 @@ fi
 if which start_kdeinit >/dev/null; then
   LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
 fi
+
+# Support for SCIM
+if which scim >/dev/null; then
+  export XMODIFIERS=@im=SCIM
+  export GTK_IM_MODULE=scim
+  export QT_IM_MODULE=scim
+  scim -d &
+fi
This page took 0.020333 seconds and 4 git commands to generate.