[Panel Plugin] Application Menu ignores Xdg

Genghis Khan genghiskhan at gmx.ca
Mon Jul 1 13:40:40 CEST 2013


Desktop file now attached.

[Desktop Entry]
Encoding=UTF-8
Name=iptel Early Music
GenericName=Test Music VoIP Bot
Comment=Call to iptel Early Music
Type=Link
URL=sip:early_music at iptel.org
Icon=sip-bookmark
Categories=X-VoIP;


On Mon, 01 Jul 2013 13:28:05 +0200
"Genghis Khan" <genghiskhan at gmx.ca> wrote:

> Dear Xfce users,
> 
> I was wondering if the Application Menu panel plugin is compliant with
> Xdg or is this menu opening any desktop launcher of Link type, of any
> protocol, in a default exo web browser?
> 
> An example of desktop launcher of Link type is attached.
> If I open it with Thunar 1.4.0 > SIP Client is launched. (good)
> If I open it with Application Menu > Web Browser is launched. (bad)
> 
> Desktop launcher of SIP client is this:
> 
> [Desktop Entry]
> Name=Linphone Softphone
> Comment=Linphone is a web-phone
> Exec=linphone --call %u
> Icon=/usr/share/pixmaps/linphone/linphone.png
> Terminal=false
> Type=Application
> Categories=Network;Telephony;
> MimeType=x-scheme-handler/sip;
> StartupNotify=true
> 
> 
> $ xfce4-panel -V
> xfce4-panel 4.10.0 (Xfce 4.10)
> 
> Copyright (c) 2004-2011
> The Xfce development team. All rights reserved.
> 
> Please report bugs to <http://bugzilla.xfce.org/>.
> 
> 
> Forwarded message below. Message is also available at
> http://lists.nongnu.org/archive/html/linphone-users/2013-07/msg00006.html
> 
> 
> Begin forwarded message:
> 
> Date: Mon, 01 Jul 2013 11:39:31 +0200
> From: "Genghis Khan" <genghiskhan at gmx.ca>
> To: "John White" <john at lawquest.com>
> Cc: linphone-users at nongnu.org
> Subject: Re: [Linphone-users] Add MimeType entry to desktop file (utilise Xdg)
> 
> 
> On Sat, 29 Jun 2013 23:49:02 -0700
> John White <john at lawquest.com> wrote:
> 
> > 
> > Genghis Khan wrote:
> > > On Sat, 29 Jun 2013 15:22:12 -0700
> > > John White <john at lawquest.com> wrote:
> > >
> > >> This worked well....Linphone now opens from the GUI. Must admit I
> > >> had to give up on MenuLibre as it apparently requires slackware
> > >> 14. Vector is working on that now.
> > >>
> > > Please ignore my proposal concerning to MenuLibre as it is merely
> > > a Desktop Launcher editor and does not support editing of Desktop
> > > Launchers of Link Types, as it seems, nor it support editing of
> > > reordering menu categories.
> > >
> > >> As to the slow loading, that problem is solved (I took all the
> > >> "friends" out of linphonerc. However, I now have to copy and
> > >> paste contact info (phone numbers), so that's a bummer. I am
> > >> looking at faster ways to do this.
> > >>
> > > Did you try to execute (double click) the Desktop Launcher I
> > > attached?
> > Yes, it worked fine far as I know. I can now launch linphone from 
> > Applications>VoIP.
> 
> If you can, then I think this message of mine is unnecessary :-P
> 
> > > Would you like to use your system menu to manage your contacts?
> > I think so. I have saved the old Friends list from linphonerc to a
> > text file. I open that file, search for the name, copy the phone
> > number, paste it into linphone and then dial the number. Most
> > anything would be better than this.
> 
> Sure. Please follow the instructions below:
> 
> 1) Create a directory ~/.local/share/desktop-directories/
> 2) Extract voip.directory to ~/.local/share/desktop-directories/
> 3) Extract xfce-applications.menu to ~/.config/menus/
> 4) Extract early_music at iptel.org.desktop to ~/.local/share/share/applications/
> 5) Open Applications Menu of Xfce.
> 
> Have fun!
> 
> Xfce 4.10: Applications Menu launches a web browser instead - BUG!
> 
> * I have attached a patch so you can examine differences between my
> * system menu (xfce-applications.menu.origin) file to the one I have
> * edited (xfce-applications.menu).
> 
> > > Which Desktop Environment are you using?
> > xfce4
> 
> Yay! I use Xfce, too.
> 
> > >
> > >> As to the problem with "enable self view" I can't tell if that is
> > >> fixed or not (I doubt it) as I no longer have any video codecs in
> > >> preferences. They are apparently in linphonerc, but don't show in
> > >> the gui window. I probably don't know how to pass VIDEO=yes to
> > >> the build script. Here is what I do:
> > >>
> > >> # ./linphone.SlackBuild VIDEO=yes
> > >>
> > >> I then use installpkg to install the SBO file. Linphone runs
> > >> when I do this but does the Video Input Device is greyed out and
> > >> no video codecs show in Preferences.
> > >>
> > >> You have already done more than enough. Still, any thoughts you
> > >> have about any of this, are most appreciated.
> > >>
> > >> Genghis Khan wrote:
> > >>>>> I suggest to import most of your contacts that are not being
> > >>>>> used
> > >>>>>>> often into an external contact management program that would
> > >>>>>>> display contacts in click-able hyperlinks and then use the
> > >>>>>>> solution I have proposed.
> > >>>>> I think this a good idea and will try to find such a program.
> > >>>>>
> > >>> Please let me know when you do. I tried to use the address book
> > >>> of Claws Mail and I have failed to make a click-able sip: URI.
> > >>>
> > >>> In the meantime I think I have a very strange solution which you
> > >>> might like.
> > >>>
> > >>> Using the Start Menu Application launcher (of freeDesktop.org).
> > >>> More information athttp://wiki.xfce.org/howto/customize-menu
> > >>>
> > >>> Add a category called VoIP and then extract the attached desktop
> > >>> file to ~/.local/share/applications/
> > >>>
> > >>> This is the content of the attached file:
> > >>> [Desktop Entry]
> > >>> Encoding=UTF-8
> > >>> Name=iptel Early Music
> > >>> GenericName=Test Music VoIP Bot
> > >>> Comment=Call to iptel Early Music
> > >>> Type=Link
> > >>> URL=sip:early_music at iptel.org
> > >>> Icon=sip-bookmark
> > >>> Categories=VoIP;
> > >>>
> > >>> You might want to do some of the above actions using MenuLibre.
> > >>> http://www.smdavis.us/projects/menulibre
> > >>> https://launchpad.net/menulibre
> > >>>
> > >
> > 
> 
> 


-- 
Proper English www.reddit.com/r/proper
4 teh lulz... http://email.is-not-s.ms
-------------- next part --------------
A non-text attachment was scrubbed...
Name: early_music at iptel.org.desktop.gz
Type: application/x-gzip
Size: 199 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20130701/15faebe8/attachment.bin>


More information about the Xfce mailing list