Skip to content

Instantly share code, notes, and snippets.

@bmaupin
Last active September 6, 2023 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmaupin/034ee0e28cafedbf61f05041192c9830 to your computer and use it in GitHub Desktop.
Save bmaupin/034ee0e28cafedbf61f05041192c9830 to your computer and use it in GitHub Desktop.
Install Adobe Digital Editions 2.0.1 on Linux

TODO

Prerequisites

Install Adobe Digital Editions 2.0.1

export WINEARCH=win32
# Using a separate Wine prefix is best practice to avoid breaking other Wine apps
export WINEPREFIX=~/.local/share/wineprefixes/adobe_diged2

# Set up new Wine prefix
wineboot

# Install prerequisites
winetricks -q dotnet35sp1
winetricks -q windowscodecs
winetricks -q corefonts

# Install ADE 2.0.1
wget http://download.adobe.com/pub/adobe/digitaleditions/ADE_2.0_Installer.exe
wine ADE_2.0_Installer.exe

Create desktop entry

  1. (Optional) Extract application icon

    cd ~/.local/share/wineprefixes/adobe_diged2/drive_c/Program\ Files/Adobe/Adobe\ Digital\ Editions\ 2.0/
    7z x DigitalEditions.exe .rsrc/ICON -aoa
    cd -
    
  2. Create the desktop entry

    echo "[Desktop Entry]
    Type=Application
    Name=Adobe Digital Editions 2.0
    Exec=env WINEPREFIX=/home/$USER/.local/share/wineprefixes/adobe_diged2 wine \"/home/$USER/.local/share/wineprefixes/adobe_diged2/drive_c/Program Files/Adobe/Adobe Digital Editions 2.0/DigitalEditions.exe\"
    Icon=/home/$USER/.local/share/wineprefixes/adobe_diged2/drive_c/Program Files/Adobe/Adobe Digital Editions 2.0/.rsrc/ICON/4.ico
    Terminal=false" > ~/.local/share/applications/adobedigitaleditions2.desktop
    

Open ADE 2.0.1

Open with the desktop entry, or:

export WINEPREFIX=~/.local/share/wineprefixes/adobe_diged2; wine $WINEPREFIX/drive_c/Program\ Files/Adobe/Adobe\ Digital\ Editions\ 2.0/DigitalEditions.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment