Error No View Mailcap Rules Found
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] xdg-open fails without a desktop environment Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 5 of 5 Thread: xdg-open fails without a desktop environment Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode August 3rd, 2010 #1 a.sarkar View Profile View Forum Posts Private Message Visit Homepage Just Give Me the Beans! Join Date Aug 2009 Location India Beans 63 DistroUbuntu 10.04 Lucid Lynx xdg-open fails without a desktop environment xdg-open fails to open folder without a proper desktop environment like gnome/kde. I have openbox with thunar installed as file manager. When I run the command Code: xdg-open /tmp then it shows the error Code: Warning: unknown mime-type for "/tmp" -- using "application/octet-stream" Error: no "view" mailcap rules found for type "application/octet-stream" Searched the internet and found out that this is a bug. See bug report here and here. Has this been solved yet? Adv Reply August 4th, 2010 #2 Flimm View Profile View Forum Posts Private Message Cookies and cream Join Date Mar 2008 Location Cardiff, UK Beans 425 DistroUbuntu 10.04 Lucid Lynx Re: xdg-open fails without a desktop environment According to that bug report, it's been fixed upstream but the fix hasn't been released in Ubuntu. If you're comfortable compiling from source, you could do that with the upstream releases. Otherwise, wait
I'm still getting issues with rendering HTML email properly. I getthe error in the subject line as well as another (can't reproducewithout quitting sup).I wonder if anyone might share their .mailcap file, or suggest anyalternative methods for stripping out the nonsense HTML markup and justleaving me with plain text.Thank you,Christer Philippe LeCavalier 2011-02-16 14:07:19 https://ubuntuforums.org/showthread.php?t=1545051 UTC PermalinkRaw Message Hi Christer.Excerpts from Christer Edwards's message of Wed Feb 16 01:42:46 -0500 2011:[...]Post by Christer EdwardsI wonder if anyone might share their .mailcap fileHere's mine. I just started building it but it's something...BTW Did you look into the mime-decode.rb hook?cat http://supmua.narkive.com/vD4fsqFj/error-no-view-mailcap-rules-found-for-type-text-plain ../../.mailcapapplication/zip; squeeze '%s'application/pdf; /usr/bin/xpdf '%s'application/msexcel; gnumeric '%s'application/html; firefox '%s'application/vnd.openxmlformats-officedocument.wordprocessingml.document; abiword '%s'Not certain the last one is 'proper' but it works.--Thanks,Phil Christer Edwards 2011-02-16 14:46:49 UTC PermalinkRaw Message Post by Philippe LeCavalierHere's mine. I just started building it but it's something...BTW Did you look into the mime-decode.rb hook?cat ../../.mailcapapplication/zip; squeeze '%s'application/pdf; /usr/bin/xpdf '%s'application/msexcel; gnumeric '%s'application/html; firefox '%s'application/vnd.openxmlformats-officedocument.wordprocessingml.document; abiword '%s'Not certain the last one is 'proper' but it works.I tried adding this contents to my file, but I'm still getting the error when selecting an html email attachment:Couldn't execute view command, viewing as text.In response to another suggestion, I have not tried the mime hook. I haven't quite been able to make sense of it yet.Christer Philippe LeCavalier 2011-02-16 15:28:46 UTC PermalinkRaw Message Hi Christer.Post by Christer EdwardsPos
Bug #220765: xdg-open should use xdg-mime instead of run-mailcap when no DE detected. Edit Remove 16 This bug affects 3 people Affects Status Importance Assigned to Milestone xdg-utils https://bugs.launchpad.net/bugs/362121 (Ubuntu) Edit New Undecided Unassigned Edit Also affects project (?) Also affects distribution/package http://rubyforge.org/pipermail/sup-talk/2011-February/004550.html Nominate for series Bug Description Binary package hint: xdg-utils Ubuntu 8.10 xdg-utils 1.0.2-6 On my system, using xdg-open to access any directory from within the environment (regardless of privileges) prepared by sudo results in the following output: > Warning: unknown mime-type for "
message: [sup-talk] Error: no "view" mailcap rules found for type "text/plain" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi Christer. Excerpts from Christer Edwards's message of Wed Feb 16 09:46:49 -0500 2011: > Excerpts from Philippe LeCavalier's message of 2011-02-16 07:07:19 -0700: > > Here's mine. I just started building it but it's something...BTW Did you look into the mime-decode.rb hook? > > > > cat ../../.mailcap > > application/zip; squeeze '%s' > > application/pdf; /usr/bin/xpdf '%s' > > application/msexcel; gnumeric '%s' > > application/html; firefox '%s' > > application/vnd.openxmlformats-officedocument.wordprocessingml.document; abiword '%s' > > > > Not certain the last one is 'proper' but it works. > > I tried adding this contents to my file, but I'm still getting the error when selecting an html email attachment: > > Couldn't execute view command, viewing as text. I think sup always tries to display HTML inline but without the mime-decode.rb hook it will fail(just a guess). Despite the error the mailcap entry for firefox(assuming you have firefox, if not substitute for sensible-browser) should open. All mime-decode does is make use of w3m to display the html encoding inline. So you'll need the w3m package for that to work. > Christer -- Thanks, Phil Previous message: [sup-talk] Error: no "view" mailcap rules found for type "text/plain" Next message: [sup-talk] Error: no "view" mailcap rules found for type "text/plain" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the sup-talk mailing list