xfce4 desktop for Nemesis-06-04-2017

Arch based Porteus community project
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5070
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

xfce4 desktop for Nemesis-06-04-2017

Post#1 by francois » 09 Apr 2017, 18:30

This is a thread for building the xfce4 environment with wifi and a few useful utilities.

Once into nemesis run:

Code: Select all

setup-pman[\code]

Build the necessary packages and move them from /tmp to /porteus/modules.

Packages needed:
pman-settings xfce4 [s]network-manager-applet[/s]
[code]pman -S  xfce4 
Additional basic packages:

Code: Select all

xarchiver avahi-openrc gparted leafpad libreoffice-still manjaro-printer opera chromium simple-scan xorg-xrandr xorg-xkill
Other packages less oftened used:

Code: Select all

kodi gimp 
Booting without a login manager.
Modifying ~/.xinitrc to boot xfce by inserting at the end of the file exec startxfce4 with a text editor like nano (command line) or mousepad (graphical environment):
exec startxfce4

Porteus.cfg syntax to boot directly into desktop.
.grub2

Code: Select all

    menuentry "porteus PORTEUS 1_nemesis  NEMESIS sda5" {
    set root=(hd0,5)
    linux /1_nemesis/boot/syslinux/vmlinuz from=/dev/sda5/1_nemesis changes=/1_nemesis sgnfile=porteus-v3.5-x86_64.sgn login=root 
    initrd /1_nemesis/boot/syslinux/initrd.xz
    }
.syslinux

Code: Select all

LABEL gui
MENU LABEL Graphics mode (nemesis)
KERNEL vmlinuz
APPEND initrd=initrd.xz from=UUID:12f37982-7233-4a08-87ef-c567d200c914/64bit_nemesis sgnfile=porteus-v3.5-x86_64.sgn login=root changes=/64bit_nemesis 
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT
where UUID comes from command blkid

Code: Select all

root ~/Desktop # blkid  
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/sda1: LABEL="manjaro" UUID="629acbde-7a91-49ca-b9b8-b17e9e65bfb4" TYPE="ext4" PARTUUID="000dceb7-01"
/dev/sda5: UUID="e70b84a5-da6d-4005-809f-cec19c0694cc" TYPE="ext4" PARTUUID="000dceb7-05"
/dev/sda6: UUID="0d6e0fe4-79dd-4ea3-8d9b-24474cb96e49" TYPE="ext3" PARTUUID="000dceb7-06"
/dev/sda7: UUID="ad800b6d-428c-451f-8eb8-1ee7ecaac8f1" TYPE="swap" PARTUUID="000dceb7-07"
/dev/sdb1: UUID="3F57-A0F0" TYPE="vfat" PARTUUID="6be088e5-01"
/dev/sdb2: UUID="12f37982-7233-4a08-87ef-c567d200c914" TYPE="ext2" PARTUUID="6be088e5-02"
root ~/Desktop # 
Changes module after building xfce4 desktop.
You have to be in save changes mode and reboot into another porteus installation and transform the changes folder into a module.
dir2xzm changes xfce4-changes. Then erase the changes folder.

See also https://forum.porteus.org/viewtopic.php?f=114&t=5083

This post is in progress and has been modified after suggestions from participants.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 961
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: xfce4 desktop for Nemesis-06-04-2017

Post#2 by ncmprhnsbl » 10 Apr 2017, 02:30

francois wrote:You have to be in save changes mode and reboot into another porteus installation and transform the changes folder into a module.
the dir2xzm command is present in nemesis..
also you can grab your changes more directly from /mnt/live/memory/changes ... so

Code: Select all

dir2xzm /mnt/live/memory/changes changes.xzm
will place a changes.xzm in the present directory...
francois wrote:Problem.
networkmanager network-manager-applet installation.
note that networkmanager-openrc and networkmanager-consolekit are present in 001-core.xzm (you dont want "networkmanager"(this is systemd version afaiui))..
in brokenmans lxde module there is:

Code: Select all

network-manager-applet
networkmanager-openvpn
networkmanager-pptp
networkmanager-vpnc
nm-connection-editor
other deps (i think) are gnome-keyring , libsecret, vpnc,..more(pacman/pman should find them)
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5070
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: xfce4 desktop for Nemesis-06-04-2017

Post#3 by francois » 23 Apr 2017, 02:21

Thanks for the info.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 961
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: xfce4 desktop for Nemesis-06-04-2017

Post#4 by ncmprhnsbl » 23 Apr 2017, 09:23

as of the latest update networkmanager-consolekit is out, and standard networkmanager is in 001-core :D
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5070
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: xfce4 desktop for Nemesis-06-04-2017

Post#5 by francois » 23 Apr 2017, 12:05

1) As there is changes on the system, even if I do nothing, and as my changes file is huge, using dir2xzm /mnt/live/memory/changes changes.xzm seems impossible:

Code: Select all

tempting to re-read
[===================|                                              ]  42598/141264  30%
File /mnt/live/memory/changes/root/changes.xzm changed size while reading filesystem, attempting to re-read
[===================|                                              ]  42598/141264  30%
File /mnt/live/memory/changes/root/changes.xzm changed size while reading filesystem, attempting to re-read
[====================|                                             ]  44060/141264  31%
File /mnt/live/memory/changes/root/changes.xzm changed size while reading filesystem, attempting to re-read
[===================|                                              ]  42598/141264  30%

etc.   ...     ... all night long
2) Thanks for updating networkmanager. :)
Voltaire: Le mieux est l'ennemi du bien.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 961
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: xfce4 desktop for Nemesis-06-04-2017

Post#6 by ncmprhnsbl » 23 Apr 2017, 12:36

francois wrote: using dir2xzm /mnt/live/memory/changes changes.xzm seems impossible
looks like your trying to make your module in /root ? which creates a feedback loop... changes is detecting the change of /root/changes.xzm as it compresses :(
your changes.xzm needs to be made outside the live filesystem or in directory that isn't included in /changes like eg. /tmp
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5070
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: xfce4 desktop for Nemesis-06-04-2017

Post#7 by francois » 24 Apr 2017, 03:05

This is enlightning. Effectively, I have the bad habit to work from root mode. :oops:
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 5070
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: xfce4 desktop for Nemesis-06-04-2017

Post#8 by francois » 18 Jun 2017, 04:20

ncmprhnsbl:
From guest mode in regular porteus, I did not get a result with the root user. Maybe I should try with sudo. :)
Will test that.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 961
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: xfce4 desktop for Nemesis-06-04-2017

Post#9 by ncmprhnsbl » 18 Jun 2017, 05:41

it has nothing to do with which user.(root or guest) ((although dir2xzm should be run as root)) :wink:
it is to do with where the module is being made. (and where the folder originates)
if you dir2xzm from /mnt/live/changes/ to anywhere inside the live filesystem you are changing the the folder you're trying to compress...
so creating a loop that will never end.........................
so... either copy the target folder(/mnt/live/changes/) first then compress the copy
or dir2xm (/mnt/live/changes/) to somewhere outside the live filesystem (eg. a mounted partition)
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5070
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: xfce4 desktop for Nemesis-06-04-2017

Post#10 by francois » 18 Jun 2017, 11:24

Thanks. I will do that. :)
Voltaire: Le mieux est l'ennemi du bien.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 961
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: xfce4 desktop for Nemesis-06-04-2017

Post#11 by ncmprhnsbl » 04 Jul 2017, 05:31

@francois
could you post the list of packages in your xfce4 module(s):

Code: Select all

 ls /mnt/live/memory/images/<nameofyourxfcemodule>.xzm
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5070
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: xfce4 desktop for Nemesis-06-04-2017

Post#12 by francois » 12 Jul 2017, 14:50

Sorry, I am presently on holiday for a couple of weeks, very seldom far from wifi or network reach.
Voltaire: Le mieux est l'ennemi du bien.

Post Reply