LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 08-11-2021, 10:02 AM   #1
blackbirdsr71
LQ Newbie
 
Registered: Jun 2015
Posts: 15

Rep: Reputation: Disabled
Questions related to vifm


Hi there!
I don't know if there is a dedicated forum for vifm, but since i use arch i'm asking the question within this forum. I'm previewing pdf ang other image related files with ueberzug in the panes in view mode. That's working fine. I can see the content of zip and rar files as well. But i can't preview .docx, ps or eps files, where i get garbage metadata. Is there a way to manage to preview those kind of files? Thanks in advance !!
 
Old 08-11-2021, 10:49 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,678

Rep: Reputation: Disabled
Well, the default vifmrc handles previewing of .docx files like this:
Code:
fileviewer {*.docx},
          \<application/
           \vnd.openxmlformats-officedocument.wordprocessingml.document>
         \ docx2txt.pl %f -
But PKGBUILD for docx2txt installs it as /usr/bin/docx2txt. An easy workaround is to copy that snippet to your ~/.config/vifm/vifmrc (or ~/.vifm/vifmrc, or /etc/vifm/vifmrc) replacing docx2txt.pl with docx2txt.


Also, you should file a bug with the vifm Archlinux package to patch /usr/share/vifm/vifmrc accordingly.

For PostScript files, the default vifmrc only has this:
Code:
" PostScript
filextype {*.ps,*.eps,*.ps.gz},<application/postscript>
        \ {View in zathura}
        \ zathura %f,
        \ {View in gv}
        \ gv %c %i &,
Again, you can add fileviewer PostScript handling to your local vifmrc.
 
1 members found this post helpful.
Old 08-14-2021, 08:31 AM   #3
blackbirdsr71
LQ Newbie
 
Registered: Jun 2015
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks for your reply shruggy! I will give it a try and tell you if it worked.
 
Old 08-15-2021, 06:55 PM   #4
blackbirdsr71
LQ Newbie
 
Registered: Jun 2015
Posts: 15

Original Poster
Rep: Reputation: Disabled
Well, i could solve the issue with .docx files but still can't preview eps files in the panel.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Color coding of file directories in vifm KYJazzyJeff Linux - General 1 09-11-2016 01:13 PM
Colorschemes in vifm TobiSGD Linux - Software 10 06-09-2012 12:30 AM
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
Questions, Questions, Questions Nappa Slackware 6 11-18-2003 02:56 PM
questions,questions,questions harddrive37 Linux - Networking 1 07-21-2003 10:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 10:17 PM.

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