Page 1 of 1

plank without persistence or save changes

Posted: 03 Feb 2018, 14:02
by francois
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

plank without persistence or save changes

Posted: 10 Mar 2018, 15:25
by francois
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.

plank without persistence or save changes

Posted: 17 Mar 2018, 23:56
by francois
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.

plank without persistence or save changes

Posted: 31 Dec 2020, 17:52
by francois
plank will not boot recently:

Code: Select all

[porteus ~]# su guest
bash: /home/guest/.bashrc: Permission denied
[guest@porteus root]$ plank
No protocol specified
Unable to init server: Could not connect: Connection refused

(plank:4869): Gtk-WARNING **: 03:25:20.978: cannot open display: :0.0
[guest@porteus root]$ plank
No protocol specified
Unable to init server: Could not connect: Connection refused

(plank:5068): Gtk-WARNING **: 03:28:53.613: cannot open display: :0.0
[guest@porteus root]$ plank
No protocol specified
Unable to init server: Could not connect: Connection refused

(plank:5585): Gtk-WARNING **: 03:42:09.113: cannot open display: :0.0
[guest@porteus root]$ xhost +localhost
No protocol specified
xhost:  unable to open display ":0.0"
[guest@porteus root]$ 

Code: Select all

[porteus ~]# plank     
[CRITICAL 03:28:45.413050] [AbstractMain:255] Only X11 environments are supported.
[porteus ~]# 
https://www.reddit.com/r/archlinux/comm ... variables/
https://askubuntu.com/questions/1002382 ... 36#1002436
Would say that it has to do with wayland???
Any suggestion?

plank without persistence or save changes

Posted: 31 Dec 2020, 21:27
by francois
It has to do with wayland.
https://www.reddit.com/r/archlinux/comm ... variables/

Unless this guy answers:
https://www.linuxuprising.com/2019/12/a ... linux.html

Maybe replacing plank with dash from gnome with gnome-tweaks which is said to work with other platforms than gnome.