Tech Notes, Tips & Reviews

Mandriva 2010.0 and Cedega CD/DVD Detection

Nov 292009

undefinedHaving recently upgraded to Mandriva 2010.0, I also wanted to give Cedega a go, so I loaded up the latest Cedega and found that certain CDs and DVDs were not recognised. They would load OK but would not run, failing the “copy-protection” test in Cedega Diagnostics. The game in this case was Oblivion which installed fine but would not run.

I found that I had to manually add an entry to the end of /etc/fstab file, to specifically set the CD/DVD options:

# Entry added to allow Cedega copy-protection test to work.
/dev/sr0 /mnt/cdrom iso9660 user,unhide,noauto,ro 0 0

You will need to replace “/dev/sr0″ with the actual location of your CD/DVD drive. You can check where the /dev/cdrom and /dev/dvd links point to get this information. I’d imagine that in most cases “sr0″ will be correct.

Strangely enough the same set up on a notebook worked perfectly without any changes to the fstab file. So it’s obviously only certain hardware configurations that need this change.


Setting Windows File Associations in Wine

May 222012

WineAssocWine Association Creator

When running an application in Wine recently I noticed that if my application wanted to open a Word document or Excel spreadsheet it failed because Office isn't installed in Wine, even though I had LibreOffice installed natively in Linux. The same goes for PDF documents which fail because I don't have Adobe Reader Installed, I have Okular already installed in Linux.

When searching the net for a solution all I came across were registry edits and a couple of command line scripts. So I decided to write a simple application in Qt/C++ to make the process easier.

After downloading WineAssoc simply double click on the file (you may need to make it executable first) or from a console run ./WineAssoc in the directory you downloaded into. You will be presented with a window as shown here in the screenshot. Simply select which file extensions you wish to associate to native Linux applications and then click Add >> to move them to the right hand column. When you have selected all the required types, click Apply. Note that WineAssoc honours the WINEPREFIX setting and will prompt for confirmation before proceeding.

The extension list is populated using Linux config files, with a few extras added in. If by chance your extension is not shown you can start WineAssoc from the console specifying extra extensions manually. For example ./WineAssoc abc def would add abc & def to the association list. You can also hover your mouse over an extension type to show what programs are associated to that type.

The program should run on most Linux systems that have Qt 4.8 or later. Please let me know if you have problems with a particular distro and Ill try to look into it.

 Download WineAssoc using the link below:

Find this utility useful? Leave a comment or consider a purchase from our website.


WineAssoc is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.


© ScribblyGum Technology 2017