Re: [PLUG] Resolved: Adding an AppImage to a panel in Xubuntu
On 1/4/23 14:00, Ben Koenig wrote: For reference, here's the document that defines what you can put in those launchers: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables Looks like you either need to specify an absolute path, or make sure the app is in a folder specified by $PATH. Most DE's and even some window managers implement XDG so this is distro agnostic. -Ben Thanks! -- Regards, Dick Steffens
Re: [PLUG] Resolved: Adding an AppImage to a panel in Xubuntu
For reference, here's the document that defines what you can put in those launchers: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables Looks like you either need to specify an absolute path, or make sure the app is in a folder specified by $PATH. Most DE's and even some window managers implement XDG so this is distro agnostic. -Ben --- Original Message --- On Wednesday, January 4th, 2023 at 1:50 PM, Dick Steffens wrote: > On 1/4/23 12:22, Ben Koenig wrote: > > > The XDG launchers used in most Desktop environments don't have the ability > > to use shell expansion ($ variables or ~). So you need to specify the full > > path. Most GUI tools to create a launcher will have a file selecter that > > you can use, and you might notice that after selecting your file it inputs > > the full path. > > > > You might be able to set a "working directory" in the launcher, and then > > just specify the name of the file you want to execute. > > > > There might be variables available per the XDG specification, but I can't > > remember what they are. I'm pretty sure there is a syntax to specify the > > user. > > > That worked. I put /home/rsteff in front of the rest of the string. Also > I was able to choose the working directory in the Launcher widget by > clicking on a file folder icon. After that, I was able to click on the > file folder icon next to the command selector and it took the .appimage > file for OpenShot in that directory. > > Thanks! > > -- > Regards, > > Dick Steffens
[PLUG] Resolved: Adding an AppImage to a panel in Xubuntu
On 1/4/23 12:22, Ben Koenig wrote: The XDG launchers used in most Desktop environments don't have the ability to use shell expansion ($ variables or ~). So you need to specify the full path. Most GUI tools to create a launcher will have a file selecter that you can use, and you might notice that after selecting your file it inputs the full path. You *might* be able to set a "working directory" in the launcher, and then just specify the name of the file you want to execute. There might be variables available per the XDG specification, but I can't remember what they are. I'm pretty sure there is a syntax to specify the user. That worked. I put /home/rsteff in front of the rest of the string. Also I was able to choose the working directory in the Launcher widget by clicking on a file folder icon. After that, I was able to click on the file folder icon next to the command selector and it took the .appimage file for OpenShot in that directory. Thanks! -- Regards, Dick Steffens
[PLUG] January 2022 - softPLUG Jitsi Meeting
Hi all, Tomorrow is the first first Thursday of 2022! For newer members, this is when we typically host our monthly PLUG Talks for advanced and/or interesting topics. However, pending a return to in-person meetings I am hosting a casual, online meeting via Jitsi. There is no specific topic, this is just an opportunity to interact outside the confines of our email inboxen. All Linux (and BSD!) related questions/gossip/news are welcome. Who: You! When: Thursday, 1/5/2022 @ 7:00PM Pacific Time Where:https://meet.jit.si/PDXLinux Feel free to hop in whenever works for you. I'm holding the virtual door open until 8PM. -Ben
Re: [PLUG] Adding an AppImage to a panel in Xubuntu
The XDG launchers used in most Desktop environments don't have the ability to use shell expansion ($ variables or ~). So you need to specify the full path. Most GUI tools to create a launcher will have a file selecter that you can use, and you might notice that after selecting your file it inputs the full path. You *might* be able to set a "working directory" in the launcher, and then just specify the name of the file you want to execute. There might be variables available per the XDG specification, but I can't remember what they are. I'm pretty sure there is a syntax to specify the user. -Ben --- Original Message --- On Wednesday, January 4th, 2023 at 12:17 PM, Dick Steffens wrote: > On 1/4/23 12:01, Tomas Kuchta wrote: > > > Try $HOME/ Instead of ~/ > > > Thanks, but similar error message: > > Failed to execute command "$HOME/appimage/OpenShot-v3.0.0-x86_64.AppImage". > Failed to execute child process > "$HOME/appimage/OpenShot-v3.0.0-x86_64.AppImage" (No such file or directory) > > > Just to make sure I'm not mistyping: > > rsteff@ENU-1:~/appimage$ ls > OpenShot-v3.0.0-x86_64.AppImage > > Text in the Launcher: > OpenShot-v3.0.0-x86_64.AppImage > > (I did mistype the error message in my first post. The Launcher has the > filename correct.) > > -- > Regards, > > Dick Steffens
Re: [PLUG] Adding an AppImage to a panel in Xubuntu
On 1/4/23 12:01, Tomas Kuchta wrote: Try $HOME/ Instead of ~/ Thanks, but similar error message: Failed to execute command "$HOME/appimage/OpenShot-v3.0.0-x86_64.AppImage". Failed to execute child process "$HOME/appimage/OpenShot-v3.0.0-x86_64.AppImage" (No such file or directory) Just to make sure I'm not mistyping: rsteff@ENU-1:~/appimage$ ls OpenShot-v3.0.0-x86_64.AppImage Text in the Launcher: OpenShot-v3.0.0-x86_64.AppImage (I did mistype the error message in my first post. The Launcher has the filename correct.) -- Regards, Dick Steffens
Re: [PLUG] Adding an AppImage to a panel in Xubuntu
Try $HOME/ Instead of ~/ On Wed, Jan 4, 2023, 14:29 Dick Steffens wrote: > I am using OpenShot, which is distributed as an AppImage. To run it I > have to double click on it's icon in whatever directory I stash it. I'd > rather have an icon on the panel I have at the bottom of my screen that > has several icons for starting my most frequently used programs. I did > some DDG searching and found an instruction to put it in a Launcher, > which can be added to the panel. Unfortunately, assigning the program to > the Launcher doesn't work. I get the error message: > > Failed to execute command "~/appimage/OpenShot-v.0.0-x86_64.AppImage". > Failed to execute child process > "~/appimage/OpenShot-v.0.0-x86_64.AppImage" (No such file or directory) > > Can someone offer a clue stick as to what I'm missing? > > Thanks. > > -- > Regards, > > Dick Steffens >
[PLUG] Adding an AppImage to a panel in Xubuntu
I am using OpenShot, which is distributed as an AppImage. To run it I have to double click on it's icon in whatever directory I stash it. I'd rather have an icon on the panel I have at the bottom of my screen that has several icons for starting my most frequently used programs. I did some DDG searching and found an instruction to put it in a Launcher, which can be added to the panel. Unfortunately, assigning the program to the Launcher doesn't work. I get the error message: Failed to execute command "~/appimage/OpenShot-v.0.0-x86_64.AppImage". Failed to execute child process "~/appimage/OpenShot-v.0.0-x86_64.AppImage" (No such file or directory) Can someone offer a clue stick as to what I'm missing? Thanks. -- Regards, Dick Steffens
[PLUG] Aiming for a February in-person meeting!
PLUGgers! Happy New Year! I hope you are all healthy, happy, and rested! I am close to finalizing a great speaker for February for an in-person meeting. Feel free to meet online this week. All the best, Michael Dexter PLUG Volunteer