Tag Archives: Wine

Wine Help: No Solution Found Yet

OK, here’s a problem I’ve been trying to fix for months. Searching forums, documents, the net in general, and I can’t find the solution.

Maybe you know?

I am trying to find a way to lock down WINE so that my adult autistic son can run the  programs I want him to run, but prevent him from installing anything else!

My son is quite clever, and will do things like try and find a DVD ripping tool (He has Handbrake, and it works just fine) and by searching the net, will install every single one of them that he can find!

Don’t even get me started at how many  software websites and mirrors I’ve had to block in my router. It helps, but is not a good long term solution.

I checked out his laptop today and found over 40 different windows programs, most of which won’t run, but they are cluttering up his laptop and he gets upset when he catches me cleaning them off.

Really all he needs to run is MSPaint. I need to prevent WINE from allowing any other installs.

His machine is locked down Linux wise, he only has user access to it, and I do all the updates and Linux software installs using SSH.

I tried without success, changing the permissions on the Program Files directory. He just installs it somewhere else.

So how can I prevent WINE from installing anything else?

 

Working With Windows Software

I’ve been using various Linux logging packages for my radio hobby over the years, but none have been up to the ease of use and features of a Windows package that I’ve used for almost 20 years, on my lone old Windows machine.

Really wanting to dump that machine, it was time to really work on getting the Win program to run happy on Linux!

The program is called XMLog, a logging and award tracking software package. The program will also control my radio, changing the frequency, filling in dynamic fields like frequency, mode, time, date, etc.

XMLog

XMLog

The software has always run semi-okay using Wine, but several of the features didn’t work properly. This made it unsuitable for production use on a Linux machine.

In the example below, the data window would never display:

3 W1AW QSOs_005

And in this example, the antenna bearing and distance never showed up either:

XMLog program features

XMLog program features

Oh my joy when I tried to run this software yet again, with a brand new Mint 17.1 install on my computer, the latest Wine upgrades, and the Software itself using some more compatible libraries!

Next of course was to get the software talking to my radio. To do this, you need to tell Wine what communications ports you wish to map to what devices. This is done by navigating to your ~/.wine/dosdevices directory as shown here:

Wine configuration directory

Wine configuration directory

Right click in an empty spot in the window, and select: Open In Terminal which will open a Terminal window where you will then define the communications port mappings.

In my case, I wanted Com1 to provide remote control to my radio, using the USB device called ttyUSB1. To map this, in Terminal, in the dosdevices directory, I simply type:

ln -s /dev/ttyUSB1 com1

Which will map USB1 to Com 1, so that the Windows software can find it.

Likewise, because I wanted to be able to send Morse Code using my computer’s keyboard, I also mapped a separate port for that. It this case:

ln -s /dev/ttyUSB0 com8

If you make a mistake, or the port is not correct, then Linux will actually tell you it’s bad, right in the directory listing. Here I mapped a port that I knew did not exist on my computer. See how it says link(broken) in the description. Tells us we need to delete it, and try again:

Bad Mapping

Bad Mapping

So that’s it, I can now run my favorite radio software, on my favorite operating system and dump Windows in the ham shack for good!

XMLog running on Linux Mint 17.1

XMLog running on Linux Mint 17.1

Of course you should also join Logbook of the World, and install the Trusted QSL software (in the repositories or use the link above) as well, to really get your radio fun going!

 

 

Can You Live Without Wine?

After my last reinstall of Mint 17,  I never got around to installing Wine. There is only one piece of Windows software I ever ran under Wine, and that was the Windows 2000 version of MS Paint.

Hoping to break my dependence on MS Paint, I went searching for a native Linux paint program that would give me the same functionality. I think I may have found it, in a piece of software called XPaint.

XPaint

XPaint

I often have need to do a quick line drawing, and MS Paint always made that easy. XPaint seems to give me  much the same functions as MS Paint. So with this software, perhaps I can indeed live without Wine!

Wine, Isn’t Something You Drink

Let’s face it Linux lovers, every now and then, there is a program you want to run that just isn’t available on Linux.wine

Fortunately, there is a way to fix that little problem. WINE

Wine is a nifty Linux program that acts as a compatibility layer, able to run many different Windows applications.

You can install Wine, by simply going to your Software Manager, and searching for Wine. After installation, you can then open the Winetricks software package to install your Windows application.

Are there things Wine can’t do? Yes, for instance, I use a Windows logging package for ham radio, that runs OK on Wine, but will not access the internet directly from the software like it does in Windows. It’s a minor annoyance that I get along fine without.

One program that runs very well under Wine is the old Windows Paint program. My autistic adult son has been using MS Paint since he was 5, to draw animation cells for cartoons he makes. When I moved him from Windows 2000 to Linux back in 2005, he was quite happy to still have his favorite program.

It’s not perfect, but it works for a lot of Windows software. As Linux catches on though, you’ll find more and more of your favorite software packages ported over to Linux.