Re: Kpdf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anno domini 2021 Sat, 6 Feb 13:48:52 +0100
 phiebie@xxxxxxx scripsit:
> This is my favourite PDF-viewer and as such I have in my mimeinfo.cache
> the entry "application/pdf=kpdf.desktop". Works perfect....until I
> update libreoffice-draw or google-chrome. At that moment the kpdf-entry
> gets erased and instead of it 'draw' or 'chrome' appears or even both.
> And I have to correct this entry manually again and again.
> Is there a possibility to add in the installscript of kpdf the same
> mechanism as in chrome and draw - a delete/replace statement?
> 
> Regards, Peter.

You can add a oneliner to your .xinitrc or .xsessionrc, e.g:

sed "s#\(application/pdf=\).*$#\1kpdf.desktop#' -i .local/share/applications/mimeinfo.cache


Nik

-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux