Application crashes on 'Make icon on desktop'

Bug #1005313 reported by Cornelis Denhart
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtkvncviewer
New
Undecided
Clément Lorteau

Bug Description

Probably an variable-expansion-problem. My user name is NOT 'username'

Revision history for this message
Cornelis Denhart (lp120528) wrote :
Revision history for this message
Cornelis Denhart (lp120528) wrote :

I looked it up in gtkvncviewer.py, and although i don't speak Phyton the error seems obvious to me. At least in this ubuntu-version, with gnome-classic destop and language is set to:
LANG=de_DE.UTF-8
LANGUAGE=de_DE:en

the Desktop Path is:
/home/whatever/Arbeitsfläche
(which is a german translation of Desktop)

So i made a symlink from Arbeitsfläche to Desktop and the icon created correctly.

Now the problem is, when clicking it, the normal gtkvncviewer forms opens, without the server and password info filled in, so the icon does not make sense to me, because i have to enter everything again.

Revision history for this message
pawciobiel (pawciobiel) wrote :

Please see a small patch containing a simple method to parse (~/.config/user-dirs.dirs) and extract XDG_DESKTOP_DIR. It fixes saving icon to now "locale aware" Desktop. Also fixed filling the server field, connect delete-event to close main dialog and re-factored a line or two.

Cornelis, (if you seen the code you've probably work this out by now):
although filling the server field should be fixed now, you may want to add credentials to gnome keyring for this to be fully working.

Changed in gtkvncviewer:
assignee: nobody → Clément Lorteau (northern-lights)
Revision history for this message
pawciobiel (pawciobiel) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.