From 2c5ee39974469102d4c8bbe827844d61907149a2 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Wed, 21 Apr 2010 05:04:51 +0200 Subject: [PATCH] .xinitrc: Included a small line that echoes the username to /tmp/currentuser --- recipes/pandora-system/pandora-skel/.xinitrc | 3 +++ 1 file changed, 3 insertions(+) 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 & -- 2.39.5