Latest LQ Deal: Latest LQ Deals
Go Back > Blogs > LINUX mostly DEBIAN - hardware and software
User Name


18 years of DEBIAN starting from version 5 "Sid" until the recent 10 "Buster".
Before that done 6 years of system administration including a SCO UNIX Server and a couple of Windows Servers and dozens of workstations. The largest system was nearly 100 PC's, devices etc. at 3 locations with LAN and VPN's, Firewall and Phone via landline and VoIP.

Have fun, and maybe share your knowledge with me.
Rate this Entry

SYLPHEED - uses wrong program to open PDF files

Posted 01-30-2023 at 11:15 AM by error_401

Lately in Debian 11 with the stable version I encountered an issue with Sylpheed using the wrong software to open PDF files.

After reading through the manual here:

I solved the problem at user level by making an entry at the top of the mailcap file.

The files location is: /etc/mailcap

It can only be edited by root. Sylpheed Manual 14.2 explains how the mailcap is used. As it browses through the file from top to bottom to associate .pdf with a program it found several entries before hitting "OKULAR" or your favorite PDF-program. By adding the following entry to the top of the list below the comments I solved the problem. Sylpheed needs a restart to use the new version of the mailcap.

Add something like the following or search and copy/paste the entry of your favorite program to the top as I did.

application/pdf; okular %s; test=test -n "$DISPLAY"
# USER ADDED - END / Following are system generate
Problem solved, Sylpheed now uses okular to open.
Posted in Uncategorized
Views 499 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 06:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration