PB v6.0 beta: Program start (no bug)

Raspberry PI specific forum
User avatar
mk-soft
Always Here
Always Here
Posts: 5386
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

PB v6.0 beta: Program start (no bug)

Post by mk-soft »

I always get the box when I start Purebasic IDE or PB Apps.
Execute or execute in terminal
Is there a setting or attribute wrong?

OS: Raspberry PI 4 Desktop
Last edited by mk-soft on Fri Dec 24, 2021 3:20 pm, edited 1 time in total.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Marc56us
Addict
Addict
Posts: 1479
Joined: Sat Feb 08, 2014 3:26 pm

Re: PB v6.0 beta: Program start bug

Post by Marc56us »

Is IDE /app executable ?
(chmod +x ... ?)
User avatar
mk-soft
Always Here
Always Here
Posts: 5386
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB v6.0 beta: Program start bug

Post by mk-soft »

It is running and ide file modes are all set correctly.
Comes the question (translate from German)

"The file is executable. should the file be executed?"
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
mk-soft
Always Here
Always Here
Posts: 5386
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB v6.0 beta: Program start (no bug)

Post by mk-soft »

This is not an bug, but normal. It is always queried when it is started directly. Also with other apps.
I have now created a menu entry and works fine.
Create desktop file with root-right and save in path "usr/share/applications".

Example (change paths!):
[Desktop Entry]
Type=Application
Icon=/home/pi/Apps/purebasic/logo.png
Name=PureBasic v6.00 (user)
Comment=Developer Utility
Exec=/home/pi/Apps/purebasic/compilers/purebasic
Path=/home/pi/Apps/purebasic/compilers
StartupNotify=true
Terminal=false
Categories=Development;IDE
Then restart the panel
sudo lxpanelctl restart
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply