页次: 1
第一个问题
我启动了gnome wayland,然后安装了nemo文件管理器,但是在nemo中无法使用fcitx,无法输入中文,同时发现在gedit中也无法输入中文,其他应用是可以输入中文的。
测试之后发现wps也不能输入中文,但是在xorg中可以输入,也就是当那些fcitx在.xprofile中的配置
export XIM=fcitx
export XMODIFIERS="@im=fcitx"
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XIM_PROGRAM=fcitx
执行之后就可以在wps中输入中文了,gedit也可以了,但是前提是必须在执行export的终端中启用这些才行,在外面点击图标就又不行了,貌似wayland默认不启动xprofile文件嫩。
即便是执行export之后终端启动nemo,nemo依旧不能输入中文
第二个问题
关于qtcreator的问题,我使用pacman安装的qtcreator,但是启动之后点击打开项目,他就会闪退,使用终端打开qtcreator,然后点击打开项目也是闪退,提示
/usr/bin/qtcreator: line 2: 10180 Segmentation fault (core dumped) QT_LOGGING_TO_CONSOLE=1 qtcreator-bin $@
关于qtcreator的第二个问题
我从官网下载了qtcreator使用,打开项目没有问题,但是在设计界面的时候出现问题了(这个问题与pacman安装的qtcreator一样,下面就一块说了),新建一个工程,然后使用设计界面,随便拖几个控件之后运行,正常,然后关闭,这个时候qtcreator就不能点击了,qtcreator界面上的任何按钮都不能点击了。
第三个问题
使用virtualbox的时候,点击打开已有的镜像,也是闪退,终端打开提示这个
drawable is not a native X11 window
搜索之后使用下面的命令打开virtual解决闪退问题
GDK_BACKEND=x11 virtualbox
同样解决了pacman 安装的qtcreator打开文件的问题,但是没有解决qtcreator界面卡住不能点击的问题。
以上这些在xorg中没有问题,但是在xorg中触摸板无法点击,触摸板驱动已经安装了,但是即便不安装触摸板驱动,wayland中可以使用触摸板,可以点击。
=====================================我是分割线==========================================
现在qtcreator在运行程序之后不能点击的原因找到了,当出现不能点击现象时,系统所有的应用也不能点击,原因时我使用的主题有问题,不知道为什么,在更换成系统默认主题,然后使用
GDK_BACKEND=x11 应用程序
运行应用程序一切就是好的了,但是某些应用的中文输入问题还是不能解决,而且必须是添加GDK_BACKEND=x11运行才行,请问如何在桌面图标.desktop的Exec后面添加上GDK_BACKEND=x11呢?我添加了不行啊,貌似方式不对。
下面是使用有问题的主题然后执行GDK_BACKEND=x11 应用程序的时候出现的问题
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:151:54: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:173:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:178:74: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:182:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:187:58: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:195:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:200:58: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:208:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:213:58: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:224:74: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:231:58: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:234:75: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1049:69: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1063:71: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1072:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1078:74: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1089:74: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1092:58: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1099:74: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1102:58: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1325:71: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1332:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1336:74: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1457:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1461:58: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1464:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1860:9: Not using units is deprecated. Assuming 'px'.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:1860:9: Expected a string.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:2627:53: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:2657:51: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:2660:53: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:2665:53: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:2665:87: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:2910:8: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:2910:17: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3185:54: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3498:71: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3505:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3508:74: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3516:52: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3588:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3595:67: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3599:54: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3610:54: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3803:8: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3803:20: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3823:54: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3834:8: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3834:22: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3837:8: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3837:28: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3840:8: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3840:22: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3857:12: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3857:12: Expected a string.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3863:14: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3863:14: Expected a string.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3869:16: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3869:16: Expected a string.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3874:14: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3874:14: Expected a string.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3941:12: Expected a string.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3943:16: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3943:16: Expected a string.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3989:12: not a number
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3989:12: Expected a string.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3992:66: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:3999:66: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:4162:72: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:4169:56: Using one color stop with linear-gradient() is deprecated.
(no1:28127): Gtk-WARNING **: Theme parsing error: gtk.css:4172:73: Using one color stop with linear-gradient() is deprecated.
最近编辑记录 redusty (2016-11-02 15:22:44)
离线
fcitx目前还不支持wayland,所以想要正常使用fcitx,还是x。
触摸板点击的问题,可以在 /etc/X11/xorg.conf.d 下定义规则。
离线
fcitx目前还不支持wayland,所以想要正常使用fcitx,还是x。
触摸板点击的问题,可以在 /etc/X11/xorg.conf.d 下定义规则。
你好,先感谢一下,但是fcitx对其他的应用很好啊,只是个别应用在wayland下面不行,不知道为什么。
离线
pk 说:fcitx目前还不支持wayland,所以想要正常使用fcitx,还是x。
触摸板点击的问题,可以在 /etc/X11/xorg.conf.d 下定义规则。
你好,先感谢一下,但是fcitx对其他的应用很好啊,只是个别应用在wayland下面不行,不知道为什么。
那些应该是以xwayland方式运行的X程序,所以fcitx能work。
离线
fcitx支持wayland的。
XMODIFIERS="@im=fcitx"
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
这些放到/etc/environment里面就行了。
最近编辑记录 firedrake (2017-09-02 14:32:46)
离线
页次: 1