]> git.openpandora.org Git - openpandora.oe.git/commitdiff
.xinitrc: Included a small line that echoes the username to /tmp/currentuser
authorMichael Mrozek <EvilDragon@openpandora.de>
Wed, 21 Apr 2010 03:04:51 +0000 (05:04 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Wed, 21 Apr 2010 03:04:51 +0000 (05:04 +0200)
recipes/pandora-system/pandora-skel/.xinitrc

index 803ac6d98efc254623e27494d9284304109e70d5..6064a18cfdfc11f337be071c7d4cb6b2746f9102 100644 (file)
@@ -41,6 +41,9 @@ fi
 #Load up the proper keymap for X
 xmodmap ~/.pndXmodmap
 
+#Write the current user into /tmp/currentuser for any scripts or programs who want to make use of it
+whoami > /tmp/currentuser
+
 # HUP pndnotifyd to make sure it picks up the users home.
 killall -1 pndnotifyd &