Desktop file for Alecaframe

I am following this guide: https://docs.alecaframe.com/linux-support.html

I got this part at the end:

Step 9: Run AlecaFrame in the same wine prefix as Warframe via ProtonHax. Below i’ve attached an example desktop file that does the job:

[Desktop Entry]
Name=AlecaFrame
Exec=protonhax run 230410 "/home/branden/.local/share/Steam/steamapps/compatdata/230410/pfx/drive_c/users/steamuser/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Overwolf/AlecaFrame.lnk"
Type=Application
StartupNotify=true
Icon=/home/branden/.local/share/Steam/steamapps/compatdata/230410/pfx/drive_c/users/steamuser/AppData/Local/Overwolf/AppShortcutIcons/afmcagbpgggkpdkokjhjkllpegnadmkignlonpjm.ico
Name[en_US]=AlecaFrame
Terminal=false
TerminalOptions=

My question is, how do I make this desktop file. I never made 1 before.

Any help is appreciated. :slightly_smiling_face:

Give it a name, like:alecaframe.desktop and put it in ~/.local/share/applications

So I would open a terminal and type:

sudo nvim ~/.local/share/applications/alecaframe.desktop

Then put in my name where brandon is like so:

[Desktop Entry]
Name=AlecaFrame
Exec=protonhax run 230410 "/home/x/.local/share/Steam/steamapps/compatdata/230410/pfx/drive_c/users/steamuser/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Overwolf/AlecaFrame.lnk"
Type=Application
StartupNotify=true
Icon=/home/x/.local/share/Steam/steamapps/compatdata/230410/pfx/drive_c/users/steamuser/AppData/Local/Overwolf/AppShortcutIcons/afmcagbpgggkpdkokjhjkllpegnadmkignlonpjm.ico
Name[en_US]=AlecaFrame
Terminal=false
TerminalOptions=

Then type :wq

Is that how I do it?

Yes. And no.

You should never use sudo for managing your files and folders under your home directory. Everything in there should belong to your user and managed by it. Otherwise somethings will be owned by root and you will one way or another run to some issues later on which can be hard to troubleshoot.

TY for help. I have moved on to less desirable solutions because this did not work for me. Alecaframe immediately crashes before it displays anything. I could have the path to the game file wrong but I don’t know how to check. I looked but still have no idea what is going on. This file system is confusing to me still. I still have much to learn.

1 Like