Nemesis Mate

Arch based Porteus community project

Moderator: M. Eerie

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: Nemesis Mate

Post#16 by Jack » 20 Dec 2016, 01:58

francois wrote:@jack:
We will troubleshoot you. This sometimes is fast, sometimes slow.

Don't try more than 5 times, stop after half an hour and take some fresh air. Watch for the icy patches outdoor. :wink:
I know that, but I just don't what to do. I was real happy when I seen it work and a big let down when it didn't. I know it will work someday.

Beside you should know me by now from my past.

You don't know how much I wanted to make this work by myself but I can't it is harder then it looks for me but it could easy fro someone else. That's why you think I'm mad but I'm not mad at the member I'm mad at myself for not doing it.
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: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Nemesis Mate

Post#17 by francois » 20 Dec 2016, 02:16

@all:
Working with twin (the window system available from the console manager) within xfce desktop, just to learn how to work with twin, I got into mate.

It seems that not much is missing for mate to work. However, I am not able to copy/paste the output messages yet.

In wich way could I get the message into a file. It seems that:

Code: Select all

mate-session > /tmp/mate.txt
does not work.

Maybe the solution is here:
1) adding lxdm: not enough :(
https://bbs.archlinux.org/viewtopic.php?id=153898
2) error message: mate failed to run gnome keyring daemon:
https://wiki.archlinux.org/index.php/GN ... stallation
pman -S gnome-keyring #better but not enough
3) Gdk-CRITICAL: gdk_display_get_name: assertion 'GDK_IS_DISPLAY (display)' failed
Prendre son temps, profiter de celui qui passe.

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: Nemesis Mate

Post#18 by Jack » 20 Dec 2016, 02:39

I know this is not the problem. I don't think. This is in porteus/modules

Code: Select all

pman -S xorg-xinit
I know this is not the problem. I don't think. This is in porteus/base

Code: Select all

update-cache
I have to retype this line to make it after login in Terminal. I need fine out how to fix this.

Code: Select all

echo "exec mate-session" > ~/.xinitrc
And then I did this.

Code: Select all

startx
Then it works again, like before. I'm glad it works.

Now I can work on mate-extra to add more.

Your talk to me francois helps a lot. Thank you.
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: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Nemesis Mate

Post#19 by francois » 20 Dec 2016, 02:57

to fix this:

Code: Select all

su
toor
nano ~/.xinitrc
Make sure

Code: Select all

exec mate-session
is at the end of the file.
If not with the cursor get there an write it down.
Then ctrl-x and follow the instructions to save the file.
Prendre son temps, profiter de celui qui passe.

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: Nemesis Mate

Post#20 by Jack » 20 Dec 2016, 04:04

After I did the edit with nano and I save it. Then I rebooted login in Terminal type startx then it went into 3 xterm Graphic windows.

I found out after I edit xinitrc and added exec mate-session then save it and then open xinitrc to verify that exec mate-session is there and it is there. Then I reboot and after login I check it again with nano and I see exec mate-session and it not there anymore. Something is changing xinitrc back because exec mate-session was not there and I don't know what is changing it.

@francois
I did not type this.

Code: Select all

exec mat-session
I type this.

Code: Select all

exec mate-session
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: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Nemesis Mate

Post#21 by francois » 20 Dec 2016, 05:11

Just make a module of that file from within mate.

Prepare the file to be compressed into a permanent module.

Code: Select all

root@porteus:~# mkdir /home/guest/building
root@porteus:~# cd /home/guest/building   
root@porteus:/home/guest/building# mkdir mate-xinit
root@porteus:/home/guest/building# cd mate-xinit
root@porteus:/home/guest/building/mate-xinit# mkdir home
root@porteus:/home/guest/building/mate-xinit# cd home
root@porteus:/home/guest/building/mate-xinit/home# mkdir guest
root@porteus:/home/guest/building/mate-xinit/home# cd guest
Insert command exec mate-session in .xinitrc

Code: Select all

root@porteus:/home/guest/building/mate-xinit/home/guest# echo "exec mate-session" > .xinitrc
root@porteus:/home/guest/building/mate-xinit/home/guest# ls
Verify with mc the content of .xinitrc

Code: Select all

root@porteus:/home/guest/building/mate-xinit/home/guest# mc
edit file with command at base of screen

Code: Select all

exit


Build module.

Code: Select all

root@porteus:~# cd /home/guest/building   
root@porteus:/home/guest/building# ls
mate-xinit/
root@porteus:/home/guest/building# dir2xzm mate-xinit mate-xinit.xzm
Place module mate-xinit.xzm in /porteus/modules

Reboot! :twisted:
Prendre son temps, profiter de celui qui passe.

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

Re: Nemesis Mate

Post#22 by francois » 20 Dec 2016, 18:42

updated precedent post to provide detailed procedure
Prendre son temps, profiter de celui qui passe.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Nemesis Mate

Post#23 by Blaze » 20 Dec 2016, 19:31

ncmprhnsbl wrote:you probly need to run: (as root)

Code: Select all

update-cache
before starting X, this will update varoius caches and ask if you want a module: answer yes(y)
i think it turns up in /tmp, if so move it to /modules
do this step (probably, you can ignore this step by ncmprhnsbl) +
replace 003-mate.xzm on my 003-mate.xzm (ONLY these steps)
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: Nemesis Mate

Post#24 by Jack » 20 Dec 2016, 20:33

I redid my 003-mate.xzm and here is the order I did it.

Step 1 I did this. To get it ready to build the modules.

Code: Select all

setup-pman
Step 2 then this. But I had to move 003-mate.xzm from modules directory to the base directory

Code: Select all

pman -S mate
Step 3 and this. But I had to move 003-mate-xtra.xzm from modules directory to the base directory

Code: Select all

pman -S mate-extra
Step 4 and this. I am going to check if I need it or not.

Code: Select all

update-cache
Step 5 and this. I need this or it won't in to Mate.

Code: Select all

echo "exec mate-session" > ~/.xinitrc
Step 6 and last.

Code: Select all

startx
It booted in to Mate and it seem to work OK. I need fine out to setup the wireless. I don't seem to fine it
francois wrote:Just make a module of that file from within mate.

Prepare the file to be compressed into a permanent module.

Code: Select all

root@porteus:~# mkdir /home/guest/building
root@porteus:~# cd /home/guest/building   
root@porteus:/home/guest/building# mkdir mate-xinit
root@porteus:/home/guest/building# cd mate-xinit
root@porteus:/home/guest/building/mate-xinit# mkdir home
root@porteus:/home/guest/building/mate-xinit# cd home
root@porteus:/home/guest/building/mate-xinit/home# mkdir guest
root@porteus:/home/guest/building/mate-xinit/home# cd guest
Insert command exec mate-session in .xinitrc

Code: Select all

root@porteus:/home/guest/building/mate-xinit/home/guest# echo "exec mate-session" > .xinitrc
root@porteus:/home/guest/building/mate-xinit/home/guest# ls
Verify with mc the content of .xinitrc

Code: Select all

root@porteus:/home/guest/building/mate-xinit/home/guest# mc
edit file with command at base of screen

Code: Select all

exit


Build module.

Code: Select all

root@porteus:~# cd /home/guest/building   
root@porteus:/home/guest/building# ls
mate-xinit/
root@porteus:/home/guest/building# dir2xzm mate-xinit mate-xinit.xzm
Place module mate-xinit.xzm in /porteus/modules

Reboot! :twisted:
I will do this later to day.
Blaze wrote:
ncmprhnsbl wrote:you probly need to run: (as root)

Code: Select all

update-cache
before starting X, this will update varoius caches and ask if you want a module: answer yes(y)
i think it turns up in /tmp, if so move it to /modules
do this step (probably, you can ignore this step by ncmprhnsbl) +
replace 003-mate.xzm on my 003-mate.xzm (ONLY these steps)
I will try your 003-mate.xzm later to day to.
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: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: Nemesis Mate

Post#25 by Jack » 20 Dec 2016, 22:36

Blaze wrote:
ncmprhnsbl wrote:you probly need to run: (as root)

Code: Select all

update-cache
before starting X, this will update varoius caches and ask if you want a module: answer yes(y)
i think it turns up in /tmp, if so move it to /modules
do this step (probably, you can ignore this step by ncmprhnsbl) +
replace 003-mate.xzm on my 003-mate.xzm (ONLY these steps)
Your did the same as mind. And they were both the same size. I take it they were built the same way.
francois wrote:Just make a module of that file from within mate.

Prepare the file to be compressed into a permanent module.

Code: Select all

root@porteus:~# mkdir /home/guest/building
root@porteus:~# cd /home/guest/building   
root@porteus:/home/guest/building# mkdir mate-xinit
root@porteus:/home/guest/building# cd mate-xinit
root@porteus:/home/guest/building/mate-xinit# mkdir home
root@porteus:/home/guest/building/mate-xinit# cd home
root@porteus:/home/guest/building/mate-xinit/home# mkdir guest
root@porteus:/home/guest/building/mate-xinit/home# cd guest
Insert command exec mate-session in .xinitrc

Code: Select all

root@porteus:/home/guest/building/mate-xinit/home/guest# echo "exec mate-session" > .xinitrc
root@porteus:/home/guest/building/mate-xinit/home/guest# ls
Verify with mc the content of .xinitrc

Code: Select all

root@porteus:/home/guest/building/mate-xinit/home/guest# mc
edit file with command at base of screen

Code: Select all

exit


Build module.

Code: Select all

root@porteus:~# cd /home/guest/building   
root@porteus:/home/guest/building# ls
mate-xinit/
root@porteus:/home/guest/building# dir2xzm mate-xinit mate-xinit.xzm
Place module mate-xinit.xzm in /porteus/modules

Reboot! :twisted:
I did what you show me here but it still boot into what look like a Terminal in Root but it would boot into guest at all.

After I get the modules built I still have to type these two steps to boot into Mate that is in Always Fresh mode.
Step 5 and this. I need this or it won't in to Mate.

Code: Select all

echo "exec mate-session" > ~/.xinitrc
Step 6 and last.

Code: Select all

startx
It booted in to Mate and it seem to work OK. I need fine out to setup the wireless. I don't seem to fine it
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: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: Nemesis Mate

Post#26 by Jack » 20 Dec 2016, 23:14

Here is some screen shot I took with Mate I built. It only boot up in root and not guest.

This one is in guest and there is no .xinitrc.
Image
This one is in root and there is an .xinitrc.
Image
This one is in root and I open .xinitrc and there is exec mate-session.
Image
Why won't it boot up and auto start?
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
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Nemesis Mate

Post#27 by Blaze » 21 Dec 2016, 06:58

Jack wrote:
Blaze wrote:
ncmprhnsbl wrote:you probly need to run: (as root)

Code: Select all

update-cache
before starting X, this will update varoius caches and ask if you want a module: answer yes(y)
i think it turns up in /tmp, if so move it to /modules
do this step (probably, you can ignore this step by ncmprhnsbl) +
replace 003-mate.xzm on my 003-mate.xzm (ONLY these steps)
Your did the same as mind. And they were both the same size. I take it they were built the same way.
Not the same - look at the /etc/X11/xinit/ directory.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Nemesis Mate

Post#28 by ncmprhnsbl » 21 Dec 2016, 11:11

good news...
i took Blazes' mate module , added some things, in particular, lxdm-consolekit, and got autologin to guest working that way...
also added mate-terminal and leafpad for functionality, plus deps vte3 and pcre2, and gtk-engine-murrine to fix the theme..
stripped out : locales, help, gir, some backgrounds, (maybe more i forget) got the size to 91 mb..
could get slimmer by stripping out the icons somehow, need to look into that...
hang tight and i'll upload it soon..
btw , did need to update and merge the caches for mate-terminal to work(gschemas) and something else?(i forget)..
about WIFI from terminal or console do: nmtui .. its a ncurses gui for networkmanager
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: Nemesis Mate

Post#29 by Jack » 21 Dec 2016, 12:36

What I can't understand but what happen to (Documents, Pictures. Video and the other) directory's in guest and root. I use them all the time some how they got delete in 001-core, 002-gui or 002-xtra ever which one they were in.

@Blaze

I will look at your 003-mate.xzm a little closer.
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: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Nemesis Mate

Post#30 by ncmprhnsbl » 21 Dec 2016, 14:18

here, try this one 003-mate-3.xzm 87.5 mb
Jack wrote:What I can't understand but what happen to (Documents, Pictures. Video and the other) directory's
yeah they should get created by some xdg process, i think...... Blaze knows more about this...
personally, if i want a directory i just create it....
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply