QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1349|回复: 21

FC3下改那份文件才能令到开机就能打开小键盘?

[复制链接]
发表于 2005-2-18 13:53:47 | 显示全部楼层 |阅读模式
桌面环境是GNOME的,在BIOS中已打开相关选项的了,在KDE中也有地方进入就默认打开,但在GNOME中却不知如何改?
 楼主| 发表于 2005-2-18 15:54:47 | 显示全部楼层
没人用过么?
回复

使用道具 举报

 楼主| 发表于 2005-2-18 16:43:31 | 显示全部楼层
等待中。
回复

使用道具 举报

 楼主| 发表于 2005-2-18 17:33:58 | 显示全部楼层
还是没有找到答案
回复

使用道具 举报

发表于 2005-2-18 17:46:27 | 显示全部楼层
服务
回复

使用道具 举报

 楼主| 发表于 2005-2-18 18:04:17 | 显示全部楼层
[quote:ed7f5229e2="潇湘馆主"]服务[/quote]
指开机启动服务么?好象没有。你不是用FC3的?
回复

使用道具 举报

 楼主| 发表于 2005-2-18 18:05:57 | 显示全部楼层
以前好象看过修改一份什么文件就可以的了,但想找时偏偏就找不到了。
不急着用,不过很不方便。
回复

使用道具 举报

发表于 2005-2-18 19:09:04 | 显示全部楼层
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=42319
----------------------------------
#! /bin/sh
# /etc/init.d/ljev: set the users EV.
#setleds用于控制台启用NumLock

PATH=/bin:/usr/bin:/sbin:/usr/sbin

INITTY=/dev/tty[1-6]
for tty in $INITTY; do
setleds -D +num < $tty
done

#case "$1" in
# start)
# ;;
# stop)
# ;;
# *)
# exit 1
#esac

exit 0
----------------------------------
# /etc/X11/Xsession.d/55numlockx
# In the script that called this, set -e has been set. Errors in any
# command will abort the entire script and X won't start. By putting
# this part in a subshell, any errors will abort the subshell - which
# we want, in case numlockx fails.
# The 'true' at the end ensures that the entire script will never end
# with an error code, even if there was an error.
# Ariel Shkedi <[email protected]>
# numlockx用于X启用NumLock

(
test -x /usr/bin/X11/numlockx && /usr/bin/X11/numlockx on
)

true
_________________
回复

使用道具 举报

发表于 2005-2-18 19:12:41 | 显示全部楼层
rc.local加一行
setleds -D +num
回复

使用道具 举报

发表于 2005-2-18 19:13:19 | 显示全部楼层
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=78182&highlight=numlock
回复

使用道具 举报

 楼主| 发表于 2005-2-18 19:16:16 | 显示全部楼层
[quote:ee8f9abad7="潇湘馆主"]http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=42319
----------------------------------
#! /bin/sh
# /etc/init.d/ljev: set the users EV.
#setleds用于控制台启用NumLock

PATH=/bin:/usr/bin:/sbin:/usr/sbin

INITTY=/dev/tty[1-6]
for tty in $INITTY; do
setleds -D +num < $tty
done

#case "$1" in
# start)
# ;;
# stop)
# ;;
# *)
# exit 1
#esac

exit 0
----------------------------------
# /etc/X11/Xsession.d/55numlockx
# In the script that called this, set -e has been set. Errors in any
# command will abort the entire script and X won't start. By putting
# this part in a subshell, any errors will abort the subshell - which
# we want, in case numlockx fails.
# The 'true' at the end ensures that the entire script will never end
# with an error code, even if there was an error.
# Ariel Shkedi <[email protected]>
# numlockx用于X启用NumLock

(
test -x /usr/bin/X11/numlockx && /usr/bin/X11/numlockx on
)

true
_________________[/quote]
谢谢林小姐了,我改来看看。
回复

使用道具 举报

发表于 2005-3-3 14:55:50 | 显示全部楼层
这个方法可以么?可有什么简单的办法?
回复

使用道具 举报

发表于 2005-3-7 14:33:12 | 显示全部楼层
有什么简单的办法?
回复

使用道具 举报

发表于 2005-3-7 16:13:42 | 显示全部楼层
[quote:f68063db8f="潇湘馆主"]rc.local加一行
setleds -D +num[/quote]
rc.local是在那目录下的?我在自己的家目录下新建一份不行。
回复

使用道具 举报

发表于 2005-3-7 16:22:34 | 显示全部楼层
加在你用户家目录.bash_profile里试试
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-25 17:10 , Processed in 0.079187 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表