小编str*_*cat的帖子

每个应用程序的 xfwm 主题

我想运行具有不同主题的单独应用程序,我能找到的唯一解决方案是使用bash -c 'GTK2_RC_FILES=/path/to/gtkrc program';但是,我目前正在使用一个 XFCE4 主题,它不包含gtkrc文件而是一个themerc文件(即它是一个xfwm主题)。

我的问题是 - 是否有一个环境变量我可以修改以在每个应用程序的基础上选择窗口管理器主题(类似于GTK2_RC_FILES)?

xfce themes environment-variables xfwm4

12
推荐指数
0
解决办法
790
查看次数

无法在 Ubuntu 16.04.1 上禁用水平滚动

我刚刚在 Dell Vostro 14 3446 笔记本电脑上安装并更新了带有 Unity 的 Ubuntu Xenial。早些时候,我在同一台笔记本电脑上使用了 Ubuntu Trusty 和 Linux Mint 17 和 18,触摸板从未出现任何问题。现在,它默认启用了垂直和水平滚动,我找不到禁用水平滚动的方法。

$ xinput -list
? Virtual core pointer                      id=2    [master pointer  (3)]
?   ? Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
?   ? DLL0662:00 06CB:2985                      id=12   [slave  pointer  (2)]
?   ? SynPS/2 Synaptics TouchPad                id=14   [slave  pointer  (2)]
? Virtual core keyboard                     id=3    [master keyboard (2)]
    ? Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ? Power Button                              id=6    [slave  keyboard (3)] …
Run Code Online (Sandbox Code Playgroud)

touchpad synaptics mouse-scroll

5
推荐指数
1
解决办法
6051
查看次数

ALSA 和 Mednafen:没有声音

我在 Linux MINt 17.1 Mate 64 位上的 Mednafen 中没有声音。相关部分 ~/.mednafen/mednafen.cfg是:

;Disable speed throttling when sound is disabled.
nothrottle 0

;Automatically save and load save states when a game is closed or loaded, respectively.
autosave 0

;Select sound driver.
sounddriver default

;Select sound output device.
sounddevice default

;Sound volume level, in percent.
soundvol 100

;Enable sound emulation.
sound 1

;If non-zero, specifies the desired period size in microseconds.  Currently only affects OSS and ALSA output.
sound.period_time 0

;Specifies the desired …
Run Code Online (Sandbox Code Playgroud)

emulation alsa

4
推荐指数
1
解决办法
1万
查看次数