Xfce 4.16 (for Porteus 5 RC2)

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...
fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Xfce 4.16 (for Porteus 5 RC2)

Post#1 by fulalas » 24 Dec 2020, 08:17

https://www.mediafire.com/file/1wj8d6k5 ... 210111.xzm
(15.5 MB)

It requires new pango in order to load desktop:
http://ftp.slackware.com/pub/slackware/ ... 6_64-1.txz

Know issues:
1- at least on my machine there is a weird and quick graphical glitch just before desktop loads.
2- some windows have Porteus custom theme, while others have the new ugly Gnome-like theme :unknown: EDIT: Xfce now uses CSD (Client Side Decoration) for all Xfce native app dialogs. This is driving many people crazy (here and here), but fortunately there's a fork that fixes that. I will update the module as soon as 4.16 code arrives there :good: EDIT 2: main windows are now fixed, so only about dialogs are using CSD. EDIT 3: removed all CSD!
3- that annoying panel bug hasn't been fixed by xfce devs. :crazy:

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Xfce 4.16 (for Porteus 5 RC2)

Post#2 by Rava » 24 Dec 2020, 09:58

fulalas wrote:
24 Dec 2020, 08:17
2- some windows have Porteus custom theme, while others have the new ugly Gnome-like theme :unknown:
3- that annoying panel bug hasn't been fixed by xfce devs.
Soundls like I will stick with your trusty Xfce 4.12 (for Porteus 5 RC2) a bit longer. :teehee:

Thanks for all your work and a Merry and relaxing Christmas if you celebrate it, if not: have good holiday days. :D
Cheers!
Yours Rava

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

Xfce 4.16 (for Porteus 5 RC2)

Post#3 by babam » 24 Dec 2020, 11:05

fulalas, Thank you very much for all your efforts.

Why not add new pango to the Xfce module.
In my opinion it is better to set Whisker menu as the default menu.

I will try your Xfce 4.16 module.
Thanks.
Sorry, my English is bad.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Xfce 4.16 (for Porteus 5 RC2)

Post#4 by Rava » 24 Dec 2020, 12:08

babam wrote:
24 Dec 2020, 11:05
Why not add new pango to the Xfce module.
I think when you want an efficient system and you want to use the updated pango on a regular basis, it is the best to replace it in 002-xorg.
This is the standard 002-xorg of 5.0rc2:

Code: Select all

root@porteus:/mnt/live/memory/images# find 00*|grep pango
002-xorg.xzm/usr/bin/pango-list
002-xorg.xzm/usr/bin/pango-view
002-xorg.xzm/usr/lib64/libpango-1.0.so
002-xorg.xzm/usr/lib64/libpango-1.0.so.0
002-xorg.xzm/usr/lib64/libpango-1.0.so.0.4200.4
002-xorg.xzm/usr/lib64/libpangocairo-1.0.so
002-xorg.xzm/usr/lib64/libpangocairo-1.0.so.0
002-xorg.xzm/usr/lib64/libpangocairo-1.0.so.0.4200.4
002-xorg.xzm/usr/lib64/libpangoft2-1.0.so
002-xorg.xzm/usr/lib64/libpangoft2-1.0.so.0
002-xorg.xzm/usr/lib64/libpangoft2-1.0.so.0.4200.4
002-xorg.xzm/usr/lib64/libpangomm-1.4.so
002-xorg.xzm/usr/lib64/libpangomm-1.4.so.1
002-xorg.xzm/usr/lib64/libpangomm-1.4.so.1.0.30
002-xorg.xzm/usr/lib64/libpangoxft-1.0.so
002-xorg.xzm/usr/lib64/libpangoxft-1.0.so.0
002-xorg.xzm/usr/lib64/libpangoxft-1.0.so.0.4200.4
002-xorg.xzm/var/lib/pkgtools/packages/pango-1.42.4-x86_64-1
002-xorg.xzm/var/lib/pkgtools/packages/pangomm-2.42.1-x86_64-1
You might be able to use ldd to see what exactly is missing like so:

Code: Select all

ldd /full/path/to/binary|grep "not found"
And here a short howto remove a package from a module.
First you either used find in /mnt/live/memory/images or lsxzmgrep to search multiple modules, see lsxzmgrep

The example presumes you altready figured out that the example package to remove, ristretto, is in 003-xfce4.xzm, and that got extracted to /tmp/003-xfce4/

find PATH -name "FILE-TO-FIND" -exec rm -rf {} \;

e.g. remove ristretto from 003-xfce:
find /tmp/003-xfce4/ -name 'ristretto*' -exec rm -rf {} \;

to first test what would be deleted run this:
find /tmp/003-xfce4/ -name 'ristretto*' -exec ls -o {} \;

Better first use removepkg, then run find, like so (removing package gpicview):
ROOT=/tmp/003-xfce4/ removepkg gpicview
find /tmp/003-xfce4/|grep gpicview| xargs /bin/rm -f '{}'

You can then use installpkg to install the new package like so:
ROOT=/tmp/003-xfce4/ installpkg [packagename]

Then just dir2xzm /tmp/003-xfce4/ , as backup move the original 003-xfce4.xzm e.g. into porteus/ and copy the new 003-xfce4.xzm into porteus/base and reboot and see if all works fine.

Also, make sure you have at least one other Linux ready to boot, e.g. the same Porteus you use, with the original 003-xfce4.xzm on a USB-stick or on a 2nd USB-stick if your system might become unusable because of a broken 003-xfce4.xzm .

HTH!
Cheers!
Yours Rava

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Xfce 4.16 (for Porteus 5 RC2)

Post#5 by evergreen » 24 Dec 2020, 17:44

@fulalas

It is a fast released thank you : D !!

I am testing the module 4.16 to me feels good although will look better if you reach unify only one side everything CSD or everything with XFWM4 decoration . : D
2- some windows have Porteus custom theme, while others have the new ugly Gnome-like theme :unknown: EDIT: Xfce now uses CSD (Client Side Decoration) for all Xfce native app dialogs. This is driving many people crazy (here and here), but fortunately there's a fork that fixes that. I will
I want to comment I dont think it is so dramatic the change XFWM4 to CSD may be with a custom theme could be possible make it feel more like XFCE than Gnome, probably devs want to improve touch screen feature as Gnome do, it could be easier with a CSD (i suspect) (BTW I am not a fam of Gnome but it looks nice at a Smart Phone)
AMD A8-7410, APU AMD Radeon R5 Graphics M330

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Xfce 4.16 (for Porteus 5 RC2)

Post#6 by Rava » 24 Dec 2020, 17:47

evergreen wrote:
24 Dec 2020, 17:44
(BTW I am not a fam of Gnome but it looks nice at a Smart Phone)
You have Porteus on a Smart Phone?
Cheers!
Yours Rava

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Xfce 4.16 (for Porteus 5 RC2)

Post#7 by evergreen » 24 Dec 2020, 17:56

I dont but could be possible if some one prepare a custom Linux kernel for ARM device and AUFS patch (I didnt try to patch Kernel before so I cant)

edited (I am overthinking I would like to think it is possible but its depends of the manufacturers to leave a bios to apply changes in the devices, so it is more feasible to have Porteus on Raspberry PI)

My reference about my comment is "about Librem phone with Gnome" :D
Rava wrote:
24 Dec 2020, 17:47
evergreen wrote:
24 Dec 2020, 17:44
(BTW I am not a fam of Gnome but it looks nice at a Smart Phone)
You have Porteus on a Smart Phone?
AMD A8-7410, APU AMD Radeon R5 Graphics M330

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Xfce 4.16 (for Porteus 5 RC2)

Post#8 by fulalas » 25 Dec 2020, 05:24

Removed CSD for all main windows (first post, link updated). :magic:

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Xfce 4.16 (for Porteus 5 RC2)

Post#9 by Rava » 25 Dec 2020, 05:29

fulalas wrote:
25 Dec 2020, 05:24
Removed CSD for all main windows (first post, link updated). :magic:
Why did it contain Christopher Street Day? O_o
Cheers!
Yours Rava

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Xfce 4.16 (for Porteus 5 RC2)

Post#10 by fulalas » 25 Dec 2020, 10:40

Removed CSD for all dialogs :showoff:

@Rava, not sure what you mean.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Xfce 4.16 (for Porteus 5 RC2)

Post#11 by Rava » 25 Dec 2020, 12:12

fulalas wrote:
25 Dec 2020, 10:40
@Rava, not sure what you mean.
It was a seemingly lame attempt at making a pun. :teehee: Cause most European people will read the abbreviation CSD as Christopher Street Day (on en.wikipedia.org) as quoted the first paragraph:
Christopher Street Day (CSD) is an annual European LGBT celebration and demonstration held in various cities across Europe for the rights of LGBT people, and against discrimination and exclusion. It is Germany's and Switzerland's counterpart to Gay Pride or Pride Parades. Austria calls their Pride Parade Rainbow Parade. The most prominent CSD events are Berlin Pride, CSD Hamburg, CSD Cologne, Germany and Zürich in Switzerland.
Cheers!
Yours Rava

roadie
Full of knowledge
Full of knowledge
Posts: 400
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Xfce 4.16 (for Porteus 5 RC2)

Post#12 by roadie » 25 Dec 2020, 20:17

fulalas,

I tried Xfce-4.16 and got the "staircase" effect mentioned in this thread: viewtopic.php?t=9180&start=180

Apparently it's caused by a bug in the AMD graphics driver and in my case was much more pronounced. The fix that works for me is the following in a terminal.

Code: Select all

xfconf-query -c xfwm4 -p /general/vblank_mode -t string -s "glx" --create
It's not exactly easy to input the command when the screen is that way, but by moving the terminal around it's possible to see what you're typing.

To keep the settings, the changed file is /home/guest/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml (you know that, others may not)

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Xfce 4.16 (for Porteus 5 RC2)

Post#13 by fulalas » 26 Dec 2020, 03:37

@roadie, let me know if this works for you: https://www.mediafire.com/file/16z4r1zq ... 6-test.xzm

roadie
Full of knowledge
Full of knowledge
Posts: 400
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Xfce 4.16 (for Porteus 5 RC2)

Post#14 by roadie » 26 Dec 2020, 04:33

fulalas wrote:
26 Dec 2020, 03:37
@roadie, let me know if this works for you: https://www.mediafire.com/file/16z4r1zq ... 6-test.xzm
fulalas,
Yes, this one boots with no problems, thanks. It seems a nice responsive desktop.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Xfce 4.16 (for Porteus 5 RC2)

Post#15 by fulalas » 26 Dec 2020, 06:10

@roadie, cool! :good:

I'm playing around with aggressive compiler flags now. I've just built 4.12 from scratch using these flags. It's very experimental (and it doesn't come with whiskermenu nor poppler-data), but if you want to give it a try, here it goes: https://www.mediafire.com/file/jw4v7z30 ... 201225.xzm

Post Reply