ports/170790: x11-wm/xfce4:please add DrPython shortcut in xfce4 menu after installation

Olivier Duchateau duchateau.olivier at gmail.com
Fri Aug 24 07:30:06 UTC 2012


The following reply was made to PR ports/170790; it has been noted by GNATS.

From: Olivier Duchateau <duchateau.olivier at gmail.com>
To: bug-followup at FreeBSD.org, cederom at tlen.pl
Cc:  
Subject: Re: ports/170790: x11-wm/xfce4:please add DrPython shortcut in
 xfce4 menu after installation
Date: Fri, 24 Aug 2012 09:26:04 +0000

 No, we can't :)
 
 DrPython doesn't provide .desktop file, so you must create yourself this file.
 
 There're several methods:
 
 1) Create launcher on panel.
 Choose your favorite panel.
 Right click: Panel -> Add New Items... -> Launcher
 
 2) Create item in 'general menu'
 2.1) With your favorite text editor.
 
 Create .desktop file in ~/.local/share/applications (e.g. drpython.desktop)
 
 [Desktop Entry]
 Version=1.0
 Type=Application
 Encoding=UTF-8
 Exec=/usr/local/bin/drpython
 Icon=applications-other.png
 StartupNotify=false
 Categories=Development;TextEditor;
 OnlyShowIn=XFCE;
 Name=DrPython
 Comment=Customizable text Editor
 
 You can even add your locale in Name and Comment entries, but, your file must be encoding into UTF-8 (see converters/iconv).
 
 For Exec line, you can also remove absolute path.
 
 For Icon line, you must have to install x11-themes/icons-tango.
 
 2.2) With GUI
 Launch exo-desktop-item-edit --create-new ~/.local/share/applications
 
 -- 
 olivier


More information about the freebsd-xfce mailing list