Notices


Reply
Thread Tools
andrewfblack's Avatar
Posts: 1,656 | Thanked: 1,196 times | Joined on Apr 2008 @ Alabama, USA
#1
I would really like a program that can play a sound when I slide keyboard out on n900. I want to do something with a theme I'm working on and this. Anyone intersted in doing this for me?
__________________
Home Page - Preenv Wiki

**All Posts are made as a Community Member and not as a Super Moderator of this site.
 

The Following 8 Users Say Thank You to andrewfblack For This Useful Post:
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#2
Easily done with dbus-scripts. Create a file in directory /etc/dbus-scripts.d/ conaining
Code:
/usr/bin/slide * * org.freedesktop.Hal.Device Condition ButtonPressed cover
And the file /usr/bin/slide will be executed whenever the keyboard is opened or closed.
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 

The Following 8 Users Say Thank You to Matan For This Useful Post:
Posts: 436 | Thanked: 298 times | Joined on Jan 2010 @ England
#3
Originally Posted by Matan View Post
Easily done with dbus-scripts. Create a file in directory /etc/dbus-scripts.d/ conaining
Code:
/usr/bin/slide * * org.freedesktop.Hal.Device Condition ButtonPressed cover
And the file /usr/bin/slide will be executed whenever the keyboard is opened or closed.
wicked ..... any developers able to make an installable app to run this with a option to choose the audio file??????
__________________
SEE THE WIKI.MAEMO ALARMED PAGE AND FIND NEW, COOL COMMANDS AND IF YOU HAVE ANY COOL/AWESOME/USEFUL COMMANDS YOURSELF PLEASE ADD THEM. http://wiki.maemo.org/ALARMED_Commands_List
If you dont have a wiki.maemo account and cant be bothered to create one you can inbox me your commands and I will add them for you.
 

The Following User Says Thank You to fraaaaanka For This Useful Post:
Posts: 255 | Thanked: 109 times | Joined on Dec 2009
#4
is there a way to have 2 different sounds?
one for open and one for close?
 
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#5
I have done a very similar one (the sound was played on screen lock/unlock) per request some time ago, so I can just change it a bit

[edit] Monday is however the earliest I can have something, crazy time for me
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me

Last edited by hopbeat; 2010-03-17 at 12:04.
 

The Following 12 Users Say Thank You to hopbeat For This Useful Post:
Posts: 436 | Thanked: 298 times | Joined on Jan 2010 @ England
#6
Originally Posted by hopbeat View Post
I have done a very similar one (the sound was played on screen lock/unlock) per request some time ago, so I can just change it a bit
fantastic .... see thats what i love about this community!!!

cheers hopbeat will keep an eye out for it!
__________________
SEE THE WIKI.MAEMO ALARMED PAGE AND FIND NEW, COOL COMMANDS AND IF YOU HAVE ANY COOL/AWESOME/USEFUL COMMANDS YOURSELF PLEASE ADD THEM. http://wiki.maemo.org/ALARMED_Commands_List
If you dont have a wiki.maemo account and cant be bothered to create one you can inbox me your commands and I will add them for you.
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#7
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#8
Originally Posted by andrewfblack View Post
I would really like a program that can play a sound when I slide keyboard out on n900. I want to do something with a theme I'm working on and this. Anyone intersted in doing this for me?
id like the short vibe when u lock/unlock like N97 does....
 
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#9
@f2thak, this can be arranged
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
 

The Following 6 Users Say Thank You to hopbeat For This Useful Post:
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#10
@andrewfblack, do you have sounds ready?
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:13.