Open jediafr opened 2 years ago
Hi, does the script work if it's not in your $HOME
, or this issue only happens when it's there? Are you using something like Flatpak or any sandbox which would cause Pegasus to not access the directory? If you call
/home/jda/scripts/C64dreams_vbs2linux.sh "/run/media/jda/Games_ext4/dl_tempo/C64_dreams_exportLB/Games Favorites/180.vbs"
from a newly opened terminal, does that work?
Hi matyas,
Thanks for the quick reply.
here's my findings :
1/ Command line works fine in a new terminal /home/jda/scripts/C64dreams_vbs2linux.sh "/run/media/jda/Games_ext4/dl_tempo/C64_dreams_exportLB/Games Favorites/180.vbs"
2 / If i move the script to another filesystem the error is still present he doesnt seem to like the bash script because i replaced the bash for the emulator executable and it works fine in that case.
The issue
I configured the metadata.pegasus.txt as follows collection: C64 Dreams Fav. extensions: vbs, url, bat launch: /home/jda/scripts/C64dreams_vbs2linux.sh "{file.path}"
When i launch a rom Pegasus fail with a message about permissions or existence of the script.
When i check on that error message , the script's permissions are perfectly fine (and i cand launch for le termianl just fine) : ls -l /home/jda/scripts/C64dreams_vbs2linux.sh -rwxrwxrwx 1 jda jda 407 22 janv. 15:11 /home/jda/scripts/C64dreams_vbs2linux.sh
The script content is bare right now :
!/bin/bash
variables
C64_dreams_root_dir="" C64_emulator_dir="" C64_emulator="" /usr/bin/notify-send 'C64 launcher : parametres recus $1 $2 $2 $4 $5 $6 $7 $8 $9' exit 0
System info
OS: Manjaro Linux x86_64 DE: Plasma 5.23.4 CPU: Intel i7-4720HQ (8) @ 3.600GHz GPU: Intel 4th Gen Core Processor Memory: 4774MiB / 15460MiB
Pegasus version
Pegasus alpha15-101-g8425a4f6 (2022-01-21)
Pegasus log
~/.config/pegasus-frontend/lastrun.log
If possible, please attach the file to this bug report. lastrun.log