gnome, gnome-terminal desktop icon oddity

Robert Moskowitz rgm at htt-consult.com
Sun Dec 29 12:55:12 UTC 2013


On 12/29/2013 03:00 AM, Ed Greshko wrote:
> 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

But for me:

[rgm at lx120e ~]$ cat Desktop/gnome-terminal.desktop
cat: Desktop/gnome-terminal.desktop: No such file or directory
[rgm at lx120e ~]$

I had just opened this terminal window, and it started right at /home/rgm/

> [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
>
>



More information about the users mailing list