页次: 1
新装的ArchLinux,KDE桌面,遇到些问题.
说一下我遇到的问题:
*ok*1.中文输入法无法激活,我装了Fcitx输入法,不能用,翻了好多教程修改数次还是不成,不知为何;后来又尝试装sim还是不成,无法激活输入法,难道是快捷键冲突?还看到有人说因为Firefox的原因,卸载了还是不成~到底要怎样?
2.关于开机启动,我先前装有Windows7和ubuntu-13.04,装了Arch后启动那叫一个乱啊,开始进ubuntu的Grub引导,然后又进Arch的Grub引导,要是想进Windows7还得进一次BCD!
能不能整合一下啊?不知道怎么编辑Grub2,感觉应该可以实现!
*ok*3.只要USB上接有设备就无法开机,哪怕是一部手机在充电,可能是开着调节模式吧,默认是一块存储空间.
*ok*4.wacom数位板不能用,这可能是驱动原因吧.
*ok*5.声音用的ALSA,目前5.1无法实现,位置不对,只能当2.1用着.
6.用Smplayer播放器看电影加载字幕会重影,就是前一段字幕一直被后一段字幕压上,压上,压上...然后放弃了~
*ok*7.我在root权限运行一些软件,比如xchat,会提示我:"root下运行此程序很愚蠢!"
于是,想创建一个新的用户,用了useradd那个命令创建了一个帐号,但是没法进入startx,是不是权限的问题?要怎么修改呢?
*ok*8.如何屏幕截图?
ok就这些了,希望大家帮忙解决!
最近编辑记录 HoyA (2013-10-09 12:43:04)
离线
1. fcitx-diagnose 贴出来(如果你看不懂的话)
2. 留一个 grub 就成,比如留 Arch 的,装上 os-prober 包,然后重新生成 grub 配置文件就可以了。
3. 不是 Linux 的问题吧
4. 装了 xf86-input-wacom 没?
5. 不懂。我用的是 PulseAudio
6. mplayer 用户路过
7. 贴错误消息
8. scrot / gnome-screenshot / xfce4-xxx / shutter,最后那个很强大,但是依赖一堆,开 archlinuxcn + lilydjwg 源才可以无痛安装
done!
在线
只补最后一条。
KDE 自带截图程序,按下 Print Screen (PrtScr) 即可截图,并且有多种模式/功能可供选择,比除 shutter 外前几种强大1/0倍,并且 1. 不需要一直在后台运行 2. 和 KDE 系统完美集成。
离线
1. fcitx-diagnose 贴出来(如果你看不懂的话)
[root@xbox ~]# fcitx-diagnose
# System Info:
1. `uname -a`:
Linux xbox 3.11.2-1-ARCH #1 SMP PREEMPT Fri Sep 27 07:35:36 CEST 2013 x86_64 GNU/Linux
2. `lsb_release`:
`lsb_release` not found.
3. `/etc/lsb-release`:
`/etc/lsb-release` not found.
4. `/etc/os-release`:
NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
5. Desktop Environment:
Desktop environment is `kde`.
# Environment:
1. DISPLAY:
DISPLAY=':0'
2. Keyboard Layout:
1. `setxkbmap`:
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc104)" };
};
2. `xprop`:
_XKB_RULES_NAMES(STRING) = "evdev", "pc104", "us", "", ""
3. Locale:
1. All locale:
C
en_US.utf8
POSIX
zh_CN
zh_CN.gb18030
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8
zh_HK
zh_HK.big5hkscs
zh_HK.utf8
zh_SG
zh_SG.gb2312
zh_SG.gbk
zh_SG.utf8
zh_TW
zh_TW.big5
zh_TW.euctw
zh_TW.utf8
2. Current locale:
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME=en_GB.UTF-8
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
**Error occurs when running `locale`. Please check your locale settings.**
locale: Cannot set LC_ALL to default locale: 没æé£ä¸ªæ件æçå½
4. Current user:
The script is run as root (0).
**You are probably logging in as `root` or using `sudo` to run this script. This either means you have security problems or the result of this script may not be accurate. See [Why is it bad to run as root](https://www.google.com/search?q=Why+is+ … un+as+root) or [sudo environment variables](https://www.google.com/search?q=sudo+en … +variables) for more information.**
# Fcitx State:
1. executable:
Found fcitx at `/usr/bin/fcitx`.
2. version:
Fcitx version: `4.2.8.3`
3. process:
Found 2 fcitx processes:
620 fcitx
629 fcitx-dbus-watc
4. `fcitx-remote`:
`fcitx-remote` works properly.
# Fcitx Configure UI:
1. Config Tool Wrapper:
Found fcitx-configtool at `/usr/bin/fcitx-configtool`.
2. Config GUI for gtk2:
**Config GUI for gtk2 not found.**
3. Config GUI for gtk3:
**Config GUI for gtk3 not found.**
4. Config GUI for kde:
**Cannot find a GUI config tool, please install one of `kcm-fcitx`, `fcitx-config-gtk2`, or `fcitx-config-gtk3`.**
# Frontends setup:
## Xim:
1. `${XMODIFIERS}`:
**XMODIFIERS is not set**
**Please set environment variable XMODIFIERS to "@im=fcitx" using the tool your distribution provides or add `export XMODIFIERS=@im=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: XMODIFIERS](http://fcitx-im.org/wiki/Input_method_r … XMODIFIERS).**
Xim Server Name from Environment variable is fcitx.
2. XIM_SERVERS on root window:
Xim server name is the same with that set in the environment variable.
## Qt:
1. `${QT_IM_MODULE}`:
**Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_r … _IM_MODULE).**
2. Qt IM module files:
Found fcitx im module for Qt5: `/usr/lib/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.
Found fcitx im module for Qt4: `/usr/lib/qt4/plugins/inputmethods/qtim-fcitx.so`.
Found fcitx qt module: `/usr/lib/fcitx/qt/libfcitx-quickphrase-editor.so`.
## Gtk:
1. `${GTK_IM_MODULE}`:
**Please set environment variable GTK_IM_MODULE to "fcitx" using the tool your distribution provides or add `export GTK_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: GTK_IM_MODULE](http://fcitx-im.org/wiki/Input_method_r … _IM_MODULE).**
2. `gtk-query-immodules`:
1. gtk 2:
Found `gtk-query-immodules` for gtk `2.24.20` at `/usr/bin/gtk-query-immodules-2.0`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.20
Found fcitx im modules for gtk `2.24.20`.
"/usr/lib/gtk-2.0/2.10.0/immodules/im-fcitx.so"
"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"
2. gtk 3:
Found `gtk-query-immodules` for gtk `3.8.4` at `/usr/bin/gtk-query-immodules-3.0`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.8.4
Found fcitx im modules for gtk `3.8.4`.
"/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx.so"
"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"
3. Gtk IM module cache:
1. gtk 2:
Found immodules cache for gtk `2.24.20` at `/usr/lib/gtk-2.0/2.10.0/immodules.cache`.
Version Line:
# Created by usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.20
Found fcitx im modules for gtk `2.24.20`.
"/usr/lib/gtk-2.0/2.10.0/immodules/im-fcitx.so"
"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"
2. gtk 3:
Found immodules cache for gtk `3.8.4` at `/usr/lib/gtk-3.0/3.0.0/immodules.cache`.
Version Line:
# Created by usr/bin/gtk-query-immodules-3.0 from gtk+-3.8.4
Found fcitx im modules for gtk `3.8.4`.
"/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx.so"
"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"
4. Gtk IM module files:
1. gtk 2:
All found Gtk 2 immodule files exist.
2. gtk 3:
All found Gtk 3 immodule files exist.
# Configuration:
## Fcitx Addons:
1. Addon Config Dir:
Found fcitx addon config directory: `/usr/share/fcitx/addon`.
2. Addon List:
1. Found 26 enabled addons:
fcitx-autoeng
fcitx-chttrans
fcitx-classic-ui
fcitx-clipboard
fcitx-cloudpinyin
fcitx-dbus
fcitx-freedesktop-notify
fcitx-fullwidth-char
fcitx-imselector
fcitx-ipc
fcitx-keyboard
fcitx-kimpanel-ui
fcitx-notificationitem
fcitx-pinyin
fcitx-pinyin-enhance
fcitx-punc
fcitx-quickphrase
fcitx-remote
fcitx-spell
fcitx-table
fcitx-unicode
fcitx-vk
fcitx-x11
fcitx-xim
fcitx-xkb
fcitx-xkbdbus
2. Found 1 disabled addons:
fcitx-qw
3. Addon Libraries:
All libraries for all addons are found.
4. User Interface:
Found 2 enabled user interface addons:
fcitx-classic-ui
fcitx-kimpanel-ui
## Input Methods:
1. Found 5 enabled input methods:
fcitx-keyboard-us
pinyin
shuangpin
wubi
wbpy
2. Default input methods:
You have a keyboard input method "fcitx-keyboard-us" correctly added as your default input method.
# Log:
1. `date`:
Wed Oct 2 10:09:37 UTC 2013
2. `~/.config/fcitx/log/`:
total 0
3. `~/.config/fcitx/log/crash.log`:
`~/.config/fcitx/log/crash.log` not found.
离线
只补最后一条。
KDE 自带截图程序,按下 Print Screen (PrtScr) 即可截图,并且有多种模式/功能可供选择,比除 shutter 外前几种强大1/0倍,并且 1. 不需要一直在后台运行 2. 和 KDE 系统完美集成。
I can't ,using Gimp now.
离线
[Pinyin]
# Default Shuangpin Schema
# Available Value:
# Ziranma
# MS
# Ziguang
ABC
Zhongwenzhixing
PinyinJiaJia
# XiaoHe
# User Defined
#DefaultShuangpinSchema=Ziranma
# Fix preedit cursor at head
# Available Value:
# True False
#FixCursorAtHead=False
# Use V to trigger quickphrase
# Available Value:
# True False
#UseVForQuickPhrase=True
# Use Complete Pinyin
# Available Value:
# True False
#UseCompletePinyin=False
# Auto Create Phrase
# Available Value:
# True False
#AutoCreatePhrase=True
# Save Auto Created Phrase
# Available Value:
# True False
#SaveAutoPhrase=False
# Hotkey of Adding Frequent Word
#AddFreqWordKey=CTRL_8
# Hotkey of Deleting Frequent Word
#DeleteFreqWordKey=CTRL_7
# Hotkey of Delete User Phrase
#DeleteUserPhraseKey=CTRL_DELETE
# Rule of Candidate Word Order
# Available Value:
# AdjustNo
# AdjustFast
# AdjustFreq
#BaseOrder=AdjustFreq
# Rule of Candidate Phrase Order
# Available Value:
# AdjustNo
# AdjustFast
# AdjustFreq
#PhraseOrder=AdjustFreq
# Rule of Frequent Word Order
# Available Value:
# AdjustNo
# AdjustFast
# AdjustFreq
#FreqOrder=AdjustNo
# Fuzzy an and ang
# Available Value:
# True False
#FuzzyAnAng=False
# Fuzzy en and eng
# Available Value:
# True False
#FuzzyEnEng=False
# Fuzzy ian and iang
# Available Value:
# True False
#FuzzyIanIang=False
# Fuzzy in and ing
# Available Value:
# True False
#FuzzyInIng=False
# Fuzzy ou and u
# Available Value:
# True False
#FuzzyOuU=False
# Fuzzy uan and uang
# Available Value:
# True False
#FuzzyUanUang=False
# Fuzzy c and ch
# Available Value:
# True False
#FuzzyCCh=False
# Fuzzy f and h
# Available Value:
# True False
#FuzzyFH=False
# Fuzzy l and n
# Available Value:
# True False
#FuzzyLN=False
# Fuzzy s and sh
# Available Value:
# True False
#FuzzySSH=False
# Fuzzy z and zh
# Available Value:
# True False
#FuzzyZZH=False
# Fix misstype gn/ng
# Available Value:
# True False
#Misstype=True
# Fix misstype v/u like jv, qv, xv, yv
# Available Value:
# True False
#MisstypeVU=True
=======================================+++=====================================
[Hotkey]
# Trigger Input Method
#TriggerKey=CTRL_SPACE
# Use extra trigger key only after using it to inactivate
# Available Value:
# True False
#UseExtraTriggerKeyOnlyWhenUseItToInactivate=True
# Extra key for trigger input method
# Available Value:
# R_CTRL
# R_SHIFT
# L_SHIFT
# L_CTRL
# ALT_L_SHIFT
# ALT_R_SHIFT
# CTRL Both
# SHIFT Both
# L_ALT
# R_ALT
# ALT Both
# Left Super
# Right Super
# Super Both
# Ctrl+Left Super
# Ctrl+Right Super
# Super+Left Ctrl
# Super+Right Ctrl
# Disabled
# Custom
#SwitchKey=L_SHIFT
# Custom switch key
#CustomSwitchKey=
# Activate input method
#ActivateKey=
# Inactivate Input Method
#InactivateKey=
# Enable Hotkey to scroll Between Input Method
# Available Value:
# True False
#IMSwitchKey=True
# Include Inactivate when scrolling between Input Method
# Available Value:
# True False
#IMSwitchIncludeInactive=False
# Scroll between Input Method
# Available Value:
# CTRL_SHIFT
# ALT_SHIFT
# CTRL_SUPER
# ALT_SUPER
#IMSwitchHotkey=CTRL_SHIFT
# Reload configuration
#ReloadConfig=CTRL_5
# Interval of Two Key Input
#TimeInterval=250
# Switching Virtual Keyboard
#VKSwitchKey=CTRL_ALT_B
# Switching Remind Mode
#RemindSwitchKey=
# Switching Full Width Character Mode
#FullWidthSwitchKey=
# Switch Full Width Punc Mode
#PuncSwitchKey=CTRL_.
# Prev Page
#PrevPageKey=- UP
# Next Page
#NextPageKey== DOWN
# Choose Second and Third Candidate Word
#SecondThirdCandWordKey=
# Saving All Config and Input History
#SaveAllKey=CTRL_ALT_S
# Switch Embeded Preedit
#SwitchPreedit=CTRL_ALT_P
# Previous Candidate Word
#PrevWord=SHIFT_TAB
# Next Candidate Word
#NextWord=TAB
[Program]
# Seconds sleep before fcitx really start
#DelayStart=0
# Share State Among Window
# Available Value:
# No
# All
# PerProgram
#ShareStateAmongWindow=No
# Default Input Method State
# Available Value:
# Inactive
# Active
#DefaultInputMethodState=Inactive
[Output]
# Type half width Punc After a Number
# Available Value:
# True False
#HalfPuncAfterNumber=True
# Disable Paging in Remind Mode
# Available Value:
# True False
#RemindModeDisablePaging=True
# Commit when toggle state
# Available Value:
# True False
#SendTextWhenSwitchEng=True
# Candidate Word Number
#CandidateWordNumber=5
# Give the tips of Phrase
# Available Value:
# True False
#PhraseTips=True
# Do not commit preedit text when unfocus a window
# Available Value:
# True False
#DontCommitPreeditWhenUnfocus=False
[Appearance]
# Show Input Method Hint After Input method changed
# Available Value:
# True False
#ShowInputWindowAfterTriggering=True
# Show Input Method Hint After Input method changed and Focus in
# Available Value:
# True False
#ShowInputWindowWhenFocusIn=False
# Input Method Hint will be only shown when state is active
# Available Value:
# True False
#ShowInputWindowOnlyWhenActive=True
# Show Input Speed
# Available Value:
# True False
#ShowInputSpeed=False
# Show Version
# Available Value:
# True False
#ShowVersion=False
# Do not show input window if there is only preedit string
# Available Value:
# True False
#HideInputWindowWhenOnlyPreeditString=False
# Do not show input window if there is only one candidate and preedit
# Available Value:
# True False
#HideInputWindowWhenOnlyOneCandidate=False
离线
1. fcitx-diagnose 贴出来(如果你看不懂的话)
&No input window
最近编辑记录 HoyA (2013-10-02 18:04:59)
离线
参考这里 http://fcitx-im.org/wiki/Input_method_r … _variables 设置正确的 fcitx 环境变量。
在线
1. fcitx-diagnose 贴出来(如果你看不懂的话)
2. 留一个 grub 就成,比如留 Arch 的,装上 os-prober 包,然后重新生成 grub 配置文件就可以了。
3. 不是 Linux 的问题吧
4. 装了 xf86-input-wacom 没?
5. 不懂。我用的是 PulseAudio
6. mplayer 用户路过
7. 贴错误消息
8. scrot / gnome-screenshot / xfce4-xxx / shutter,最后那个很强大,但是依赖一堆,开 archlinuxcn + lilydjwg 源才可以无痛安装
done!
7.我root权限运行一些软件,比如xchat,会提示我:"root下运行此程序很愚蠢!"
于是,想创建一个新的用户,用了useradd那个命令创建了一个帐号,但是没法进入startx,是不是权限的问题?要怎么修改呢?
我根据那个https://wiki.archlinux.org/index.php/Users_and_Groups_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
使用的这行
# useradd -m -g users -s /bin/bash yang
但是yang不能进入图形界面,那个界面我无法截图啊~
最近编辑记录 HoyA (2013-10-02 23:14:53)
离线
参考这里 http://fcitx-im.org/wiki/Input_method_r … _variables 设置正确的 fcitx 环境变量。
解决了,换了浏览器。
应该是跟我装软件的先后顺序有关,一会我试试删掉Firefox,重装试试~
离线
*ok*7.我在root权限运行一些软件,比如xchat,会提示我:"root下运行此程序很愚蠢!"
于是,想创建一个新的用户,用了useradd那个命令创建了一个帐号,但是没法进入startx,是不是权限的问题?要怎么修改呢?
这个是需要在用户权限下编辑xinitrc
命令是:nano ~/.xinitrc
------------------------------------------------------
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
-----------------------------------------------------------------------
我删除了“exec startkde”前的#
离线
百合仙子 说:参考这里 http://fcitx-im.org/wiki/Input_method_r … _variables 设置正确的 fcitx 环境变量。
解决了,换了浏览器。
应该是跟我装软件的先后顺序有关,一会我试试删掉Firefox,重装试试~
和那个没关系。环境变量不对的话,什么程序里正常什么程序里有问题全靠人品。
在线
HoyA 说:百合仙子 说:参考这里 http://fcitx-im.org/wiki/Input_method_r … _variables 设置正确的 fcitx 环境变量。
解决了,换了浏览器。
应该是跟我装软件的先后顺序有关,一会我试试删掉Firefox,重装试试~和那个没关系。环境变量不对的话,什么程序里正常什么程序里有问题全靠人品。
哦,还是在揣摩修复的过程,自己也是稀里糊涂的,多谢您多次指导~
离线
我哭了~~一不小心把引导又弄乱了~~~这下完蛋了!!!
离线
所以说要打牢基础知识。留一个grub在MBR上,其他全部删除
反社会,精神极其不稳定,随时可能炸碎身边所有人
离线
页次: 1