From: Michael Mrozek Date: Wed, 21 Apr 2010 03:04:51 +0000 (+0200) Subject: .xinitrc: Included a small line that echoes the username to /tmp/currentuser X-Git-Tag: Release-2010-05/1~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c5ee39974469102d4c8bbe827844d61907149a2;p=openpandora.oe.git .xinitrc: Included a small line that echoes the username to /tmp/currentuser --- diff --git a/recipes/pandora-system/pandora-skel/.xinitrc b/recipes/pandora-system/pandora-skel/.xinitrc index 803ac6d..6064a18 100644 --- a/recipes/pandora-system/pandora-skel/.xinitrc +++ b/recipes/pandora-system/pandora-skel/.xinitrc @@ -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 &