gnome, gnome-terminal desktop icon oddity

Ed Greshko Ed.Greshko at greshko.com
Sun Dec 29 08:00:47 UTC 2013


The thread with the subject of "gnome-terminal in F20 defaults to / for the initial directory" prompted me to do some testing and I've found an oddity. 

The desktop file is as follows...

[egreshko at f20f ]$ cat Desktop/gnome-terminal.desktop
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=/usr/bin/gnome-terminal --working-directory=$HOME/Desktop
GenericName[en_US]=Gnome Terminal
GenericName=Gnome Terminal
Icon=utilities-terminal
MimeType=
Name[en_US]=gnome-terminal
Name=gnome-terminal
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

If I click on the desktop icon in KDE the --working-directory option is honored.

However, if I double click on the desktop icon in GNOME that parameter has no effect unless I replace $HOME with the actual path name.  So, for some reason GNOME is not expanding the $HOME variable.

Also, if I execute "/usr/bin/gnome-terminal --working-directory=$HOME/Desktop" from within an existing terminal session $HOME will be expanded.

https://bugzilla.redhat.com/show_bug.cgi?id=1047116

Ed


-- 
Getting tired of non-Fedora discussions and self-serving posts


More information about the users mailing list