You are not logged in.

#1 2013-09-15 16:32:51

Kotrfa
Member
Registered: 2012-10-25
Posts: 213

[SOLVED]Chromium use Firefox as default app for pdf, unzip...

Hello,

I have problem with chromium browser. When I don't have Firefox installed, everything works fine - it uses it's own pdf viewer and opens .zip/.tar files with 7zFM. But when I install firefox, it start's using firefox for these things. I tried to play with mime-types and xdg-open, but without success. Any ideas?

cat ~/.local/share/applications/mimeapps.list

[Added Associations]
application/pdf=okular.desktop;
application/x-bzip-compressed-tar=7zFM.desktop;
application/x-cd-image=7zFM.desktop;
application/x-rar=7zFM.desktop;
application/zip=7zFM.desktop;
audio/flac=vlc.desktop;
audio/mpeg=vlc.desktop;
image/jpeg=kde4-gwenview.desktop;
text/html=kate-2.desktop;kde4-kate.desktop;chromium.desktop;kde4-kfmclient_html.desktop;libreoffice-writer.desktop;
video/mp4=vlc.desktop;

[Removed Associations]
application/x-rar=7zFM-usercreated-0.desktop;
application/zip=unzip-usercreated-0.desktop;
text/html=geany-usercreated-0.desktop;

$ pacman -Qi chromium chromium-libpdf-stable

Name           : chromium
Version        : 29.0.1547.65-1
Description    : The open-source project behind Google Chrome, an attempt at creating a safer,
                 faster, and more stable browser
Architecture   : x86_64
URL            : http://www.chromium.org/
Licenses       : BSD
Groups         : None
Provides       : None
Depends On     : gtk2  nss  alsa-lib  xdg-utils  bzip2  libevent  libxss  icu  libgcrypt
                 ttf-font  udev  dbus  flac  opus  libwebp  snappy  speech-dispatcher
                 pciutils  libpulse  harfbuzz  harfbuzz-icu  desktop-file-utils
                 hicolor-icon-theme
Optional Deps  : kdebase-kdialog: needed for file dialogs in KDE
Required By    : chromium-libpdf-stable
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size : 117385.00 KiB
Packager       : Evangelos Foutras <evangelos@foutrelis.com>
Build Date     : Tue 03 Sep 2013 03:38:30 PM CEST
Install Date   : Wed 04 Sep 2013 11:05:31 AM CEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

Name           : chromium-libpdf-stable
Version        : 29.0.1547.62-1
Description    : Google Chrome's PDF plugin for Chromium (stable version)
Architecture   : x86_64
URL            : http://www.google.com/chrome
Licenses       : custom:chrome
Groups         : None
Provides       : None
Depends On     : chromium
Optional Deps  : None
Required By    : None
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size : 6573.00 KiB
Packager       : Unknown Packager
Build Date     : Fri 30 Aug 2013 09:14:12 PM CEST
Install Date   : Fri 30 Aug 2013 09:14:27 PM CEST
Install Reason : Explicitly installed
Install Script : No
Validated By   : None

Name           : xdg-utils
Version        : 1.1.0.git20130520-1
Description    : Command line tools that assist applications with a variety of desktop
                 integration tasks
Architecture   : any
URL            : http://portland.freedesktop.org/
Licenses       : MIT
Groups         : None
Provides       : None
Depends On     : sh  xorg-xset
Optional Deps  : kdebase-runtime: for KDE support in xdg-open [installed]
                 libgnome: for GNOME support in xdg-open
                 exo: for Xfce support in xdg-open
                 xorg-xprop: for Xfce support in xdg-open [installed]
                 pcmanfm: for LXDE support in xdg-open
                 perl-file-mimeinfo: for generic support in xdg-open
Required By    : blueman  chromium  jre7-openjdk  libreoffice-common  qt4
Optional For   : cups
Conflicts With : None
Replaces       : None
Installed Size : 252.00 KiB
Packager       : Bartłomiej Piotrowski <b@bpiotrowski.pl>
Build Date     : Sun 28 Jul 2013 08:25:13 PM CEST
Install Date   : Sun 15 Sep 2013 06:21:59 PM CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By   : Signature

Last edited by Kotrfa (2013-09-16 21:50:57)

Offline

#2 2013-09-16 16:00:27

logos88
Member
From: Valencia
Registered: 2013-04-02
Posts: 31

Re: [SOLVED]Chromium use Firefox as default app for pdf, unzip...

Have you tried to install PDF Viewer (the open html5 pdf viewer from firefox) in chromium? Maybe that way it will open pdf files directly in chromium. I use it myself because is an open option rather than the chrome viewer, and it works perfect for me.

https://chrome.google.com/webstore/deta … e-ntp-icon

Offline

#3 2013-09-16 17:08:47

Kotrfa
Member
Registered: 2012-10-25
Posts: 213

Re: [SOLVED]Chromium use Firefox as default app for pdf, unzip...

Ok, it solved my problem with PDF viewer (and is good smile ), but when I want to open downloaded .zip file (eg.), it first opens firefox and firefox opens 7zip. What the hell? big_smile

Offline

#4 2013-09-16 20:48:41

logos88
Member
From: Valencia
Registered: 2013-04-02
Posts: 31

Re: [SOLVED]Chromium use Firefox as default app for pdf, unzip...

I don't have idea. Have you tried to reinstall 7zip and chromium? maybe....

Offline

#5 2013-09-16 20:52:35

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED]Chromium use Firefox as default app for pdf, unzip...

In your mimeapps.list try renaming [Added Associations] to [Default Applications] and save. Also you can probably remove the entire [Removed Associations] section.

Offline

#6 2013-09-16 21:50:30

Kotrfa
Member
Registered: 2012-10-25
Posts: 213

Re: [SOLVED]Chromium use Firefox as default app for pdf, unzip...

Non of the above have worked. I uninstaled 7zip and instaled Ark (kde app). So basicaly this is solved thanks to instaling other apps. Thank you

Offline

Board footer

Powered by FluxBB