WhatGambasWhere?

So you have written that new, must have program. Let us see it here.
Post Reply
User avatar
BruceSteers
Posts: 1523
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

WhatGambasWhere?

Post by BruceSteers »

What Gambas Where?
Written by Bruce Steers

Who is it for?
This application is designed for gambas developers who have multiple operating systems on different drive partitions with different versions of gambas installed for testing purposes..

What does it do?
On launch it will ask for root access to mount all connected drives and search for a gambas installation on each disk.
It lists all drives that meet the following conditions...
  • The drive has a Label (disks without labels are ignored)
  • The drive has gambas installed either via pkg manager or autotools compile.
It displays the drive name and the version of gambas installed on that drive.

What can you do now?
See What gambas is where.
Double click a drive to reboot to that drive on the next reboot only or to browse the drive.

Requirements.
You must have the line...
‘DEFAULT=saved’
in ‘/etc/default/grub’ to be able to double click a drive to reboot into it.
If you have had to add/modify that line you must then run update-grub.
Also to reboot to an alternative drive and back you must be on your default drive when running this application.
Ie. the drive /boot/grub/grub.cfg is read from at startup.

Listing the gambas versions will work on any drive but the reboot commands will only work from the boot disk

Attachments
WhatGambasWhere-1.1.tar.gz
(39.28 KiB) Downloaded 184 times
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1523
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: WhatGambasWhere?

Post by BruceSteers »

I have made changes to this program using dbus disk mounting routines from a WIP component Fabien Bodard sent me. (thanks Fabien)

advantages are it does not need to be run as root (on some systems disk mounting can happen without root)
This also checks all drives not just ones with labels.
It also unmounts auto mounted disks straight away not on program close.

drives can be opened with file manager
grub-reboot command can be used to reboot to selected drive one time on next boot then reverts to your default boot after.

Requires DBus.
grub for rebooting feature.
Attachments
WhatGambasWhere2-1.0.2.tar.gz
(41.62 KiB) Downloaded 187 times
WGW.png
WGW.png (182.01 KiB) Viewed 3769 times
If at first you don't succeed , try doing something differently.
BruceS
Post Reply