MX linux on raspberry pi and gtkdialog

For discussions about programming, and for programming questions and advice


Moderator: Forum moderators

Post Reply
don570
Posts: 627
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 99 times

MX linux on raspberry pi and gtkdialog

Post by don570 »

MX linux on raspberry pi

I've been trying out mx linux on my raspberry pi b+ board
using mx linux
Installed mx linux on raspberry pi --->
because it has bluetooth installed as default -- very easy to set up.

https://mxlinux.org/blog/fluxbox-raspbe ... gout-beta/
_____________________________________________________
I noticed the following when using scripts written for puppy linux...

1) Xdialog is not installed

2) gtkdialog scripts need to use the bash shell rather than sh

So I change first line of scripts...
__________________________________________________

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: MX linux on raspberry pi and gtkdialog

Post by taersh »

don570 wrote: Sat Mar 13, 2021 5:05 pm

2) gtkdialog scripts need to use the bash shell rather than sh

So I change first line of scripts...

In Puppy sh is a symbolic link to bash.
Why not just doing a symbolic link?

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
misko_2083
Posts: 196
Joined: Wed Dec 09, 2020 11:59 pm
Has thanked: 10 times
Been thanked: 20 times

Re: MX linux on raspberry pi and gtkdialog

Post by misko_2083 »

don570 wrote: Sat Mar 13, 2021 5:05 pm

MX linux on raspberry pi

I've been trying out mx linux on my raspberry pi b+ board
using mx linux
Installed mx linux on raspberry pi --->
because it has bluetooth installed as default -- very easy to set up.

https://mxlinux.org/blog/fluxbox-raspbe ... gout-beta/
_____________________________________________________
I noticed the following when using scripts written for puppy linux...

1) Xdialog is not installed

2) gtkdialog scripts need to use the bash shell rather than sh

So I change first line of scripts...
__________________________________________________

1) You can install Xdialog, it has some Gtk+ 1.2 dependancies.
GTK+ 1.2 toolkit is unmaintained for a very long time.
Xdialog has issues on MX linux, it's impossible to double click on a dialog if I remember correctly
Though it worked fine on Debian Jessie though and I used that to see how an old idesktool script works so I can rewrite it to use yad instead of Xdialog
They picked up from there and now they call it mx-idesktool. It's a script that manages icons on idesk.

If you want to try Xdialog on MX, these are the packages:

https://snapshot.debian.org/package/gli ... _1.2.10-20
libglib1.2ldbl_1.2.10-20_amd64.deb 2009
https://snapshot.debian.org/package/gtk ... .2.10-18.1
libgtk1.2-common_1.2.10-18.1_all.deb 2012
libgtk1.2_1.2.10-18.1_amd64.deb 2012
https://snapshot.debian.org/package/xdialog/2.3.1-2/
xdialog_2.3.1-2_amd64.deb 2012

First install libgtk1.2-common then libglib1.2ldbl, libgtk1.2 and finally xdialog.
That's for 64bit. For 32bit install i386 deb packages.

P.S. You will have to recompile them for ARM architecture. :mrgreen:

2) You can install William's fork gtkwialog which is gtkdialog that uses bash by default.

Do you want to exit the Circus? The Harsh Truth
https://www.youtube.com/watch?v=ZJwQicZHp_c

don570
Posts: 627
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 99 times

Re: MX linux on raspberry pi and gtkdialog

Post by don570 »

YAD , gtkdialog , xmesage is installed by default.

User avatar
wiak
Posts: 3690
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 57 times
Been thanked: 1029 times
Contact:

Re: MX linux on raspberry pi and gtkdialog

Post by wiak »

don570 wrote: Tue Mar 16, 2021 7:18 pm

YAD , gtkdialog , xmesage is installed by default.

Well, if it doesn't use bash as default system shell, then it wouldn't be enough to change first line of some/many Puppy bash_gtkdialog scripts to #!/bin/bash. You would indeed need to make /bin/sh itself a symlink to bash, as taersh suggests (i.e. make bash the system shell). That's because traditional gtkdialog itself will always use /bin/sh for its underlying/internal system() calls no matter what the shell script itself uses as the hash bang header. Of course if sh already bash then all will be fine out-of-the-box.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

Post Reply

Return to “Programming”