Author Topic: SOLVED:Miro doesn't show in menu  (Read 810 times)

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
SOLVED:Miro doesn't show in menu
« on: July 05, 2011, 11:21:54 PM »
This is the same problem as posted here -> http://www.pclinuxos.com/forum/index.php/topic,92375.0.html, only theirs was with KDE. I've looked at the /usr/share/applications/miro.desktop file, and I really don't see any errors. Maybe I'm missing something, but I still haven't figured out why this desktop entry doesn't show in the menus. I also used the lxMenuEditor to create a launchable item. The Miro icon appears in the System group of choices when creating the launchable item. But, nothing appears in the lxmenu.

« Last Edit: July 06, 2011, 01:42:10 PM by djohnston »
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: Miro doesn't show in menu
« Reply #1 on: July 06, 2011, 08:19:22 AM »
yeah, weird stuff. Can't see any error in the desktop file, played with some other settings in there but can't get it in the menu either, strange indeed.  :-\

Online Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Miro doesn't show in menu
« Reply #2 on: July 06, 2011, 09:33:43 AM »
Same here. Added ShowIn=LXDE; - didn't help. Tried various other edits. Nothing helped. ???
I can not spot any error in the .desktop file.

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3748
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Miro doesn't show in menu
« Reply #3 on: July 06, 2011, 11:06:26 AM »
Same here. Added ShowIn=LXDE; - didn't help. Tried various other edits. Nothing helped. ???
I can not spot any error in the .desktop file.

Try this  ;)

Code: [Select]
cp -a /usr/share/applications/miro.desktop $HOME/.local/share/applications/

wait few seconds

Code: [Select]
rm -r $HOME/.local/share/applications/miro.desktop
Did it by libreoffice..., and works here...
« Last Edit: July 06, 2011, 11:12:58 AM by Leiche »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Miro doesn't show in menu
« Reply #4 on: July 06, 2011, 11:54:23 AM »
Same here. Added ShowIn=LXDE; - didn't help. Tried various other edits. Nothing helped. ???
I can not spot any error in the .desktop file.

Try this  ;)

Code: [Select]
cp -a /usr/share/applications/miro.desktop $HOME/.local/share/applications/

wait few seconds

Code: [Select]
rm -r $HOME/.local/share/applications/miro.desktop
Did it by libreoffice..., and works here...

If this is going to work it means that the "rm" statement will be enough, no need to "cp", ... else I need to change job!

AS

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3748
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Miro doesn't show in menu
« Reply #5 on: July 06, 2011, 12:14:14 PM »
you can use cp -s /usr/share/applications/miro.desktop , and you don't need to remove this symbolic-link. But it's display after remove the file from your /home/<USER>/.local/share/applications/miro.desktop in your startmenu.

EDIT:
Installed Miro, and try cp, but no luck  ::)
What goes here wrong  ???

Will now add a new user...
« Last Edit: July 06, 2011, 12:33:41 PM by Leiche »

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3748
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Miro doesn't show in menu
« Reply #6 on: July 06, 2011, 12:48:17 PM »
found the error...

LXDE User must remove this line
Code: [Select]
TryExec=dbus-launch mirofrom desktop file, and it will display in the startmenu...
and remove %f from the next line. This is not really needed, because Miro starts video by a right click on it.

EDIT:
my file looks now

Code: [Select]
[Desktop Entry]
Type=Application
Name=Miro Internet TV
GenericName=Internet TV
Comment=Watch online video
Comment[de]=Multimedia Player
Comment[es]=Reproductor multimedia
Comment[fr]=Lecteur multimedia
Comment[it]=Lettore multimediale
Icon=miro
#TryExec=dbus-launch miro
Exec=dbus-launch miro
Terminal=false
Categories=GTK;AudioVideo;TV;Player;P2P;News;FileTransfer;X-MandrivaLinux-Multimedia-Video;Video;
MimeType=application/x-miro;application/x-democracy;application/x-bittorrent;video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;application/x-matroska;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;video/ogg;audio/ogg
X-Desktop-File-Install-Version=0.11

Good Luck
« Last Edit: July 06, 2011, 01:08:29 PM by Leiche »

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Miro doesn't show in menu
« Reply #7 on: July 06, 2011, 01:41:49 PM »
found the error...

LXDE User must remove this line
Code: [Select]
TryExec=dbus-launch mirofrom desktop file, and it will display in the startmenu...
and remove %f from the next line. This is not really needed, because Miro starts video by a right click on it.


Alright, Leiche! Don't know why, but making those two edits to the desktop file worked. There's now an entry in the Video section for Miro Internet TV.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378