BBO Discussion Forums: Linux: open movies in firefox - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Linux: open movies in firefox Tip

#1 User is offline   firmit 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 263
  • Joined: 2007-January-26

Posted 2008-April-09, 15:22

Most linux users probably have figured this out - but maybe some find this tip useful.

Scenario
I want to view a .lin file with the BBO-client, installed in wine under linux, when I click a link to a .lin file in Firefox.

Create a script which is used as a launcher in Firefox - example openlin.sh
#!/bin/bash
loc="C:\\Bridge Base Online\\NetBridgeVu.exe"
par=`winepath -w "$*"`
wine "$loc" "$par"
exit 0

Be sure to make it executable chmod +x openlin.sh.
Next time you click a .lin file in Firefox, Open With - locate openlin.sh - and check "Do this from now on..".
"Never increase, beyond what is necessary, the number of entities required to explain anything." William of Ockham (1285-1349)
0

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users