Toon posts:

[lirc]xmms en xawtv vechten om afstandsbediening.

Pagina: 1
Acties:

Verwijderd

Topicstarter
ik gebruik bij xawtv m'n (lirc)afstandsbediening, dat werkt ok, als ik geen .lircrc file heb. de instellingen voor xawtv worden opgeslagen in .xawtvrc
ik gebruik bij xmms ook m'n afstandsbediening, dat werkt ook goed als ik een .lircrc file heb, daar worden ook de instellingen opgeslagen.

oftewel:
als .lircrc bestaat werkt enkel xmms goed.
als .lircrc niet bestaat werkt enkel xawtv goed.

ik denk dat als ik iets wijzig in m'n .lircrc file dat ze wel goed samen werken....maar wat?

m'n .lircrc file:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
begin
  prog = irexec
  button = tv
  config = xmms&
  mode = xmms
  flags = once
end

begin
  prog = irexec
  button = video
  config = xawtv&
  flags = once
end

begin xmms
  begin
    prog = xmms
    button = play
    config = PLAY
  end
  begin
    prog = xmms
    button = clear
    config = PLAYLIST_CLEAR
  end
  begin
    prog = xmms
    button = load
    config = PLAYLIST_ADD .xmms/xmms.m3u
   end
  begin
    prog = xmms
    button = freeze
    config = PAUSE
  end
  begin
    prog = xmms
    button = stop
    config = STOP
  end
  begin
    prog = xmms
    button = power
    config = QUIT
    flags = mode
  end
  begin
    prog = xmms
    button = ch_up
    config = NEXT
  end
  begin
    prog = xmms
    button = ch_down
    config = PREV
  end
  begin
    prog = xmms
    button = fine_up(plus)
    config = FWD 5
    repeat = 2
  end
  begin
    prog = xmms
    button = fine_down(minus)
    config = BWD 5
    repeat = 2
  end
  begin
    prog = xmms
    button = vol_up
    config = VOL_UP 5
    repeat = 2
  end
  begin
    prog = xmms
    button = vol_down
    config = VOL_DOWN 5
    repeat = 2
  end
  begin
    prog = xmms
    button = 1
    config = ONE
  end
  begin
    prog = xmms
    button = 2
    config = TWO
  end
  begin
    prog = xmms
    button = 3
    config = THREE
  end
  begin
    prog = xmms
    button = 4
    config = FOUR
  end
  begin
    prog = xmms
    button = 5
    config = FIVE
  end
  begin
    prog = xmms
    button = 6
    config = SIX
  end
  begin
    prog = xmms
    button = 7
    config = SEVEN
  end
  begin
    prog = xmms
    button = 8
    config = EIGHT
  end
  begin
    prog = xmms
    button = 9
    config = NINE
  end
  begin
    prog = xmms
    button = 0
    config = ZERO
  end
  begin
    prog = xmms
    button = enter
    config = SETPOS
  end
end xmms

# The following is an alternative mapping for the number-pad to show
# how to use the SELECT command.

begin xmms
  begin
    prog = xmms
    button = 1
    config = SELECT 1
  end
  begin
    prog = xmms
    button = 2
    config = SELECT 2ABC
  end
  begin
    prog = xmms
    button = 3
    config = SELECT 3DEF
  end
  begin
    prog = xmms
    button = 4
    config = SELECT 4GHI
  end
  begin
    prog = xmms
    button = 5
    config = SELECT 5JKL
  end
  begin
    prog = xmms
    button = 6
    config = SELECT 6MNO
  end
  begin
    prog = xmms
    button = 7
    config = SELECT 7PQRS
  end
  begin
    prog = xmms
    button = 8
    config = SELECT 8TUV
  end
  begin
    prog = xmms
    button = 9
    config = SELECT 9WXYZ
  end
end xmms

Verwijderd

Topicstarter
Oplossing:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
begin
  prog = irexec
  button = play
  config = xmms&
  mode = xmms
end

begin
  prog = irexec
  button = video
  config = xawtv&
  mode = xawtv
end

begin xmms
  begin
    prog = xmms
    button = play
    config = PLAY
  end
  begin
    prog = xmms
    button = freeze
    config = PAUSE
  end
  begin
    prog = xmms
    button = stop
    config = STOP
  end
  begin
    prog = xmms
    button = power
    config = QUIT
    flags = mode
  end
  begin
    prog = xmms
    button = ch_up
    config = NEXT
  end
  begin
    prog = xmms
    button = ch_down
    config = PREV
  end
  begin
    prog = xmms
    button = fine_up(plus)
    config = FWD 5
    repeat = 2
  end
  begin
    prog = xmms
    button = fine_down(minus)
    config = BWD 5
    repeat = 2
  end
  begin
    prog = xmms
    button = vol_up
    config = VOL_UP 5
    repeat = 2
  end
  begin
    prog = xmms
    button = vol_down
    config = VOL_DOWN 5
    repeat = 2
  end
  begin
    prog = xmms
    button = loop
    config = SETPOS
  end
end xmms

# The following is an alternative mapping for the number-pad to show
# how to use the SELECT command.

begin xmms
  begin
    prog = xmms
    button = 1
    config = SELECT 1
  end
  begin
    prog = xmms
    button = 2
    config = SELECT 2ABC
  end
  begin
    prog = xmms
    button = 3
    config = SELECT 3DEF
  end
  begin
    prog = xmms
    button = 4
    config = SELECT 4GHI
  end
  begin
    prog = xmms
    button = 5
    config = SELECT 5JKL
  end
  begin
    prog = xmms
    button = 6
    config = SELECT 6MNO
  end
  begin
    prog = xmms
    button = 7
    config = SELECT 7PQRS
  end
  begin
    prog = xmms
    button = 8
    config = SELECT 8TUV
  end
  begin
    prog = xmms
    button = 9
    config = SELECT 9WXYZ
  end
  begin
    prog = xmms
    button = 0
    config = SELECT 0
  end  
end xmms

begin xawtv
  begin
    prog   = xawtv
    button = CH_UP
    config = setstation next
  end
  begin
    prog   = xawtv
    button = CH_DOWN
    config = setstation prev
  end
  begin
    prog   = xawtv
    button = VOL_UP
    config = volume inc
  end
  begin
    prog   = xawtv
    button = VOL_DOWN
    config = volume dec
  end
  begin
    prog   = xawtv
    button = MUTE
    config = volume mute
  end
  begin
    prog   = xawtv
    button = ZOOM
    config = fullscreen toggle
  end
  begin
    prog   = xawtv
    button = VIDEO
    config = setinput next
  end
  begin
    prog   = xawtv
    button = POWER
    config = quit
    flags  = mode
  end
  begin
    prog   = xawtv
    button = 1
    config = keypad 1
  end
  begin
    prog   = xawtv
    button = 2
    config = keypad 2
  end
  begin
    prog   = xawtv
    button = 3
    config = keypad 3
  end
  begin
    prog   = xawtv
    button = 4
    config = keypad 4
  end
  begin
    prog   = xawtv
    button = 5
    config = keypad 5
  end
  begin
    prog   = xawtv
    button = 6
    config = keypad 6
  end
  begin
    prog   = xawtv
    button = 7
    config = keypad 7
  end
  begin
    prog   = xawtv
    button = 8
    config = keypad 8
  end
  begin
    prog   = xawtv
    button = 9
    config = keypad 9
  end
  begin
    prog   = xawtv
    button = 0
    config = keypad 0
  end
end xawtv