This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

wine + foxit + thunar

Added by over 3 years ago

It's not easy to open .pdf file from Thunar by using foxit.exe.

First, create the following script (named $HOME/bin/foxit with chmod=700)

#!/bin/sh
wine /home/bin/foxit.exe \
        "`basename [email protected] | awk '{printf("%s\ ",\$1)}'`" 
#
# The task of awk script is to join all lines into a single line
# If not the result of basename will span in many lines -- this is so strange

From Thunar, select "Open with..." from context menu for any .pdf file and enter the following line

<your_home_dir>/bin/foxit %F

Not all .pdf are opened as expected. This is just a workaround, almost good :)


Comments