MATE desktop for Porteus

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: MATE desktop for Porteus

Post#31 by brokenman » 30 Jun 2013, 02:23

Tested and working here.

Make sure your scripts are executable and have good permissions.

As guest:

Code: Select all

cat >> /home/guest/tester.sh << EOF
#!/bin/bash
echo "Testing one two three" > /tmp/out
EOF
chmod +x /home/guest/tester.sh
cp -a --parents /home/guest/tester.sh /mnt/sdxY/porteus/rootcopy
Then go to preference/startup applications and add your startup script. Click browse and find the /home/guest/tester.sh script. Then copy it to rootcopy.

Code: Select all

cp -a --parents /home/guest/.config/autostart/tester.desktop /mnt/sdaxY/porteus/rootcopy
Next restart i found the file /tmp/out with the text echoed.
How do i become super user?
Wear your underpants on the outside and put on a cape.

UrUtusUbU
Black ninja
Black ninja
Posts: 73
Joined: 21 Apr 2012, 00:19
Distribution: Hannah Montana Linux
Location: inmygrave

Re: MATE desktop for Porteus

Post#32 by UrUtusUbU » 02 Jul 2013, 00:49

francois wrote:
3) Where is located the autostart folder, so that I can put in my language and dual display scripts?
Should be in the home folder. I am at work right now but please search home folder for xscreensaver.desktop. This is in the autostart folder. To start a script you may also use the 'startup applications' (forget exact name, I'm at work) in the system menu. After adding your scripts save the /home/guest/.config/dconf/user file to rootcopy.
-I found /etc/xdg/autostart. Putting my script files in there does not work.
- startup application does not work to start to get the scripts going at bootup
/usr/share/autostart/ work for me

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: MATE desktop for Porteus

Post#33 by brokenman » 02 Jul 2013, 13:11

Thanks UrUtusUbU. There will also be a nice new cheatcode to handle starting of GUI applications or scripts; although creating /usr/share/autostart would be easier for you.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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: MATE desktop for Porteus

Post#34 by francois » 03 Jul 2013, 01:48

Brokenman, this is exactly what I was looking for. :wink:

This is exactly what I was looking for. Thanks king Ubu :D. However, it does not work in root mode. :( Are you in guest mode and hdd install?

I will have a look in guest mode. :x

11) It could be nice that within a session of mate, that as in kde, creating some files in root would do that they would be saved automatically and present at next boot. :)

Wouldn't it be possible to change permanently the permissions of the root folder for mate? (As there is for kde and xfce)
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: MATE desktop for Porteus

Post#35 by brokenman » 03 Jul 2013, 04:04

It could be nice that within a session of mate, that as in kde, creating some files in root would do that they would be saved automatically and present at next boot.
This is possible by using changes= or magic folders or manually binding the root folder to storage. Porteus settings centre can guide you through magic folders which is designed to monitor one folder.

I still stick to the standard (specification) way of auto starting stuff. Standardized methods are always best.
https://developer.gnome.org/autostart-spec/
http://stackoverflow.com/questions/8247 ... -starts-up

Thanks for the screensaver error message. I'll probably leave this as i don't know where it's coming from and it doesn't disturb functionality.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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: MATE desktop for Porteus

Post#36 by francois » 06 Jul 2013, 23:05

Ok I found it. Everything is fine as both of you told me for the startup application menu. It works. I change the mate module a couple of times and realized that maybe I was perseverating with the wrong xrandr command. :oops: I go between computers. This does not help. =@

One bootup later. I get to the same problem as before. :crazy:
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: MATE desktop for Porteus

Post#37 by brokenman » 07 Jul 2013, 04:10

The porteus-settings-centre has a section under the boot button to run a script at startup. Essentially it places your xrandr script here:

/etc/rc.d/rc4.d/S-startup-script.sh

The S- at the beginning should be preserved. You could even make this a symlink to the script you want to run. The advantage of using PSC is it will ask you to make a module if you are saving changes.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply