Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added script to run blankon-session-installer in sessions

  • Loading branch information...
commit 2640ee0514f3fe392741d1704ae8f694ec0a0b16 1 parent ba2ffee
@dotovr dotovr authored
View
12 files/bin/gnome-session-blankon
@@ -1,3 +1,15 @@
#! /bin/sh
+
+export TRY_B_I=YES
+if [ -x /usr/bin/blankon-session-try-installer ];then
+ . /usr/bin/blankon-session-try-installer
+fi
+L=`dbus-send --system --print-reply --type=method_call --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.DBus.Properties.Get string:'org.freedesktop.Accounts.User' string:'Language' 2>/dev/null|tail -1|awk '{print $3}'|sed -e s/\"//g`
+
+if [ "x$L" != "x" ];then
+ LANG=$L
+ LC_ALL=$L
+fi
+
exec gnome-session --session blankon "$@"
View
12 files/bin/gnome-session-blankon-fallback
@@ -1,3 +1,15 @@
#! /bin/sh
+
+export TRY_B_I=YES
+if [ -x /usr/bin/blankon-session-try-installer ];then
+ . /usr/bin/blankon-session-try-installer
+fi
+L=`dbus-send --system --print-reply --type=method_call --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User1000 org.freedesktop.DBus.Properties.Get string:'org.freedesktop.Accounts.User' string:'Language' 2>/dev/null|tail -1|awk '{print $3}'|sed -e s/\"//g`
+
+if [ "x$L" != "x" ];then
+ LANG=$L
+ LC_ALL=$L
+fi
+
exec gnome-session --session blankon-fallback "$@"
Please sign in to comment.
Something went wrong with that request. Please try again.