easyVoid development

Moderator: BarryK

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: easyVoid development

Post by Caramel »

Airdale wrote: Thu Jan 25, 2024 4:44 am

I tried to install the kernel source sfs from sfsget.

Unfortunately, it tries to install the Kirkstone devx as a dependency so the install fails.

Screenshot.png

error.png

It seems you use the EasyOS Kirkstone. The topic for Kirkstone is here : viewtopic.php?t=9911

NB : I think it's better to install kernel and devx in the main filesystem rather than in a container.

FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: SAMBA and ssh not working

Post by FeodorF »

@Caramel

Caramel wrote: Mon Jan 29, 2024 7:41 am
don570 wrote: Tue Jan 23, 2024 11:08 pm

SAMBA and ssh not working possibly because the firewall is
misbehaving.

File /usr/local/EasyShare/samba-setup, line 41 :

Code: Select all

LOCALIPADDRESS="$(hostname -I 2>/dev/null | cut -f 1 -d ' ')" #180125 180129

Code: Select all

# hostname -I 
hostname: unrecognized option: I
BusyBox v1.36.1 (2023-05-18 22:31:00 UTC) multi-call binary.

Usage: hostname [-sidf] [HOSTNAME | -F FILE]

Show or set hostname or DNS domain name

-s	Short
-i	Addresses for the hostname
-d	DNS domain name
	-f	Fully qualified domain name
-F FILE	Use FILE's content as hostname

In the version of hostname in easyVoid, the right option is -i, not -I

I had a look at EasyOS-3.4.4
It used 'BusyBox v1.32.0 (2020-07-17 22:02:53 AWST) multi-call binary'
This version used to have way more options for 'hostname'

Code: Select all

# hostname --help
Usage: hostname [-b] {hostname|-F file}         set host name (from file)
       hostname [-a|-A|-d|-f|-i|-I|-s|-y]       display formatted name
       hostname                                 display host name

   {yp,nis,}domainname {nisdomain|-F file}  set NIS domain name (from file)
   {yp,nis,}domainname                      display NIS domain name

   dnsdomainname                            display dns domain name

   hostname -V|--version|-h|--help          print info and exit

Program name:
       {yp,nis,}domainname=hostname -y
       dnsdomainname=hostname -d

Program options:
    -a, --alias            alias names
    -A, --all-fqdns        all long host names (FQDNs)
    -b, --boot             set default hostname if none available
    -d, --domain           DNS domain name
    -f, --fqdn, --long     long host name (FQDN)
    -F, --file             read host name or NIS domain name from given file
    -i, --ip-address       addresses for the host name
    -I, --all-ip-addresses all addresses for the host
    -s, --short            short host name
    -y, --yp, --nis        NIS/YP domain name

Description:
   This command can get or set the host name or the NIS domain name. You can
   also get the DNS domain or the FQDN (fully qualified domain name).
   Unless you are using bind or NIS for host lookups you can change the
   FQDN (Fully Qualified Domain Name) and the DNS domain name (which is
   part of the FQDN) in the /etc/hosts file.
# 

The option # hostname -i used to show 127.0.0.1 and
the option # hostname -I used to show 192.168.178.145 xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxx:xxxx

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: SAMBA and ssh not working

Post by Caramel »

FeodorF wrote: Mon Jan 29, 2024 10:13 am

The option # hostname -i used to show 127.0.0.1 and
the option # hostname -I used to show 192.168.178.145 xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxx:xxxx

An alternative to the command with hostname -I is in /usr/local/EasyShare/easyshare line 220

Code: Select all

 LOCALIPADDRESS="$(getlocalip | grep -v '^lo' | tail -n 1 | cut -f 2 -d ' ')"
User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: SAMBA and ssh not working

Post by BarryK »

FeodorF wrote: Mon Jan 29, 2024 10:13 am

@Caramel

Caramel wrote: Mon Jan 29, 2024 7:41 am
don570 wrote: Tue Jan 23, 2024 11:08 pm

SAMBA and ssh not working possibly because the firewall is
misbehaving.

File /usr/local/EasyShare/samba-setup, line 41 :

Code: Select all

LOCALIPADDRESS="$(hostname -I 2>/dev/null | cut -f 1 -d ' ')" #180125 180129

Code: Select all

# hostname -I 
hostname: unrecognized option: I
BusyBox v1.36.1 (2023-05-18 22:31:00 UTC) multi-call binary.

Usage: hostname [-sidf] [HOSTNAME | -F FILE]

Show or set hostname or DNS domain name

-s	Short
-i	Addresses for the hostname
-d	DNS domain name
	-f	Fully qualified domain name
-F FILE	Use FILE's content as hostname

In the version of hostname in easyVoid, the right option is -i, not -I

I had a look at EasyOS-3.4.4
It used 'BusyBox v1.32.0 (2020-07-17 22:02:53 AWST) multi-call binary'
This version used to have way more options for 'hostname'

Code: Select all

# hostname --help
Usage: hostname [-b] {hostname|-F file}         set host name (from file)
       hostname [-a|-A|-d|-f|-i|-I|-s|-y]       display formatted name
       hostname                                 display host name

   {yp,nis,}domainname {nisdomain|-F file}  set NIS domain name (from file)
   {yp,nis,}domainname                      display NIS domain name

   dnsdomainname                            display dns domain name

   hostname -V|--version|-h|--help          print info and exit

Program name:
       {yp,nis,}domainname=hostname -y
       dnsdomainname=hostname -d

Program options:
    -a, --alias            alias names
    -A, --all-fqdns        all long host names (FQDNs)
    -b, --boot             set default hostname if none available
    -d, --domain           DNS domain name
    -f, --fqdn, --long     long host name (FQDN)
    -F, --file             read host name or NIS domain name from given file
    -i, --ip-address       addresses for the host name
    -I, --all-ip-addresses all addresses for the host
    -s, --short            short host name
    -y, --yp, --nis        NIS/YP domain name

Description:
   This command can get or set the host name or the NIS domain name. You can
   also get the DNS domain or the FQDN (fully qualified domain name).
   Unless you are using bind or NIS for host lookups you can change the
   FQDN (Fully Qualified Domain Name) and the DNS domain name (which is
   part of the FQDN) in the /etc/hosts file.
# 

The option # hostname -i used to show 127.0.0.1 and
the option # hostname -I used to show 192.168.178.145 xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxx:xxxx

That 'hostname' in an earlier EasyOS is not a busybox applet. It is the full hostname utility, that is, I think, in the 'net-tools' package.

Not running easyVoid right now, so can't check. Run PKGget and install net-tools, see if that installs the full hostname.

Looks like it got left out of the builtin pkg list for 6.0.1, I'll fix that.

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: SAMBA and ssh not working

Post by Caramel »

BarryK wrote: Mon Jan 29, 2024 4:07 pm

Not running easyVoid right now, so can't check. Run PKGget and install net-tools, see if that installs the full hostname.

Looks like it got left out of the builtin pkg list for 6.0.1, I'll fix that.

In net-tools there is net-tools-hostname

Code: Select all

# net-tools-hostname --help
Usage: hostname [-v] {hostname|-F file}      set hostname (from file)
       domainname [-v] {nisdomain|-F file}   set NIS domainname (from file)
       hostname [-v] [-d|-f|-s|-a|-i|-y|-n]  display formatted name
       hostname [-v]                         display hostname

   hostname -V|--version|-h|--help       print info and exit

dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y

-s, --short           short host name
-a, --alias           alias names
-i, --ip-address      addresses for the hostname
-f, --fqdn, --long    long host name (FQDN)
-d, --domain          DNS domain name
-y, --yp, --nis       NIS/YP domainname
-F, --file            read hostname or NIS domainname from given file

   This command can read or set the hostname or the NIS domainname. You can
   also read the DNS domain or the FQDN (fully qualified domain name).
   Unless you are using bind or NIS for host lookups you can change the
   FQDN (Fully Qualified Domain Name) and the DNS domain name (which is
   part of the FQDN) in the /etc/hosts file.

In the package inetutils-hostname there is inetutils-hostname

Code: Select all

# inetutils-hostname --help
Usage: inetutils-hostname [OPTION...] [NAME]
Show or set the system's host name.

  -a, --aliases              alias names
  -d, --domain               DNS domain name
  -f, --fqdn, --long         DNS host name or FQDN
  -F, --file=FILE            set host name or NIS domain name from FILE
  -i, --ip-addresses         addresses for the host name
  -s, --short                short host name
  -y, --yp, --nis            NIS/YP domain name
  -?, --help                 give this help list
      --usage                give a short usage message
  -V, --version              print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: easyVoid development

Post by FeodorF »

@Caramel , @BarryK

/usr/local/EasyShare/easyshare

-legacy is missing too in line
985 if [ "$(iptables-legacy -L -n | grep -E '^ACCEPT |^DROP |^RETURN ')" == "" ];then #check if already running.
986 true #no, so run the installer.

for testing: echo "$(iptables-legacy -L -n | grep -E '^ACCEPT |^DROP |^RETURN ')"

Code: Select all

# echo "$(iptables-legacy -L -n | grep -E '^ACCEPT |^DROP |^RETURN ')"
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           
DROP       0    --  0.0.0.0/0            224.0.0.1           
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
DROP       0    --  0.0.0.0/0            0.0.0.0/0            PKTTYPE = broadcast
DROP       1    --  0.0.0.0/0            0.0.0.0/0            ctstate INVALID
ACCEPT     0    --  127.0.0.1            0.0.0.0/0           
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           
DROP       0    --  0.0.0.0/0            0.0.0.0/0            ctstate INVALID
RETURN     0    --  0.0.0.0/0            0.0.0.0/0           
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:!0x17/0x02 ctstate NEW
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x00
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x3F
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x29
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x37
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x06/0x06
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x03/0x03
RETURN     6    --  0.0.0.0/0            0.0.0.0/0           
DROP       1    -f  0.0.0.0/0            0.0.0.0/0           
DROP       1    --  0.0.0.0/0            0.0.0.0/0            icmptype 8
ACCEPT     1    --  0.0.0.0/0            0.0.0.0/0            icmptype 11
RETURN     1    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     6    --  192.168.178.0/24     0.0.0.0/0            tcp spt:139 ctstate NEW,ESTABLISHED
ACCEPT     6    --  192.168.178.0/24     0.0.0.0/0            tcp spt:445 ctstate NEW,ESTABLISHED
ACCEPT     6    --  0.0.0.0/0            0.0.0.0/0            tcp dpt:113
ACCEPT     6    --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22
RETURN     6    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     6    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     17   --  0.0.0.0/0            0.0.0.0/0            udp spt:67 dpt:68
ACCEPT     17   --  192.168.178.0/24     0.0.0.0/0            udp spt:137 ctstate NEW,ESTABLISHED
ACCEPT     17   --  192.168.178.0/24     0.0.0.0/0            udp spt:138 ctstate NEW,ESTABLISHED
RETURN     17   --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     17   --  0.0.0.0/0            0.0.0.0/0           
# 
mimine
Posts: 163
Joined: Wed Aug 24, 2022 5:56 pm
Has thanked: 17 times
Been thanked: 15 times

Re: easyVoid development

Post by mimine »

BarryK wrote: Tue Jan 23, 2024 3:43 am
mimine wrote: Mon Jan 22, 2024 3:29 pm

Didnt find in ibiblio the list of all included programs and versions ...
Also not found in the release notes ...
(sorry for the question).

6.0 and 6.0.1 are alpha releases and are not announced on Distrowatch!!!!!

Distrowatch is not a reference, it is bad...
Announce it on your blog, your blog is more serious that distrowatch.
Distrocrap !!!

Airdale
Posts: 80
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 4 times

Re: easyVoid development

Post by Airdale »

Caramel wrote: Mon Jan 29, 2024 7:48 am
Airdale wrote: Thu Jan 25, 2024 4:44 am

I tried to install the kernel source sfs from sfsget.

Unfortunately, it tries to install the Kirkstone devx as a dependency so the install fails.

Screenshot.png

error.png

It seems you use the EasyOS Kirkstone. The topic for Kirkstone is here : viewtopic.php?t=9911

NB : I think it's better to install kernel and devx in the main filesystem rather than in a container.

Thanks!! Appreciate the input!

Actually, I was trying to install the kernel source in EasyVoid. However, it thought that the Kirkstone devx was a dependency. It was a bug. I was not trying to install Kirkstone kernel source and devx in Easyvoid.

And I was trying to install it to the main filesystem - but since it thought that a kirkstone devx was a dependency then it was only giving me an option to install it in a container, which makes sense.

I ended up getting it to work by editing the specs file for the kernel source sfs. I had to change several parameters including the required dependencies so it would realize that the void devx was the correct dependency and allow me to install it to the main filesystem.

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: easyVoid development

Post by Caramel »

Airdale wrote: Tue Jan 30, 2024 3:29 am

Actually, I was trying to install the kernel source in EasyVoid. However, it thought that the Kirkstone devx was a dependency. It was a bug.

Thanks for the information.

I repeat it for @BarryK

Bug in the specs of the kernel sfs in easyVoid

SFS_DB_compileddistro='oe'
SFS_DB_compiledrelease='kirkstone'
SFS_DB_path='easyos/oe/kirkstone']

instead of

SFS_DB_compileddistro='void'
SFS_DB_compiledrelease='current'
SFS_DB_path='easyos/void/current']

User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: easyVoid development

Post by BarryK »

Thanks for investigating the hostname problem.
Fixed for next release, see blog:

https://bkhome.org/news/202402/hostname ... itory.html

A quick fix now is to click on the kirkstone easy.sfs and copy out usr/bin/hostname
(and of course click again on easy.sfs to close it)

User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: easyVoid development

Post by BarryK »

FeodorF wrote: Mon Jan 29, 2024 8:46 pm

@Caramel , @BarryK

/usr/local/EasyShare/easyshare

-legacy is missing too in line
985 if [ "$(iptables-legacy -L -n | grep -E '^ACCEPT |^DROP |^RETURN ')" == "" ];then #check if already running.
986 true #no, so run the installer.

for testing: echo "$(iptables-legacy -L -n | grep -E '^ACCEPT |^DROP |^RETURN ')"

Code: Select all

# echo "$(iptables-legacy -L -n | grep -E '^ACCEPT |^DROP |^RETURN ')"
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           
DROP       0    --  0.0.0.0/0            224.0.0.1           
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
DROP       0    --  0.0.0.0/0            0.0.0.0/0            PKTTYPE = broadcast
DROP       1    --  0.0.0.0/0            0.0.0.0/0            ctstate INVALID
ACCEPT     0    --  127.0.0.1            0.0.0.0/0           
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           
DROP       0    --  0.0.0.0/0            0.0.0.0/0            ctstate INVALID
RETURN     0    --  0.0.0.0/0            0.0.0.0/0           
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:!0x17/0x02 ctstate NEW
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x00
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x3F
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x29
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x3F/0x37
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x06/0x06
DROP       6    --  0.0.0.0/0            0.0.0.0/0            tcp flags:0x03/0x03
RETURN     6    --  0.0.0.0/0            0.0.0.0/0           
DROP       1    -f  0.0.0.0/0            0.0.0.0/0           
DROP       1    --  0.0.0.0/0            0.0.0.0/0            icmptype 8
ACCEPT     1    --  0.0.0.0/0            0.0.0.0/0            icmptype 11
RETURN     1    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     6    --  192.168.178.0/24     0.0.0.0/0            tcp spt:139 ctstate NEW,ESTABLISHED
ACCEPT     6    --  192.168.178.0/24     0.0.0.0/0            tcp spt:445 ctstate NEW,ESTABLISHED
ACCEPT     6    --  0.0.0.0/0            0.0.0.0/0            tcp dpt:113
ACCEPT     6    --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22
RETURN     6    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     6    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     17   --  0.0.0.0/0            0.0.0.0/0            udp spt:67 dpt:68
ACCEPT     17   --  192.168.178.0/24     0.0.0.0/0            udp spt:137 ctstate NEW,ESTABLISHED
ACCEPT     17   --  192.168.178.0/24     0.0.0.0/0            udp spt:138 ctstate NEW,ESTABLISHED
RETURN     17   --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     17   --  0.0.0.0/0            0.0.0.0/0           
# 

Thanks for finding that.
In Kirkstone, both iptables and iptables-legacy exist, both symlinks to xtables-legacy-multi
However, easyVoid does not have iptables.
Fixed.

User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: easyVoid development

Post by BarryK »

FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: easyVoid development

Post by FeodorF »

@BarryK
EasyShare needs the builtin-package 'gxmessage' - it's missing.

/usr/local/EasyShare/samba-setup

Code: Select all

line 28 # sort out the message app
line 29 type gxmessage 2>&1 >/dev/null && MSGAPP=gxmessage border='-borderless' || MSGAPP=xmessage border=
line 30 export MSGAPP border
FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: easyVoid development

Post by FeodorF »

@BarryK

There are no libs present at /usr/lib/samba.

libldb.so.2
/usr/sbin/smbd: error while loading shared libraries: libldb.so.2: cannot open shared object file: No such file or directory

liblibsmb-samba4.so
/usr/sbin/nmbd: error while loading shared libraries: liblibsmb-samba4.so: cannot open shared object file: No such file or directory

samba packages.png
samba packages.png (15.59 KiB) Viewed 1924 times
User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: easyVoid development

Post by BarryK »

thanks for reporting the nmbd and smbd missing libs, will check that out.

Ha ha, real awkward using the computer with one hand. see blog post re accident to thumb:

https://bkhome.org/news/202402/surgery-on-thumb.html

I'm left-handed, but use mouse with right hand. Weird trying to use it with left hand.

Have to keep the right hand elevated for a couple more days, but i won't use the hand for anything, like the mouse, for at least the next several day, when i go back to the hospital for a checkup.

Really want to keep coding woofV, will consider getting back to it, in a limited one-hand way, soon.

FeodorF
Posts: 245
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 10 times
Been thanked: 35 times

Re: easyVoid development

Post by FeodorF »

@BarryK
EasyShare problem solved. Samba version 4.14.12 used by easyVoid is set up different to EasyOS-Kirkstone.

Code: Select all

# smbd -V
Version 4.14.12
# smbd -b

Paths:
   SBINDIR: /usr/bin
   BINDIR: /usr/bin
   CONFIGFILE: /etc/samba/smb.conf
   LOGFILEBASE: /var/log/samba
   LMHOSTSFILE: /etc/samba/lmhosts
   LIBDIR: /usr/lib64
   DATADIR: /usr/share
   SAMBA_DATADIR: /usr/share/samba
   MODULESDIR: /usr/lib/samba
   SHLIBEXT: so
   LOCKDIR: /run/lock/samba
   STATEDIR: /var/lib/samba
   CACHEDIR: /var/cache/samba
   PIDDIR: /run/samba
   SMB_PASSWD_FILE: /etc/samba/private/smbpasswd
   PRIVATE_DIR: /etc/samba/private
   BINDDNS_DIR: /var/lib/samba/bind-dns

Some destinations have changed.
To make Samba/EasyShare work you need to add an entry to /etc/init.d/rc.samba at line 17.

Line 17: mkdir -p /run/lock

For proper testing I reinstalled Samba to easyVoid.

Samba 4.14.12.png
Samba 4.14.12.png (16.33 KiB) Viewed 1819 times

Final test
Connecting my PC to the Raspberry-Pi functioning as file and print server. Yes, the printer works too.

EasyShare-file-transfer.png
EasyShare-file-transfer.png (253.62 KiB) Viewed 1817 times
Last edited by FeodorF on Fri Feb 09, 2024 12:11 pm, edited 1 time in total.
Clarity
Posts: 3843
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1633 times
Been thanked: 526 times

Re: easyVoid development

Post by Clarity »

Hi @BarryK
I was sorry to hear of that unfortunate slip. And I know, 1st hand, the throbbing you are/will experience for weeks.

BarryK wrote: Wed Feb 07, 2024 8:14 am

... real awkward using the computer with one hand. see blog post re accident to thumb: ...

That's why I have several touch-screen laptops over the years. Was handy when I had a wrist-hand injury. Hope you have at least one touch-screen unit at home. If so, it will make life easy over the weeks you will be healing. Both finger controls of screen use with apps as well as use of the microphone for many controls especially navigating browser activity will make your life EASY. :)

Also, if you do, "PLEASE" set single tap on any open area on the desktop as opening the desktop menu. This negates having to use a mouse to launch desktop programs (to get to right mouse-button). You'll understand when using the touch-screen why this is an important need for one handed easy operation of 80% of what you will do.

Enjoy.

fatdoguser
Posts: 176
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

Re: easyVoid development

Post by fatdoguser »

Clarity wrote: Fri Feb 09, 2024 1:32 am

Hi @BarryK
I was sorry to hear of that unfortunate slip. And I know, 1st hand, the throbbing you are/will experience for weeks.

BarryK wrote: Wed Feb 07, 2024 8:14 am

... real awkward using the computer with one hand. see blog post re accident to thumb: ...

That's why I have several touch-screen laptops over the years. Was handy when I had a wrist-hand injury. Hope you have at least one touch-screen unit at home. If so, it will make life easy over the weeks you will be healing. Both finger controls of screen use with apps as well as use of the microphone for many controls especially navigating browser activity will make your life EASY. :)

Also, if you do, "PLEASE" set single tap on any open area on the desktop as opening the desktop menu. This negates having to use a mouse to launch desktop programs (to get to right mouse-button). You'll understand when using the touch-screen why this is an important need for one handed easy operation of 80% of what you will do.

Enjoy.

My laptop spacebar has a indentation from what I thought was my right thumb pressing it and the nail digging in over time. Thinking of Barry and a restricted thumb, I've only just realized that I don't actually use my thumb for the spacebar but my right index finger instead :shock:

My touchpad is set to replicate left/middle/mouse clicks when its pressed towards the bottom of the touchpad, where a right touch when the mouse pointer is on the root window presents the main menu. Two finger drags on the touchpad act as scroll. I've also set up jwm to present my url/bookmarks list when alt-spacebar is pressed ... another jwm 'root' menu. Mostly my thumbs are little used, more a case of both raised at 30 degree angles to near meet each other in a form of shield against accidental touching of the touchpad whilst using the keyboard. Not the sort of thing you think about when its all muscle memory.

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

Momanager

Post by don570 »

Question:
Why isn't momanager listed as a pet to download at ibiblio?
It has been rewritten by BarryK

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

EasyVoid - gtk2 incomplete localization

Post by Caramel »

Caramel wrote: Sat Jan 20, 2024 4:02 pm

PS : tiny bug with easyvoid, the gtk-dialog button like YES are not translated. they are in the previous versions

To display, in a language other than English, the text in gtk-dialog buttons, the file gtk20.mo (corresponding to the desired language) must be present in the relative directory LC_MESSAGES (in /usr/share/locale/)
For example to display in French, the gtk20.mo (for French) must be in /usr/share/locale/fr/LC_MESSAGES)

Some gtk20.mo (including French, German, Polish, Russian etc) are available in EasyOS 5.7 (in /usr/share/locale/"abbreviation for the desired language"/LC_MESSAGES)

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: Momanager

Post by Caramel »

don570 wrote: Fri Feb 09, 2024 2:26 am

Question:
Why isn't momanager listed as a pet to download at ibiblio?
It has been rewritten by BarryK

Sources are available here : https://distro.ibiblio.org/easyos/source/oe/dunfell/

In EasyOS , the scripts are in /usr/local/momanager

User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: easyVoid development

Post by BarryK »

FeodorF wrote: Thu Feb 08, 2024 11:42 pm

@BarryK
EasyShare problem solved. Samba version 4.14.12 used by easyVoid is set up different to EasyOS-Kirkstone.
...
Some destinations have changed.
To make Samba/EasyShare work you need to add an entry to /etc/init.d/rc.samba at line 17.

Thanks for that, I put in the fix.

User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: Momanager

Post by BarryK »

don570 wrote: Fri Feb 09, 2024 2:26 am

Question:
Why isn't momanager listed as a pet to download at ibiblio?
It has been rewritten by BarryK

It isn't a pet, it is builtin to EasyOS.

The script is here:
https://github.com/bkauler/woofq/tree/m ... on/usr/bin

But, it makes a lot of assumptions that are very EasyOS-specific, so might need work to modify for other pups.

User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: EasyVoid - gtk2 incomplete localization

Post by BarryK »

Caramel wrote: Sat Feb 10, 2024 8:29 am
Caramel wrote: Sat Jan 20, 2024 4:02 pm

PS : tiny bug with easyvoid, the gtk-dialog button like YES are not translated. they are in the previous versions

To display, in a language other than English, the text in gtk-dialog buttons, the file gtk20.mo (corresponding to the desired language) must be present in the relative directory LC_MESSAGES (in /usr/share/locale/)
For example to display in French, the gtk20.mo (for French) must be in /usr/share/locale/fr/LC_MESSAGES)

Some gtk20.mo (including French, German, Polish, Russian etc) are available in EasyOS 5.7 (in /usr/share/locale/"abbreviation for the desired language"/LC_MESSAGES)

The gtk20.mo files seem to be missing from the Void package repo. The gtk30.mo and gtk40.mo files are there.
I have got the gtk20.mo files out of the kirkstone gtk package.
Thanks for finding that.

User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: easyVoid development

Post by BarryK »

Hit a problem today, 'hwclock' utility failed in easyVoid 6.0.3:

https://bkhome.org/news/202402/hwclock- ... d-603.html

There has been news recently about security flaws in glibc, which probably explains the package revision bump. I wonder if that also accounts for the hwclock fail?

For anyone who is interested, here is the statically-linked hwclock:

https://distro.ibiblio.org/easyos/amd64 ... -amd64.pet

Being statically-linked, it will work in any x86_64 pup.

User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: easyVoid development

Post by BarryK »

woofV progress report:

"woofV topological sort"
https://bkhome.org/news/202402/woofv-to ... -sort.html

User avatar
Federico
Posts: 291
Joined: Tue Jun 20, 2023 2:40 pm
Has thanked: 1 time
Been thanked: 36 times

Re: easyVoid development

Post by Federico »

BarryK wrote: Thu Feb 15, 2024 11:56 am

woofV progress report:

"woofV topological sort"
https://bkhome.org/news/202402/woofv-to ... -sort.html

Dear Barry,
topological sorting is an interesting topic:

If I'm not mistaking, both the Wikipedia and the Stackoverflow pages basically say that any sorting is only possible if no cyclic (or circular as a synonym) dependencies are present. The Wikipedia page states that << A topological ordering is possible if and only if the graph has no directed cycles >>; and the Stackoverflow page states the following: << what you probably need to do first is to find cycles and break them by deleting an edge in the cycle (OK, marking the edge as "ignore this when doing topological sort"). With all the cycles removed, you can apply toplogical sort to the remaining nodes and arcs. >>.
This looks obvious to me, since a reciprocal dependency within 2 elements of any group of tasks looks to be non-sensical: it is a logical error. It is like saying for example that if people depend on food and food can only be produced by people, if somewhere there are neither people nor food, then no one can live there. This breakes any chain and is obviously wrong. Hence, these task-sorting algorithms (including the tsort utility) must deal with this issue and all of them rely on the identification and breaking of any circular dependency within the group of tasks in question before proceeding.

With that said, in the hope of being helpful I executed your scripts for topologically sorting the list of packages contained into easy.sfs, for Kirkstone 5.7 and Void 6.0.1. I then exported the results to csv files, which you can find attached below (p7zip required):

packages_topologically_ordered.7z
(152.92 KiB) Downloaded 38 times

the files can be easily imported to LibreOffice Calc (or any other spreadsheet software). As you can see, on the woof-installed-packages files the packages are shown in alphabetical order from top to bottom; whereas on the woof-installed-packages-dep-order files the packages are shown in the calculated installation order from top to bottom.

Desktop PC
Case: Sharkoon S25-W MB: Asus Rog Strix B550-A PSU: XFX Pro 750W CPU: AMD Ryzen 5700X @ 4.6 GHz RAM: Corsair 32 GB DDR4 @ 3000 MHz Heatsink: Scythe Mugen 5 rev. B VGA: Asus Tuf RTX 3080 12 GB OC

Laptop PC: Asus Zenbook UX325E

User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: easyVoid development

Post by BarryK »

Another progress report:

https://bkhome.org/news/202402/woofv-po ... ootfs.html

This morning I fixed the "populate-rootfs" script, and it is chugging along right now, downloading and installing packages to the 'rootfs' folder.

It has pulled in a lot of dependency packages that I don't want in the 'rootfs'. They will bulk it out unnecessarily. Lots of font packages for example.

Unfortunately, XBPS cannot install just one package and ignore all deps.

There is a mechanism, can create "ignorepkg=" lines in a conf file in /etc/xbps.d folder, but that is global, and I would have to know all of the packages to be ignored. Will probably be forced to do it that way.

Or, could hack the "pkgdb" file and remove deps of all packages -- as I am installing them in dep-order anyway. Hmmm, that would need some thought.

User avatar
BarryK
Posts: 2705
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: easyVoid development

Post by BarryK »

Another progress report on '5populate-rootfs' script:

https://bkhome.org/news/202402/woofv-po ... ootfs.html

Clarity
Posts: 3843
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1633 times
Been thanked: 526 times

Re: easyVoid development

Post by Clarity »

Hi @BarryK

Saw your list for the package software of the upcoming WoofV build for easyVoid. Great items matching and package theme is consistent. Thanks

I wonder if you would consider the following that I think would be also of value to members:

  • findsmb - I think this was built by @01micko as was the SSM for SAMBA

  • tldr - that is helpful in cli command use without any need to search the web for examples

  • btop - a SUPERIOR solution to TOP with most system metrics at a glance in a terminal screen

None of these make any major addition to the 'weight' of the IMG/ISO deliverable.

No response to this post is begged. If you feel any are worthy to user use, they will be there on release.

Post Reply

Return to “EasyOS”