This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

Problem #375

icy: viết kịch bảng tăng giảm volume

Added by almost 4 years ago. Updated almost 4 years ago.

Status: Closed Start Date: 02-04-2009
Priority: Low Due date:
Assigned to: - % Done:

100%

Category: Desktop Applications
Target version: 2009
Resolution: Fixed
Votes: 0/0

Description

Thông qua mixerxmodmap để tăng giảm volume tùy ý:

if (action = toggle)
  if (vol = 0)
    vol := 75
  else
    vol := 0
else
  if (action = upper)
    if (vol = 100)
      pcm += 5
    else
      vol += 5
  else
    if (vol = 100)
      if (pcm > 75)
        pcm -= 5
      else
        vol -= 5
    else
      vol -= 5

Ánh xạ bàn phím:

keycode 140 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume

0mixer (936 Bytes) , 03-04-2009 09:09

History

Updated by almost 4 years ago

  • File 0mixer added
  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
  • Resolution set to Fixed

Kết quả . có thể phát sinh lỗi với toggle nếu vol x pcm = 0.