Page 2 of 9

Re: Nemesis Mate

Posted: 20 Dec 2016, 01:58
by Jack
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.

Re: Nemesis Mate

Posted: 20 Dec 2016, 02:16
by francois
@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

Re: Nemesis Mate

Posted: 20 Dec 2016, 02:39
by Jack
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.

Re: Nemesis Mate

Posted: 20 Dec 2016, 02:57
by francois
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.

Re: Nemesis Mate

Posted: 20 Dec 2016, 04:04
by Jack
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

Re: Nemesis Mate

Posted: 20 Dec 2016, 05:11
by francois
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:

Re: Nemesis Mate

Posted: 20 Dec 2016, 18:42
by francois
updated precedent post to provide detailed procedure

Re: Nemesis Mate

Posted: 20 Dec 2016, 19:31
by Blaze
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)

Re: Nemesis Mate

Posted: 20 Dec 2016, 20:33
by Jack
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.

Re: Nemesis Mate

Posted: 20 Dec 2016, 22:36
by Jack
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

Re: Nemesis Mate

Posted: 20 Dec 2016, 23:14
by Jack
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?

Re: Nemesis Mate

Posted: 21 Dec 2016, 06:58
by Blaze
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.

Re: Nemesis Mate

Posted: 21 Dec 2016, 11:11
by ncmprhnsbl
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

Re: Nemesis Mate

Posted: 21 Dec 2016, 12:36
by Jack
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.

Re: Nemesis Mate

Posted: 21 Dec 2016, 14:18
by ncmprhnsbl
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....