Memyandi42 / gnome-menu-file-browser-applet

Automatically exported from code.google.com/p/gnome-menu-file-browser-applet
0 stars 0 forks source link

applet ignores environment variables from gnome-panel and session #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. startup gnome session
2. check $SSH_AUTH_SOCK from menu, xterm, .... it is set from gnome-keyring
3. apps started from file-browser-applet do NOT have these enviroment variables 
set

What is the expected output? What do you see instead?
- xterm started from start-menu: echo $SSH_AUTH_SOCK - it is set
- xterm started from applet: the variable is NOT set

What version of the product are you using? On what operating system?
fc14, x86-64, gnome2.32, file-browser-applet 0.6.7

Please provide any additional information below.

Original issue reported on code.google.com by oer...@gmail.com on 18 Apr 2012 at 7:26

GoogleCodeExporter commented 9 years ago
I have the same reported issue.

What version of the product are you using? On what operating system?
- Ubuntu 10.10 workstation
- GNOME Desktop 2.32.0

Original comment by davidf...@amgcomputing.com on 18 Oct 2012 at 2:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i have : fedora 14, gnome2.28

btw: i have found a workaround:

#!/bin/sh
# $Id: add_ssh_auth_to_applet.sh,v 1.1 2012/10/02 07:25:53 cvsoernii Exp $

export SSH_AUTH_SOCK=`find $TMP/keyring-* -user $USER -iname "ssh"|head -n1`

pid=`pidof file-browser-applet`
gdb << EOF
attach $pid
call putenv ("SSH_AUTH_SOCK=$SSH_AUTH_SOCK")
detach
EOF

Original comment by oer...@gmail.com on 18 Oct 2012 at 6:36