Mate Desktop

Technical issues/questions of an intermediate or advanced nature.
Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Mate Desktop

Post#1 by Jack » 08 May 2020, 18:12

My Dell quit working so I upgraded to a Acer at that point my I built won't work on it so I download the latest Mate and it works great. I want to have 4 Desktops right now it has 1 Desktop.

I want to boot up in EFI but when dose it stop and has a big padlock can that be fixed?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Mate Desktop

Post#2 by Ed_P » 08 May 2020, 20:08

Nice to see you back Jack. :)

You need to turn off the Acer's EFI Secure Boot option.
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Mate Desktop

Post#3 by Jack » 08 May 2020, 22:43

@Ed_P If I turn off then Windows 8.1 won't boot.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Mate Desktop

Post#4 by Ed_P » 08 May 2020, 23:24

My Windows 10 Dell boots with it turned off.
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Mate Desktop

Post#5 by Jack » 09 May 2020, 17:24

If I want to boot Windows I will turn it on.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Mate Desktop

Post#6 by Ed_P » 09 May 2020, 21:24

Strange but if it works for you... :)

On my wife's Acer Aspire One notebook I don't even see Secure Boot as an option.

-update-
Found it. :) Have to press F2 instead of F12. Also change boot device sequence.
Ed

gj_gruber
White ninja
White ninja
Posts: 6
Joined: 18 Dec 2019, 14:14
Distribution: v5x86-64

Mate Desktop

Post#7 by gj_gruber » 30 Sep 2020, 14:37

Hi, I use Porteus 5x64-RC1, Mate Desktop. After any electric blackout, i can`t login with guest user, may be some files got corrupt. At this situation, i try to use Cinnamon desktop module, where i can login but icons and windows buttons (all theme) dissaper.

Which folders and files i need to delete in order to reset Mate desktop environment ?

How can i backup desktop environment configure files ?

Another issues i have, it's about Python. Can i ask here or in other new topic ?

thanks

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Mate Desktop

Post#8 by Ed_P » 01 Oct 2020, 20:13

Hi gj_gruber. :)

Sorry to hear about your problems and sorry I don't know how to fix your Mate DE problem.

A couple of suggestions;

1. Use Porteus 5x64-rc2.

2. If you are using a save.dat file once you have your system working and configured make a backup of the save.dat file.

Code: Select all

cp   $CHANGES/porteussave.dat $MODSAVEDAT/porteussave.dat.xzm
Obviously you have to customize the 2 $ variables to fit your system. And notice the backup is an xzm module. So you can boot with your changes as a module, using the extramod= cheatcode or copy it to your /modules folder.

3. Here is a script I use to backup my changes as a module.

Code: Select all

#!/bin/bash

# Save changes as a mod file 

# https://forum.porteus.org/viewtopic.php?f=81&t=5981&start=15#p46643

MOD=mychanges   # mychanges-$(date +%Y%m%d)
TO=Modules

# http://forum.porteus.org/viewtopic.php?f=53&t=3801&start=30#p28472
BOOT=`grep -A1 "Porteus data found in:" /var/log/porteus-livedbg|tail -n1|sed 's^//^/^g'`
SYSTM=
DRV=${BOOT:5:4}

if [ "${BOOT:0:12}" == "/mnt/isoloop" ]; then
   ISOBOOT=`grep -A1 "//porteus" /var/log/porteus-livedbg`
   SYSTM="${ISOBOOT:11:10}/"
   DRV=${ISOBOOT:5:4}
fi

CHANGES=/mnt/$DRV/$SYSTM$TO/$MOD
if [ "$1" == "r" ] && [ "$2" != "" ] ; then
   CHANGES="$2"
fi

# Color definitions               # ups.sh
txtbld=$(tput bold)               # Bold
txtred=${txtbld}$(tput setaf 1)   # Bold Red
txtgreen=${txtbld}$(tput setaf 2) # Bold Green 
txtcyan=${txtbld}$(tput setaf 6)  # Bold Cyan
rst=$(tput sgr0)                  # Reset

function redpswd() {
  echo -E "$1" $txtred  
}
function cyan() {
  echo -E "$1" $txtcyan
}

if [ `whoami` != "root" ]; then
   echo -e "Enter root's password"
   cyan "Enter root's password"
   su -c "sh $0 $1 $2"
   exit
fi
echo $rst

# Changes
# Start mkmodchanges with a numeric argument (for mmin minutes)
if [ "$1" != "" ] && [ "$1" != "r" ] ; then
   echo 'find /mnt/live/memory/changes  -iname "*" -mmin -'$1
   find /mnt/live/memory/changes  -iname "*" -mmin -$1
   echo
   exit
fi

# Restore
if [ "$1" == "r" ]; then
   echo
   echo "Restoring backup files from $CHANGES.xzm."
   mloop $CHANGES.xzm
   echo "--------------------------------------------------------"
   echo "Press Enter to restore ALL backed up files."
   echo "Press Ctrl+C to restore select files/folders. "
   echo "  To restore select files/folders use: "
   echo "      cp -a -v /mnt/loop/xxxxx/*  / "
   echo "  When done enter: uloop."  
   read
   cp -a  -v   /mnt/loop/*      /
#  http://forum.porteus.org/viewtopic.php?f=140&t=6646&p=52904#p52904
   uloop
   exit
fi

if [ -d /tmp/mod/ ]; then
   rm -rf /tmp/mod
fi
mkdir -p /tmp/mod
#if [ ! -d    /home/guest/.java/deployment/security/ ]; then
#   mkdir -p  /home/guest/.java/deployment/security/
#   cp        /home/guest/Backups/Java/*.sites     /home/guest/.java/deployment/security/
#fi

# copy modified files

cp -a --parents    /home/guest/.config/dconf/*                    /tmp/mod/
#cp -a --parents    /etc/resolv.conf                               /tmp/mod/

#                  -- File Manager - nemo - bookmarks --
cp -a --parents          /root/.config/nemo*                      /tmp/mod/
cp -a --parents          /root/.config/gtk-3.0/*                  /tmp/mod/
cp -a --parents    /home/guest/.config/nemo/*                     /tmp/mod/
cp -a --parents    /home/guest/.config/gtk-3.0/*                  /tmp/mod/

#                  -- File Manager - xed behavior & clock display --
cp -a --parents    /home/guest/.config/dconf/user                 /tmp/mod/

#                  -- My Home files --
cp -a --parents    /home/guest/*                                  /tmp/mod/
# https://forum.porteus.org/viewtopic.php?p=69449#p69449 Rava function
#cp -a --parents    /home/guest/.bashrc                            /tmp/mod/

#                  -- Browser - Firefox file associations --
cp -a --parents    /home/guest/.config/mimeapps.list              /tmp/mod/

#                  -- Browser files - Firefox --
FFPATH=`grep "Path=" /home/guest/.mozilla/firefox/profiles.ini`; FFPATH=${FFPATH:5}
#cp -a --parents    /home/guest/.mozilla/plugins                               /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/profiles.ini                  /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/addonStartup.json.lz4 /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/addons.json           /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/content-prefs.sqlite  /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/cookies.sqlite        /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/favicons.sqlite       /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/formhistory.sqlite    /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/key?.db               /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/logins.json           /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/permissions.sqlite    /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/places.sqlite         /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/prefs.js              /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/search.json.mozlz4    /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/webappsstore.sqlite   /tmp/mod/
cp -a --parents    /home/guest/.mozilla/firefox/$FFPATH/xulstore.json         /tmp/mod/
if [ -d            /home/guest/.mozilla/firefox/$FFPATH/browser-extension-data/ ]; then
   cp -a --parents /home/guest/.mozilla/firefox/$FFPATH/extensions/*              /tmp/mod/
   cp -a --parents /home/guest/.mozilla/firefox/$FFPATH/browser-extension-data/*  /tmp/mod/
   cp -a --parents /home/guest/.mozilla/firefox/$FFPATH/extensions.json           /tmp/mod/
fi   

cp -a --parents    /home/guest/.java/deployment/security/exception.sites      /tmp/mod/
cp -a --parents    /usr/share/mime/packages/freedesktop.org.xml               /tmp/mod/
# http://askubuntu.com/questions/478169/why-cant-firefox-run-local-swf-files

#                  -- Network files --
#                  touch /var/lib/dhcpcd/dhcpd.leases
cp -a --parents    /etc/NetworkManager/system-connections/*       /tmp/mod/
cp -a --parents    /var/run/NetworkManager/*                      /tmp/mod/
#cp -a --parents    /var/lib/dhcpcd/*                              /tmp/mod/
cp -a --parents    /etc/hosts                                     /tmp/mod/

#                  -- My machine tweaks --
cp -a --parents    /etc/localtime                                 /tmp/mod/
cp -a --parents    /etc/rc.d/rc.local*                            /tmp/mod/
cp -a --parents    /etc/changes-exit.conf                         /tmp/mod/
cp -a --parents    /etc/porteus.conf                              /tmp/mod/
cp -a --parents    /var/log/spooler                               /tmp/mod/

#                  -- My menu tweaks --
cp -a --parents    /usr/share/applications/cups*                  /tmp/mod/
cp -a --parents    /usr/share/applications/*print*                /tmp/mod/
if [ -e            /usr/share/applications/sun_java* ]; then
   cp -a --parents /usr/share/applications/sun_java*              /tmp/mod/
fi

#                  -- My printer files --
cp -a --parents    /home/guest/.hplip/hplip.conf                  /tmp/mod/
cp -a --parents    /var/cache/cups/*                              /tmp/mod/
cp -a --parents    /etc/cups/ppd/*                                /tmp/mod/
cp -a --parents    /etc/cups/printers.conf                        /tmp/mod/

#                  -- Cinnamom tweaks --
#cp -a --parents    /home/guest/.cinnamon/configs/panel-launchers@cinnamon.org/*     /tmp/mod/
cp -a --parents    /home/guest/.cinnamon/configs/grouped-window-list@cinnamon.org/* /tmp/mod/
cp -a --parents    /home/guest/.cinnamon/configs/power@cinnamon.org/*               /tmp/mod/

#                  -- USM files --
#cp -a --parents    /etc/usm/*                                     /tmp/mod/
#cp -a --parents    /var/usm/                                      /tmp/mod/

#                  -- SLACKYD files --
cp -a --parents    /etc/slackyd/*                                 /tmp/mod/
cp -a --parents    /var/slackyd/                                  /tmp/mod/

#                  -- PySol Solitare files --
cp -a --parents    /home/guest/.PySolFC/*.cfg                     /tmp/mod/
cp -a --parents    /home/guest/.PySolFC/*.dat                     /tmp/mod/

echo
du -h    /tmp/mod/   | grep "M"
#ls -g    /tmp/mod   | awk '{ if ($4 < 100) $4 = " "$4 } {print $5,$6,$7,$4,$8}'
#du -hc   /tmp/mod/  | grep "total"
echo
echo Changed files copied. Press Enter to create module, Ctrl+C to exit.
echo

if [ -f $CHANGES*.xzm ]; then
   CF=`ls -lght --time-style long-iso $CHANGES*.xzm | awk '{print $5,$6}'`
   if [ ${CF:11:2} -lt 12 ]; then
      CF=$CF"am"
   else
      PM=$((${CF:11:2} - 12))
      if [ $PM == 0 ]; then PM=12; fi
         CF=${CF:0:11}$PM${CF:13}"pm"
   fi
   echo "Current file:" $CF
fi
read

dir2xzm  /tmp/mod /tmp/$MOD.xzm   &&   rm -rf /tmp/mod

echo 
ls -sh   /tmp/*.xzm

DIR () {
ls -lght --time-style long-iso $1 | awk '{print $5,$6,$4,$7}'
}

echo
echo Press Enter to copy /tmp/$MOD.xzm to $TO, Ctrl+C to exit.
DIR     /tmp/$MOD.xzm 
if [ -f $CHANGES*.xzm ]; then
   DIR     $CHANGES*.xzm
fi 
read
if [ -f $CHANGES*.xzm ]; then
   mv      $CHANGES*.xzm $CHANGES.xyzm
fi
cp      /tmp/$MOD.xzm  /mnt/$DRV/$SYSTM$TO
read
rm      /tmp/$MOD.xzm
echo Finished!
read
As you can see it's a little convoluted but it should give you some ideas as to where changes are made and what to backup.

I hope these help. :)
Ed

gj_gruber
White ninja
White ninja
Posts: 6
Joined: 18 Dec 2019, 14:14
Distribution: v5x86-64

Mate Desktop

Post#9 by gj_gruber » 02 Oct 2020, 12:25

Hi, Ed
Thanks for your answer.
Your suggestion enrich my knowlege about Porteus, :good:

I recently tried 5x64.RC.2 but it doesn't boot. two days ago, i downloaded patch update. I wil try again. it's my goal. :pulpfiction:

By now, a want to know how to fix my Mate Desktop without delete all guest folders, and know the philosophy of Linux-slackware-porteus system files and folders of environment . :book:

I don't use save.dat , i have a ext3 partition where store boot , porteus and change files. :thumbsup:

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Mate Desktop

Post#10 by Ed_P » 02 Oct 2020, 18:45

gj_gruber wrote:
02 Oct 2020, 12:25
I don't use save.dat , i have a ext3 partition where store boot , porteus and change files. :thumbsup:
Can you post the output of a ls command of your changes folder?
Ed

gj_gruber
White ninja
White ninja
Posts: 6
Joined: 18 Dec 2019, 14:14
Distribution: v5x86-64

Mate Desktop

Post#11 by gj_gruber » 06 Oct 2020, 13:00

Ed_P wrote:
02 Oct 2020, 18:45
gj_gruber wrote:
02 Oct 2020, 12:25
I don't use save.dat , i have a ext3 partition where store boot , porteus and change files. :thumbsup:
Can you post the output of a ls command of your changes folder?
guest@porteus:/mnt/sdb7/porteus/changes$ ls *
dev:
console initctl|

etc:
adjtime fstab localtime-copied-from@ slpkg/
bash_completion.d/ fstab.systemd.bak porteus/ ssl/
bootcmd.cfg hardwareclock printcap udev/
cups/ hp/ profile.d/ usm/
dbus-1/ ld.so.cache random-seed xml/
fish/ localtime@ resolv.conf

home:
guest/

lib:
udev/

mnt:
live/ sda1/ sda2/ sda3/ sda5/ sdb1/ sdb2/ sdb3/ sdb5/ sdb6/ sdb7/

opt:
libreoffice6.2/ traccar/
/bin/ls: cannot open directory 'root': Permission denied

run:
mount/

tmp:
SBo/ mozilla-temp-2060662761
anydesk/ mozilla-temp-343634586
bubblewrap-0.4.0-x86_64-1_SBo.tgz mozilla-temp-708923270
dbg mozilla-temp-765350259
debog-install-depot-multisystem.txt mozilla-temp-783684853
dlackware/ mozilla-temp-997408982
getpkg/ mozilla_guest0/
gtk-driver-builder/ mozilla_guest1/
lu2277okj5tp.tmp/ pulse-2L9K88eMlGn7/
lu3154ric0y8.tmp/ pulse-CcctT9RwKSB1/
lu33964qkaj0.tmp/ pulse-PKdhtXMmr18n/
lu3621gbtfm8.tmp/ python3-3.7.2-x86_64-1_SBo.tgz
lu4849a86nt0.tmp/ runtime-guest/
mozilla-temp-1044510516 six-1.14.0-x86_64-1_SBo.tgz
mozilla-temp-1211081891 slpkg/
mozilla-temp-1239678832 slpkg-3.8.9-x86_64-1_dsw.txz
mozilla-temp-1248057304 spacefm.tmp/
mozilla-temp-1413142323 tmpaddon
mozilla-temp-1518773518 tmpaddon-17fa01
mozilla-temp-1547121369 tmpaddon-8ecc1
mozilla-temp-1635051558 tmpaddon-a61366
mozilla-temp-1798773630 usm/
mozilla-temp-1913498809 xdg-runtime-guest/
mozilla-temp-2016304731 xdg-runtime-root/

usr:
bin/ doc/ include/ lib/ lib64/ local/ man/ share/ src/

var:
cache/ db/ lib/ lock/ log/ run/ spool/ tmp/ usm/

User avatar
babam
Warlord
Warlord
Posts: 528
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Mate Desktop

Post#12 by babam » 07 Oct 2020, 13:26

gj_gruber wrote:
30 Sep 2020, 14:37
Hi, I use Porteus 5x64-RC1, Mate Desktop. After any electric blackout, i can`t login with guest user, may be some files got corrupt.

thanks
Use the fsck cheatcode.
Sorry, my English is bad.

gj_gruber
White ninja
White ninja
Posts: 6
Joined: 18 Dec 2019, 14:14
Distribution: v5x86-64

Mate Desktop

Post#13 by gj_gruber » 07 Oct 2020, 15:43

Thank, Babam.
I forget to mention it. I used FSCK, in other time, and it fixed that. But now didn't fix.

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Mate Desktop

Post#14 by francois » 08 Oct 2020, 00:49

Best thing is to start anew with another change folder. Once settled to the basic changes, get into always fresh mode and convert the changes folder into a module (dir2xzm command). This way you do not have to begin from scrap each time. B)
Prendre son temps, profiter de celui qui passe.

gj_gruber
White ninja
White ninja
Posts: 6
Joined: 18 Dec 2019, 14:14
Distribution: v5x86-64

Mate Desktop

Post#15 by gj_gruber » 08 Oct 2020, 15:35

francois wrote:
08 Oct 2020, 00:49
Best thing is to start anew with another change folder. Once settled to the basic changes, get into always fresh mode and convert the changes folder into a module (dir2xzm command). This way you do not have to begin from scrap each time. B)
:) :D yes, i Know that. From now, i going to save a backup with module file, and write a logbook text file for remember the install history. For example, four weeks ago, when i install Python with getpkg or slpkg (i don´t remenber which), the youtube-dl and other, went to crash (by ssl libs deps). And could't fix it. I couldn't uninstall the python :wall: . All this experience induce me to know in deep the OS system file of Linux - slackware and Porteus.

:sos: What option or procedure to use to obtain a .XZM file if i Install package with slpkg or getpkg or spman or (configure + make + make install) or (slackbuild script) or (upgradepkg --install-new) (excuse me if any of this give .XZM, i don't remember)

what about: Flatpak, Snap and other Universal Package Formats for use with porteus ?? :book:

Post Reply