maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   Multiple boot videos? (https://talk.maemo.org/showthread.php?t=43840)

b666m 2010-02-20 12:39

Re: Multiple boot videos?
 
your x.conf files have to look like this:

Code:

[hildon-welcome]
filename=videoname.avi

and 1.conf should contain another video then 2.conf, 3.conf....

so:
if you have 2 videos you should have 1.conf and 2.conf.
if you have 3 videos you should have 1.conf, 2.conf and 3.conf.

rolan900d 2010-02-20 12:40

Re: Multiple boot videos?
 
Checked all again but this code also didn't work me!


cp -r /usr/share/media /opt/
rm -r /usr/share/media

Error: no such file or directory

rolan900d 2010-02-20 12:42

Re: Multiple boot videos?
 
Quote:

Originally Posted by b666m (Post 538353)
your x.conf files have to look like this:

Code:

[hildon-welcome]
filename=videoname.avi

and 1.conf should contain another video then 2.conf, 3.conf....

so:
if you have 2 videos you should have 1.conf and 2.conf.
if you have 3 videos you should have 1.conf, 2.conf and 3.conf.

I have all that...
I think the issues are that the videos aren't being recognized in opt/media

Or the sym link isn't good?

I did symlink before from this thread!

http://tuxrunner.com/tech/optify-your-n900-boot-videos/

Under point 5

b666m 2010-02-20 12:48

Re: Multiple boot videos?
 
wth ^^

sorry if i have to say that... but this manual is way too complicated...

i did following:
0. sudo gainroot
(get root-terminal)
1. cp -r /usr/share/hildon-welcome/media /opt/
(this should make /opt/media with the nokia hands video as content)
2. rm -r /usr/share/hildon-welcome/media
(this should remove the media folder from there)
3. cd /usr/share/hildon-welcome
(change the directory ^^)
4. ln -s /opt/media media
(symlinking /opt/media to /usr/share/hildon-welcome/media)

that should work :)
and you can place all of your additional videos in /opt/media/ ;)

rolan900d 2010-02-20 12:57

Re: Multiple boot videos?
 
On post 28 you had another string....

Will try this one...

NO, still no go....
I am afraid I am done with this for now....
Been busy for 2 hours to make it work...

Just noticed with MC that usr/share/hildon-welcome/media folder wasn't deleted

I saw this : 'wave symbol'media inside usr/share/hildon-welcome/

When I go in there I see this:

'wave symbol'media
and underneath the 7 avi files I also had in /opt/media

b666m 2010-02-20 13:03

Re: Multiple boot videos?
 
Quote:

Originally Posted by rolan900d (Post 538367)
On post 28 you had another string....

Will try this one...

oooops...
you're right.. sorry for that..
(but you should have noticed the error because the command threw an error, didn't it?)
i'm only human... even i make mistakes... sometimes ^^

but thanks for pointing that out... i will edit the post before anybody else uses this...
(although it doesn't do anything at all xD)

rolan900d 2010-02-20 13:06

Re: Multiple boot videos?
 
I now have around 7 'wave symbol'media folder with 7 avi files inside usr/share/hildon-welcome/media

Some how it all is copied???

This also happened in /opt/media

Just deleted the media folder in usr/shar/hildon-welcome/media

and also the multiple ones in opt/media

Now none of the videos boot

b666m 2010-02-20 13:11

Re: Multiple boot videos?
 
ehm... you do know that you have to execute this commands as root, don't you?

so you have to type "sudo gainroot" first...
but you should have noticed that already. ^^
(from reading all along this thread)

i don't understand what you mean with:
"I now have around 7 'wave symbol'media folder with 7 avi files inside usr/share/hildon-welcome/media" ??? o.O

rolan900d 2010-02-20 13:14

Re: Multiple boot videos?
 
Yeah I know mate!

It looked like thsi:

In the /opt/media folder were the 7 avi files but also a 'wave symbol'media folder

Inside that 'wave symbol'media folder was the same and in there the same and so on...

Also this issue in etc/share/hildon-welcome/media

b666m 2010-02-20 13:21

Re: Multiple boot videos?
 
ok... start over again (i think the other manual did something wrong).

(1. make sure there is /opt/media/ with all your video-files inside.
check? check. ^^)
2. open xterm
3. type "sudo gainroot"
4. type "rm -r /opt/media/~media" (<- that's what you mean with 'wave symbol'media, right?)
5. type "ls /usr/share/hildon-welcome/media"

you shouldn't see the ~media folder anymore in /usr/share/hildon-welcome/media, right?

rolan900d 2010-02-20 13:29

Re: Multiple boot videos?
 
That last command gave me a list with the 7 files in there...

So it looks good so far

b666m 2010-02-20 13:31

Re: Multiple boot videos?
 
Quote:

Originally Posted by rolan900d (Post 538403)
That last command gave me a list with the 7 files in there...

So it looks good so far

jap. that looks good. :)

rolan900d 2010-02-20 13:31

Re: Multiple boot videos?
 
That 'wave'media folder is still there and also with the 7 files in there

Inside usr/share/hildon-welcome/media

I mean

b666m 2010-02-20 13:35

Re: Multiple boot videos?
 
if it's only in /usr/share/hildon-welcome/media/ you can remove it via mc (i don't use it... so i'm only guessing) or
1. open xterm
2. sudo gainroot
3. rm -r /usr/share/hildon-welcome/media/~media

if it's still in /opt/media/ then you did something wrong with my commands above ^^

and if the ~media folder shows up anywhere else... you did something really strange wrong o.O

rolan900d 2010-02-20 13:36

Re: Multiple boot videos?
 
Should I also do this?

rm -r /usr/share/hildon-welcome/media/~media

b666m 2010-02-20 13:38

Re: Multiple boot videos?
 
if the folder /usr/share/hildon-welcome/media/~media exists, yes. ^^

rolan900d 2010-02-20 13:39

Re: Multiple boot videos?
 
Okay deleted that folder!
It looks like this now...

usr/share/hildon-welcome/media/

Empty folder....

What now?

rolan900d 2010-02-20 13:41

Re: Multiple boot videos?
 
Now when i boot up, none of the videos work

can't it be because of that other site explaining me a code:

for i in /opt/bootvideos/*; do ln -s $i /usr/share/hildon-welcome/media/$(echo $i | awk ‘BEGIN { FS=”/” } ; { print $4 }’); done

I think it might be corrupting one or the other?

b666m 2010-02-20 13:42

Re: Multiple boot videos?
 
Quote:

Originally Posted by rolan900d (Post 538417)
Okay deleted that folder!

usr/share/hildon-welcome/media/

still exists

and in this folder your movie-files show up, right?

if yes then i would say... you're ready to go if you followed my other instructions with chmod 777 /usr/bin/rvid and chmod 777 /etc/event.d/rvide after moving the files to those places ^^

(and of course having the default.conf and x.conf files in the right place)

just reboot your phone and report what's happening ;)

rolan900d 2010-02-20 13:44

Re: Multiple boot videos?
 
Quote:

Originally Posted by b666m (Post 538421)
and in this folder your movie-files show up, right?

if yes then i would say... you're ready to go if you followed my other instructions with chmod 777 /usr/bin/rvid and chmod 777 /etc/event.d/rvide after moving the files to those places ^^

(and of course having the default.conf and x.conf files in the right place)

just reboot your phone and report what's happening ;)


NO!
There are in /opt/media

My usr/share/hildon-welcome/media/ is empty

b666m 2010-02-20 13:47

Re: Multiple boot videos?
 
ok *breath in, breath out*

1. sudo gainroot
(get root-terminal)
2. rm -r /usr/share/hildon-welcome/media
(this should remove the media folder from there)
3. cd /usr/share/hildon-welcome
(change the directory ^^)
4. ln -s /opt/media media
(symlinking /opt/media to /usr/share/hildon-welcome/media)

rolan900d 2010-02-20 13:54

Re: Multiple boot videos?
 
I am sorry mate!
I am really do all of that!

Now there has a 'wave symbol'media folder appeared in usr/share/hildon-welcome/

In there are the 7 video files

Should I now execute those other commands ?

b666m 2010-02-20 13:57

Re: Multiple boot videos?
 
where the heck does this ~media folder come from!?!? o.O

you need to have following:

1. in /opt/media/ there should only be your videos
2. because this folder is symlinked to /usr/share/hildon-welcome/media/ the videos should show up there too

everything else just shouldn't be there.

rolan900d 2010-02-20 13:58

Re: Multiple boot videos?
 
I know...
It just keeps popping inside a 'wave'media folder...

I think it has to do with that command I did a while back to optify it...

rolan900d 2010-02-20 14:06

Re: Multiple boot videos?
 
Trying again....

Is this command starting with a l (the letter from the word long) or is it I (caps on from the word Impossible)

Or is it that symbol like this |

rolan900d 2010-02-20 14:10

Re: Multiple boot videos?
 
No, it had to be the letters long neck

So indeed ln

Everytime I do this:

ln -s /opt/media media

There is a folder created in usr/share/hildon-welcome/

wich has a wavesymbol in front of the word media

b666m 2010-02-20 14:15

Re: Multiple boot videos?
 
ok...

which case is yours:

1. you only have /usr/share/hildon-welcome/media/

2. you only have /usr/share/hildon-welcome/~media/

3. you have both folders

4. you have /usr/share/hildon-welcome/media/~media/

rolan900d 2010-02-20 14:18

Re: Multiple boot videos?
 
I have option 2

b666m 2010-02-20 14:20

Re: Multiple boot videos?
 
is this shown in MC or when you type "ls /usr/share/hildon-welcome/" ?

rolan900d 2010-02-20 14:22

Re: Multiple boot videos?
 
It is stated in MC

When I use the string it looks normal

b666m 2010-02-20 14:26

Re: Multiple boot videos?
 
eeeeeeeq xD

i thought it is shown via the ls-command.

in MC a @ is shown in front of a file and a ~ in front of a directory if it's symlinked to somewhere else. so everything's OK.

(lol... this one was even hard to google ^^)

so mhm... if you've done everything i said.... symlinking... chmodding... placing the files in the correct place... reboot your device... :)

rolan900d 2010-02-20 14:29

Re: Multiple boot videos?
 
Just checked the 2 file that needed the cp command..

They show up with * in front of it???

1. download the zip-file and place the two files "rvid" and "rvide" (for example) in ~/MyDocs/ranvid/
2. open xterm
3. type "sudo gainroot"
4. type "cp ranvid/rvid /usr/bin/"
5. type "chmod 777 /usr/bin/rvid"
6. type "cp ranvid/rvide /etc/event.d/"
7. type "chmod 777 /etc/event.d/rvide"

So the rvid in usr/bin and the rvide inside /etc/event.d/

b666m 2010-02-20 14:32

Re: Multiple boot videos?
 
Quote:

Originally Posted by rolan900d (Post 538471)
So the rvid in usr/bin and the rvide inside /etc/event.d/

correct and you have to "chmod 777" them :)

rolan900d 2010-02-20 14:35

Re: Multiple boot videos?
 
Quote:

Originally Posted by rolan900d (Post 538471)
Just checked the 2 file that needed the cp command..

They show up with * in front of it???

1. download the zip-file and place the two files "rvid" and "rvide" (for example) in ~/MyDocs/ranvid/
2. open xterm
3. type "sudo gainroot"
4. type "cp ranvid/rvid /usr/bin/"
5. type "chmod 777 /usr/bin/rvid"
6. type "cp ranvid/rvide /etc/event.d/"
7. type "chmod 777 /etc/event.d/rvide"

So the rvid in usr/bin and the rvide inside /etc/event.d/

I started it again from this part
Command 4 doesn't work for me...
I think it needs to be this:

cp home/user/MyDocs/ranvid/rvid /usr/bin

Or first this:

cd home/user/MyDocs

and then the commands

b666m 2010-02-20 14:39

Re: Multiple boot videos?
 
Quote:

Originally Posted by rolan900d (Post 538479)
I started it again from this part
Command 4 doesn't work for me...
I think it needs to be this:

cp home/user/MyDocs/ranvid/rvid /usr/bin

you can use full-path, yes :)

rolan900d 2010-02-20 14:40

Re: Multiple boot videos?
 
Booted again several times and only the Hands show...

This is getting me nuts!

b666m 2010-02-20 14:44

Re: Multiple boot videos?
 
1. open xterm
2. sudo gainroot
3. sh /usr/bin/rvid
4. cat /etc/hildon-welcome.d/default.conf

do all these commands work without any error?
what is line 4's output?

rolan900d 2010-02-20 14:45

Re: Multiple boot videos?
 
What does your default.conf state inside :

etc/hildon-welcome.d/

b666m 2010-02-20 14:50

Re: Multiple boot videos?
 
please try what i mentioned above your post. (:

rolan900d 2010-02-20 14:51

Re: Multiple boot videos?
 
Quote:

Originally Posted by b666m (Post 538490)
1. open xterm
2. sudo gainroot
3. sh /usr/bin/rvid
4. cat /etc/hildon-welcome.d/default.conf

do all these commands work without any error?
what is line 4's output?

1 - No problem
2 - All right
3 - rb 2.lock - rf 2.conf
4 -
[hildon-welcome]
filename=N900_2.avi


All times are GMT. The time now is 21:35.

vBulletin® Version 3.8.8