![]() |
Re: Odds and ends
In Configuration Editor that I installed, I changed:
apps-->modest-->update_interval from 5 to 1 (thinking this meant in minutes) The value is changed and saved but it doesn't seem to take since it still updates every 5 minutes. Perhaps there's a command line for this instead? |
Re: Odds and ends
2 Attachment(s)
Thanks for replying. :)
Quote:
Anyway, I've sorted that out. Thanks for providing paths for both the N800 and N810. Quote:
Quote:
@Addison If this appeals to you, you can try the binary attached. You will need to gunzip it, and then run it as root. What it does is, when the tablet is locked and the screen is dimming/off, pressing the zoom in/zoom out key will run a script located at /home/user/xmmskey and then immediately blank the screen. The xmmskey script will be run as the root user, so bear that in mind. In the xmmskey script, you can have something like the following: Code:
#!/bin/sh |
Re: Odds and ends
Is this correct so far?
http://img691.imageshack.us/img691/6...1091415393.png In Xterm I typed: cd /media/mmc1/ gzip -d file.gz I then moved it to home/user with what I think are the correct permissions. Quote:
http://img813.imageshack.us/img813/6...1091415463.png |
Re: Odds and ends
Yeah, sorry, I'm not a programmer and it shows with the way I thought this program out
The xmmskey program can't be in /home/user because that's where the program will look for the xmmskey script file - move the binary to another place and create the xmmskey script in /home/user - the program will call the script If you get it working and think it works OK, let me know and I'll try my hardest tomorrow to package it up into a deb so that you don't need to keep a X Terminal open all the time with an instance of this program to use it |
Re: Odds and ends
So I have to write my own script with this?
Well, I'm completely pooched then. :) I was hoping that the F8 and F7 key could still be sent to Xmms while the screen was locked. I wouldn't have the first idea on how to write such a script. So I rename /home/user/xmmskey to something like /usr/bin/screenlock? Couldn't I just launch screenlock & xmms so there wouldn't be a nagging Xterm on the screen? Many thanks on doing this for us by the way. :) |
Re: Odds and ends
Quote:
Install xmmsctrl from the link I gave before. Create a new file: /home/user/xmmskey. Paste in the template I put up before, the /bin/sh thing wrapped in CODE tags. Now I put in two pairs of elipses (sorry for spelling, typing on a phone), replace the first pair with "xmmsctrl next" (w/o quotes) and replace the second with "xmmsctrl previous". This will run those commands when pressing zoom in and zoom out, respectively. Regarding renaming the program: Sure, if you wish. Yes, you could do that (do you launch XMMS through a script already?), just make sure to run "killall xmmskey" (or screenlock, if you renamed it) No problem. :) I'll be able to better help when I'm behind a computer |
Re: Odds and ends
Quote:
Code:
case $1 in And yes, you should be able to put screenlock in the background by appending &. Or better yet, add it to the local start file which might be /etc/rc.local, not sure though. Try creating that file, put "/usr/bin/screenlock &" in it, reboot and see if the program is running. BTW, where can I find xmms to install it? |
Re: Odds and ends
@auouymous
http://talk.maemo.org/showpost.php?p...2&postcount=83 Xmms is by far my favorite player. http://img32.imageshack.us/img32/953...1062509464.png Also, don't forget, if you want a very unique skin for this, most of the Winamp skins, which are .wsz files, will work as well. :) You can also open the .wsz file with something like unrar or winzip and edit the graphics or even replace them as well. |
Re: Odds and ends
Okay. I think this is all set up right from what I can tell.
http://img35.imageshack.us/img35/104...1091418143.png Inside /home/user/xmmskey I have... Code:
#!/bin/sh xmmslock No errors from this. I then launch Xmms and can switch tracks with the zoom keys. When I lock the tablet though the zoom keys don't register. Still no error in Xterm. What am I missing on this? EDIT: xmms next does work by command line. :) Cheers. :) |
Re: Odds and ends
Quote:
Quote:
|
All times are GMT. The time now is 17:20. |
vBulletin® Version 3.8.8