[Bug 72073] Re: Setting up lirc... crashed when trying to test the buttons.

encompass encompass at gmail.com
Thu Nov 16 18:56:26 UTC 2006


The crash report...
LIRCRC file pasted too..
#THIS LIST OF LIRC BINDINGS HAVE BEEN GATHERED BY:
## JASON BROWER ENCOMPASS at GMAIL.COM
## EMAIL ME IF YOU WOULD LIKE TO ADD ANY OTHER BINDINGS TO THIS LIST
##____________________________________________________________________________
## BEGIN 	= SHOWS THE BEGINING OF THE SCRIPT
## BUTTON	= THE BUTTON RESPONS THAT IS RETURNED WHEN YOU RUN IRW AND PRESS THE BUTTON
## PROG		= THE NAME OF THE PROGRAM THAT IS RUN THE COMMAND (BINDING)
## CONFIG	= THE COMMAND THAT IS SENT TO THE PROGRAM TO USE.
## END 		= SHOWS THE END OF THE SCRIPT
## ---------------------------------------------------------------------------
##THE FOLLOWING IS A LIST OF PROGRAMS AND ALL THE KNOW BINDINGS ARE LISTS BELOW.
##IF I AM MISSING A BINDING JUST EMAIL ME AND I WILL ADD IT TO THE MASTER LIST
##____________________________________________________________________________
##| PROGRAM   |	SHORT DESCRIPTION
##|-----------|---------------------------------------------------------------
##| IREXEC    | PROGRAM TO LISTEN TO THE REMOTE AND EXECTUE WHAT EVER YOU LIKE FOR EACH ASSIGNED BUTTON
##| XINE      | A POPULAR MEDIA PLAYER WITH EXCELLENT SUPPORT FOR LIRC
##| TOTEM     | A SIMPLE AND EASY TO YOU MEDIA PLAY FOR GNOME
##| XMMS      |	A POWERFUL AND USEFUL AUDIO PLAYER
##|
##----------------------------------------------------------------------------

##################
## <--IREXEC--> ##
##################

##	Power down the computer
begin
	button = POWER
	prog = 	irexec
	config = sudo shutdown -h now
end

##	Start xmms
begin
	button = MUSIC_NOTE
	prog =	irexec
	config = xmms
end

#####################
##  <--MPLAYER-->  ##
#####################

begin
     button = VOLUME_UP
     prog = mplayer
     config = volume 1
     repeat = 1
end

begin
    button = VOLUME_DOWN
    prog = mplayer
    config = volume -1
    repeat = 1
end

begin
    button = YELLOW
    prog = mplayer
    config = pause
end

begin
    button = RED
    prog = mplayer
    config = quit 0
end

begin
    button = RIGHT
    prog = mplayer
    config = pt_step 1
    repeat = 0
end

begin
    button = LEFT
    prog = mplayer
    config = pt_step -1
    repeat = 0
end

begin
   button = MUTE
   prog = mplayer
   config = mute
end

################
## <--XINE--> ##
################

# start playback
begin

	button = GREEN
	prog   = xine
	repeat = 0
	config = Play
end

# playback pause toggle
begin

	button = YELLOW
	prog   = xine
	repeat = 0
	config = Pause
end

# stop playback
begin

	button = RED
	prog   = xine
	repeat = 0
	config = Stop
end

# take a snapshot
begin

	button = SCREEN_PLUS
	prog   = xine
	repeat = 0
	config = Snapshot
end

# eject the current medium
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = Eject
end

# select and play next MRL in the playlist
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = NextMrl
end

# select and play previous MRL in the playlist
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = PriorMrl
end

# loop mode toggle
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ToggleLoopMode
end

# stop playback after played stream
begin
	button = xxxxx
	prog   = xine
	repeat = 0
	config = PlaylistStop
end

# scan playlist to grab stream infos
begin
	button = xxxxx
	prog   = xine
	repeat = 0
	config = ScanPlaylistInfo
end

# add a mediamark from current playback
begin
	button = xxxxx
	prog   = xine
	repeat = 0
	config = AddMediamark
end

# edit selected mediamark
begin
	button = xxxxx
	prog   = xine
	repeat = 0
	config = MediamarkEditor
end

# set position to -60 seconds in current stream
begin
	button = CHANNEL_DOWN
	prog   = xine
	repeat = 0
	config = SeekRelative-60
end

# set position to +60 seconds in current stream
begin
	button = CHANNEL_UP
	prog   = xine
	repeat = 0
	config = SeekRelative+60
end

# set position to -30 seconds in current stream
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SeekRelative-30
end

# set position to +30 seconds in current stream
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SeekRelative+30
end

# set position to -15 seconds in current stream
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SeekRelative-15
end

# set position to +15 seconds in current stream
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SeekRelative+15
end

# set position to -7 seconds in current stream
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SeekRelative-7
end

# set position to +7 seconds in current stream
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SeekRelative+7
end

# set position to beginning of current stream
begin

	button = 0
	prog   = xine
	repeat = 0
	config = SetPosition0%
end

# set position to 10% of current stream
begin

	button = 1
	prog   = xine
	repeat = 0
	config = SetPosition10%
end

# set position to 20% of current stream
begin

	button = 2
	prog   = xine
	repeat = 0
	config = SetPosition20%
end

# set position to 30% of current stream
begin

	button = 3
	prog   = xine
	repeat = 0
	config = SetPosition30%
end

# set position to 40% of current stream
begin

	button = 4
	prog   = xine
	repeat = 0
	config = SetPosition40%
end

# set position to 50% of current stream
begin

	button = 5
	prog   = xine
	repeat = 0
	config = SetPosition50%
end

# set position to 60% of current stream
begin

	button = 6
	prog   = xine
	repeat = 0
	config = SetPosition60%
end

# set position to 70% of current stream
begin

	button = 7
	prog   = xine
	repeat = 0
	config = SetPosition70%
end

# set position to 80% of current stream
begin

	button = 8
	prog   = xine
	repeat = 0
	config = SetPosition80%
end

# set position to 90% of current stream
begin

	button = 9
	prog   = xine
	repeat = 0
	config = SetPosition90%
end

# increment playback speed
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SpeedFaster
end

# decrement playback speed
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SpeedSlower
end

# reset playback speed
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SpeedReset
end

# increment audio volume
begin

	button = VOLUME_UP
	prog   = xine
	repeat = 0
	config = Volume+
end

# decrement audio volume
begin

	button = VOLUME_DOWN
	prog   = xine
	repeat = 0
	config = Volume-
end

# increment amplification level
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = Amp+
end

# decrement amplification level
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = Amp-
end

# reset amplification to default value
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ResetAmp
end

# audio muting toggle
begin
	button = MUTE
	prog   = xine
	repeat = 0
	config = Mute
end

# select next audio channel
begin
	button = xxxxx
	prog   = xine
	repeat = 0
	config = AudioChannelNext
end

# select previous audio channel
begin
	button = xxxxx
	prog   = xine
	repeat = 0
	config = AudioChannelPrior
end

# select next sub picture (subtitle) channel
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SpuNext
end

# select previous sub picture (subtitle) channel
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SpuPrior
end

# interlaced mode toggle
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ToggleInterleave
end

# cycle aspect ratio values
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ToggleAspectRatio
end

# reduce the output window size by factor 1.2
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = WindowReduce
end

# enlarge the output window size by factor 1.2
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = WindowEnlarge
end

# set video output window to 50%
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = Window50
end

# set video output window to 100%
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = Window100
end

# set video output window to 200%
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = Window200
end

# zoom in
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ZoomIn
end

# zoom out
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ZoomOut
end

# zoom in horizontally
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ZoomInX
end

# zoom out horizontally
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ZoomOutX
end

# zoom in vertically
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ZoomInY
end

# zoom out vertically
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ZoomOutY
end

# reset zooming
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ZoomReset
end

# resize output window to stream size
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = Zoom1:1
end

# fullscreen toggle
begin

	button = EXTRA
	prog   = xine
	repeat = 0
	config = ToggleFullscreen
end

# Xinerama fullscreen toggle
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = ToggleXineramaFullscr
end

# jump to media Menu
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = Menu
end

# jump to Title Menu
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = TitleMenu
end

# jump to Root Menu
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = RootMenu
end

# jump to Subpicture Menu
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = SubpictureMenu
end

# jump to Audio Menu
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = AudioMenu
end

# jump to Angle Menu
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = AngleMenu
end

# jump to Part Menu
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = PartMenu
end

# menu navigate up
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = EventUp
end

# menu navigate down
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = EventDown
end

# menu navigate left
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = EventLeft
end

# menu navigate right
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = EventRight
end

# menu select
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = EventSelect
end

# jump to next chapter
begin

	button = xxxxx
	prog   = xine
	repeat = 0
	config = EventNext
end

# jump to previous chapter
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = EventPrior
end

# select next angle
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = EventAngleNext
end

# select previous angle
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = EventAnglePrior
end

# visibility toggle of help window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = HelpShow
end

# visibility toggle of video post effect window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = VPProcessShow
end

# toggle post effect usage
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = VPProcessEnable
end

# visibility toggle of output window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = ToggleWindowVisibility
end

# bordered window toggle of output window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = ToggleWindowBorder
end

# visibility toggle of UI windows
begin

        button = TVAV
        prog   = xine
        repeat = 0
        config = ToggleVisibility
end

# visibility toggle of control window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = ControlShow
end

# visibility toggle of mrl browser window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = MrlBrowser
end

# visibility toggle of playlist editor window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = PlaylistEditor
end

# visibility toggle of the setup window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetupShow
end

# visibility toggle of the event sender window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = EventSenderShow
end

# visibility toggle of analog TV window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = TVAnalogShow
end

# visibility toggle of log viewer
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = ViewlogShow
end

# visibility toggle of stream info window
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = StreamInfosShow
end

# display stream information using OSD
begin

        button = TVTXT
        prog   = xine
        repeat = 0
        config = OSDStreamInfos
end

# enter key binding editor
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = KeyBindingEditor
end

# open file selector
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = FileSelector
end

# select a subtitle file
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SubSelector
end

# download a skin from the skin server
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SkinDownload
end

# display MRL/Ident toggle
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = MrlIdentToggle
end

# grab pointer toggle
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = GrabPointer
end

# enter the number 0
begin

        button = 0
        prog   = xine
        repeat = 0
        config = Number0
end

# enter the number 1
begin

        button = 1
        prog   = xine
        repeat = 0
        config = Number1
end

# enter the number 2
begin

        button = 2
        prog   = xine
        repeat = 0
        config = Number2
end

# enter the number 3
begin

        button = 3
        prog   = xine
        repeat = 0
        config = Number3
end

# enter the number 4
begin

        button = 4
        prog   = xine
        repeat = 0
        config = Number4
end

# enter the number 5
begin

        button = 5
        prog   = xine
        repeat = 0
        config = Number5
end

# enter the number 6
begin

        button = 6
        prog   = xine
        repeat = 0
        config = Number6
end

# enter the number 7
begin

        button = 7
        prog   = xine
        repeat = 0
        config = Number7
end

# enter the number 8
begin

        button = 8
        prog   = xine
        repeat = 0
        config = Number8
end

# enter the number 9
begin

        button = 9
        prog   = xine
        repeat = 0
        config = Number9
end

# add 10 to the next entered number
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = Number10add
end

# set position in current stream to numeric percentage
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SetPosition%
end

# set position forward by numeric argument in current stream
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SeekRelative+
end

# set position back by numeric argument in current stream
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SeekRelative-
end

# change audio video syncing (delay video)
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = AudioVideoDecay+
end

# change audio video syncing (delay audio)
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = AudioVideoDecay-
end

# reset audio video syncing offset
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = AudioVideoDecayReset
end

# change subtitle syncing (delay video)
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SpuVideoDecay+
end

# change subtitle syncing (delay subtitles)
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SpuVideoDecay-
end

# reset subtitle syncing offset
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SpuVideoDecayReset
end

# toggle TV modes (on the DXR3)
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = ToggleTVmode
end

# switch Monitor to DPMS standby mode
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = DPMSStandby
end

# increase hue by 10
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = HueControl+
end

# decrease hue by 10
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = HueControl-
end

# increase saturation by 10
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SaturationControl+
end

# decrease saturation by 10
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = SaturationControl-
end

# increase brightness by 10
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = BrightnessControl+
end

# decrease brightness by 10
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = BrightnessControl-
end

# increase contrast by 10
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = ContrastControl+
end

# decrease contrast by 10
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = ContrastControl-
end

# quit the program
begin

        button = xxxxx
        prog   = xine
        repeat = 0
        config = Quit
end

##
# End of xine key bindings.
##
#################
## <--TOTEM--> ##
#################
begin
	prog = totem
	button = GREEN
	repeat = 1
	config = play
end

begin
	prog = totem
	button = YELLOW
	repeat = 0
	config = pause
end

begin
	prog = totem
	button = SHIFT_UP
	repeat = 1
	config = seek_forward
end

begin
	prog = totem
	button = SHIFT_DOWN
	repeat = 1
	config = seek_backward
end

begin
	prog = totem
	button = SQUARE_PLUS
	repeat = 1
	config = fullscreen
end

begin
	prog = totem
	button = VOLUME_UP
	repeat = 1
	config = volume_up
end


begin
	prog = totem
	button = VOLUME_DOWN
	repeat = 1
	config = volume_down
end


begin
	prog = totem
	button = BLUE
	repeat = 1
	config = next
end

begin
	prog = totem
	button = RED
	repeat = 1
	config = previous
end

begin
	prog = totem
	button = POWER
	repeat = 1
	config = quit
end
#####################
###begin RhythmboxLIRC
######################
begin
	prog = Rhythmbox
	button = GREEN
	repeat = 1
	config = play
end

begin
	prog = Rhythmbox
	button = YELLOW
	repeat = 1
	config = pause
end

begin
	prog = Rhythmbox
	button = RED
	repeat = 0
	config = stop
end

begin
	prog = Rhythmbox
	button = VOLUME_UP
	repeat = 1
	config = volume_up
end


begin
	prog = Rhythmbox
	button = VOLUME_DOWN
	repeat = 1
	config = volume_down
end
begin
	prog = Rhythmbox
	button = BLUE
	repeat = 1
	config = next
end

begin
	prog = RhythmBox
	button = RED
	repeat = 1
	config = previous


** Attachment added: "Crash Report..."
   http://librarian.launchpad.net/5086747/_usr_bin_rhythmbox.1000.crash

-- 
Setting up lirc... crashed when trying to test the buttons.
https://launchpad.net/bugs/72073




More information about the desktop-bugs mailing list