Archive for November, 2007

bluemote.cfg que eu utilizo…

November 15th, 2007 | Category: Uncategorized

Este é o arquivo ~/.bluemote/bluemote.cfg que funciona aqui no meu notebook…

RetrySecs 30
%Device /dev/rfcomm0
CharSet 8859-1
Daemon No
SetVol ~/.bluemote/scripts/set-vol-main
GetVol ~/.bluemote/scripts/get-vol-main
Log Yes

% Some of the external commands used in the sections below are scripts that
% might not be available in your computer.

[Menu]
Mute/Unmute
	- ~/.bluemote/scripts/media-mute
Volume
	:volume()
Audio Info
	+ ~/.bluemote/scripts/media-info
	>Info "Playing..." $1
Audio Menu
	<Choice "Media Menu" $Choice "Play/Pause" "Stop" "Next" "Prev" "Amarok" "XMMS" "Quit"
	- ~/.bluemote/scripts/media-menu $Choice
AudioCD Rip
	- ~/.bluemote/scripts/audiocdrip
Play Video
	+ ~/.bluemote/scripts/listvideo
	>Info "Videos" $1
	<Int "Choose" "Video Number" 0 100 1
	- ~/.bluemote/scripts/viewvideo $Int
Lock Screen
	- gnome-screensaver-command -a
Exec
	<Secret "Execute" "Password" 4
	-! test $Secret != 1234
	<Text "Execute" "Command" 50 $Text
	+$Text
	>Info "Result" $1
Screenshot
	<Text "Screenshot" "File" 50 .jpg
	+ ~/.bluemote/scripts/screenshot $Text
	<YesNo "Do you wanna see the file?"
	- ~/.bluemote/scripts/screenshotsee $YesNo $1
Voice Recorder
	<OnOff "Recording" 1
	- ~/.bluemote/scripts/voicerecorder $OnOff
	+ ~/.bluemote/scripts/voicecheck recording $OnOff
	>Info "Recording" $1
	<YesNo "Do you wanna listen the file?"
	- ~/.bluemote/scripts/voicecheck listen $YesNo
Mouse
	:mouse()
Keyboard
	:keyboard()
1minDisconn
	:tempdisconn()
About
	:about()
[End]

[Event]
Connect
	> Status Bluemote
MoveOut
	- ~/.bluemote/scripts/media-playpause
	- ~/.bluemote/scripts/media-mute
	- gnome-screensaver-command -a
MoveIn
	- ~/.bluemote/scripts/media-mute
	- ~/.bluemote/scripts/media-playpause
IncomingCall
	- ~/.bluemote/scripts/media-playpause
	- ~/.bluemote/scripts/media-mute
OutgoingCall
	- ~/.bluemote/scripts/media-playpause
	- ~/.bluemote/scripts/media-mute
CallEnd
	- ~/.bluemote/scripts/media-mute
	- ~/.bluemote/scripts/media-playpause
CallAbort
	- ~/.bluemote/scripts/media-mute
	- ~/.bluemote/scripts/media-playpause
Alarm
	- zenity --title="Bluemote" --info --text=" Alarm activated in your cell phone" &
	- gnome-osd-client " Alarm activated in your cell phone" &
[End]

[KeyMap]
1	Home
2	Up
3	Prior
4	Left
5	space
6	Right
7	End
8	Down
9	Next
^	Up
v	Down
<	Left
>	Right
:C	Return
:O	Escape
d	XF86AudioLowerVolume
u	XF86AudioRaiseVolume
[End]
No comments