Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Witzman

Pages: [1]
Users / Setting up init script
« on: January 09, 2009, 10:20:31 pm »
I apologize for the IRC history, but it seems, that all informations are included here.

Please help me, if you can....
<Witzman> hi
<Witzman> can anyone help me with an init script which is not working?
<Witzman> i want to execute the flickrfetchr.rb script manually during boot, as it is not working for me putting the command in the orbiter plugin. so i created a shellscript in /etc/init.d
<Witzman> two problems:
<Witzman> 1. syntax of the script. what i have to put in the /etc/init.d/flickr file? currently i have:
<Witzman> #!/bin/bash
<Witzman> flickrfetchr.rb
<Witzman> and thats it
<Witzman> and 2. what i have to do to integrate the script in the boot process?
<Witzman> when running rcconf it says that the script is enabled
<Witzman> so it seems, that it calls the script, but something is wrong in the script
<Witzman> hm,
<Witzman> if i run "sudo /etc/init.d/flickr" the script starts up
is it executable?
<esperegu> hmm. I gues so if you run it manually
<Witzman> it seems so. because it starts, when starting it manually
<esperegu> don't you have to set a start link in the dirs of the different user levels?
<Witzman> maybe
<Witzman> but how? :)
<esperegu> like in /etc/rcX.d/
<esperegu> it's just a simlink
<Witzman> oehm... )
<esperegu> an S starts it a K stops it
<Witzman> i know, waht a symlink is, but not sure how to create one
<esperegu> and the number defines the order
<esperegu> ln -s
<Witzman> i want to have it executed before LinuxMCE starts up
<Witzman> so runlevel 3 or 4 is the right one, isnt it?
<esperegu> ln -s /target /link
<esperegu> not sure which level is default
<Witzman> wait
<Witzman> just saw, that there is a S20flickr file in etc/rc3.d
<Witzman> i already created it last week
<Witzman> but script doesnt start during boot
<Witzman> i checked with ps -auwwx | grep "flickrfetchr.rb"
<Witzman> ups
<Witzman> i checked with ps -auwwx | grep "flickr"
<esperegu> and it has right rights and user etc?
<Witzman> 1.  /etc/init.d/flickr  owner=root  group=root  permissions 755
<Witzman> 1.  /etc/rc3.d/S20flickr  owner=root  group=root  permissions 777
<esperegu> does'nt those script get started with start argument?
<Witzman> no
<Witzman> if i start it manually i dont need arguments and it fetches pics
<Witzman> its controlled via the config file
<esperegu> yeah. but I don't think they called without arguments.
<esperegu> maybe that's u problem
<esperegu> I think it get's the argument start
<Witzman> i can start with --verbose as argument and then i see all the dialoges, its running correct

sudo /etc/init.d/flickr start  starts the service  it fetches the files.

but why the autorun dont works???

Users / Re: Can I use my Flikr account for the screensaver?
« on: December 31, 2008, 01:18:42 pm »
Cool - Thanks.

I will wait.

Users / Re: Can I use my Flikr account for the screensaver?
« on: December 30, 2008, 10:27:03 pm »

i also managed to run the script via sudo and it is fetching pictures.

but if i cleanup the flickr folder manually, putting the flickrfetchr.rb script (/usr/local/bin/flickrfetchr.rb) into the field in the admin website and reboot the system, LMCE starts up but dont fetch any pictures. Why the scrip wont get started???

Also i am confused with the config file.

How can i define following settings.

Scenario 1
Get a bunch of pictures (500+) for tag 'aviation' in a 1024 resolution
(like these:

Scenario 2
Combine diffrent tags.
Example: 500+ avaition pics, 500+ beach pics, 500+ flowers pics

Scenario 3
Totally random pics updated continuesly.
about 50 New pictures per hour - never delete old ones.

I dont want to use them parallel or on diffrent MD's - i just want these examples to understand the config.

Can you please help me with the config here?

Users / Re: burn dvd
« on: December 29, 2008, 12:05:44 pm »
I dont think this is possible without hacking deep in the system...

The only way i suggest this would be possible are defined command/scripts you have to map on the buttons.

I also have an similar question raised here:

Users / Re: Rename Buttons on Orbiter (UI2)
« on: December 29, 2008, 10:48:22 am »
Wow - that was fast.

Thank you.. Will have a look on this later today.

Another thing:
I want to send a "shell command" from the Orbiter.

My opinion is the following process:
I create some kind of scenario, but instead of sending the playlist  (like i did for internet radio), i have to look for another device / plugin which allows me to send a command to a shell.
Is this the right thinking?
Is it possible and some device / Plugin exists?

Or is this also HAdesigner stuff?


Users / Add Commands / Rename Buttons on Orbiter (UI2)
« on: December 29, 2008, 10:22:33 am »

Is it possible to rename the standard buttons on the Orbiter.

I generated some scenarios (Internet Radios) and i am not using the Lightning Scenarios.

For now i added all my "Play Radio" buttons in this group.
Is it possible to rename the "Lights" or "Climate" button and let the Orbiter show up the text "Radio"

Thanks in advance,

Users / Re: burn dvd
« on: December 29, 2008, 09:32:36 am »
Use K3B in KDE

K-Menu / Multimedia / K3B

Or install any Burning application you like....


Users / Need original script
« on: December 28, 2008, 02:00:50 pm »

I tried to modify the /urs/pluto/bin/ script with some editors and did something wrong. I even destroyed the backup file, so it is not receiving any pictures anymore.

Can please anyone paste the script or attach the file (better) to this post?

I also need the correct permission settings and owner information to restore it, as it is in the original installation.

Thanks in Advance,

Users / Re: Merry Christmas All
« on: December 25, 2008, 11:10:11 pm »
All the best to you and your families...


Users / Re: Change resolution and UI
« on: December 25, 2008, 09:01:31 am »

I think you can do it from the Admin website:
Wizzard / Devices / Orbiters / Advanced

There is a dropdown for the Resolution settings.

There is also a Dropdown for Orbiter interface selection - but this one is not working for me.

So, i can only help with the Resolution...


Users / Re: Problems with MCE remote
« on: December 14, 2008, 10:04:24 am »

Thanks for all these informations.
It would be very nice, if you cound post the file here. Then i dont have to watch the whole forum.

Maybe another short question....
What about general updates? I installed my system nearly one year ago, but i was never asked to install any updates. Didnt i activate the update function, isnt there an update function or is all automatically (but i dont think so).

Users / Re: Problems with MCE remote
« on: December 14, 2008, 01:25:41 am »
Yeah man...

Seems, you are right. Thanks a lot...

Tried in a shell and the numbers (and cursor actions) showed up.

As my fatter owns a windowsmce, i will try on his device, and if its working there more or less without any  problems, i try to grab his mce remote and leave my sucking-hid-remote there.

If i cant manage this... there is no kind of dirty workaround to get my hid-remote working?


Users / Re: Problems with MCE remote
« on: December 14, 2008, 12:11:42 am »

even after selecting mce_usb2 (or even mce_usb) there is no diffrence.

Arrow keys are working the other ones doesn't do anything.

When I stop linuxmce via the laaunch manager and restart the services and the orbiter i receive following message:
"Waiting for other devices starting up / mce_usb2" (or mce_usb, depending on, what I selected in admin section)
and then:
"There are some devices on this MD that did not correctly start....."

Any more ideas?

Users / Problems with MCE remote
« on: December 13, 2008, 08:07:08 pm »

i cant get my new MCE remote working correctly.

LinuxMCE is 7.10

Problem description:
Only a few buttons work.
Up, Down, Left & Right are working.
These are the only recognized Buttons.
For example, the OK, Back & Home Button do not work.
This makes navigation impossible.

Can anyone please help me, how i have to configure the device?
Found some hints about updating lirc or configuring device templates in the forum & wiki, but idont know, where i should start for best results.
I am not completely new to LinuxMCE or ubuntu, but i am no guru - so please make your explainations a bit more detailed :)

This is the device:


I know, its not an original MCE remote, but in the included instruction WinMCE is refered and no driver is required there.

This are my settings in the admin section:

Big thanks & best regards,

Users / How to clean/rebuild the Media Database?
« on: December 05, 2008, 01:35:25 pm »

i recently added a bunch of short avi files to my library via the "resyncronise" button on the admin website -Media Files Sync.

After deleting them from the filesystem, the entrys are still visible in the UI. I even tried to resyncronize after the removal but they did not disappear. They are still in the UI.

Please, can anyone tell me, how to clean these entries from the DB or how to rebuild the complete thing.


Pages: [1]