Page 1 of 1
Cannot resize BluePup window
Posted: Sun Jun 02, 2024 11:43 pm
by Crusoe
Hi, thanks to Barry and all for creating and adding to a great O.S.!
I want to resize the Blue Pup window so I can access all buttons but are unable to do so, as it seems to be a fixed size.
When I open BluePup I cannot move it nor close it, and have to do a hard power off by pressing and holding the power button.
I have a HP mini 210-2000 with a screen size of 1024 x 600 running EasyOS Kirkstone64 5.7 (amd64), which runs great except for the BluePup window.
I am a total newbie and are just getting into linux so please be gentle and lead the way! We all have to start somewhere!
Any help would be appreciated.
Many thanks in advance.
Re: Cannot resize BluePup window
Posted: Mon Jun 03, 2024 3:55 am
by bugnaw333
This what my bluepup default dialog box appearance located on the center of my display when you click the icon and no need to resize:
Im using Toshiba Ultrabook @1920x1080 60* resolution.
Re: Cannot resize BluePup window
Posted: Mon Jun 03, 2024 4:23 am
by bugnaw333
My Fujitsu Futro MA574 @ 1366x768 60*resolution still can see the Bluepup menu complete dialogue box:
Re: Cannot resize BluePup window
Posted: Mon Jun 03, 2024 4:31 am
by Crusoe
They look nice!
For some reason the BluePup window on my HP Mini 210 is so big I cannot move it or get to the bottom, top or sides.
If only I could shrink it.
Re: Cannot resize BluePup window
Posted: Mon Jun 03, 2024 4:54 am
by bugnaw333
I could not resize also, lucky for me my two laptops resolutions have the full complete dialogue box.
Re: Cannot resize BluePup window
Posted: Mon Jun 03, 2024 5:17 am
by bugnaw333
changing display resolution to 1024x768 on my Fujitsu will look like this.
Re: Cannot resize BluePup window
Posted: Mon Jun 03, 2024 5:26 am
by bugnaw333
@1024x576... We need the help of BarryK now...
Re: Cannot resize BluePup window
Posted: Mon Jun 03, 2024 7:38 am
by MochiMoppel
Crusoe wrote: Sun Jun 02, 2024 11:43 pmI have a HP mini 210-2000 with a screen size of 1024 x 600 running EasyOS Kirkstone64 5.7 (amd64), which runs great except for the BluePup window.
I am a total newbie and are just getting into linux so please be gentle and lead the way! We all have to start somewhere!
Any help would be appreciated.
The dialog by design can't be moved or resized. This would be something for Barry to address.
You could however fix this by editing the dialog's code.
I don't use EasyOS and I have only an older copy of bluepup, so my assumptions may not be accurate anymore.
1) In your filemanager go to script /usr/local/bluepup/bluepup (assuming that this is the location used in EasyOS). Make a backup copy of the file ... just in case something goes wrong.
2) Right-click on the file and from menu select "Open as Text". This will open the script in a text editor, presumably Geany.
3) At around line 590 you might see something like
Code: Select all
<frame $(gettext 'Output log')>
<terminal argv0=\"/tmp/bluepup/btcgui.sh\" hscrollbar-policy=\"2\" vscrollbar-policy=\"1\" sensitive=\"false\" cursor-background-color=\"#000000\">
<height>20</height>
<width>81</width>
4) Change the height value from 20 to 10. This eventually will reduce the height of the log display.
5) Save the file
That's it. Your BluePup window will now have a height of 533px and will be within the HP Mini resolution of 600px.
Re: Cannot resize BluePup window
Posted: Mon Jun 03, 2024 11:28 am
by BarryK
Crusoe wrote: Mon Jun 03, 2024 4:31 am
They look nice!
For some reason the BluePup window on my HP Mini 210 is so big I cannot move it or get to the bottom, top or sides.
If only I could shrink it.
Thanks MochiMoppel for providing a code fix.
There is an alternative:
Hold down the ALT key, then you can drag the entire window by pressing the mouse left button then move the mouse.
This is a standard feature of Xorg.
Re: Cannot resize BluePup window
Posted: Mon Jun 03, 2024 2:27 pm
by bugnaw333
Alternative 2-- You can right click the mouse on top of the dialogue box and a pull-down menu will display with a `MOVE` option:
Re: Cannot resize BluePup window
Posted: Tue Jun 04, 2024 2:10 am
by Crusoe
Hi and thanks for taking a look at this for me.
Holding down the Alt button and trying to move the window did not do anything.
I managed to get a right click on the move button it helped me to move the window but I could not move it high enough to see the bottom.
I found the file to edit under mnt/easy_ro/easy_sfs/usr/local/bluepup and on line 533 in Geany tried to change the value to 10 but when I save, it says error opening the file. Read only file system. The file may now be truncated.
Being a newbie I think it is the right file but I am in the wrong place?
Does the file exist somewhere else allowing one to edit it?
Many thanks all.
Re: Cannot resize BluePup window
Posted: Tue Jun 04, 2024 2:29 am
by Crusoe
Solved!
Thanks MochiMoppel for the script!
I found the file, I was n the wrong place!
I was able to set the height to 10 and save it.
I re-booted and behold a whole new world of bluetooth is before me, I have the complete window to view and connect!
Many thanks to all!
So now it's back to the island for me with my ear buds!
Cheers!
Re: Cannot resize BluePup window
Posted: Tue Jun 04, 2024 9:47 am
by BarryK
bugnaw333 wrote: Mon Jun 03, 2024 2:27 pm
Alternative 2-- You can right click the mouse on top of the dialogue box and a pull-down menu will display with a `MOVE` option:
Or left-click in top-left corner of the window.