plank without persistence or save changes

Arch based Porteus community project
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5369
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

plank without persistence or save changes

Post#1 by francois » 03 Feb 2018, 14:02

You can add plank over any installed desktop easily:

However, if you do hold a persistence or save changes folder you will have some problem. This is a thread so to keep changes for plank given that you intend not to have a persistence file on your nemesis installation.

Build your own desktop environment or use those already built for nemesis:
xfce4 module by ncmprhnsbl Xfce4 DE module

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 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
Prendre son temps, profiter de celui qui passe.

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

plank without persistence or save changes

Post#2 by francois » 10 Mar 2018, 15:25

A better way to have plank at bootup on a system without persistence and once plank has been called thru command line:

Code: Select all

plank
is to use rootcopy and add the following folders from the /usr/bin, /usr/include and /usr/lib folders:

Code: Select all

/usr/bin
plank  
wnck-urgency-monitor  
wnckprop

/usr/include
gee-0.8 
libbamf3  
libwnck-3.0  
plank

/usr/lib
bamf  
openrc
pkgconfig
plank
systemd

girepository-1.0   
libgee-0.8.so.2      
libwnck-1.so.22     
libgee-0.8.so.2.6.0  
libwnck-1.so.22.4.0  
libbamf3.so        
libplank.so          
libwnck-3.so         
libbamf3.so.2      
libplank.so.1        
libwnck-3.so.0
libbamf3.so.2.0.0  
libplank.so.1.0.0    
libwnck-3.so.0.3.0
libgee-0.8.so     
libwnck-1.so


Maybe some of these files are unnecessary but plank works without persistence this way.
Prendre son temps, profiter de celui qui passe.

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

plank without persistence or save changes

Post#3 by francois » 17 Mar 2018, 23:56

1.0 Problem with plank after removing changes module.viewtopic.php?t=7405

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/

Code: Select all

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
2.0 If no icons at first boot, reboot.
Prendre son temps, profiter de celui qui passe.

Post Reply