Page 7 of 11
KDE Dolphin - automatic fix after system update
Posted: Sun Nov 10, 2024 2:45 pm
by Federico
Dear all,
for the ones who use the KDE apps like me, I've written a small script which can be used to automatically fix the Dolphin contextual menu after the system has been updated, which is used to choose the application for opening a particular file, among all the available ones, and to define file associations for any extension within the system.
Code: Select all
#!/bin/bash
file="libkf5service-data_5.103.0-1_all.deb";
Australia="http://ftp.au.debian.org/debian/pool/main/k/kservice/";
Address=$Australia;
#EU_Germany="http://ftp.de.debian.org/debian/pool/main/k/kservice/";
#Address=$EU_Germany;
#North_America="http://ftp.us.debian.org/debian/pool/main/k/kservice/";
#Address=$North_America;
#Sud_America="http://download.unesp.br/linux/debian/pool/main/k/kservice/";
#Address=$Sud_America;
#China="http://ftp.cn.debian.org/debian/pool/main/k/kservice/";
#Address=$China;
#Africa="http://debian.mirror.ac.za/debian/pool/main/k/kservice/";
#Address=$Africa;
# Download the package libkf5service-data_5.103.0-1_all.deb and save it onto /files/archive
cd /files/archive/
U=$Address;
FILE=$file;
[[ -z "$U" ]] && echo -e "Usage: $0 repo-url [file to download]\nwithout give \"file to download\" this script will list the files inside the repo\n";
for i in $(curl -l "$U" 2>/dev/null|grep -i 'href='|sed -e 's/.*href=//g' -e 's/>.*//g' -e 's/"//g'|grep -v '/$'|grep "$FILE")
do
if [[ -z "$FILE" ]]
then
echo "FILE: $i"
else
echo "Download file: $i"
curl -q "${U}/${i}" --output "$i" 2>/dev/null
ls -la "$i"
fi
done
sleep 3;
# Extract file kf5-applications.menu from package and save it onto /etc/xdg/menus
dpkg-deb --fsys-tarfile libkf5service-data_5.103.0-1_all.deb | tar -xOf - ./etc/xdg/menus/kf5-applications.menu > /etc/xdg/menus/kf5-applications.menu
sleep 1;
# Close Dolphin instances if present
kill `pidof dolphin`;
sleep 1;
# Rebuild Dolphin applications-contextual-menu
kbuildsycoca5 --noincremental;
The curl package is needed (also available on the Scarthgap repository). This script can also be used on Scarthgap, in case you have installed Dolphin on Scarthgap as a foreign app. What this script does is extremely simple:
- Downloads the package libkf5service-data_5.103.0-1_all.deb from the Debian repository and saves it onto the /files/archive folder
- Extracts the file kf5-applications.menu from it onto the folder /etc/xdg/menus
- Closes all active Dolphin instances if present
- Executes the needed command to rebuild the Dolphin menu
The default url for the package is the australian one. If you want to select another location, just comment the 2 lines for Australia and uncomment the 2 lines for the desired source location. Just name this script as you wish (give it obviously the .sh file extension) and don't forget to give it execution permissions.
Re: Easy Daedalus 6.4.3
Posted: Sun Nov 10, 2024 9:04 pm
by don570
Easy Daedalus 6.4.3
Checked Blender , Samba, pclock and audio recording and they worked.
______________________________________________
Re: Easy Daedalus 6.4.3
Posted: Mon Nov 11, 2024 9:33 am
by Philh
I installed xfe, scite and gnome-mastermind.
Saved and rebooted all working fine.
But every time I update easyos the gnome-mastermind.desktop file
in /usr/share/applications gets deleted.
The others are fine.
Re: Easy Daedalus 6.4.3
Posted: Mon Nov 11, 2024 10:45 am
by BarryK
Philh wrote: Mon Nov 11, 2024 9:33 am
I installed xfe, scite and gnome-mastermind.
Saved and rebooted all working fine.
But every time I update easyos the gnome-mastermind.desktop file
in /usr/share/applications gets deleted.
The others are fine.
The initrd performs sanity checks.
It must think that there is something wrong with /usr/share/applications/gnome-mastermind.desktop
One thing that is checked is the "Exec=" line, if no valid executable then will delete the .desktop file.
Maybe attach the gnome-mastermind.desktop file here, with a ".gz" extension.
Re: Easy Daedalus 6.4.3
Posted: Mon Nov 11, 2024 11:11 am
by Philh
Exec=gnome-mastermind
Its in /usr/games
Re: Easy Daedalus 6.4.3
Posted: Mon Nov 11, 2024 7:14 pm
by Caramel
Philh wrote: Mon Nov 11, 2024 11:11 am
Exec=gnome-mastermind
Its in /usr/games
gnome-mastermind.desktop.gz
To save @BarryK time :
(Easy Daedalus 6.4.3)
fixlayers (/sbin in initrd), lines 184 and 185
Code: Select all
if [ -e usr/bin/${aEXEC} -o -e usr/local/bin/${aEXEC} ];then
continue
The code tests if the executable quoted in the .desktop file exists in /usr/bin or /usr/local/bin.
Here with gnome-mastermind the test fails as the executable is in /usr/games
Re: Easy Daedalus 6.4.3
Posted: Tue Nov 12, 2024 12:49 am
by BarryK
Caramel wrote: Mon Nov 11, 2024 7:14 pm
Philh wrote: Mon Nov 11, 2024 11:11 am
Exec=gnome-mastermind
Its in /usr/games
gnome-mastermind.desktop.gz
To save @BarryK time :
(Easy Daedalus 6.4.3)
fixlayers (/sbin in initrd), lines 184 and 185
Code: Select all
if [ -e usr/bin/${aEXEC} -o -e usr/local/bin/${aEXEC} ];then
continue
The code tests if the executable quoted in the .desktop file exists in /usr/bin or /usr/local/bin.
Here with gnome-mastermind the test fails as the executable is in /usr/games
Thanks, fixed
Code: Select all
if [ -e usr/bin/${aEXEC} -o -e usr/local/bin/${aEXEC} -o -e usr/games/${aEXEC} ];then #20241112
software issues
Posted: Tue Nov 12, 2024 9:34 pm
by don570
1) When I use Uextract to rip open .mhtml files I get warning message in terminal --->
I need ripmime. The version in fatdog64 works....
https://distro.ibiblio.org/fatdog/packa ... 6_64-1.txz
______________________________________
2) When I click on .webp files the image viewer gives warning that this format isn't recognized.
______________________________________________________
Re: software issues
Posted: Wed Nov 13, 2024 9:33 am
by pp4mnklinux
don570 wrote: Tue Nov 12, 2024 9:34 pm
______________________________________
2) When I click on .webp files the image viewer gives warning that this format isn't recognized.
______________________________________________________
Hi @don570 :
Daedalus v 6.4.3 had solved this problem with .webp.
Right click on the image file (.webp) and choose file 'xxxx.webp' .... mtpaint and this way the .webp file will be open (It is possible mtpaint doesn't appears in your list in this case, you must go to OPEN WITH and choose it. It is possible that you need to customize, so choose CUSTOMIZE AND browse to mtpaint).
You can make this change permanent, so you must associate .webp files with mtpaint and the problem should dissapears.
Hope it helps you.- Have a nice day, my friend.
Enjoy EasyOS_daedalus 6.4.3
CHEERS.
Re: software issues
Posted: Wed Nov 13, 2024 10:19 am
by BarryK
Thanks for the info.
ripmime will be in the next release of Daedalus and Scarthgap.
Re: software issues
Posted: Wed Nov 13, 2024 10:44 am
by BarryK
don570 wrote: Tue Nov 12, 2024 9:34 pm
2) When I click on .webp files the image viewer gives warning that this format isn't recognized.
The problem is that the left-click image viewer is gPicView, which is a gtk+2 app, and only uses the image viewing supported by gtk+2.
We would need to replace gPicView with something else.
Awhile back, we used Viewnior, but that is the same situation, gtk+2.
However, reading here, I see it is possible to add webp to gdk-pixbuf:
https://www.omglinux.com/see-webp-image ... -gtk-apps/
project page:
https://github.com/aruiz/webp-pixbuf-loader
...ok, I'll check that out.
Re: software issues
Posted: Wed Nov 13, 2024 11:44 am
by BarryK
BarryK wrote: Wed Nov 13, 2024 10:44 am
don570 wrote: Tue Nov 12, 2024 9:34 pm
2) When I click on .webp files the image viewer gives warning that this format isn't recognized.
The problem is that the left-click image viewer is gPicView, which is a gtk+2 app, and only uses the image viewing supported by gtk+2.
We would need to replace gPicView with something else.
Awhile back, we used Viewnior, but that is the same situation, gtk+2.
However, reading here, I see it is possible to add webp to gdk-pixbuf:
https://www.omglinux.com/see-webp-image ... -gtk-apps/
project page:
https://github.com/aruiz/webp-pixbuf-loader
...ok, I'll check that out.
Done. webp image support will be in gtk+2 and gtk+3 and hence in gPicView, next release of Daedalus and Scarthgap.
Language Support - Urdu
Posted: Fri Nov 15, 2024 6:58 am
by Chiaseed
Hi,
For displaying Urdu / Arabic script,
how to add Language Support in EASYOS?
Regards
Re: Language Support - Urdu
Posted: Sat Nov 16, 2024 12:16 am
by BarryK
Chiaseed wrote: Fri Nov 15, 2024 6:58 am
Hi,
For displaying Urdu / Arabic script,
how to add Language Support in EASYOS?
Regards
@Chiaseed
My understanding is the two-letter language code for Urdu is "ur" and for Arabic is "ar"
How close are these; can someone who can read Urdu text read Arabic and vice versa?
I ask this because, looking at Libreoffice, there is no support for ur, but there is for ar.
Re: Easy Daedalus 6.4.3
Posted: Sat Nov 16, 2024 8:41 am
by wiak
I was looking at https://wiki.documentfoundation.org/Language/Support for Filipino, Tagalog, or more importantly for the people I know: Bisaya
But none seem catered for at all. Google Translate does offer some rather bad Tagalog translation, which they seem to refer to as 'Filipino' though I thing there really isn't a Philippines dialect called "Filipino". I may well be wrong.
A lot of people live in the Philippines and maybe just as many Filipinos working overseas, so it is a big hole in language support. Having said that, smartphones seems to be the device used by almost everyone nowadays...
Re: Easy Daedalus 6.4.3
Posted: Sat Nov 16, 2024 12:35 pm
by bugnaw333
Our National language here is Pilipino (Tagalog--spoken in Manila) but the dominant dialect is Bisaya (Mindanao) almost similar to Cebuano (Cebu). Tagalog people have difficulty speaking/understanding Bisaya
but the Visayan could easily speak and understand Tagalog. 
Language Support - Arabic / Urdu
Posted: Sun Nov 17, 2024 4:45 pm
by Chiaseed
Thank you Barry Kauler for the effort put in this by your good self.
With Language Support for Arabic, the readability for Urdu should be easy.
https://en.wikipedia.org/wiki/Arabic_alphabet
https://en.wikipedia.org/wiki/Urdu_alphabet
Both languages share letters. Arabic has about 28 letters while Urdu has all letters of Arabic and few more with total of 35 + letters. Arabic is an old old language while Urdu is about 300 - 400 years old. But someone who can one read/write one language, CANNOT read/write the other language. You have to learn both separately.
Re: Easy Daedalus 6.4.3
Posted: Mon Nov 18, 2024 1:41 am
by BarryK
bugnaw333 wrote: Sat Nov 16, 2024 12:35 pm
Our National language here is Pilipino (Tagalog--spoken in Manila) but the dominant dialect is Bisaya (Mindanao) almost similar to Cebuano (Cebu). Tagalog people have difficulty speaking/understanding Bisaya
but the Visayan could easily speak and understand Tagalog. 
My understanding is that most educated people in the Philippines can read and write English.
Is this correct, or partially correct?
Re: Easy Daedalus 6.4.3
Posted: Mon Nov 18, 2024 5:38 am
by bugnaw333
@BarryK
That is correct. Our medium language of instruction here in both private and public schools is English from pre-school up to college. Nowadays, most of our 4-yr old kids can fluently speak using the English language because of the internet and celfones. 
Re: Language Support - Arabic / Urdu
Posted: Mon Nov 18, 2024 2:33 pm
by BarryK
Chiaseed wrote: Sun Nov 17, 2024 4:45 pm
Thank you Barry Kauler for the effort put in this by your good self.
With Language Support for Arabic, the readability for Urdu should be easy.
https://en.wikipedia.org/wiki/Arabic_alphabet
https://en.wikipedia.org/wiki/Urdu_alphabet
Both languages share letters. Arabic has about 28 letters while Urdu has all letters of Arabic and few more with total of 35 + letters. Arabic is an old old language while Urdu is about 300 - 400 years old. But someone who can one read/write one language, CANNOT read/write the other language. You have to learn both separately.
OK, I have added Arabic language support.
Re: Easy Daedalus 6.4.4
Posted: Tue Nov 19, 2024 2:08 am
by BarryK
Simultaneous releases of Scarthgap and Daedalus, both version 6.4.4.
Blog announcement:
https://bkhome.org/news/202411/easyos-s ... eases.html
Re: Easy Daedalus 6.4.4
Posted: Tue Nov 19, 2024 6:08 am
by pp4mnklinux
@BarryK
Good Afternoon:
Today I was going to update my EasyOS_daedalus, but when visiting Barry's blog, I read a start page comment where I read: "Scarthgap is the "main guy", the one I recommend if you are new to EasyOS. ", so I wannna know, please, Is it better to install Scarthgap and work on it to update Daedalus?
I ask this because I prefer to work with future in mind, haha, and my time could be better used working on scarthgap.
What would you recommend me, change to scarthgap or continue with daedalus?
Why do u recomend ScarthGap for new users, plz?
Thanks for your answers.
Have a nice day, PP4MNK
Re: Easy Daedalus 6.4.4
Posted: Tue Nov 19, 2024 9:40 am
by BarryK
pp4mnklinux wrote: Tue Nov 19, 2024 6:08 am
I ask this because I prefer to work with future in mind, haha, and my time could be better used working on scarthgap.
What would you recommend me, change to scarthgap or continue with daedalus?
Why do u recomend ScarthGap for new users, plz?
Scarthgap is my personal preference, as the packages are compiled by me and very small and configured how i want.
I put a lot more apps into easy.sfs than for Daedalus easy.sfs.
How long will I keep developing EasyOS? In a few months I'll be 75, and may move on to doing other things, like touring with my trike.
In which case might continue only a minimal upkeep of EasyOS and have just one release, likely to be Scarthgap or its successor (the next OpenEmbedded LTS release).
Perhaps someone might take a liking to maintaining a Devuan fork of woofQ, if I drop it.
Who knows, it is all up in the air what will happen in the years ahead.
I don't even know if I will advance beyond the OE Scarthgap release, as it will be supported until 2028:
https://wiki.yoctoproject.org/wiki/Releases
...another 4 years, i'll be pushing close to 80. If still alive, likely to be doing some things on the bucket list.
Re: Easy Daedalus 6.4.4
Posted: Tue Nov 19, 2024 3:26 pm
by BarryK
You don't need to run a separate Easy Daedalus, as Daedalus can be run in a container inside Scarthgap:
https://bkhome.org/news/202411/run-easy ... thgap.html
I am interested to know of any apps that do not run properly in the container.
Re: Easy Daedalus 6.4.4
Posted: Tue Nov 19, 2024 9:11 pm
by pp4mnklinux
Ok.- Scarthgap re-installed and updated.
If you teach me how to run daedalus into a container... I'll install it and test it. @BarryK
Have a nice day.
Pd.- I made ScarthGap don't ask for a password when starting..... the problem??? I didn't remember how to do it, jajaja.
Re: Easy Daedalus 6.4.4
Posted: Wed Nov 20, 2024 1:29 am
by BarryK
pp4mnklinux wrote: Tue Nov 19, 2024 9:11 pm
If you teach me how to run daedalus into a container... I'll install it and test it. @BarryK
Huh?!
The blog post explains how.
Re: Easy Daedalus 6.4.4
Posted: Wed Nov 20, 2024 1:32 am
by BarryK
pp4mnklinux wrote: Tue Nov 19, 2024 9:11 pm
Pd.- I made ScarthGap don't ask for a password when starting..... the problem??? I didn't remember how to do it, jajaja.
It has to be a new installation of Scarthgap, and you press ENTER instead of typing in a password, at the first bootup.
Re: Easy Daedalus 6.4.4
Posted: Wed Nov 20, 2024 4:44 am
by pp4mnklinux
BarryK wrote: Wed Nov 20, 2024 1:29 am
pp4mnklinux wrote: Tue Nov 19, 2024 9:11 pm
If you teach me how to run daedalus into a container... I'll install it and test it. @BarryK
Huh?!
The blog post explains how.
Thanks, https://bkhome.org/news/202411/run-easy ... thgap.html
Re: Easy Daedalus 6.4.4
Posted: Wed Nov 20, 2024 11:42 am
by ramonriera
Thank and congratulations !!!
I'm sure there are many users who are grateful for your work with PuppyLinux and EasyOS.
Thanks again.
Ramon Riera
Happy user of PuppyLinux and EasyOS.
BarryK wrote: Tue Nov 19, 2024 9:40 am
pp4mnklinux wrote: Tue Nov 19, 2024 6:08 am
I ask this because I prefer to work with future in mind, haha, and my time could be better used working on scarthgap.
What would you recommend me, change to scarthgap or continue with daedalus?
Why do u recomend ScarthGap for new users, plz?
Scarthgap is my personal preference, as the packages are compiled by me and very small and configured how i want.
I put a lot more apps into easy.sfs than for Daedalus easy.sfs.
How long will I keep developing EasyOS? In a few months I'll be 75, and may move on to doing other things, like touring with my trike.
In which case might continue only a minimal upkeep of EasyOS and have just one release, likely to be Scarthgap or its successor (the next OpenEmbedded LTS release).
Perhaps someone might take a liking to maintaining a Devuan fork of woofQ, if I drop it.
Who knows, it is all up in the air what will happen in the years ahead.
I don't even know if I will advance beyond the OE Scarthgap release, as it will be supported until 2028:
https://wiki.yoctoproject.org/wiki/Releases
...another 4 years, i'll be pushing close to 80. If still alive, likely to be doing some things on the bucket list.
Re: Easy Daedalus 6.4.4
Posted: Wed Nov 20, 2024 8:22 pm
by Stogie
BarryK wrote: Tue Nov 19, 2024 9:40 am
How long will I keep developing EasyOS? In a few months I'll be 75, and may move on to doing other things [...]
Who knows, it is all up in the air what will happen in the years ahead. [...]
I don't even know if I will advance beyond the OE Scarthgap release, as it will be supported until 2028:
https://wiki.yoctoproject.org/wiki/Releases
...another 4 years, i'll be pushing close to 80. If still alive, likely to be doing some things on the bucket list.
Barry, consider a succession plan for the EasyOS project. I'm sure there are people who would be eager to take over if you want to, or ever have to, stop working on the project either partially or totally, for whatever reason(s).
It would suck for the many happy and daily EasyOS users if the project just ended! Also it's too GOOD to end! There's nothing else like it out there.