Open GoogleCodeExporter opened 9 years ago
i think that priority can be set to low for this task
i'd understand if it was set to WONTFIX also
Original comment by thibaut....@gmail.com
on 11 Mar 2009 at 4:26
note that gnome-open can be replaced with xdg-open which "universally" works
(KDE,
Xfce, GNOME)
http://portland.freedesktop.org/xdg-utils-1.0/xdg-open.html
it requires xdg-utils package.
http://portland.freedesktop.org/xdg-utils-1.0/
It seems that xdg-open makes uses of gnome-open with GNOME, kfmclient exec with
KDE
and exo-open with xfce
http://www.sfr-fresh.com/linux/misc/xdg-utils-1.0.2.tgz:a/xdg-utils-1.0.2/script
s/xdg-open
BTW, from the above link, here is an interesting part :
#--------------------------------------
299 # Checks for known desktop environments
300 # set variable DE to the desktop environments name, lowercase
301
302 detectDE()
303 {
304 if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
305 elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
306 elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then
DE=xfce;
307 fi
308 }
Original comment by thibaut....@gmail.com
on 24 Mar 2009 at 2:28
To sum up things concerning Helper applications :
It would be cool if KeepNote could be smart enough to automatically set Helper
applications.
1) First KeepNote could detect if it is running on Linux
Maybe by using python platform.system()
http://docs.python.org/library/platform.html
2) if KeepNote is running on Linux, it could set Helper applications like that :
* Web Browser : xdg-open
* File Explorer : xdg-open
* Texte Editor : the result of the command "xdg-mime query default text/plain"
* Image Editor :
* Image Viewer : xdg-open
* Screen Shot : import
KeepNote would need xdg-utils and imagemagick as dependencies
Then the helper applications entry in KeepNote options could be suppressed.
Except
maybe to set Image Editor application
Original comment by thibaut....@gmail.com
on 31 Mar 2009 at 12:22
concerning Stock icons : for exemple if KeepNote is running on Linux with GNOME
desktop, KeepNote could be smart by making automatically use of GTK Stock icons.
You could use the code given above (comment 2) to let KeepNote know if it's
running
on GNOME or not.
I'm speaking about GNOME since it's what i use but maybe GTK Stock icons option
has
to be set for other desktops.
I'm not a developper therefore i apologize if i've said non-senses...
Original comment by thibaut....@gmail.com
on 31 Mar 2009 at 12:28
also, KeepNote >= 0.5.2 could make use of tango color palette on GNOME desktops
for
customizable node icons http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines
Original comment by thibaut....@gmail.com
on 31 Mar 2009 at 7:46
concerning Helper applications :
1°) Image Editor
I don't think it's possible to select a default image editor on Linux.
But we could imagine that KeepNote would automatically select GIMP if it's
already
installed since there is large probabilities that GIMP would then be ACTUALLY
the
default image editor on that system.
Of course user would have the possibilty to change it.
2°) Settings through a GUI or a configuration file
BTW, since it seems to be settings for advance users, KeepNote doesn't need a
GUI for
setting Helper applications. Advance users could modify a configuration file.
Original comment by thibaut....@gmail.com
on 31 Mar 2009 at 5:23
Thanks for the xdg-open reference, I will be using this for the upcoming attach
file
feature. Your other ideas are also very good. I'm reply to let you know that
I am
reading what you have written :). It will just take some time to evaluation and
implement them all. Thanks for you continued interest and feedback.
Original comment by matt.rasmus@gmail.com
on 13 May 2009 at 6:51
Original comment by matt.rasmus@gmail.com
on 13 May 2009 at 12:49
« BTW, since it seems to be settings for advance users, KeepNote doesn't need
a GUI for
setting Helper applications. Advance users could modify a configuration file. »
I don't agree. Some advanced users (like me) or less advance users prefer a GUI
for
setting configuration.
Original comment by acott...@gmail.com
on 2 Jun 2009 at 5:49
But, in this specific case, would you set up other helper applications than
these
already set up for the whole system ?
I'm not sure that the case may happen often
If this case is rare, don't clutter the preferences window
Original comment by thibaut....@gmail.com
on 2 Jun 2009 at 10:07
KeepNote 0.6 has KeepNote options in Edit menu within Ubuntu Karmic (GNOME)
which is
great !
It could also be renamed "Preference"s instead of "KeepNote options" ?
Another idea to better match GNOME desktop : setting "Use GTK stock icons on
toolbar" could provide a different set of node icons that could match Tango
guideline
Do you want me to try to work on that idea ?
references :
http://rasm.ods.org/keepnote/manual.shtml#icons
http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines
Original comment by thibaut....@gmail.com
on 8 Nov 2009 at 12:07
Original issue reported on code.google.com by
thibaut....@gmail.com
on 4 Mar 2009 at 12:51