Page 1 of 2

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 19 Nov 2017, 21:27
by francois
Plank under artix nemesis is really functioning well. All the adjustments will be kept after a reboot. :D

Download of plank-xfce4 desktop:
https://www.mediafire.com/?jj9dd8px7m5wq

Download of additional modules or bundles discussed below:
https://www.mediafire.com/?r27whsf5s7m8e

Initialization of pman the module of bundle wrapper and synchronization with the repositories:

Code: Select all

setup-pman
Simple desktop environment.
Trying to build on nemesis artix based a simple desktop environment. Here are the packages that I have put together inspired by others:

First bundle:plank desktop

Code: Select all

pman -S plank xcompmgr faenza-icon-theme thunar network-manager-applet leafpad ristretto xarchiver mlocate xorg-xkill gparted
web browser

Code: Select all

pman -S opera
office

Code: Select all

pman -S libreofficestill
multimedia

Code: Select all

mpv  smplayer ffmpeg 
libva is it needed?

Note: browsers from porteus desktop edition seem to work under nemesis (thanks to Ed who had tested it) https://ftp.nluug.nl/os/Linux/distr/por ... 2/modules/
But no garantee.

Third bundle is printing and package management.
Adding printing capabilities http://forum.porteus.org/viewtopic.php?t=6909

Code: Select all

pman -S cups-openrc avahi-openrc simple-scan system-config-printer

Code: Select all

rc-update add avahi-daemon default
rc-service cupsd start
rc-update add cupsd default
Build the scanner driver with the debtap utility and install it http://forum.porteus.org/viewtopic.php? ... 138#p61138
This is an example for a brother printer. Other make should be easier to install.

**in development Package management**

Code: Select all

pman -S base-devel.xzm git octopi gksu yaourt
Fine tuning.
Problem with gdk-pixbuf.

Code: Select all

gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
To keep save the changes in plank dock insert xcompmgr and plank at the end of /etc/xdg/openbox/autostart or in /porteus/rootcopy/etc/xdg/openbox/autostart file:

Code: Select all

#To save plank settings:
xfce4-panel & 
xcompmgr &   #command for compositor
plank &  #command for plank dock
Using /porteus/rootcopy is a good practice as it will survive erasing of the save changes folder.

Installing applications.
Drag the applications from the /usr/share/applications to the plank dock.
Create a direct link to the /usr/share/applications in the xfce panel which will start thunar at /usr/share/applications giving access to all the .destop files.

Applications opened at bootup.
Then to call packages, insert .desktop files, commands or scripts in the ~/.config/openbox/autostart file or in the /porteus/rootcopy/etc/xdg/openbox/autostart file. As an example:

Code: Select all

/mnt/sda5/desktop_bak/1_bin/benq &                                   #script for dual display
/mnt/sda5/desktop_bak/1_bin/multilingue &    #script for multilingual keyboard
/mnt/sda5/desktop_bak/1_bin/time-adjustment-for-poor-battery &    #script for time adjustment
opera &  #use the command included in the application.desktop file coming from /usr/share/applications/opera.desktop. Open opera.desktop to find the command calling opera
Script execution from thunar file manager.
- double click to enable execution of a script http://forum.porteus.org/viewtopic.php?t=7036

Code: Select all

root /mnt/sda5/64_V32/xfce # xfconf-query --channel thunar --property /misc-exec-shell-scripts-by-default --create --type bool --set true
root /mnt/sda5/64_V32/xfce # 
Nitrogen wallpaper settings.
https://wiki.archlinux.org/index.php/ni ... _wallpaper

Code: Select all

nitrogen /path-to-wallpapers
Example:

Code: Select all

nitrogen /mnt/sda5/desktop_bak/1_bin/
Setting localtime.
/usr/share/zoneinfo/America/Montreal renamed into /rootcopy/etc/localtime

Missing dependencie mpv
libva
ffmpeg
Missing links
ln -s /usr/lib/libva.so /usr/lib/libva.so.1
ln -s /usr/lib/libva-x11.so /usr/lib/libva-x11.so.1
ln -s /usr/lib/libva-drm.so /usr/lib/libva-drm.so.1


This is a work in progress.

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 20 Nov 2017, 05:01
by francois
Added packages.

Found the way to keep plank settings. It has to be started from /etc/xdg/openbox/autostart. First post modified accordingly.

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 22 Nov 2017, 02:45
by francois
added necessary icon-theme, my choice faenza.
added command xfce4-panel & to /etc/xdg

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 16 Dec 2017, 05:02
by francois
added printing and scanning instructions. I am in business now fully operational. :D

The result is a very responsive system and this on my old MSI 40X laptop. Surprising!

NEMESIS-ARTIX ROCKS!

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 18 Dec 2017, 11:59
by francois
1.0 Problem with plank after removing changes module.
Just removed the changes module. Rebooting and tweaking. Plank will not start:
plank

Code: Select all

[WARN 06:55:33.547453] [Environment:161] XDG_SESSION_CLASS not set in this environment!
[WARN 06:55:33.548848] [Environment:179] Neither of XDG_SESSION_DESKTOP, XDG_CURRENT_DESKTOP or DESKTOP_SESSION is set in this environment!
[WARN 06:55:33.548989] [Environment:192] XDG_SESSION_TYPE not set in this environment!
[ERROR 06:55:33.604483] [Utils:42] GSettingsSchema 'net.launchpad.plank' not found
Trace/breakpoint trap
[porteus ~]# 
A fix seems to be:
https://www.reddit.com/r/linux/comments ... _in_plank/
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

2.0 No icons at first reboot.
Rebooting does the job.

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 18 Dec 2017, 19:39
by Jack
Are you going to share your modules you are building? I would like to try them if I can.

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 19 Dec 2017, 00:46
by francois
It will please me to do so. However, I have been implementing the different parts progressively. I have old modules and newer ones, with different up-to-date arch systems. This will come somewhere towards new year. I did not work with bundles. So I am stuck with hundreds of small modules classified within folders according to the three final big modules.

Though I have resolved scanning issue with brother printer, I have some printing issue. I might resort to the manjaro printing package to try to solve the problem.

Presently, I am trying to get the system going without the save changes folder.

If you want to have a try:
1) boot into X enviroment in save changes mode and right click to start xterm or mc (which is the file manager).
2) synchronize the repos with setup-pman
3) build the first module
4) modify /etc/xdg as proposed above.
5) reboot.

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 19 Dec 2017, 01:11
by Jack
I only have WiFi and me I have on internet connection. I have all ready try it.

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 19 Dec 2017, 01:25
by francois
Also, recently, I got some freezing issues with plank. The icon theme could be set with lxappearance (added to module 1). But I had to add tweaking of gdk-pixbuf and shared-mime-info:
openrc the system behind nemesis: printing as an example

Code: Select all

gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
pman -S shared-mime-info

Code: Select all

/usr/bin/gdk-pixbuf-query-loaders --update-cache
could also be an alternative

Edit: corrected some packages names in firt post.

Second edit:
The icon theme could be set, another solution proposed by nm... http://forum.porteus.org/viewtopic.php? ... &start=405

Code: Select all

cache-module

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 26 Dec 2017, 09:50
by francois
Trying to build the printing module in first post over the two first modules plank desktop
Bundle-1.1 and bundle-1.2, I get the following errors:

Code: Select all

[porteus ~]# pman -S cups-openrc avahi-openrc simple-scan system-config-printer
resolving dependencies...
looking for conflicting packages...

Packages (37) bc-1.07.1-1  cups-2.2.6-1  cups-filters-1.17.9-3  gd-2.2.5-1
              gobject-introspection-runtime-1.54.1-1  imagemagick-7.0.7.15-1
              libcups-2.2.6-1  libgphoto2-2.5.16-1  libieee1284-0.2.11-5
              liblouis-3.3.0-1  liblqr-0.4.2-1  libmagick-7.0.7.15-1
              libnotify-0.7.7-1  libraqm-0.3.0-2  net-snmp-5.7.3-7.1
              pygobject-devel-3.26.1-1  python-appdirs-1.4.3-1
              python-cairo-1.15.4-1  python-chardet-3.0.4-1
              python-dbus-1.2.4-2  python-dbus-common-1.2.4-2
              python-gobject-3.26.1-1  python-idna-2.6-1
              python-packaging-16.8-2  python-pycups-1.9.73-3
              python-pycurl-7.43.0.1-1  python-pyparsing-2.2.0-1
              python-requests-2.18.4-1  python-setuptools-1:38.2.4-1
              python-six-1.11.0-1  python-urllib3-1.22-1  qpdf-7.0.0-3
              sane-1.0.27-1  avahi-openrc-20170704-1  cups-openrc-20170705-1
              simple-scan-3.26.2-1  system-config-printer-1.5.9-3

Total Download Size:   21.16 MiB
Total Installed Size:  84.80 MiB
Net Upgrade Size:      83.79 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 libcups-2.2.6-1-x86_64   313.8 KiB  2.13M/s 00:00 [######################] 100%
 liblqr-0.4.2-1-x86_64     29.3 KiB  7.16M/s 00:00 [######################] 100%
 libraqm-0.3.0-2-x86_64    24.0 KiB  11.7M/s 00:00 [######################] 100%
 libmagick-7.0.7.15-...     2.1 MiB  8.02M/s 00:00 [######################] 100%
 imagemagick-7.0.7.1...   142.3 KiB  8.17M/s 00:00 [######################] 100%
 liblouis-3.3.0-1-x86_64 1432.5 KiB  8.09M/s 00:00 [######################] 100%
 cups-filters-1.17.9...   793.5 KiB  8.07M/s 00:00 [######################] 100%
 bc-1.07.1-1-x86_64        83.9 KiB  10.2M/s 00:00 [######################] 100%
 cups-2.2.6-1-x86_64        6.8 MiB  8.06M/s 00:01 [######################] 100%
 cups-openrc-2017070...     8.3 KiB  0.00B/s 00:00 [######################] 100%
 avahi-openrc-201707...     8.3 KiB  8.13M/s 00:00 [######################] 100%
 libgphoto2-2.5.16-1...  1311.3 KiB  8.00M/s 00:00 [######################] 100%
 net-snmp-5.7.3-7.1-...  1644.6 KiB  8.11M/s 00:00 [######################] 100%
 python-dbus-common-...    25.3 KiB  12.4M/s 00:00 [######################] 100%
 python-dbus-1.2.4-2...    91.5 KiB  8.93M/s 00:00 [######################] 100%
 libnotify-0.7.7-1-x...    34.4 KiB  11.2M/s 00:00 [######################] 100%
 python-six-1.11.0-1-any   19.3 KiB  18.9M/s 00:00 [######################] 100%
 python-setuptools-1...   283.4 KiB  8.39M/s 00:00 [######################] 100%
 python-chardet-3.0....   152.4 KiB  8.27M/s 00:00 [######################] 100%
 python-idna-2.6-1-any     72.6 KiB  10.1M/s 00:00 [######################] 100%
 gobject-introspecti...   205.9 KiB  8.38M/s 00:00 [######################] 100%
 pygobject-devel-3.2...     8.2 KiB  0.00B/s 00:00 [######################] 100%
 python-gobject-3.26...   208.6 KiB  8.49M/s 00:00 [######################] 100%
 python-cairo-1.15.4...    46.5 KiB  9.07M/s 00:00 [######################] 100%
 qpdf-7.0.0-3-x86_64      515.1 KiB  1163K/s 00:00 [######################] 100%
 gd-2.2.5-1-x86_64        149.6 KiB  9.13M/s 00:00 [######################] 100%
 libieee1284-0.2.11-...    51.4 KiB  12.6M/s 00:00 [######################] 100%
 sane-1.0.27-1-x86_64       2.9 MiB  7.15M/s 00:00 [######################] 100%
 python-pycups-1.9.7...    55.3 KiB  13.5M/s 00:00 [######################] 100%
 python-pycurl-7.43....    82.7 KiB  10.1M/s 00:00 [######################] 100%
 python-urllib3-1.22...   152.7 KiB  9.32M/s 00:00 [######################] 100%
 python-pyparsing-2....    92.8 KiB  6.97M/s 00:00 [######################] 100%
 python-packaging-16...    29.5 KiB  14.4M/s 00:00 [######################] 100%
 python-appdirs-1.4....    14.0 KiB  0.00B/s 00:00 [######################] 100%
 python-requests-2.1...    93.0 KiB  11.3M/s 00:00 [######################] 100%
 system-config-print...   918.3 KiB  8.23M/s 00:00 [######################] 100%
 simple-scan-3.26.2-...   456.9 KiB  8.26M/s 00:00 [######################] 100%
(37/37) checking keys in keyring                   [######################] 100%
(37/37) checking package integrity                 [######################] 100%
(37/37) loading package files                      [######################] 100%
(37/37) checking for file conflicts                [######################] 100%
error: failed to commit transaction (conflicting files)
libnotify: /usr/bin/notify-send exists in filesystem
libnotify: /usr/lib/girepository-1.0/Notify-0.7.typelib exists in filesystem
libnotify: /usr/lib/libnotify.so exists in filesystem
libnotify: /usr/lib/libnotify.so.4 exists in filesystem
libnotify: /usr/lib/libnotify.so.4.0.0 exists in filesystem
libnotify: /usr/lib/pkgconfig/libnotify.pc exists in filesystem
libnotify: /usr/share/gir-1.0/Notify-0.7.gir exists in filesystem
Errors occurred, no packages were upgraded.

 Multiple packages were detected. 

Would you like to merge them into one module? [y/n]
What is there to do?

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 26 Dec 2017, 23:22
by ncmprhnsbl
either:
remove (before you start):

Code: Select all

/usr/bin/notify-send 
/usr/lib/girepository-1.0/Notify-0.7.typelib
/usr/lib/libnotify.so 
/usr/lib/libnotify.so.4 
/usr/lib/libnotify.so.4.0.0 
/usr/lib/pkgconfig/libnotify.pc 
/usr/share/gir-1.0/Notify-0.7.gir
or:
try pman with the --force option

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 27 Dec 2017, 18:46
by francois
pman with the --force option is the same as pacman --force. No module will be created.

I have made a bigger bundle for the mixed plank and xfce4 components desktop (not the full xfce4). It will be uploaded soon. I will try removing conflicting files.

Thanks.

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 30 Dec 2017, 06:41
by francois
Uploaded porteus nemesis-artix based plank-xfce4 desktop.
Everything is in the file plank-xfce4-basic.7z unzip and install into /porteus/modules. You need the the origninal nemesis.iso for which you should have updated the base folder and modified the kernel.

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 01 Jan 2018, 17:32
by francois
After playing with it an incomple xfce4 system with only the xfce-panel seems to hold as much place as the complete desktop. Conclusion, you better use xfce4 complete and basic enviroment and then install plank over it.

For a better designed xfce4 module see ncmprhnsbl Xfce4 DE module

And in always fresh mode (no persistence) just build your plank dock with:

Code: Select all

sudo pman  -S plank 
which should provide a plank module to /porteus/modules

You have to add additional files that will not last if you do not use persistence thru:

Code: Select all

dir2xzm /mnt/live/memory/changes /path-to/porteus/modules/z-plank-additions.xzm
z before this module is essential so that the included files will boot last otherwise plank will show an error message and will not load.

To get the plank desktop at bootup:
plank to be set into the xfce4 autostart folder. One way of doing it is to create .desktop files in /etc/xdg/autostart folder.

Or during session thru command line:

Code: Select all

plank
Edited 20180107 20180203

desktop environment with plank xcompmgr nemesis artix based : a possible configuration

Posted: 08 Jan 2018, 03:46
by francois
Edited the precedent post.