首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Archlinux gizmod

Archlinux gizmod
EN

Unix & Linux用户
提问于 2012-07-30 18:11:33
回答 1查看 273关注 0票数 3

我最近在我的笔记本上安装了Archlinux,它一直在做我需要的一切,除了一件事:键绑定。

我希望能够使用笔记本电脑的音量按钮(包括在全屏游戏中),我在论坛上看到Gizmod ( https://aur.archlinux.org/packages.php?ID=10089 )会这么做。但问题是,无论我如何尝试(yaourt、tar.bz2或其他档案),我都会出错:

代码语言:javascript
复制
Scanning dependencies of target H
[  1%] Building CXX object libH/CMakeFiles/H.dir/Average.o
In file included from /home/xavierm02/builds/gizmod-3.4/libH/Average.cpp:31:0:
/home/xavierm02/builds/gizmod-3.4/libH/Average.hpp:74:5: error: ‘size_t’ does not name a type
/home/xavierm02/builds/gizmod-3.4/libH/Average.hpp:76:5: error: ‘size_t’ does not name a type
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp: In constructor ‘H::Average::Average(int)’:
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp:53:2: error: ‘mHeadIdx’ was not declared in this scope
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp:55:2: error: ‘mFillState’ was not declared in this scope
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp: In member function ‘void H::Average::push(double)’:
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp:73:6: error: ‘mFillState’ was not declared in this scope
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp:74:27: error: ‘mHeadIdx’ was not declared in this scope
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp:79:11: error: ‘mHeadIdx’ was not declared in this scope
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp:81:2: error: ‘mHeadIdx’ was not declared in this scope
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp: In member function ‘double H::Average::average()’:
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp:89:8: error: ‘mFillState’ was not declared in this scope
/home/xavierm02/builds/gizmod-3.4/libH/Average.cpp:93:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: all warnings being treated as errors
make[2]: *** [libH/CMakeFiles/H.dir/Average.o] Error 1
make[1]: *** [libH/CMakeFiles/H.dir/all] Error 2
make: *** [all] Error 2

所以我想最后一个版本可以被窃听并下载前一个版本.我会犯更多的错误..。

以下是我的问题:

  • 是否也有一种选择,在全屏时获得密钥?
  • 这是Archlinux唯一的问题吗?因为他们有.deb包..。但这些基本上都是存档,所以他们可以有相同的错误,不是吗?

提前谢谢你。

EN

回答 1

Unix & Linux用户

发布于 2012-08-05 04:00:22

如果您有一个桌面/gui环境,您可能需要尝试安装自动键。除其他外,它还允许您将宏分配给按键,这些键几乎可以完成您可以想象的任何事情--特别是如果您知道python。

https://code.google.com/p/autokey/

有两个版本。一个用于gtk (gnome),另一个用于qt (kde)。

如果问题是键没有被识别,那么我不知道如何解决这个问题,但是showkey和xev命令将使您开始朝着正确的方向前进。过去有一个热键程序或模块,但它已经贬值了。

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/44316

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档