Page 2 of 2

Re: Tips & Tricks for Raspberry PI

Posted: Sun Mar 06, 2022 2:50 pm
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.

Re: Tips & Tricks for Raspberry PI

Posted: Mon Mar 20, 2023 4:14 pm
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).

Re: Tips & Tricks for Raspberry PI

Posted: Sun Nov 23, 2025 11:52 am
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 &