Tips & Tricks for Raspberry PI

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

Re: Tips & Tricks for Raspberry PI

Post by mk-soft »

Add PureBasic IDE to Start Menu Development from LXpanel.

To do this, create desktop files and save them in the folder /usr/share/applications/.

Start Geany via terminal with sudo
sudo geany

File: /usr/share/applications/purebasic.desktop
[Desktop Entry]
Type=Application
Icon=/home/pi/Apps/purebasic/logo.png
Name=PureBasic v6.00
Comment=Developer Utility
Exec=/home/pi/Apps/purebasic/compilers/purebasic
Path=/home/pi/Apps/purebasic/compilers
StartupNotify=true
Terminal=false
Categories=Development;IDE
Sometimes you need admin rights for certain hardware.

File: /usr/share/applications/purebasic-sudo.desktop
[Desktop Entry]
Type=Application
Icon=/home/pi/Apps/purebasic/logo.png
Name=PureBasic v6.00 (sudo)
Comment=Developer Utility
Exec=sudo /home/pi/Apps/purebasic/compilers/purebasic
Path=/home/pi/Apps/purebasic/compilers
StartupNotify=true
Terminal=false
Categories=Development;IDE
Then restart the LXpanel
sudo lxpanelctl restart

If you wish, you can use the 'Main Menu Editor' under settings to adjust the order of the entries.
My Projects EventDesigner V3 / ThreadToGUI / OOP-BaseClass / Windows: Module ActiveScript
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: Tips & Tricks for Raspberry PI

Post by Lunasole »

So much ideas and possibilities when going to that level also.
Probably can write even own router, if mad enough to do that this way^^
At least I have huge list of such ideas (and similar).
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
mk-soft
Always Here
Always Here
Posts: 6605
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Tips & Tricks for Raspberry PI

Post by mk-soft »

Remote programming and starting apps without monitor, keyboard and mouse.
Remote Linux with ssh terminal and xserver

Raspberry:
Change from Wayland to X11

sudo raspi-config
- 6 Advance Option
- A7 Wayland

OS Linux:
ssh -Y [Username]@[Hostname]
export XAUTHORITY=$HOME/.Xauthority

OS MacOS:
Install XQuartz
ssh -X [Username]@[Hostname]

OS Window:
Install Xming v6.9. https://sourceforge.net/projects/xming/ ... /6.9.0.31/
Install PuTTY

Start Xming
Start PuTTY
- Session: SSH: [Username]@[Hostname] Port 22 ; Save it
- Connection: SSH -> X11 -> Enable X11 forwarding

Raspberry Apps:
*****************
With [appname &] start new instance with window

File Manager:
pcmanfm &

Editor:
geany &

Purebasic:
Change path to ~/purebasic/compilers
Start ./purebasic &
My Projects EventDesigner V3 / ThreadToGUI / OOP-BaseClass / Windows: Module ActiveScript
PB v3.30 / v5.75 - OS Mac Mini - VM Window Pro / Linux Ubuntu
Downloads on my OneDrive
Post Reply