|
Post by ylee on Apr 4, 2021 23:13:26 GMT
Noted  Thanks
|
|
enigma9o7
Crew Member
 
Posts: 1,218
Likes: 1,215
|
Post by enigma9o7 on Apr 6, 2021 1:35:02 GMT
Now I've started wondering about default associations and how that works. I changed the order of installation so that I hope, for example, videos will get associated with vlc and audio with audacious. But we also don't need text files opening with libreoffice write or geany by default, or images opening with libreoffice draw, imagemagick or gimp by default either, so might have to do some learning to make that script require less effort on users side to set leafpad and ephoto back as defaults.
|
|
enigma9o7
Crew Member
 
Posts: 1,218
Likes: 1,215
|
Post by enigma9o7 on Aug 27, 2021 4:56:33 GMT
Here's a version that works for me on legacy 6.0 beta.
Note I do not expect there to be a legacy-apppack release iso or anything, I'm just doing this for fun/testing purposes.
#!/bin/bash # Script to apply applications to Bodhi 6 LegacyBeta to simulate App-pack Edition echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >/etc/apt/sources.list.d/unstable.list echo "Package: * Pin: release a=stable Pin-Priority: 900
Package: * Pin release a=unstable Pin-Priority: 1" > /etc/apt/preferences.d/99pin-unstable apt update apt install -t unstable firefox apt install -y --no-install-recommends openshot apt install -y qalculate libreoffice filezilla hexchat vlc timeshift gparted bodhi-theme-pack blueman thunar-archive-plugin lxtask moksha-module-forecasts moksha-module-tclock moksha-module-engage moksha-module-penguins bodhi-background-* aisleriot frozen-bubble extremetuxracer neofetch imagemagick ssh git htop mesa-utils lm-sensors audacious evince gdebi gimp geany # apt install -y bodhi-printing mintupdate # cannot install yet There are a couple differences from standard. The simple one is that bodhi-printing and mintupdate fail to install, which I imagine will be resolved in due course.
The other is that it adds debian's unstable repository (set at lowest possible priority). The pin priority ensures it only would install something from unstable if either 1. package doesnt exist in stable or 2. unstable is specified. In the above case, two apps get installed from unstable. One is qalculate, not sure why it was removed from stable, but anyways its back in testing now and works fine, and the other is firefox.
For "current stable" firefox on regular debian, the user has several choices (all of which I've tested and all work fine):
1. Debian's unstable repo (see script above how to pin it lowest priority)
3. Mozilla download ( wget "https://download.mozilla.org/?product=firefox-latest&os=linux&lang=en-US" -O firefox-latest.i686.tar.bz2 )
None of those choices are ideal. The downside I see to each option:
1. just the word unstable alone is enough to make me not want to add that repo. plus it takes longer to apt update. And its a few versions behind current.
2. there is "don't break debian" advice against doing this kinda thing, cuz even tho it seems fine now, ubuntu could possibly put something in that repo that'd overwrite something critical to debian months later or something, and make it hard for end user to figure out what went wrong. Installing the debfile manually is fine to avoid that, but of course then no further updates.
3. this is fine other than it manages its own updates instead of using apt to do it, and you have to install it yourself in the first place as its not packaged 4. this is fine other than the package name (and corresponding desktop entry name) is firefox-mozilla-build not just plain "firefox"
Ideally it would be best if bodhi legacy repo mirrored/packaged/repackaged the mozilla or ubuntu version of firefox, and a working qalculate package, so no need for unstable or self-installation of app pack apps.
|
|
|
Post by ylee on Aug 28, 2021 11:09:50 GMT
... Ideally it would be best if bodhi legacy repo mirrored/packaged/repackaged the mozilla or ubuntu version of firefox, and a working qalculate package, so no need for unstable or self-installation of app pack apps.
I packaged the latest version of qalculate-gtk for Bullseye 32-bit. This is a more recent version than the one in Ubuntu (focal or otherwise). I had some issues getting the deb file to build, (using modified versions of Debians/Ubuntu's Debian folder). There have been some changes in gettext and intltoolize and how to get them to 'cooperate' in the automake stuff (issues about it on github and other places for other packages). config.status: error: cannot find input file: `po/Makefile.in.in' Since this affects localization I am hoping qalculate is properly translated for other locales. I did not test this. I fully expect localization to be functional (a semi educated guess). BUT if localization is not working for this package I will look at this issue more closely and repackage working versions of the needed packages. If you have installed the older version of qalculate from the Debian 'unstable' repo, a usual update/upgrade should install the latest version. Be sure the packages libqalculate22-data and libqalculate22 end up installed and the older libqalculate20* packages end up being removed. I did not test these packages to ensure they update 'nicely.' I do not plan on updating Ubuntu's packages to this more recent version unless there is a clear demand to do so.
|
|
|
Post by zaivala23 on Oct 8, 2021 19:02:56 GMT
I know that some Arch distros give you a choice of Office packages, or none. Might be an idea... except that with Arch, it's not in the ISO, the installer goes out and downloads packages based on your choices, which makes for a much longer installation.
LibreOffice FreeOffice WPS Office perhaps Gnome Office or KOffice? (Gnome is Abiword, Gnumeric, GNOMEDB, Dia, and others) no office
|
|
enigma9o7
Crew Member
 
Posts: 1,218
Likes: 1,215
|
Post by enigma9o7 on Oct 23, 2021 22:29:13 GMT
Decided to play with a clean bl6-legacy-beta VM again, and updated my script. Changes since before:
1. No longer use debian unstable for firefox/qalculate. 2. Replace firefox-esr with latest firefox & chromium-browser from ubuntu-security 3. Install qalculate-gtk and bodhi-printing from bodhi repo 4. Install new apps and inxi from bullseye-backports when offered there, which for example provides libreoffice 7.2 instead of 7.0.
#!/bin/bash # Script to apply applications to Bodhi 6 Legacy Beta similar to Bodhi's App-pack Edition # Ubuntu Security Repository - firefox and chromium-browser updates through at least April 2023 echo "deb http://security.ubuntu.com/ubuntu bionic-security main universe" >/etc/apt/sources.list.d/bionic-security.list apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32 # Debian Bullseye Backports Repository echo "deb http://deb.debian.org/debian bullseye-backports main contrib non-free" >/etc/apt/sources.list.d/bullseye-backports.list apt update && apt dist-upgrade -y apt install -y firefox chromium-browser && apt remove -y firefox-esr apt install -y --no-install-recommends openshot apt install -y -t bullseye-backports inxi libreoffice qalculate-gtk filezilla hexchat vlc timeshift gparted bodhi-theme-pack blueman thunar-archive-plugin lxtask moksha-module-forecasts moksha-module-tclock moksha-module-engage moksha-module-penguins bodhi-background-* aisleriot frozen-bubble extremetuxracer neofetch imagemagick ssh git htop mesa-utils lm-sensors audacious evince gdebi gimp geany bodhi-printing # apt install mintupdate (cannot install now due to errors about missing python3-aptdaemon/python3-aptdaemon.gtk3widgets)
|
|