====== Linux - Additional Tricks and Tips ======
===== WINE =====
- Not the drinking kind... \\
==== Comports setting Method 1 (regedit) ====
* Go to regedit via wine regedit{{:pictures:wine:wine_terminal.jpg|}}\\ Navigate to __/HKEY_Local_Machine/Software/Wine/Ports__ and add a new string called __com1__.{{:pictures:wine:wine_regedit.jpg|}}\\ Set the data to the comport (I.E. /dev/ttyUSB0)\\ {{:pictures:wine:wine_comport.jpg|}}
==== Comports setting Method 2 (terminal) ====
run the following command in terminal
sudo rm ~/.wine/dosdevices/com1 && sudo ln -s /dev/com6 ~/.wine/dosdevices/com1
Ensure you replace com6 with what ever com port you want to use (com7, ttyUSB0 and etc)
==== How to associate .exe files with Wine on Ubuntu? ====
You need to install wine-binfmt.
Also copy wine.desktop to /usr/share/applications or to $HOME/.local/share/applications/. You will find wine.desktop in /usr/share/doc/wine/examples/wine.desktop.
===== None of the windows/notepads are responding =====
Sometimes Gnome (desktop interface) has some issue, simply go and restart gnome by doing the following
On the desktop, press alt + F2. A text box will pop up, type r and press enter
Gnome will then restart and things should work again.