Auteur Sujet: Bento Maki - ce qu'il y a dedans, quoi de neuf  (Lu 5136 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne Taco.22

  • Membre Senior
  • ****
  • Messages: 391
    • Scorpio_Openbox
Bento Maki - ce qu'il y a dedans, quoi de neuf
« le: 11 janvier 2018 à 14:47:31 »
On dirait qu'un Bento de taille moyenne est en préparation - Bento Maki, une plus grande forme de sushi!

Les règles sont grossièrement: ISO final moins de 700MB (j'utilise la compression xz et d'autres choses pour compresser max, donc je ne peux pas faire plus sur cette partie), facile pour tous les utilisateurs, respecter les lois (certains outils comme libdvdcss2 pour être installé plus tard par l'utilisateur ou par les helpers des utilisateurs, il suffit d'aller dans / usr / share / libdvdread4 et de vérifier les informations qui s'y trouvent).

Quelques inclusions suggérées -
   make
   gcc
   extlinux
   brasero-cdrkit
   grsync

Des morceaux de base de kit qui fonctionnent juste en arrière-plan. Sauf grsync - il met un visage à une application de fond!

J'ai changé d'avis à propos de Startup Disk Creator. Maintenant que je suis en train de remasteriser sur du métal nu et non de la VBox, ça semble faire l'affaire. Cependant, je ne voudrais pas inclure Software Center et Update Manager. Ils ajoutent presque 60mb à une construction (avant la compression), et dupliquent apt-get et Synaptic. Développement a également cessé pour Software Center, et il est une idée effrayante que quelqu'un peut prendre la "option" de "mise à jour" à 16.04 sans vraiment se rendre compte de ce qu'ils font!

Quoi d'autre? Navigateur, graphiques, musique, etc. Oh, et illustrations.



It looks like a mid size Bento is in the works - Bento Maki, a bigger form of sushi!

The rules are roughly : final ISO less than 700MB (I use the xz compression and other things to compress max, so I can't do more on this part), easy for all users, respect the laws (some tools such as libdvdcss2 need to be installed later by the user or by the helpers of the users, just go to /usr/share/libdvdread4 and check the information there).


Some suggested inclusions -
   make
   gcc
   extlinux
   brasero-cdrkit
   grsync

Basic bits of kit that just work in the background.  Except grsync - it puts a face to a background app!

I have changed my mind about Startup Disk Creator.  Now that I am remastering on bare metal and not VBox it seems to be doing the job.  However I would not include Software Center and Update Manager.  They add almost 60mb to a build (before compression), and duplicate apt-get and Synaptic.  Development has also ceased for Software Center, and it is a scary thought that someone may take the "option" of "updating" to 16.04 without quite realising what they are doing!

What else?  Browser, graphics, music etc.  Oh, and artwork.

 
What can go wrong !!!

Hors ligne melodie

  • Administrateur
  • Membre Héroïque
  • *****
  • Messages: 1774
    • Citrotux
Re : Bento Maki - ce qu'il y a dedans, quoi de neuf
« Réponse #1 le: 12 janvier 2018 à 02:43:34 »
Hello Taco,


I plan to make Maki when I start working on 16.04, so no worry about users upgrading to 16.04. About current updates, I would consider using this "autoUpdate" script which is a cron script, in /etc/cron.daily instead of the classic update manager:

#!/bin/sh

startDate=`date +%Y%m%d_%H:%M:%S`
LOG="/var/log/autoUpdate.log"
test_serveur='exemple.com'
nb_jours=14
[ "`ping -c1 -i1 ${test_serveur} | grep '100% packet loss'`" != "" ] &&
echo "Reseau inaccessible" >> ${LOG} && exit 1

for l in `seq 2 ${nb_jours}`
do
    idx=$((nb_jours + 1 - l))
    old_idx=$((idx - 1))
    [ -f ${LOG}.${old_idx} ] && \mv ${LOG}.${old_idx} ${LOG}.${idx}
done
[ -f ${LOG} ] && \mv ${LOG} ${LOG}.1
echo "-- Demarrage a: ${startDate} --" > ${LOG}
for action in `echo update dist-upgrade autoremove`
do
    apt-get -y ${action} 2>&1 >> ${LOG}
done

A buddy from my LUG wrote it on my request on the mailing list, I have been using it for several weeks now, and I didn't find any glitch so far. You can give it a try if you want, and if you do, you will see the logs in /var/log/ as autoUpdate.log* files (14 days before the eldest one is deleted).


I would like to make Maki a basic version, as finished as Bento is, but I would not include any GUI application except for a web browser, a text editor and the GUI file manager. This way it will be basic : which means people can then add what they want, but it will provide a more finished environment than what Sushi offers (not many people seem interested in Sushi anyway so far, I think geeks prefer busenlabs, the successor of Crunchbang, or even Archbang, the Openbox version of Archlinux).

I might have it come with chromium-browser, pcmanfm, and geany, but will change the geany.desktop file to have it appear in a "accessories" category instead of "programming" (because it scares the newbees). Or maybe I'll put leafpad, to make it much lighter on disk space. I will also install Synaptic, and the usual sound system, pavucontrol… deadbeef, mpv… so it won't be too hard for the users to start with it.
Ok to add make, gcc,and extlinux (without unnecessary depends or recommands, of course, and if it does not pull in too much).

The other kinds of tools, libreoffice, gnome software center (the replacement of the actual software-center), and other music, graphics etc. would be in a full version which this time would be a much large ISO, perhaps 1.6 GB, perhaps more.

This is the idea… One for the users who like choosing their apps themselves, one with lots of good programs in all categories. Let's see if people like it?


I didn't understand what you mean when you write "Basic bits of kit that just work in the background" ?


basic bits of kit? What is it?


***

Bonjour Taco,


Je prévois de créer Maki quand je commencerai à travailler sur 16.04, alors ne t'inquiète pas si les utilisateurs passent à 16.04. À propos des mises à jour actuelles, je considérerais utiliser ce script "autoUpdate" qui est un script cron, dans /etc/cron.daily au lieu du gestionnaire de mise à jour classique:

#!/bin/sh

startDate=`date +%Y%m%d_%H:%M:%S`
LOG="/var/log/autoUpdate.log"
test_serveur='exemple.com'
nb_jours=14
[ "`ping -c1 -i1 ${test_serveur} | grep '100% packet loss'`" != "" ] &&
echo "Reseau inaccessible" >> ${LOG} && exit 1

for l in `seq 2 ${nb_jours}`
do
    idx=$((nb_jours + 1 - l))
    old_idx=$((idx - 1))
    [ -f ${LOG}.${old_idx} ] && \mv ${LOG}.${old_idx} ${LOG}.${idx}
done
[ -f ${LOG} ] && \mv ${LOG} ${LOG}.1
echo "-- Demarrage a: ${startDate} --" > ${LOG}
for action in `echo update dist-upgrade autoremove`
do
    apt-get -y ${action} 2>&1 >> ${LOG}
done

Un copain de mon GUL l'a écrit à ma demande sur la liste de discussion, je l'utilise depuis plusieurs semaines, et je n'ai trouvé aucun problème jusqu'à présent. Tu peux essayer si tu le souhaites, et si tu l'essaies, tu trouveras les journaux dans /var/log/ des fichiers autoUpdate.log * (14 jours avant que le plus ancien soit supprimé).


Je voudrais faire de Maki une version de base, aussi finie que Bento, mais je n'inclurai aucune application graphique excepté un navigateur web, un éditeur de texte et le gestionnaire de fichiers GUI. De cette façon, il sera basique: ce qui signifie que les gens peuvent ajouter ce qu'ils veulent, mais cela offrira un environnement plus fini que ce que propose Sushi (peu de gens semblent s'intéresser au Sushi jusqu'ici, je pense que les geeks préfèrent les busenlabs, le successeur de Crunchbang, ou même Archbang, la version Openbox d'Archlinux).

Je pourrais y installer chrome-browser, pcmanfm, et geany, mais en ce cas je changerai le fichier geany.desktop pour qu'il apparaisse dans une catégorie "accessoires" au lieu de "programmation" (parce que le terme programmation fait peur aux débutants). Ou peut-être que je mettrai leafpad, qui est beaucoup plus léger sur l'espace disque. Je vais aussi installer Synaptic, et le système de son habituel, pavucontrol ... deadbeef, mpv ... donc ce ne sera pas trop dur pour les utilisateurs de commencer avec ça. Pour le reste, libre à eux de préférer VLC Smplayer, ou autre, etc.

Ok pour ajouter make, gcc, et extlinux (sans dépendances ou paquets recommandés inutile et si ça n'installe pas trop de paquets en plus).

Les autres types d'outils, libreoffice, Gnome Software Center, (le remplacement du centre logiciel actuel), et d'autres logiciels de musique, graphisme, etc. seraient dans une version complète qui cette fois serait une grande image ISO, peut-être 1,6 GB, peut-être plus.

C'est l'idée ... Une pour les utilisateurs qui aiment choisir leurs applications, une avec beaucoup de bons programmes dans toutes les catégories. Voyons voir si ça leur plait ?


Je n'ai pas compris ce que vous voulez dire quand vous écrivez "des morceaux de base de kit qui fonctionnent juste en arrière-plan" ?


Morceaux de base de kit ? Qu'est-ce que c'est ?
Good leaders being scarce, following yourself is allowed.

Hors ligne Taco.22

  • Membre Senior
  • ****
  • Messages: 391
    • Scorpio_Openbox
Re : Bento Maki - ce qu'il y a dedans, quoi de neuf
« Réponse #2 le: 12 janvier 2018 à 07:15:28 »
Salut Mélodie,

Citer
Je n'ai pas compris ce que vous voulez dire quand vous écrivez "des morceaux de base de kit qui fonctionnent juste en arrière-plan"?

Désolé - je voulais dire de petites applications qui sont cachées mais qui font un travail important.

Le script autoUpdate to 16.04 cron - où dois-je l'installer et comment l'exécuter?

Citer
Les autres types d'outils, libreoffice, centre logiciel gnome (le remplacement du centre logiciel actuel), et d'autres musiques, graphiques, etc. seraient dans une version complète qui cette fois serait un grand ISO, peut-être 1,6 GB, peut-être plus.
J'ai fait un remaster de votre dernier Bento avec Pinguy Builder. J'ai gardé toutes les grandes applications comme Gimp, Inkscape et LibreOffice, utilisé mes fichiers de configuration, ajouté Chromium et vlc et quelques autres morceaux, installé thunar (patched pour split volet) au lieu de PCmanFM, débarrassé de certaines duplications comme mousepad et gpicview, et supprimé Software Center et Updater. L'ISO est arrivé à 885mb, et quand on y pense c'est à peu près un système complet - donc 1.6gb serait énorme!

Avez-vous pensé à configurer un compte SourceForge pour Bento? J'en ai créé un il y a quelques années quand je faisais Scorpio Openbox, en particulier avec PCLinuxOS. Il vous permet de le télécharger, vous permet de le promouvoir, et vous pouvez revenir à Linux Village.

Citer
Je pense que les geeks préfèrent busenlabs, le successeur de Crunchbang, ou même Archbang, la version Openbox d'Archlinux
Bunsenlabs - Je me suis fait brûler par Debian quand ils sont passés de Wheezy à Jessie, et ont défoncé mon nouveau Scorpion Debian! J'ai vérifié certains de ces forums mais je trouve que c'est un peu "été là, fait ça". Je ne sais pas pour vous mais au cours des huit dernières années, j'ai fait presque tout ce qui peut être fait avec / à Openbox - en partie pas vraiment sympa: o J'ai construit et maintenu mes propres mini distributions, certaines à partir d'un réseau minimal -installer. En fin de compte, j'ai une configuration qui fonctionne pour moi, et tout ce que je veux, c'est un système stable et fiable. Je suis en quelque sorte sur le "jouer avec les choses pour le plaisir de jouer avec les choses", et aussi un peu fatigué de devs en train de casser les choses! Je suis toujours un geek, toujours curieux, mais à la fin de la journée je veux un bon produit. Tous nos ordinateurs fonctionnent depuis des années avec Openbox, maintenant avec Bento comme base.  Je garde encore quelques tours dans le donjon pour expérimenter quand même !!


Hi Mélodie,

Citer
I didn't understand what you mean when you write "Basic bits of kit that just work in the background" ?

Sorry - I meant small applications that are hidden but do important work.

The autoUpdate to 16.04 cron script - where do I install it and how do I run it?

Citer
The other kinds of tools, libreoffice, gnome software center (the replacement of the actual software-center), and other music, graphics etc. would be in a full version which this time would be a much large ISO, perhaps 1.6 GB, perhaps more.
I have done a remaster of your latest Bento with Pinguy Builder.  I kept all the big applications like Gimp, Inkscape and LibreOffice, used my config files, added Chromium and vlc and a some other bits and pieces,  installed thunar (patched for split pane) instead of PCmanFM, got rid of some duplications like mousepad and gpicview, and removed Software Center and Updater.  The ISO came in at 885mb, and when you think about it that is just about a complete system - so 1.6gb would be huge!

Have you thought about setting up a SourceForge account for Bento?  I set one up some years ago when I was doing Scorpio Openbox, particularly with PCLinuxOS.  It puts it out there, gives you a central spot for downloads, lets you promote it, and you can link back to Linux Village.

Citer
I think geeks prefer busenlabs, the successor of Crunchbang, or even Archbang, the Openbox version of Archlinux
Bunsenlabs - I got burnt by Debian when they switched from Wheezy to Jessie, and borked my shiny new Debian Scorpio!  I have checked out some of those forums but I find it's a bit "been there, done that".  I don't know about you but over the past eight years I have done almost everything that can be done with/to Openbox - some of it really not nice :o   I have built and maintained my own mini distros, some from a minimal net-install.  In the end I have a setup that works for me, and then all I want is a stable, reliable system.  I'm sort of over the "playing with things for the sake of playing with things", and also a bit tired of devs upstream breaking things!  I'm still a geek, always curious, but at the end of the day I want a good product.  All our computers for years have run Openbox, now with Bento as the base.  I still keep a couple of spins in the dungeon to experiment on though!!   



What can go wrong !!!

Hors ligne melodie

  • Administrateur
  • Membre Héroïque
  • *****
  • Messages: 1774
    • Citrotux
Re : Bento Maki - ce qu'il y a dedans, quoi de neuf
« Réponse #3 le: 12 janvier 2018 à 13:36:45 »
Hello Taco!

Yes, please read above the script, I wrote: "I would consider using this "autoUpdate" script which is a cron script, in /etc/cron.daily instead of the classic update manager:"

I don't need Sourceforge and their villain services (in the paste, they had rotten the Gimp version for Windows with some ads or I don't remember what, and it's full of ads and also it's slow). The files for the Bento project are on gitlab. Please do visite https://bentovillage.me/en ! :D

You'll find the link to gitlab in the navbar.

About playing with fun things to do, have you tried setting up changing backgrounds? I have the tutorial somewhere… Have you kept the pclinuxos magazine special Openbox? There are a few tricks in there which I have never tried. Also, there was another one to be tried, let me have a look if I can find it…

here: http://lubuntu.me/tips-tricks/

I was thinking about Skippy XD. It looks like there are quite a few tricks to be tested here. Which ones do you already know?



Good leaders being scarce, following yourself is allowed.