Cinnamon 4.2.3 for Porteus 5.0rc1

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#1 by jssouza » 10 Aug 2019, 12:37

Now that Linux Mint 19.2 has been released, here's Cinnamon 4.2.3 for Porteus 5.0rc1

http://www.mediafire.com/file/pslivv4c1 ... n.xzm/file
md5sum: 254adb631bc03506385250ed9cfef5ff

- Cinnamon and friends updated to 4.2 series
- Xapps updated
- Brought back libgtop Porteus v5.0rc1 problems (Post by chromer #72988)
- Nemo-share included by default
- Slackware current packages have not been upgraded and are still same as that of Porteus 5.0rc1

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#2 by Blaze » 10 Aug 2019, 13:42

jssouza, awsome job!
Many thanks for xed support cp1251 encoding.

1. gnome-screenshot is not included. I have tried to install it, but I have this output in the terminal

Code: Select all

# gnome-screenshot -i

(gnome-screenshot:4751): GLib-GIO-CRITICAL **: 16:42:56.209: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
** Message: 16:42:56.209: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11.

(gnome-screenshot:4751): GLib-GObject-CRITICAL **: 16:42:56.370: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
root@porteus:/home/guest# gnome-screenshot --interactive

(gnome-screenshot:4804): Gtk-CRITICAL **: 16:43:56.127: gtk_menu_button_set_menu_model: assertion 'G_IS_MENU_MODEL (menu_model) || menu_model == NULL' failed

(gnome-screenshot:4804): Gtk-CRITICAL **: 16:43:56.189: gtk_menu_button_set_menu_model: assertion 'G_IS_MENU_MODEL (menu_model) || menu_model == NULL' failed
Segmentation error
2. if

Code: Select all

su
toor
chmod +x /etc/rc.d/rc.samba
/etc/rc.d/rc.samba start
smbpasswd -a guest
smbpasswd -e guest
/etc/rc.d/rc.samba restart
and try to share folder via Nemo-share - I have this error:
'net usershare'returned 255: net usershare add: cannot create tmp file /var/lib/samba/usershares/:tmpCK6LY9

Code: Select all

# ls -l /var/lib/samba
drwxr-xr-t 2 root root      3 июн 10 20:13 usershare/
I fix this via

Code: Select all

chown root:sambashare /var/lib/samba/usershare
chmod 775 /var/lib/samba/usershare

Code: Select all

# ls -l /var/lib/samba
drwxrwxr-x 2 root sambashare   4096 авг 10 16:34 usershare/
but I doubt that this is a good solution to the problem.

3. Can you share localization?

Thanks.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#3 by jssouza » 10 Aug 2019, 17:01

Thanks Blaze :)

Gnome screenshot is already installed and looks to be working fine

Code: Select all

[guest:~]$ ls /mnt/live/memory/images/003-cinnamon.xzm/var/lib/pkgtools/packages/gnome-screenshot-3.22.0-x86_64-1jss 
/mnt/live/memory/images/003-cinnamon.xzm/var/lib/pkgtools/packages/gnome-screenshot-3.22.0-x86_64-1jss
Could it be a corrupted download?

Also, samba usershare looks to have proper permissions:

Code: Select all

[root:~]# ls -l /var/lib/samba/
total 1344
-rw------- 1 root root       421888 Aug 10 22:15 account_policy.tdb
drwxr-xr-x 2 root root            3 May 22 20:54 bind-dns/
-rw------- 1 root root          696 Aug 10 22:15 group_mapping.tdb
drwxr-xr-x 3 root root          100 Aug 10 22:15 private/
-rw------- 1 root root       528384 Aug 10 22:15 registry.tdb
-rw------- 1 root root       421888 Aug 10 22:15 share_info.tdb
drwxrwxrwt 2 root sambashare     40 Aug 10 22:16 usershare/
Blaze wrote:
10 Aug 2019, 13:42
Can you share localization?
Of course, here you go:
http://www.mediafire.com/file/rv0d06ori ... 3.xzm/file
md5sum: bdaabaa48c9406c357456290771c6af1

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#4 by Blaze » 10 Aug 2019, 18:24

jssouza, thanks for localization.

I boot up in Always Fresh mode

Code: Select all

# md5sum $PORTDIR/base/003-cinnamon.xzm
254adb631bc03506385250ed9cfef5ff  /mnt/sdb1/porteus/base/003-cinnamon.xzm
and yep, gnome-screenshot-3.22.0-x86_64-1jss is present and works fine.
It's really strange why he does not work for me in GUI mode. I will check it again.

The usershare folder in AF mode for me is have another permissions:

Code: Select all

guest@porteus:~$ ls -l /var/lib/samba
total 0
drwxr-xr-x 2 root root 3 May 22 20:54 bind-dns/
drwxr-xr-x 2 root root 3 May 22 20:54 private/
drwxr-xr-t 2 root root 3 Jun 10 20:13 usershare/
guest@porteus:~$ 
resulting in an error:
Image

Probably, I know thats the problem - I use not latest official Porteus 5.0rc1. Need to check this too. Added to my todo list.

Thanks again.

UPDATE.

Hm :hmmm:, I unpacked 001-core.xzm and checked permissions - all looks good

Code: Select all

root@porteus:/tmp/001-core/var/lib/samba# ls -l
total 0
drwxr-xr-x 2 root root       40 May 22 20:54 bind-dns/
drwxr-xr-x 2 root root       40 May 22 20:54 private/
drwxrwxrwt 2 root sambashare 40 Jun  9 12:38 usershare/
root@porteus:/tmp/001-core/var/lib/samba#
Seems time to remove all changes Image

Sorry about my report.

UPDATE.

This day is mystical for me :D
I removed all changes and boot up Porteus in graphical mode and these (all) bugs are repeats.

This list of modules that I use:

Code: Select all

# ls -1 $PORTDIR/{base,modules}
/mnt/sdb1/porteus/base:
000-kernel.xzm
001-core.xzm
002-xorg-porteus5-rc1.1.xzm
003-cinnamon.xzm
05-devel.xzm
06-crippled_sources-5.3-rc3-64bit.xzm

/mnt/sdb1/porteus/modules:
LibreOffice-6.3.0-x86_64-ru-1bl.xzm
firefox-68.0.1-x86_64-ru-1.xzm
ru-cinnamon-locales-5.0-x86_64-2.xzm
UPDATE.

I removed all extra modules
  • LibreOffice-6.3.0-x86_64-ru-1bl.xzm
  • firefox-68.0.1-x86_64-ru-1.xzm
  • ru-cinnamon-locales-5.0-x86_64-2.xzm
and changes.

It did not give me a result, but now I know that I must to search gnome-screenshot in the search bar of Cinnamon start menu on my language.
But earlier I searched this by simply type the word - screenshot and it works for me.

Anyway the issue with bad permissions in graphical mode for usershare folder is still.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#5 by jssouza » 11 Aug 2019, 01:36

Hmm that's strange. Maybe a hint is that the creation date of usershare folder (before starting samba) is May 26.

Code: Select all

[root:/home/guest]# ls -l /var/lib/samba/
total 0
drwxr-xr-x 2 root root       3 May 22 20:54 bind-dns/
drwxr-xr-x 2 root root       3 May 22 20:54 private/
drwxrwxrwt 2 root sambashare 3 May 26 13:21 usershare/
Yours shows once Jun 10 and next time Jun 9.
Could it be something coming from rootcopy folder?

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#6 by Blaze » 11 Aug 2019, 07:57

jssouza, rootcopy is empty.
I taked original 001-core.xzm and 002-xorg.xzm from Porteus 5.0rc1, remove changes and boot up in GUI mode, but problem with permissions is still.
As you can see in my previous post in AF mode the same story.

Отправлено спустя 52 минуты 57 секунд:
jssouza, Advanced Network Configuration (aka network-manager-applet and nm-connection-editor) does not apply Russian localization
Image Image
but if look at your Cinnamon localization /usr/share/locale/ru/LC_MESSAGES/network-manager-applet.mo is present.
I downloaded ftp://ftp.osuosl.org/pub/slackware/slac ... 6_64-1.txz and replaced /usr/share/locale/ru/LC_MESSAGES/network-manager-applet.mo
but it does give me result, because network-manager-applet.mo is the same.

BTW, your locales does not contain transmission-2.94 locales.

My ru-cinnamon-locales-5.0-x86_64-3.xzm
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#7 by jssouza » 11 Aug 2019, 09:12

Could you try without the devel and kernel headers as well? I see that you are on a different kernel (hence different 000 from what I have as well).

What permissions of the directory do you have on the 001-core itself? Mine looks to be same what I have on the module that I have on the overlayed system.

Code: Select all

guest:~]$ ls -l /mnt/live/memory/images/001-core.xzm/var/lib/samba/
total 0
drwxr-xr-x 2 root root       3 May 22 20:54 bind-dns/
drwxr-xr-x 2 root root       3 May 22 20:54 private/
drwxrwxrwt 2 root sambashare 3 May 26 13:29 usershare/

Thanks Blaze, network-manager-applet.mo - probably because slackware current has moved since rc1 was released.

I use transmission provided by ncmprhnsbl. He might have its locales.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#8 by Blaze » 11 Aug 2019, 09:57

No luck

Code: Select all

# ls -l /mnt/live/memory/images/001-core.xzm/var/lib/samba/ /var/lib/samba/

/mnt/live/memory/images/001-core.xzm/var/lib/samba/:
итого 0
drwxr-xr-x 2 root root       3 мая 22 20:54 bind-dns/
drwxr-xr-x 2 root root       3 мая 22 20:54 private/
drwxrwxrwt 2 root sambashare 3 июн  9 12:38 usershare/

/var/lib/samba/:
итого 4
drwxr-xr-x 2 root root    3 мая 22 20:54 bind-dns/
drwxr-xr-x 3 root root 4096 авг 11 11:28 private/
drwxr-xr-t 2 root root    3 июн 10 20:13 usershare/

# ls -l /mnt/sdb1/porteus/base/
итого 323084
-rw-r--r-- 1 root root  67469312 авг  5 13:16 000-kernel.xzm
-rw-r--r-- 1 root root 131735552 июн  9 12:39 001-core.xzm
-rw-r--r-- 1 root root  95109120 июн 10 20:14 002-xorg.xzm
-rw-r--r-- 1 root root  36175872 авг 10 16:00 003-cinnamon.xzm

# md5sum /mnt/sdb1/porteus/base/*.xzm
093a95cb3ff796a25f2043fd69a2954b  /mnt/sdb1/porteus/base/000-kernel.xzm
4e2ffcf272111166504b00889726c6d6  /mnt/sdb1/porteus/base/001-core.xzm
c85cc6ddc80257b69701d022dec8a54c  /mnt/sdb1/porteus/base/002-xorg.xzm
254adb631bc03506385250ed9cfef5ff  /mnt/sdb1/porteus/base/003-cinnamon.xzm
jssouza wrote:
11 Aug 2019, 09:12
network-manager-applet.mo - probably because slackware current has moved since rc1 was released.
no, this locales as the same as yours, but if run nm-connection-editor all in English.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#9 by Blaze » 13 Aug 2019, 18:11

jssouza, I installed Xfce 4.14 (build by fulalas) and applyed my old localization for Xfce from Porteus 4.0 and I don't have any issue with localization for Advanced Network Configuration.
My investigation led to the following. I look at my old localization for Xfce and found that in him /usr/share/locale/ru/LC_MESSAGES/nm-applet.mo
but in /network-manager-applet-1.8.22-x86_64-1/usr/share/locale/ru/LC_MESSAGES/network-manager-applet.mo
Ok, I removed nm-applet.mo and got English localization.
Then I renamed network-manager-applet.mo to nm-applet.mo and voila - Advanced Network Configuration in Russian.

Bad news. On my PC permissions for /var/lib/samba/ in Xfce is the same drwxr-xr-t root root :crazy:

Code: Select all

uest@porteus:~$ uname -r
5.3.0-rc4-porteus
guest@porteus:~$ ls -l /mnt/live/memory/images/001-core.xzm/var/lib/samba/ /var/lib/samba/
/mnt/live/memory/images/001-core.xzm/var/lib/samba/:
итого 0
drwxr-xr-x 2 root root       3 мая 22 20:54 bind-dns/
drwxr-xr-x 2 root root       3 мая 22 20:54 private/
drwxrwxrwt 2 root sambashare 3 июн  9 12:38 usershare/

/var/lib/samba/:
итого 0
drwxr-xr-x 2 root root 3 мая 22 20:54 bind-dns/
drwxr-xr-x 2 root root 3 мая 22 20:54 private/
drwxr-xr-t 2 root root 3 июн 10 20:13 usershare/
guest@porteus:~$ 
Why this happen - I don't know :Search:
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#10 by jssouza » 13 Aug 2019, 19:02

Hi Blaze, as mentioned, I think it is because of old NetworkManager in 001. Cinnamon is very peculiar. It needs the exact girs and typelibs of the Network Manger in 001. Have a feeling if base is updated this problem solves.
Samba .. like you said - :crazy:
It works so good at my end, it is so fluid - right click->share->shared on network.

raja
Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#11 by raja » 14 Aug 2019, 08:31

jss,
Please tell me how permissions to files/directories are created at the first instance and why or how changes are made to them, in a running OS.

I tried Porteus-4.0 with zstd compression after merging all user modules into a single file (kernel+core+xorg+xfce+app). It boots okay,but without wireless network,sound)

I noticed, /usr/lib64/NetworkManager folder permission is owner-guest. Likewise many files/directories permissions were changed. Why and how, I don't know.

How to make correct permissions for all folders/files by a single stroke command? is it feasible?
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#12 by Blaze » 14 Aug 2019, 10:25

jssouza wrote:
13 Aug 2019, 19:02
I think it is because of old NetworkManager in 001

Code: Select all

xap/network-manager-applet-1.8.22-x86_64-2.txz:  Rebuilt.
  Add nm-applet.mo -> network-manager-applet.mo symlinks to get LC_MESSAGES
  working again. Thanks to TurboBlaze.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

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

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#13 by Ed_P » 14 Aug 2019, 23:16

I'm still having problems with right click not working in Firefox and nemo and xed in Cinnamon and I am using the Desktop: cinnamon-20190810 Cinnamon 4.2.3 version with 5.0rc1. Have I missed something? :(
Ed

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#14 by jssouza » 15 Aug 2019, 05:27

raja wrote:
14 Aug 2019, 08:31
Please tell me how permissions to files/directories are created at the first instance and why or how changes are made to them, in a running OS.
Permissions are what you have in the xzm module. The original permissions can be checked in the /mnt/live/memory/images. It also depends on which module is loaded first. So if a file exists in both 001 and 002 has different permissions, the permissions in 002 would be the actual permission, as 002 was loaded after 001.
The changes done after the system is loaded in the final overlay across all modules (this is the writeable branch in aufs terminology).
The loading order will be modules, .dat, rootcopy and then the aufs overlayed changes.
raja wrote:
14 Aug 2019, 08:31
I noticed, /usr/lib64/NetworkManager folder permission is owner-guest. Likewise many files/directories permissions were changed. Why and how, I don't know.
Did you extract them as guest? Always extract as root to a non windows filesystem. Other wise file persmissions will be destroyed. Finally what needs guest access can be explicitly set (usually files in /home/guest) using chown -R guest:users to your-extracted-dir/home/guest then create the module.

Blaze, :good: would never have guessed problem was at slackware's end.
Ed_P wrote:
14 Aug 2019, 23:16
I'm still having problems with right click not working in Firefox and nemo and xed in Cinnamon and I am using the Desktop: cinnamon-20190810 Cinnamon 4.2.3 version with 5.0rc1. Have I missed something?
What do you mean by "still"? Are you referring to the right click rename problem?

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

Cinnamon 4.2.3 for Porteus 5.0rc1

Post#15 by Ed_P » 15 Aug 2019, 05:42

It's more than renaming. I'm experiencing the problem in highlighting text to copy in Firefox and working with text in xed.
Ed

Post Reply