| Prev |   8     9   10   11     12   20 | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Odds and ends (https://talk.maemo.org/showthread.php?t=74915)

Addison 2011-09-15 17:15

Re: Odds and ends
 
You're not lazy stokes.

I'm actually quite humbled by how much you still do here. :)

jstokes 2011-09-15 17:19

Re: Odds and ends
 
Thanks, Addison. If you're unwilling to try a's (gah, your user name!) ASUI feature, I'll try and directly implement some logic into the program to change XMMS so that we don't need to mess around with this script stuff, tomorrow

Addison 2011-09-15 17:21

Re: Odds and ends
 
Ooooooooh!

I was running xmmslock as user from Xterm, not as root.

With lma's idea, I now get
/home/user/xmmskey: line 6: xmmsctrl next: not found
/home/user/xmmskey: line 6: xmmsctrl previous: not found
/home/user/xmmskey: line 6: xmmsctrl next: not found
/home/user/xmmskey: line 6: xmmsctrl previous: not found
/home/user/xmmskey: line 6: xmmsctrl next: not found

So give me a few to try your previous suggestions stokes.

I've got a good feeling about this now! :D

Addison 2011-09-15 17:40

Re: Odds and ends
 
Squeeeeeeeeeeee! :D


Code:

#!/bin/sh

case $1 in
  in) su - user -c 'xmmsctrl next' ;;
  out)su - user -c 'xmmsctrl previous' ;;
esac


Such happy joy! :D

Addison 2011-09-15 21:37

Re: Odds and ends
 
Okay.

So I'm now at trying to launch both of these together without the need for Xterm

/usr/bin/xmmsstart
Code:

#!/bin/sh

bin/sh -c "LC_MESSAGES=C LANG=C /usr/bin/xmmsctrl launch main 0 equalizer 0 play_list 0 main 1"
sudo xmmslock
killall xmms
killall xmmslock

That's not right though, nothing happens, but the very top line is how it's launched in Personal Launcher.

If I just say
xmms
it won't load the correct graphics and settings for the player.

Also, xmmslock is only half working, screen wakes then shuts off, but no track functions.

I'm running my xmmsstart as root in Personal Launcher.

I'm super confused on all of these permissions.

Any help? :)

auouymous 2011-09-16 00:26

Re: Odds and ends
 
@ addison, Do you not use ASUI? Its new audio lock lets you bind commands to all hardware keys, not just the zoom keys.

Addison 2011-09-16 00:59

Re: Odds and ends
 
ASUI seemed so complicated the few times I've read through and tried to understand your thread.

I'll install it tonight.

But be warned, I tend to ask quite a few questions on most things. :D

auouymous 2011-09-16 02:16

Re: Odds and ends
 
Quote:

Originally Posted by Addison (Post 1089271)
ASUI seemed so complicated the few times I've read through and tried to understand your thread.

Reading a thread with 795 posts would be complicated, so don't read the thread, just watch for new posts so you know when to update. :)

ASUI replaces the SystemUI menu that appears when you press the power button. It also replaces the battery applet, the bluetooth applet, the wifi applet and the load-applet applet. All of its features are explained on the website. Also be sure to run the asui-settings program and explore each section (changes take place immediately).

You will need to run "asui dit; asui dis; asui da" after installing to download and install the test version which has the new audio lock button. And find my latest post in that thread for instructions on adding an xmms profile.

Not complex at all, unless it breaks your system. ;)

Addison 2011-09-17 14:25

Re: Odds and ends
 
Joy!

I found out that as long as modest isn't running and you don't go to Communication --> Email, you can change the duration on how often new emails will scanned for notification. :)

So could some please give me the command line that does the same as this in Configuration Editor?

apps-->modest-->update_interval = 1
and
apps-->modest-->auto_update = true

Like in this format as an example...
gconftool-2 --type int --set /apps/osso/applet/osso-applet-display/turn_off_display 6000000

Cheers everyone!

Addison 2011-09-18 00:58

Re: Odds and ends
 
*facepalm*

Why did I even bother asking? It was right there in front of me.


gconftool-2 --type int --set /apps/modest/update_interval 1
gconftool-2 --type boolean --set /apps/modest/auto_update True


Now any new emails or SMS messages will instantly notify me within the minute.

Awesome. :)


| Prev |   8     9   10   11     12   20 | Next | Last
All times are GMT. The time now is 21:02.

vBulletin® Version 3.8.8