Code Monkey home page Code Monkey logo

Comments (6)

yaocccc avatar yaocccc commented on August 23, 2024

声音脚本和 WIFI 脚本似乎有冲突。

  • 系统语言为 en_US.UTF-8 下,声音脚本才能正常工作,WIFI 脚本只会显示无连接
  • 系统语言为 zh_CN.UTF-8 下,WIFI 脚本才能正常工作,声音脚本只会显示--%
localectl
System Locale: LANG=en_US.UTF-8
    VC Keymap: (unset)
    X11 Layout: (unset)

大概知道为啥,因为本身就是根据关键字过滤的,中文和英文环境下关键字不同。

from dwm.

yaocccc avatar yaocccc commented on August 23, 2024

声音脚本和 WIFI 脚本似乎有冲突。

  • 系统语言为 en_US.UTF-8 下,声音脚本才能正常工作,WIFI 脚本只会显示无连接
  • 系统语言为 zh_CN.UTF-8 下,WIFI 脚本才能正常工作,声音脚本只会显示--%
localectl
System Locale: LANG=en_US.UTF-8
    VC Keymap: (unset)
    X11 Layout: (unset)

麻烦在zh_CN下执行一下pactl info看发我看看

from dwm.

starknt avatar starknt commented on August 23, 2024

感谢你的回复, 这个问题似乎可以通过判断当前的语言环境解决,我或许可以开一个PR。

pactl info
服务器字串:/run/user/1000/pulse/native
程序库协议版本:35
服务器协议版本:35
是否本地服务器:是
客户端索引:4
区块大小: 65472
用户名:avatar
主机名:starkntArch
服务器名:pulseaudio
服务器版本:16.1
默认采样规格:s16le 2ch 44100Hz
默认声道映射:front-left,front-right
默认音频入口:alsa_output.pci-0000_00_1f.3.analog-stereo
默认信源: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie:024c:15de

from dwm.

yaocccc avatar yaocccc commented on August 23, 2024

我来修复一下吧,我做了比较大的改动

from dwm.

yaocccc avatar yaocccc commented on August 23, 2024

你再试试看

from dwm.

starknt avatar starknt commented on August 23, 2024

你再试试看

目前工作得非常好,是否需要我来关闭 #9

from dwm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.