You are not logged in.
I have created a .desktop entry for an application I downloaded called bibisco.
First, I moved the application's files to /opt/bibisco
ls /opt/bibisco
bibisco icudtl.dat LICENSE swiftshader
bibisco.png libEGL.so LICENSES.chromium.html v8_context_snapshot.bin
chrome_100_percent.pak libffmpeg.so locales version
chrome_200_percent.pak libGLESv2.so resources vk_swiftshader_icd.json
chrome_crashpad_handler libvk_swiftshader.so resources.pak
chrome-sandbox libvulkan.so.1 snapshot_blob.binexecuting ./bisco from that directory opens the application.
I created a desktop entry at /usr/share/applications/bibisco.desktop
[Desktop Entry]
Type=Application
Version=1.0
Name=Bibisco
Path=/opt/bibisco
Exec=bibisco
Icon=bibisco
Terminal=false
Categories=Office
X-Desktop-File-install_version=0.26I validated and installed the .desktop file as outlined here https://wiki.archlinux.org/title/desktop_entries
The application appears in rofi, but when I execute I get the error
Failed to execute child process (no such file or directory)Offline
The application appears in rofi, but when I execute I get the error
I assume rofi doesn't change the $PWD or it changes PWD but doesn't try/call a local executable but sticks to $PATH
Make it "Exec=/opt/bibisco/bibisco" - if rofi changes the PWD, that's gonna be equivalent.
Offline