Score:0

How to add an specific command to desktop entry file?

si flag

This is my .desktop file :

[Desktop Entry]
Name=Scilab
Exec=/home/bruno/Downloads/scilab-6.1.1/bin/scilab
Terminal=false
Icon=/home/bruno/Downloads/scilab-6.1.1/share/icons/hicolor/48x48/apps/scilab.png
Type=Application

and it works fine, but I would like to initializate with an specific GTK Theme, in terminal I can run:

GTK_THEME=Yaru ./scilab

and this works fine too, but if I try:

[Desktop Entry]
Name=Scilab
Exec=GTK_THEME=Yaru /home/bruno/Downloads/scilab-6.1.1/bin/scilab
Terminal=false
Icon=/home/bruno/Downloads/scilab-6.1.1/share/icons/hicolor/48x48/apps/scilab.png
Type=Application

it doesn't work, any idea of how can i make it work?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.