Run theWord
Font support
To display and format correctly, you will need to copy the Tahoma font from a Windows computer to the Cache folder.
Create theword.sh file in ~/Dropbox/theWord
#!/bin/bash
#
# Check if theword.exe is running already
ps cax | grep 'theword.exe' | grep -o '^[ ]*[0-9]*'
if [ $? -eq 0 ]; then
exit
else
#remove w: drive symbolic link
unlink ~/.wine/dosdevices/w:
# Change to the folder this shell script ran from
cd .
# make symbolic
ln -s ~/Dropbox/theWord ~/.wine/dosdevices/w:
# Run SOMMELIER + WINE + THEWORD
# dpi impacts the scaling of the mouse cursor and how editor of text works with the cursor, or else editing text may not appear to work correctly.
# dpi=96 is the Microsoft Windows default
# dpi=144 is good
# scale should be between 0.3 and 0.5 depending on your vision comfort level
# TEST with sommelier -X --scale=0.5 wine winecfg to test diff dpi values
sommelier -X --dpi=144 --scale=0.5 --accelerators="Super_L" wine w:\theword.exe
# remove w: drive symbolic link
unlink ~/.wine/dosdevices/w:
fi
exit
Make the theword.sh file executable
chmod +x ~/Dropbox/theWord/theword.sh
Create a Launcher file for the Word
nano ~/Dropbox/theWord/theword.desktop
IMPORTANT: replace <user name> with your chromebook user name
ABSOLUTE PATHS ARE REQUIREDThetheword.pngwas created by extracting the icon from theword.exewhoamiin theterminalwill show the<user name>value
[Desktop Entry]
Name=theWord
Name[en_GB]=theWord
Comment=theWord
Comment[en_GB]=theWord
Exec=sh -c ~/Dropbox/theWord/theword.sh
Icon=D84C_theword.0
Terminal=false
Type=Application
StartupNotify=false
StartupWMClass=theword.exe
Add to the Launcher by creating a symbolic link
ln -s ~/Dropbox/theWord/theword.desktop ~/.local/share/applications
After a second or two theWord will show in the Launcher
Run theWord
Select theWord to run it