Skip to content

Instantly share code, notes, and snippets.

@mp107
mp107 / wine-msoffice-2007-extension-csv.desktop
Last active Jan 17, 2020
Microsoft Office 2007 Wine extensions handlers
View wine-msoffice-2007-extension-csv.desktop
[Desktop Entry]
Type=Application
Name=Microsoft Office Excel (csv)
MimeType=text/csv
Exec=env WINEPREFIX="/home/mp/.wine_msoffice_2007" wine start /ProgIDOpen Excel.CSV %f
NoDisplay=true
StartupNotify=true
View init.sh
#!/bin/bash
# Functions
put_directory()
{
SUBVOL_DIRECTORY="$1"
USER_DIRECTORY="$2"
echo "Put directory $SUBVOL_DIRECTORY in $USER_DIRECTORY"
if [ -e "${SUBVOL_DIRECTORY}" ]
View Install Oracle Java 6 on Ubuntu
0. Use on your own responsibility.
0. Method 1.
1. Download file jdk-6u45-linux-x64.bin
2. Move jdk-6u45-linux-x64.bin to /var/cache/oracle-jdk6-installer/ location
3. Download file oracle-java6-installer_6u45-0~webupd8~8_all.deb
4. sudo dpkg -i oracle-java6-installer_6u45-0~webupd8~8_all.deb
0. Method 2.
1. Download file jdk-6u45-linux-x64.bin
2. Move jdk-6u45-linux-x64.bin to /var/cache/oracle-jdk6-installer/ location
You can’t perform that action at this time.