Xfce4 DE module

Arch based Porteus community project
User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1442
Joined: 20 Mar 2012, 03:42
Distribution: 4.0-64bit all-DE+more
Location: australia
Contact:

Xfce4 DE module

Post#1 by ncmprhnsbl » 30 Dec 2017, 05:00

here's a basic xfce4 DE module to be used with latest updated base modules
updated version is here: 2018 Updated Base Modules
package list:

Code: Select all

dconf
exo
garcon
gnome-keyring
gtk-xfce-engine
gtk3
gtksourceview2
iso-codes
json-glib
libnotify
libvisual
libxfce4ui
libxfce4util
libxklavier
mousepad
pcre2
perl-uri
polkit-gnome
ristretto
thunar
thunar-volman
tumbler
vte3
wayland-protocols
xfce4-appfinder
xfce4-panel
xfce4-power-manager
xfce4-session
xfce4-settings
xfce4-taskmanager
xfce4-terminal
xfconf
xfdesktop
xfwm4
xfwm4-themes
nm-connection-editor
mobile-broadband-provider-info
gcr
btrfs-progs
cryptsetup
libaio
libblockdev
libbytesize
dmraid
lvm2
thin-provisioning-tools
udisks2
gvfs
volume_key
volumeicon
network-manager-applet
notes:
no media players included
nm-applet doesn't auto prompt wifi password> must be set in network-connection gui fixed: include gnome-keyring
paper icon theme ripped from standard porteus
activate/deactivate and root thunar via pkexec using guest password
'Build Module' custom action in root thunar (dir2xzm)
autologins to guest desktop with no DM > logout will simply repsawn the DE
if you want to autologin to root> edit /etc/conf.d/agetty.tty1 > change line 8: agetty_options="--autologin=guest" to root and
copy bash_profile from /home/guest to /root
if you don't want to autologin > comment out line 8 .. X should then start after guest login on console
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

Jack
Contributor
Contributor
Posts: 1514
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 4.0rc4 My LXDE 64 bit
Location: USA

Xfce4 DE module

Post#2 by Jack » 30 Dec 2017, 05:38

I download your Xfce4 module and your other modules to. I will test when I can because everyone is sick. I still have to test francois Xfce4/plank module too.

I think Nemesis nm-applet has the same problem as my LXDE dose. At lease it sound's the same.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1442
Joined: 20 Mar 2012, 03:42
Distribution: 4.0-64bit all-DE+more
Location: australia
Contact:

Xfce4 DE module

Post#3 by ncmprhnsbl » 30 Dec 2017, 06:20

Jack wrote:
30 Dec 2017, 05:38
I think Nemesis nm-applet has the same problem as my LXDE dose. At lease it sound's the same.
don't think so..
i think it might be because gnome-keyring is missing:
https://wiki.archlinux.org/index.php/Ne ... i_networks
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

Jack
Contributor
Contributor
Posts: 1514
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 4.0rc4 My LXDE 64 bit
Location: USA

Xfce4 DE module

Post#4 by Jack » 30 Dec 2017, 11:36

ncmprhnsbl wrote:
30 Dec 2017, 06:20
Jack wrote:
30 Dec 2017, 05:38
I think Nemesis nm-applet has the same problem as my LXDE dose. At lease it sound's the same.
don't think so..
i think it might be because gnome-keyring is missing:
https://wiki.archlinux.org/index.php/Ne ... i_networks
This is from my build directory dated 12-27-2017 and gnome-keyring is there.

Code: Select all

epdfview-0.1.8-x86_64-3_slonly
gksu-2.0.2-x86_64-2_slonly
gnome-keyring-3.20.1-x86_64-1
gpicview-0.2.5-x86_64-1ponce
gtk+3-3.22.26-x86_64-1
json-glib-1.2.8-x86_64-1_slonly
keybinder-0.3.1-x86_64-1
leafpad-0.8.18.1-x86_64-2ponce
libfm-1.2.5-x86_64-1ponce
libfm-extra-1.2.5-x86_64-1ponce
libgksu-2.0.12-x86_64-2_slonly
libgnome-keyring-3.12.0-x86_64-1
libgtop-2.34.0-x86_64-1_slonly
libunique-1.1.6-x86_64-5ponce
libwnck-2.31.0-x86_64-2
lxappearance-0.6.3-x86_64-2ponce
lxappearance-obconf-0.2.3-x86_64-2ponce
lxde-common-0.99.2-x86_64-1ponce
lxdm-20170805_e3e7517-x86_64-1ponce
lxinput-0.3.5-x86_64-1ponce
lxlauncher-0.2.5-x86_64-1ponce
lxmenu-data-0.1.5-x86_64-1ponce
lxmusic-0.4.7-x86_64-1ponce
lxpanel-0.9.3-x86_64-1ponce
lxrandr-0.3.1-x86_64-1ponce
lxsession-0.5.3-x86_64-1ponce
lxtask-0.1.8-x86_64-1ponce
lxterminal-0.3.1-x86_64-1ponce
menu-cache-1.0.2-x86_64-1ponce
network-manager-applet-1.8.4-x86_64-1_slack14.2
pcmanfm-1.2.5-x86_64-1ponce
poppler-0.62.0-x86_64-1
poppler-data-0.4.8-noarch-1
slim-1.3.6-x86_64-2jay
vala-0.34.9-x86_64-1ponce
xmms2-20150712_942b17f-x86_64-4_slonly
Please take a look at my modules list and you will see.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

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.

Xfce4 DE module

Post#5 by francois » 30 Dec 2017, 14:51

No problem with nm-applet here. I can see all my wifi.

@jack:
Are you talking about xfce4 module? Are you in the right thread?
Can you see your wifi access point when you left click on the nm-applet?
Please provide the output of:

Code: Select all

ifconfig
ping wlan0
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.

Xfce4 DE module

Post#6 by francois » 30 Dec 2017, 14:52

@ncmprhnsbl:
There is a problem with icon-theme for me, though I am booting in root mode. I do not see icons in the xfce4 menu, neither in thunar.
Thanks.

Sorry this due to my rootcopy. Everything is fine now in guest mode. I do not understand why, but not in root mode.

Edit:
Fix to start a script from thunar:
https://bbs.archlinux.org/viewtopic.php?id=194464

Code: Select all

xfconf-query --channel thunar --property /misc-exec-shell-scripts-by-default --create --type bool --set true
Would be nice to have.
Thanks.
Prendre son temps, profiter de celui qui passe.

Jack
Contributor
Contributor
Posts: 1514
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 4.0rc4 My LXDE 64 bit
Location: USA

Xfce4 DE module

Post#7 by Jack » 30 Dec 2017, 15:06

@francois
Are you talking about xfce4 module? Are you in the right thread?
His problem is in xfce4 and mind is lxde and it was about the same. That is why I said it.

Here is the output. I think I did it right.

Code: Select all

root@porteus:/home/guest# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:21:9b:f3:9f:fe  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 166  bytes 8620 (8.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 166  bytes 8620 (8.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.4  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 2607:fcc8:e7c1:9c00:e480:b145:cb82:962  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::21f:3cff:feb5:ba52  prefixlen 64  scopeid 0x20<link>
        ether 00:1f:3c:b5:ba:52  txqueuelen 1000  (Ethernet)
        RX packets 1772717  bytes 2581464240 (2.4 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 986663  bytes 95443747 (91.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@porteus:/home/guest# ping wlan0
PING wlan0 (198.105.254.228) 56(84) bytes of data.
^C
--- wlan0 ping statistics ---
55 packets transmitted, 0 received, 100% packet loss, time 55327ms

root@porteus:/home/guest# 
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

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.

Xfce4 DE module

Post#8 by francois » 30 Dec 2017, 15:27

@jack:
It seems that your output confirms that wifi is not functioning. Please try the following dirty trick:
boot into Windows, activate wifi and then reboot into porteus.

Funny, I got some positive output before and now I get:

Code: Select all

porteus ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.111  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::d832:7784:cc6:6f6a  prefixlen 64  scopeid 0x20<link>
        ether e8:e0:b7:39:9d:62  txqueuelen 1000  (Ethernet)
        RX packets 1650  bytes 667330 (651.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1042  bytes 130756 (127.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xe0600000-e0620000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 14  bytes 700 (700.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 14  bytes 700 (700.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.100.111  netmask 255.255.255.0  broadcast 192.168.100.255
        inet6 fe80::54e9:c233:6464:b591  prefixlen 64  scopeid 0x20<link>
        ether 68:5d:43:bd:8b:1b  txqueuelen 1000  (Ethernet)
        RX packets 60  bytes 8560 (8.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 57  bytes 6592 (6.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[porteus ~]# ping wlan0
ping: wlan0: System error
But after reboot:

Code: Select all

[porteus ~]# ping wlan0
PING wlan0 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1 (192.168.0.1): icmp_seq=1 ttl=64 time=0.583 ms
64 bytes from 192.168.0.1 (192.168.0.1): icmp_seq=2 ttl=64 time=0.581 ms
Though my nm-applet states that wifi is connected.
Prendre son temps, profiter de celui qui passe.

Jack
Contributor
Contributor
Posts: 1514
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 4.0rc4 My LXDE 64 bit
Location: USA

Xfce4 DE module

Post#9 by Jack » 30 Dec 2017, 16:44

@francois

What I can't understand I can boot my Mate I built and I boot fulalas LXDE and they both have WiFi. Now my LXDE that I built has no WiFi like the other 2.

I can type nmtui and I have WiFi on the LXDE that I built and that what I don't understand. Something is wrong or missing.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Jack
Contributor
Contributor
Posts: 1514
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 4.0rc4 My LXDE 64 bit
Location: USA

Xfce4 DE module

Post#10 by Jack » 30 Dec 2017, 17:08

@ncmprhnsbl

I just booted your Xfce4 and it booted right up. And the WiFi works and I had to edit my connection to add my password. I seen all the WiFi in my area where I live. I need to add FireFox so I could get on the internet. Good job on your build.

@francois

Later I will try your Xfce4/Plank build later today if I can.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1442
Joined: 20 Mar 2012, 03:42
Distribution: 4.0-64bit all-DE+more
Location: australia
Contact:

Xfce4 DE module

Post#11 by ncmprhnsbl » 31 Dec 2017, 02:18

updated version: 003-xfce4-20171231.xzm
changelog:
added:
gnome-keyring (fixes password prompt for wifi )
xfce4-taskmanager
thunar now executes scripts by default..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

Jack
Contributor
Contributor
Posts: 1514
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 4.0rc4 My LXDE 64 bit
Location: USA

Xfce4 DE module

Post#12 by Jack » 31 Dec 2017, 04:40

To get Xfce4 to boot is this all you did.

Fix this.

Code: Select all

# Set the baud rate of the terminal line
baud="38400"

# set the terminal type
term_type="linux"

# extra options to pass to agetty for this port
agetty_options="--autologin=guest"

# make agetty quiet
#quiet="no"
And this.

Code: Select all

# Start x on login
if [[ -z $DISPLAY && ! -e /tmp/.X11-unix/X0 ]]; then
   exec startx
fi
# Use setting from ~/.bashrc
if [ -f ~/bashrc ]; then
     source ~/.bashrc
fi
Did add anything else?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1442
Joined: 20 Mar 2012, 03:42
Distribution: 4.0-64bit all-DE+more
Location: australia
Contact:

Xfce4 DE module

Post#13 by ncmprhnsbl » 31 Dec 2017, 05:47

Jack wrote:
31 Dec 2017, 04:40
Did add anything else?
and /etc/X11/xinit/xinitrc :

Code: Select all

exec dbus-launch --exit-with-session /usr/bin/startxfce4
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

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.

Xfce4 DE module

Post#14 by francois » 01 Jan 2018, 17:09

@ncmprhnsbl
1.0 Mousepad difficulty of loading file thru thunar root mode in guest mode desktop:

Code: Select all

su toor
thunar
/ect/conf.d/agetty.tty1
Typing the name of the file in thunar, mousepad tries to open the file. It does, but freezes.

Problem with the loading of the file into mousepad, wouldn't leafpad be any better than mousepad?
Thanks.

2.0 Missing icons in root mode:
I have followed your procedure in first post with a clean install, save changes guest mode to get in root mode with a clean rootcopy folder (bis, same comment as above):
if you want to autologin to root> edit /etc/conf.d/agetty.tty1 > change line 8: agetty_options="--autologin=guest" to root and
copy bash_profile from /home/guest to /root

There is a problem with icon-theme in root mode. I do not see icons in the xfce4 menu, neither in thunar.
Thanks

3.0 General comment:
This xfce edition is really neat and performant, very reactive at first sight. :D
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.

Xfce4 DE module

Post#15 by francois » 01 Jan 2018, 17:59

OK. Forget the item 1.0 in precedent post. I have found your thunar root which is quite an improvement over other desktop that I have used yet. With thunar root there is no mousepad freezing. It seems that you will finally convert me into a normal user. :D

Contextual module building is an asset, maybe a message stating that the module is building and as finished building could be an improvement for newcomers.
Thanks.
Prendre son temps, profiter de celui qui passe.

Post Reply