Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3395

Problem running application in GNOME.

$
0
0
Software Versions:
Debian GNU/Linux 10 (Buster)
Kernel 4.19.0-27-686-pae
GNOME Shell 3.30.2
alacarte/oldstable,now 3.11.91-4 all

Symptom:
I have successfully used alacarte (Main Menu on Debian) to add a menu called Backups and Items under Backups for each set of data to backup (my home/user directories, My NAS directories...). When I left-click on Applications (on the topmost bar that contains the current date/time) the dropdown menu looks great, the Backups menu and all of it's items look great. If I hover over the Backups entry in the left column all of the items appear in the right colun, everything looks great. When I click on a backup item I just get returned to the desktop, nothing is executed (seemingly).

Details:
the application that I'm trying to run is a Python app that I wrote called rsync-backup.py that is stored in the rsync_backup directory in my home /user directory. the command that I'm trying to run (in the Exec key of the desktop file is /home/<user>/rsync_backup/rsync-backup.py job-mitch-nas.job. Notice the inclusion of the argument on the "command line". Inclusion of the argument is different from 99.9% of the other menu items that work properly.

What I've tried:
I have tried several things with no success in being able to execute the command rsync-backup.py <argument> from the menu. I have tried the following:
Created a BASH shell script to run rsync-backup.py thru fails from the menu, Runs fine in the terminal, running the rsync-backup.py directly runs fine.

Determined the specific .local/share/applications/alacarte-made .desktop file and added Path, Hidden, NoDisplay keys with path-to-executable, false, false values. Path= is the line before Exec=.

Experimented with %f on the Exec= line, both before and after the argument. No change. I don't know exactly how to use %f correctly.

I'm at a total loss. The only thing I can think of is; due to all of my attempts at a fix I now have 40+ alacarte-made-(1 ... 40+).desktop files in my /home/mitcon/.local/share/applications directory. I'm not sure if I can manually delete any of these ,desktop files. alacarte did not delete any .desktop file when I deleted the item there.

Any ideas are MORE than welcome!
Thanks

Statistics: Posted by mitcon — 2024-10-03 12:09 — Replies 1 — Views 59



Viewing all articles
Browse latest Browse all 3395

Trending Articles