From PostX 0.6 to 0.7 – Upgrading guide.

This guide is for upgrading the PostX Gnu/Linux to 0.7 version. As of 3rd of January 2021 Debian Buster is having some issues with grub-efi and grub.cfg generation. This leads to failures when generating new images. Given the previous, the more manual way of upgrading PostX Gnu/Linux was chosen at this time.

Notices:

  • Disable secure boot before attempting to install (Bios).
  • Possibly disable legacy boot (Bios).
  • Before proceeding read the section: Know issues – AMD from this document.

To begin get PostX Gnu/Linux 0.6 and install it.

https://www.techtimejourney.net/PostX0.6/

0.6 release notes and guide.

When that is done then proceed with the instructions below. Remember that you do everything with your own responsibility and if things get broken it is your responsibility to fix them. Always backup anything important before proceeding.

Disclaimer: Upgrade changes system structure. Make sure you copy all important configs and customizations before proceeding. If something goes wrong it is user’s responsibility to fix the issues and deal with possible damages.

Notable changes, excluding version upgrades:

– Text editor will change from Metapad to ++Editor.

– ImageViewer is added.

– Quick Terminal is back as primary terminal.

After upgrade, the Openbox menu will be out of date, since programs have changed. See, step 4.

Upgrading steps

1. Enable repository :

sudo nano /etc/apt/sources.list.d/postx.list

Change this section:

#Techtimejourney repo

#deb [trusted=yes] https://www.techtimejourney.net/postx-current postx main

To:

#Techtimejourney repo

deb [trusted=yes] https://www.techtimejourney.net/postx-current postx main

2. Upgrade apt sources & install postx-keyring & prepare for upgrade

sudo apt-get update && sudo apt-get install postx-keyring && sudo apt-get update

Terminal will be changed back to Quick terminal == quick command for launching. Install dependencies:

sudo apt-get install python3 gir1.2-vte-2.91 python-gi python3-gi python-minimal python-gobject

3. Do the actual upgrade:

Notice that the distribution version will stay on 0.6. This is because PostX Gnu/Linux base-files are not present in the repository. There is no real difference between base-files of 0.6 and 0.7 except the numbering.

sudo apt-get upgrade

sudo apt-get install 0.7-wallpapers

4. Upgrade configs and menus to match the new release – Be normal user here.

cp /etc/skel/Keys.md $HOME/

cp -r /etc/skel/.config/openbox/menu.xml $HOME/.config/openbox/menu.xml

Refresh Openbox via its menu: Restart and Reconfigure

Change background to 0.7 default on system startup:

echo "feh --bg-scale /usr/share/postx-wallpapers/rx.png" > $HOME/.wall/wall.sh 

To change background on current session:

feh --bg-scale /usr/share/postx-wallpapers/rx.png 

5. At this point you should have the upgrade completed. Debian’s sudo apt-get autoremove is a bit too eager to remove things that it should not. It is recommended to mark a set of needed packages as manually installed so autoremove does not remove them. This is done via standard apt-get install command.

sudo apt-get install file-roller gstreamer1.0-libav libaacs0 libarchive13 libavfilter7 libavformat58 libbdplus0 libbluray2 libjsoncpp1 liblzo2-2 libmysofa0 libnautilus-extension1a libnorm1 libpgm-5.2-0 libpostproc55 libqt5designer5 libqt5glib-2.0-0 libqt5gstreamer-1.0-0 libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediagsttools5 libqt5multimediawidgets5 libqt5opengl5 libqt5test5 librubberband2 libsodium23 libssh-gcrypt-4 libswscale5 libvidstab1.1 libzmq5 p7zip p7zip-full python-enum34 python-pyqt5 python-sip squashfs-tools

If you accidentally used sudo apt-get autoremove after the upgrade then just install the list above and it should remedy any missing packages issue with PostX Gnu/Linux.

Know issues – AMD

On some machines (notably with AMD integrated GPUs) the system does not get screen positions quite right. This shows up as an issue with clocktime program, which ends up being in a wrong position instead of the center of the screen. Sometimes kernel upgrade will fix these kind of issues, so if available try that first. For me the issue was also that picture kept coming and going when booting any kind of Linux system. This was tracked back to fast boot feature that I had enabled on Bios. For a good measure, I also disabled legacy boot via Bios. After these steps the reboot became more stable and all of my picture issues/black screen issues were solved. This also meant that I did not need to disable clocktime as below. Now, the clocktime program did find the center of screen as it was supposed to.

If clocktime still causes issues disable it if needed. Proceed as below.

Comment the pkill clocktime lines from launchy_toggle to hide the misplaced clock:

Option 1: via sed:

sudo su
sed -i '7 s/^/#/' /usr/share/launchy_toggle.sh
sed -i '14 s/^/#/' /usr/share/launchy_toggle.sh 

Option 2: Manually:

sudo nano /usr/share/launchy_toggle.sh

Comment the lines as shown below:

#pkill -f /usr/share/clocktime &

#/usr/share/clocktime &

If you need to adjust screen more then install arandr: sudo apt-get install arandr

PostX Gnu/Linux 0.7
PostX Gnu/Linux 0.7