archcraft-os / archcraft

// Source : ISO
https://archcraft.io
GNU General Public License v3.0
3.01k stars 103 forks source link

appimage does not work in "places" #359

Closed Wjxfi closed 7 months ago

Wjxfi commented 1 year ago

appimage doesn't work when: Openbox > right mouse click > Places > Applications > click on BalenaEtcher-1.14.3-x64.Appimage (opens archives application)

appimage works when: Openbox > Thunar > user > Applications > click on BalenaEtcher-1.14.3-x64.Appimage

ab0veall commented 1 year ago

seems like you're experiencing an issue with running an AppImage file using Openbox. Specifically, when you right-click on the desktop, go to "Places," navigate to "Applications," and click on the BalenaEtcher-1.14.3-x64.Appimage file, it opens the archive application instead of executing the AppImage.

To address this, let's explore some possible solutions. It appears that the issue lies in the default action associated with the AppImage file type within Openbox. When you access the file through Thunar (the file manager), it executes the AppImage as expected. This suggests that the problem may be related to the desktop environment's configuration.

One potential solution is to modify the Openbox configuration to associate the correct action with the AppImage file type. To do this, you can edit the Openbox menu configuration file and specify the appropriate command to execute the AppImage when clicked from the "Places" menu. You may need to consult the Openbox documentation or seek guidance from the Openbox community to ensure the correct configuration changes are made.

Alternatively, you can try a workaround by creating a desktop entry for the BalenaEtcher AppImage manually. This involves creating a .desktop file in the ~/.local/share/applications directory or /usr/share/applications directory. The .desktop file should contain the necessary information to launch the AppImage when clicked. You can find examples and further guidance on creating .desktop files in the freedesktop.org Desktop Entry Specification.

Remember, it's essential to make any modifications or additions to your system configuration with caution and create backups as a precautionary measure. If you're uncomfortable making these changes yourself, consider seeking assistance from experienced Openbox users or the Openbox community to ensure the changes are made correctly.

I hope these suggestions help you resolve the issue and allow you to run the BalenaEtcher AppImage seamlessly within Openbox. If you have any further questions or need additional assistance, feel free to ask. Good luck!

Wjxfi commented 1 year ago

Hi, thanks for the huge response. I don't think this kind of difficulty should happen to regular people. If I do as you said, I will spend more time than I will get the benefit of fixing the bug. fixing a minor bug shouldn't cost that much time, the cons outweigh the pros. I think it should be up to the developer to do it.

adi1090x commented 7 months ago

Always use a .desktop file for you app-images. that way you can access them using both, openbox menu and rofi launcher.