Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   New Phex Users (https://www.gnutellaforums.com/new-phex-users/)
-   -   Changing default previewer under Linux? (https://www.gnutellaforums.com/new-phex-users/66846-changing-default-previewer-under-linux.html)

HippoMan February 3rd, 2007 04:26 PM

Changing default Phex previewer under Linux?
 
I'm a new Phex user (version 3.0.0.99), and I'm running it under Linux. It's working fine, but I want to change the default previewer from mplayer to something else.

I looked in Undocumented.htm, and it mentions the properties previewMethod and fallbackPreviewMethod. However, this document seems to be stating that these are properties that are to be set within phex.cfg, but the generic (non-Windows) version of Phex doesn't seem to make use of such a file.

I see phexCorePrefs.properties and phexGuiPrefs.properties in $HOME/.phex, but neither of these files contains properties whose names are of the same format as the two preview properties I have mentioned above.

Also, if I create a phex.cfg file in $HOME/.phex, the next time I start Phex, that cfg file gets deleted, my previously-saved system properties get set back to defaults, and the options wizard kicks in for me to re-initialize these properties.

So, how can I change the previewer in my version of Phex to run something other than mplayer?

Thanks in advance.

GregorK February 5th, 2007 02:39 AM

I'm not sure if it still works... and I'm not sure why it runs mplayer, but try to set the following properties in phexCorePrefs.properties. I post them with there default value, you only need to add the modified values to the properties file.

SystemTools.OpenVideoCmdOtherOS = xterm -e mplayer %filepath%

SystemTools.OpenImageCmdOtherOS = ee %filepath%

SystemTools.OpenAudioCmdOtherOS = xterm -e mplayer %filepath%

SystemTools.OpenBrowserCmdOtherOS = mozilla -remote openURL(%filepath%,new-window)

The file phex.cfg is obsolete since 3.0

HippoMan February 5th, 2007 01:44 PM

Thanks. This did the job.

Concerning the obsolescence of phex.cfg, I suggest that Undocumented.htm be modified or not included at all in 3.0, as it refers to this file.


All times are GMT -7. The time now is 06:37 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.