个人工具
登录
查看“UbuntuHelp:NumLock”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:NumLock”的源代码
来自Ubuntu中文
←
UbuntuHelp:NumLock
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/NumLock}} {{Languages|UbuntuHelp:NumLock}} == Enabling NumLock during startup and before login == Here's how to enable numlock to stay on during startup and before you login so it is on before you enter your username password into the logon screen === Enabling NumLock in GDM (as used in Ubuntu Gnome and Xubuntu XFCE) === If you are using GDM you can use numlockx: * Install '''numlockx''' using apt-get, aptitude or Synaptic * Edit '''/etc/X11/gdm/Init/Default''' ** Find the line <pre><nowiki> exit 0</nowiki></pre> * Add the following code above that line <pre><nowiki> if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on fi</nowiki></pre> *In Ubuntu Gutsy 7.10 use path: "/etc/gdm/Init/Default" instead. === Enabling NumLock in KDE (as used in Kubuntu) === From the K Menu, launch System Settings and click on Keyboard (Edgy users: K Menu -> System Settings -> Keyboard and Mouse -> Keyboard). You can see in the middle section the options for "NumLock on KDE Startup", where you can choose to Turn On, Turn Off, or Leave Unchanged. Select "Turn On" to turn NumLock on at startup. === Enabling NumLock from startx === If you are not using a graphical display manager then add the following line to '''/etc/X11/xinit/xinitrc''' <pre><nowiki> /usr/bin/numlockx on </nowiki></pre> [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:NumLock
。