From 0764fb4a5e07e9d499c9733fa504b3218fc7ceaa Mon Sep 17 00:00:00 2001 From: Omni-guides <110171124+Omni-guides@users.noreply.github.com> Date: Wed, 11 Sep 2024 10:58:55 +0100 Subject: [PATCH] Add section for creating a desktop shortcut. --- Wabbajack-on-Linux-via-Wine.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Wabbajack-on-Linux-via-Wine.md b/Wabbajack-on-Linux-via-Wine.md index 5bbdb12..3b9d33a 100644 --- a/Wabbajack-on-Linux-via-Wine.md +++ b/Wabbajack-on-Linux-via-Wine.md @@ -275,6 +275,31 @@ If you install a list using the C: drive show in the file browser, the list will --- +### Step 12 (Optional) Create a Desktop launcher for Wabbajack + +Once you're happy that Wabbajack is function correctly, you may want to create a Desktop launcher shortcut for our new Wabbajack-via-wine application. + +Firstly, grab a copy of the Wabbajack icon to use: + +``` +wget -O $HOME/Wabbajack/Wabbajack.ico https://raw.githubusercontent.com/wabbajack-tools/wabbajack/main/Wabbajack.Launcher/Assets/wabbajack.ico +``` +Next, create a new file in $HOME/Desktop called Wabbajack.desktop with the following contents (edit to suit your environment): + +``` +[Desktop Entry] +Name=Wabbajack +Exec=env HOME="$HOME" WINEPREFIX="$HOME/.wine" wine $HOME/Wabbajack/Wabbajack.exe +Type=Application +StartupNotify=true +Path=~/Wabbajack +Icon=/home/omni/Wabbajack/Wabbajack.ico +``` + +Unfortunately the standards for the .desktop file format require an absolute path for the Icon= entry, so it can't be shortened to $HOME or ~/ for ease, so you will need to specify the path in full for the desktop shortcut to have the Wabbajack icon. + +You should now be able to start Wabbajack simply by double-clicking the icon on your desktop. + ### Post Wabbajack Steps The above will get Wabbajack installed and running on your Linux system. It *does not* however, take care of any installation requirements to get the modlist itself running on Linux. You can see my [other guides within this github](https://github.com/Omni-guides/Wabbajack-Modlist-Linux/wiki) for specific lists, or [general steps](https://github.com/Omni-guides/Wabbajack-Modlist-Linux/wiki/General-Linux-Guide-(Anvil)) to take, or you can use my [Automated Installation Script](https://github.com/Omni-guides/Wabbajack-Modlist-Linux/wiki/Using-the-omni%E2%80%90guides.sh-Automation-Script) to take care of things for you.