Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
TheJooomes

.desktop file wont lauch known working script

Recommended Posts

Posted · Original PosterOP

So I got the Firefox binaries for the latest version. I wrote a script to launch it with GDK_BACKEND=wayland, it runs perfectly launched from the file manager and the terminal. But what doesn't work is making .desktop file and having it lead to that script I wrote. I know the .desktop file works because it shows up in the Gnome menu and works when it leads to the Firefox binary, and I know the script works because it launches Firefox on Wayland as expected via both the terminal and file manager.

 

in case i was dumb and i screwed up, have a look

[Desktop Entry]
Comment=
Terminal=false
Name=Firefox Wayland
Exec=/home/james/apps/firefoxwayland.sh
Type=Application
Icon=/home/james/apps/firefox/browser/chrome/icons/default/default128.png


#!/bin/sh
GDK_BACKEND=wayland firefox/firefox

ur local linux fanboy, daily driver of kubuntu non-LTS (no compositing of course). graphical interfaces are for the weak, i am the weak

Link to post
Share on other sites
1 hour ago, TheJooomes said:

[Desktop Entry]
Comment=
Terminal=false
Name=Firefox Wayland
Exec=/home/james/apps/firefoxwayland.sh
Type=Application
Icon=/home/james/apps/firefox/browser/chrome/icons/default/default128.png


#!/bin/sh
GDK_BACKEND=wayland firefox/firefox

did you do:

chmod +x firefoxwayland.sh

?


# cat /dev/zero > /dev/sda
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×