BookwormPup64 10.0.9

Moderator: Forum moderators

User avatar
fredx181
Posts: 3248
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 407 times
Been thanked: 1411 times
Contact:

Re: BookwormPup64 10.0.5

Post by fredx181 »

esos wrote: Thu Feb 29, 2024 6:03 pm

Thanks fredx181,

dmesg | grep wlan0

[ 32.456136] wlan0: authenticate with 9c:c9:eb:dd:58:03
[ 32.456167] wlan0: 80 MHz not supported, disabling VHT
[ 32.457892] wlan0: send auth to 9c:c9:eb:dd:58:03 (try 1/3)
[ 32.464637] wlan0: authenticated
[ 32.466671] wlan0: associate with 9c:c9:eb:dd:58:03 (try 1/3)
[ 32.474184] wlan0: RX AssocResp from 9c:c9:eb:dd:58:03 (capab=0x431 status=0 aid=32)
[ 32.474722] wlan0: associated
[ 32.483293] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 9c:c9:eb:dd:58:03
[ 32.546988] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

That doesn't look wrong to me, but could be that at that point of time there was no disconnect , perhaps try a few more times (just after a disconnect happens).
(I had same problem (but could be because of my ancient router) and got every few minutes something like " de-associated" line in dmesg output)

esos
Posts: 203
Joined: Thu Feb 18, 2021 4:33 am
Been thanked: 20 times

Re: BookwormPup64 10.0.5

Post by esos »

For sure not the router, I have over 10 distros installed without wifi problem.

User avatar
Marv
Posts: 465
Joined: Fri Dec 20, 2019 3:09 am
Has thanked: 214 times
Been thanked: 127 times

Re: BookwormPup64 10.0.5

Post by Marv »

Just for diagnostic purposes, I installed peasywifi 4.9 (I don't have the official pet, cobbled one together from the current Devuan-daedalus live squashsfs) and then used the internet connection manager (Menu>Setup>internet connection manager) to switch to it. Comes up correctly with a viable resolve.conf on boot, survives suspends, a couple of reboots, and reloads of the window manager, and is almost as quick as connman, way faster than SNS to connect and reconnect. Sems solid. Up to now, version 4.6 has worked on all my pups & been rock solid but it wouldn't display scanned networks etc correctly in BW64 though I could make it connect.. Seemed like a gtk2/gtk3 thing. Ran the setup first with a bitty savefile and then moved it to my current ydrv. Both working well. Same hardware as in my post above, no added delays or fussing needed. Posting in portable Brave on that combo now.

My pups: LxPupSc64 and Voidpup64 with LXDE ydrv and synaptics touchpad drivers, both using small savefiles for customizations. Ydrv based NoblePup64 and Fossapup64-small (both LXDE/PCManFM with no savefiles). No fdrvs throughout. :thumbup2:

User avatar
fredx181
Posts: 3248
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 407 times
Been thanked: 1411 times
Contact:

Re: BookwormPup64 10.0.5

Post by fredx181 »

Marv wrote:

.... version 4.6 has worked on all my pups & been rock solid but it wouldn't display scanned networks etc correctly in BW64 though I could make it connect.. Seemed like a gtk2/gtk3 thing.

Yes, BW64 has gtkdialog built with gtk3. The newest peasywifi from rcrsn51 is v4.9 and has gtk3 support, to install: (I tested on BW64 and works well, but installing should be done with petget, not gdebi, as gdebi doesn't know that gtkdialog is already installed on BW64 so gives error) :
wget https://github.com/doglinux/bookworm/raw/master/amd64/peasywifi_4.9_amd64.deb
petget peasywifi_4.9_amd64.deb

fr-ke
Posts: 116
Joined: Mon Nov 07, 2022 3:18 pm
Has thanked: 4 times
Been thanked: 40 times

Re: BookwormPup64 10.0.5

Post by fr-ke »

No internet connection although everything seems to be fine.

Unlike BookwormPup64 10.0.4, /run/connman/resolv.conf in BookwormPup64 10.0.5 is empty after startup.

Only after restarting connman /etc/init.d/connman restart will the DNS servers be recognized and entered.

Attachments
BW-10.0.5-Screenshot.png
BW-10.0.5-Screenshot.png (57.64 KiB) Viewed 4458 times
Clarity
Posts: 4063
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1704 times
Been thanked: 552 times

Re: BookwormPup64 10.0.5

Post by Clarity »

Hi @Marv Is your PET available? Would it have Fred's suggestion?

Thanks.

esos
Posts: 203
Joined: Thu Feb 18, 2021 4:33 am
Been thanked: 20 times

Re: BookwormPup64 10.0.5

Post by esos »

Thanks Fredx,
I found the wifi problem, the connection is working only by choosing from the menu, can not choose from wifi-icon at the right bottom corner.

Now I have another problem, I can not import vivaldi bookmark from anywhere(HDD/Usb).

User avatar
Marv
Posts: 465
Joined: Fri Dec 20, 2019 3:09 am
Has thanked: 214 times
Been thanked: 127 times

Re: BookwormPup64 10.0.5

Post by Marv »

Clarity wrote: Fri Mar 01, 2024 11:01 am

Hi @Marv Is your PET available? Would it have Fred's suggestion?

Thanks.

Just use the one from @fredx181s' repository two posts up installed as he suggested. Mine is -as I said- cobbled though It (4.9) is still working very well here after a long suspend on this sometimes problematic laptop.

Just compared my cobble with the real thing. I had one redundant item, but close enough to fly. I'm glad to have the real thing in my arsenal now.

My pups: LxPupSc64 and Voidpup64 with LXDE ydrv and synaptics touchpad drivers, both using small savefiles for customizations. Ydrv based NoblePup64 and Fossapup64-small (both LXDE/PCManFM with no savefiles). No fdrvs throughout. :thumbup2:

dancytron
Posts: 756
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 550 times
Been thanked: 235 times

Re: BookwormPup64 10.0.5

Post by dancytron »

Does installing Chrome the default way with the .deb file from Google (which adds the google repo to the apt sources.list file and installs from there) still mess up the permissions in Puppy or is that an old issue?

radky
Posts: 363
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 331 times

Re: BookwormPup64 10.0.5

Post by radky »

RE: Failed /run/connman/resolv.conf in new internet connection scripts of BW64 10.0.5 when using ConnMan Connection Manager.

BW64 10.0.5 ISO is now removed from first post until above bug is fixed.

@rerwin, as time permits, please check your PM.

Clarity
Posts: 4063
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1704 times
Been thanked: 552 times

Re: BookwormPup64 10.0.5

Post by Clarity »

@radky would you consider the next version to be v10.0.6 so as to not get the replacement confused with the retired?

Retired Version
Retired Version
v10.0.5.jpg (21.96 KiB) Viewed 4219 times

Thanks for any consideration

dancytron
Posts: 756
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 550 times
Been thanked: 235 times

Re: BookwormPup64 10.0.5

Post by dancytron »

Scrcpy (share android phone screen with your pc screen, keyboard and mouse) didn't make it into Debian Bookworm. The Sid version is ancient.

I wrote a quick explanation of how to install it in Bookworm 64 Puppy, which requires compiling it, but it's easy.

viewtopic.php?t=10838

User avatar
rerwin
Posts: 156
Joined: Fri Jul 17, 2020 4:35 pm
Location: Maine, USA
Has thanked: 1 time
Been thanked: 82 times

BookwormPup64 10.0.5 resolv.conf fix

Post by rerwin »

@Marv and others affected by the absent resolv.conf file,
Attached is a repaired network_default_connect script that avoids removing it for connman. Please unzip and place it into the /usr/sbin directory

Please verify that it works for you, so @radky can add it to BookwormPup. Thank you.

Also, someone having the startup issue requiring the restart of /etc/initd/connman, see if this also makes the restart unnecessary.

Sorry for not being able to catch the problem in testing, as my (2006-BIOS) PCs tolerate the missing resolv.conf. Apparently timing related.

Richard

Attachments
network_default_connect.gz
(1.81 KiB) Downloaded 162 times
User avatar
Marv
Posts: 465
Joined: Fri Dec 20, 2019 3:09 am
Has thanked: 214 times
Been thanked: 127 times

Re: BookwormPup64 10.0.5

Post by Marv »

@rerwin, That does the trick here on my Fujitsu S761 laptop circa 2012. resolve.conf is now populated correctly on boot and the connection survives lidsuspend and restarting the WM. I had put a script calling /etc/init.d/connman restart in my Startup directory as a workaround. That is no longer necessary. Only an hours testing or so but several reboots therein and no problems seen. connman is blazingly fast to connect as always.

Thanks,

My pups: LxPupSc64 and Voidpup64 with LXDE ydrv and synaptics touchpad drivers, both using small savefiles for customizations. Ydrv based NoblePup64 and Fossapup64-small (both LXDE/PCManFM with no savefiles). No fdrvs throughout. :thumbup2:

fr-ke
Posts: 116
Joined: Mon Nov 07, 2022 3:18 pm
Has thanked: 4 times
Been thanked: 40 times

Re: BookwormPup64 10.0.5

Post by fr-ke »

@rerwin I can also confirm that after this change the DNS server is recognized right at startup.
No workaround necessary anymore. On a desktop computer with an i5-9400 CPU.

ozsouth
Posts: 1661
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 251 times
Been thanked: 748 times

Re: BookwormPup64 10.0.5

Post by ozsouth »

.

Last edited by ozsouth on Mon Mar 04, 2024 6:22 am, edited 4 times in total.
radky
Posts: 363
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 331 times

Re: BookwormPup64 10.0.5

Post by radky »

Jasper wrote: Wed Feb 28, 2024 1:38 pm

I am using a laptop with a display of 1368x768.

As a general observation, could the menu items fold onto themselves? ........ lol I will try to explain better.

At my end the Utility menu is more populated with applications than other headings. As a consequence it nearly fills the screen top to bottom.

This would not be an issue on a HD display.

I know I can hide items using the Desktop Manager.

Also, the Bluetooth Adapter appears to be in the wrong category.

@Jasper

In JWM (default window manager of BW64) the XDG Desktop Menus are scrollable. If the menu items are too numerous to display completely on screen, you can scroll the menu up or down to view all available items. Scroll by using the mouse wheel (or trackpad) -- or you can place the pointer (cursor) over the menu at the top or bottom screen edge to initiate up or down scrolling.

Also, in the next release of BW64, the Bluetooth Manager menu item will be assigned to the System category.

Note: The default Woof-CE Menu Manager application is available in the Setup menu category. However, in BW64 there is also an alternate Menu Manager that uses different algorithms to identify and assign menu items to specific categories, and the GUI provides separate columnar views of visible and hidden menu items. If interested, go to Menu -> Setup -> Puppy Setup -> select the Legacy menu manager checkbox (bottom left), then click the Menu Manager button.

radky
Posts: 363
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 331 times

Re: BookwormPup64 10.0.5

Post by radky »

@rerwin

The new networking scripts in BW64 have additional unresolved issues.

Please check your PM.

Thanks

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: BookwormPup64 10.0.5

Post by OscarTalks »

dancytron wrote: Sat Mar 02, 2024 10:21 pm

Scrcpy (share android phone screen with your pc screen, keyboard and mouse) didn't make it into Debian Bookworm. The Sid version is ancient.

I wrote a quick explanation of how to install it in Bookworm 64 Puppy, which requires compiling it, but it's easy.

viewtopic.php?t=10838

Version 2.4 of scrcpy was released a couple of days ago. I have compiled it from source in BookwormPup64 and have made a .pet package. It contains the latest adb which is a pre-compiled binary downloaded from the official web page. This is a bit larger than using the Debian adb via apt but it is the latest version and does not seem to need shared libraries as dependencies (maybe statically linked in?).

Until recently I have hardly used android phones at all and even now the one I have is rather old with android-5.0.2 and because of this I compiled scrcpy with a meson setup option "old" for android versions earlier than 9. Not sure if this package will work for android versions later than 9. Audio is always automatically disabled on older android versions too.

Also be aware that there are a few steps that you will have to take (such as enabling the feature on your android device), plus some steps you might have to take (such as starting the program twice, unplugging and re-plugging the USB cable, and ticking a pop-up on your android device to authorise the connection). There is a menu entry in Utility but it is not just click and go every time so starting scrcpy from terminal at first at least might be helpful. Anyway, I am no expert in these things so I don't know if it is all working as it should, but it does display my screen and allow control of the phone from Puppy.

Uploading just for testing and/or any comments/suggestions
http://smokey01.com/OscarTalks/scrcpy-2 ... 4-bkwm.pet

Attachments
scrcpy.jpg
scrcpy.jpg (63.6 KiB) Viewed 3789 times
radky
Posts: 363
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 331 times

Re: BookwormPup64 10.0.6

Post by radky »

BookwormPup64 10.0.6

• New Woof-CE build of BW64
• See first post for downloads and second post for changelog

ozsouth
Posts: 1661
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 251 times
Been thanked: 748 times

BookwormPup64 10.0.6 CD sized version

Post by ozsouth »

I made a more compressed version of BookwormPup64 10.0.6, to fit on a CD (is 679mb). Also made a delta (4mb).
Used medium-high level compression: -b 1M -comp xz -Xdict-size 25% ; iso created via pCompress.
In brief test, ran fine on my 4yo Dell i5 laptop. Use at own risk.

Has updatesfsm (which I used for compression) added to /usr/local/bin.
(updatesfsm can edit sfs - place an sfs in an empty folder, in a terminal cd into that,
run updatesfsm, make small changes in utmp subfolder & click ok. Makes mynew.sfs)

10.0.7m released. See later post

Last edited by ozsouth on Fri Jul 12, 2024 1:32 am, edited 3 times in total.
fr-ke
Posts: 116
Joined: Mon Nov 07, 2022 3:18 pm
Has thanked: 4 times
Been thanked: 40 times

Re: BookwormPup64 10.0.6

Post by fr-ke »

@radky At first glance everything seems to be going well and smoothly.

I have installed a pack of .petfiles.
Samba, Syncthing, radicale-server, qemu, Libreoffice, network printer, network scanner and a lot more.
BW64 should be my new everyday OS.

Everything works as expected.

Great puppy, thank you

User avatar
Marv
Posts: 465
Joined: Fri Dec 20, 2019 3:09 am
Has thanked: 214 times
Been thanked: 127 times

Re: BookwormPup64 10.0.6

Post by Marv »

@radky Pulled all patches from my ydrv. rebooted into 10.0.6. So far so good. connman connection survives reboots and lidsuspends. Just normal daily operation so far, I haven't used the connection manager to switch from connman to SNS or one of the others yet. I'll do that later.

Thanks,

Update: Installed peasywifi 4.9 from a deb. Used menu>setup>Internet connection manager to switch to peasywifi. Ran peasywifi from menu>network and set up my connection. Rebooted using a small savefile to preserve this change. Sucess, came up running peasywifi, connected ok, populated resolve.conf, and put the peasywifi icon in the tray. Posting from that setup now. The connman icon remains in the tray, showing that it is disconnected but that's a very minor niggle.

My pups: LxPupSc64 and Voidpup64 with LXDE ydrv and synaptics touchpad drivers, both using small savefiles for customizations. Ydrv based NoblePup64 and Fossapup64-small (both LXDE/PCManFM with no savefiles). No fdrvs throughout. :thumbup2:

Clarity
Posts: 4063
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1704 times
Been thanked: 552 times

Re: BookwormPup64 10.0.6

Post by Clarity »

Only issue is "tldr". Screens show VM operation booting success and err.

QEMU BKWP booting 1.jpg
QEMU BKWP booting 1.jpg (25.37 KiB) Viewed 3525 times
QEMU BKWP booting 4.jpg
QEMU BKWP booting 4.jpg (17.42 KiB) Viewed 3525 times
QEMU BKWP booting 6.jpg
QEMU BKWP booting 6.jpg (29.98 KiB) Viewed 3525 times

ELSE, things are well

QEMU (v8+ from @Jasper) stanza for the VM

Code: Select all

qemu-system-x86_64 -name "BKWP64 v10 by Radky" -enable-kvm -smp 2 -m 2048 -vga std -device AC97 -net nic -rtc base=localtime -hda /dev/sdf
Clarity
Posts: 4063
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1704 times
Been thanked: 552 times

Re: BookwormPup64 10.0.6

Post by Clarity »

  • Boots ISO file directly in VM as well as booting when launched from SG2D.

  • Bare-metal boots with ease when ISO file is launched from either Ventoy or SG2D (see caveats at bottom of this post).

QEMU BKWP booting 6(1).jpg
QEMU BKWP booting 6(1).jpg (26.75 KiB) Viewed 3487 times
QEMU BKWP booting 7.jpg
QEMU BKWP booting 7.jpg (73.42 KiB) Viewed 3487 times

.
.
The Table of BookWormPup64 boot results are posted here.
.
Caveats

  • For Ventoy boot, the boot stanza MUST have a PSAVE= parm to direct persistence

  • For SG2D boots, no such is needed as the SAVESPEC file, if exist, automatically directs persistence

Last edited by Clarity on Mon Jul 15, 2024 11:24 pm, edited 2 times in total.
ozsouth
Posts: 1661
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 251 times
Been thanked: 748 times

Re: BookwormPup64 10.0.6

Post by ozsouth »

I noticed this bug in my s15ovrly pup - is here too. If an SFS file has a space in the filename, queueing fails, as EXTRASFSLIST uses space as a delimiter (see pic below - filename in it - flshgms s15o.sfs). Simple fix - NO SPACES IN SFS FILENAMES. Best fix - put each EXTRASFSLIST entry in double-quotes. My fix, stop user from trying to load such files (note - my fix affects iso files too). Needs code after line 76 in /usr/sbin/filemnt (my code in red):

------------------------------------------------------
imgFile="$1"
if ( echo "$1" | grep " " ); then
Xdialog --title "" --no-cancel --msgbox "NO SPACES ALLOWED IN FILENAMES - RENAME AND TRY AGAIN" 0 0
exit 1
fi

[ ! -f "$imgFile" ] && echo "No regular file: $imgFile" && exit 1
imgFileBASE=${imgFile##*/} ## imgFileBASE="`basename "$imgFile"`" #BK
[ "$(dirname "$imgFile")" = "." ] && imgFile=$(pwd)/${imgFileBASE}
-------------------------------------------------------

sfs_space_error.jpg
sfs_space_error.jpg (67.04 KiB) Viewed 3411 times
Last edited by ozsouth on Thu Mar 07, 2024 12:16 pm, edited 4 times in total.
radky
Posts: 363
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 331 times

Re: BookwormPup64 10.0.6

Post by radky »

Clarity wrote: Wed Mar 06, 2024 3:29 am

Only issue is "tldr". ...

@Clarity

Concerning the issue with tldr, the screenshot is very small and the error you describe is difficult to read.

Please keep in mind the following features of the tldr utility as implemented in BW64:

1 - The TLDR (too long; didn't read) utility provides concise descriptions of Linux commands that are typically shorter than the comprehensive descriptions provided by conventional Linux 'man' pages.

2 - In BW64 >= 10.0.6, TLDR is accessible as a browser search utility via Menu -> Document -> TlDR Pages. Typically, the search is quick and convenient.

3 - Alternatively, you can run tldr as a bash script from the terminal command line (such as tldr ls). On first run, tldr requires an active internet connection to download a 20M resource database which provides local access to concise descriptions of Linux commands. Depending on your connection, the download may take a few moments and the tldr screen will remain blank until the download is complete. The tldr pages are cached locally in /root/.local/share/tldr.

4 - In BW64, the tldr pages are also functionally integrated with man page searches. Specifically, if a man page for a Linux command is not locally available, the 'man' search request is automatically transferred to tldr. For example, if you enter man ls in a terminal and there is no local man page for the 'ls' command, the search will be passed automatically to the tldr utility -- in which case, tldr will provide a concise description of the Linux 'ls' command. Used this way, the 'man' command will typically provide useful results -- even when the actual 'man' page is not available.

dancytron
Posts: 756
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 550 times
Been thanked: 235 times

Re: BookwormPup64 10.0.5

Post by dancytron »

OscarTalks wrote: Tue Mar 05, 2024 12:23 am
dancytron wrote: Sat Mar 02, 2024 10:21 pm

Scrcpy (share android phone screen with your pc screen, keyboard and mouse) didn't make it into Debian Bookworm. The Sid version is ancient.

I wrote a quick explanation of how to install it in Bookworm 64 Puppy, which requires compiling it, but it's easy.

viewtopic.php?t=10838

Version 2.4 of scrcpy was released a couple of days ago. I have compiled it from source in BookwormPup64 and have made a .pet package. It contains the latest adb which is a pre-compiled binary downloaded from the official web page. This is a bit larger than using the Debian adb via apt but it is the latest version and does not seem to need shared libraries as dependencies (maybe statically linked in?).

/snip

Uploading just for testing and/or any comments/suggestions
http://smokey01.com/OscarTalks/scrcpy-2 ... 4-bkwm.pet

Installed on brand new 10.0.6 frugal install and it worked paired with my phone with Android 10.

Would you share what you ran to get it into a .pet file? I'd like to know how to do that.

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: BookwormPup64 10.0.6

Post by OscarTalks »

dancytron wrote: Wed Mar 06, 2024 9:43 pm

Installed on brand new 10.0.6 frugal install and it worked paired with my phone with Android 10.
Would you share what you ran to get it into a .pet file? I'd like to know how to do that.

Thanks for the report, glad it works on later androids.
If you are compiling it yourself it would be "new" by default. I changed it by editing the meson_options text file in the source, so if that is left unaltered that setting would be theoretically what is optimum for later phones, but maybe not a critical thing.

Anyway the answer to making a .pet once everything is compiling and installing is to run new2dir ninja -C builddir install (equivalent of using "new2dir make install" if using autotools and gnu make) and then of course dir2pet on the package directory tree that is created.

I did have to tinker around with things a bit. Not all those dependencies in that list need to be installed as some are in the devx. When I tried to apt install libsdl2-dev it complained about some dependency version mismatch so I compiled latest libsdl2 from source. I did have to apt install libavdevice-dev with dependencies. The libusb-1.0-0-dev package goes in via apt but the shared library is already present.

In the install script I had to edit the download path to the prebuilt server from version 2.3.1 to version 2.4 as it was grabbing the wrong version which refused to run. I also had to edit the sha sum because the script does a check of that. I think the git master checkout has this corrected now, but in the release tarball it has not been updated.

I did initially use apt to install the Debian adb which did work and helped me to see where it went in the file system. It has a symlink into PATH. Sticking with this would have been an option but I decided to try substitution of the latest official version and removal of the then unneeded shared libs.

User avatar
AntonioPt
Posts: 265
Joined: Wed Aug 11, 2021 7:41 pm
Has thanked: 109 times
Been thanked: 49 times

Re: BookwormPup64 10.0.6

Post by AntonioPt »

hello all,
i was playing around with some scripts and i realize a small bug on GTK some attributes looks like do take any affect at all ex: width-request height-request

here is an example how is final layout test it in lunapup, fossapup and CE, Bionic the only puppy that display extra height is bookworm and if you replace default-width to width-request gets more wierd it looks likes <text warp="true" width-char="35"> dont do nuthig as well

Code: Select all

#!/bin/sh

GTKDIALOG="`which gtkdialog4 gtkdialog3 gtkdialog | head -1`"
export GTKDIALOG ; [ -z "$GTKDIALOG" ] && echo "$(gettext "GTKDIALOG is missing, please install it first.")" && exit

# grab Puppy name and version
[ -f "/etc/DISTRO_SPECS" ] && . /etc/DISTRO_SPECS ; P="$DISTRO_NAME - $DISTRO_VERSION " || P=
export JWM_VER=$(jwm -v | head -n1 | cut -d " " -f2- | cut -d " " -f1 | sed -e 's/[snvgit-]//g')

export JWM_LOGO=$(ls /usr/share/pixmaps/puppy/desktop.svg 2>/dev/null | head -n 1)
export COLOR="#FF0000"
export P_BTN_PATH="/usr/share/jwm/themes_window_buttons"

pixmap () { echo '<pixmap><variable>IMAGE</variable><height>'$2'</height><input file>'$1'</input></pixmap>' ; }
export -f pixmap

# width-request="450"  or default-width="450"
# height-request="300" or default-height="300"
export MAIN_GUI='
<window title="Window buttons theme" icon-name="gtk-convert" default-width="450">
	<vbox border-width="10">

	<hbox>
		<vbox homogeneous="true" space-expand="true" space-fill="true">'`pixmap "$JWM_LOGO" 64`'</vbox>
		<vbox>
			<text use-markup="true"><label>"<b><span size='"'large'"'>JWM THEME </span><span size='"'large'"' color='"'$COLOR'"'>SWITCHER</span></b>"</label></text>
			<text><label>"'$(gettext "For :")' '$P'"</label></text>
			<text><label>"'$(gettext 'Desktop Environment')': JWM v'$JWM_VER'"</label></text>
			<text warp="true" width-chars="45"><label>"'$(gettext 'The window buttons can be themed to your liking. If you want to build your own buttons, see')' '${P_BTN_PATH}'"</label></text>
		</vbox>
	</hbox>


	<hbox homogeneous="false" space-expand="false" space-fill="false">
		<button space-expand="false" space-fill="false" tooltip-text="Reinstates the stock standard icons">
			<label>"'$(gettext "Clear")'"</label>
			<input file icon="clear"></input>
			<action>clear_func</action>
		</button>
		<text space-expand="true" space-fill="true"><label>""</label></text>
		<button space-expand="false" space-fill="false">
			<label>"'$(gettext "Quit")'"</label>
			<input file icon="quit"></input>
			<action>exit:quit</action>
		</button>
	</hbox>

</vbox>
</window>'
$GTKDIALOG -pc MAIN_GUI

Best regards

Attachments
bookworm_error.png
bookworm_error.png (179.53 KiB) Viewed 4176 times
lunar_pup.png
lunar_pup.png (258.31 KiB) Viewed 4176 times

Why astronauts use Linux
Because you can't open windows in space

Post Reply

Return to “BookwormPup”