GithubHelp home page GithubHelp logo

fcitx5-configtool's Introduction

Fcitx 4 is under maintainence Mode now, so no new issue and PR should be created.

Please give fcitx 5 a try if possible. If you're experiencing problem, you can
reach out mail list (fcitx[at]googlegroups.com) or IRC (fcitx[at]freenode) for help.

Please read http://fcitx-im.org for further help.

See COPYING and COPYING.LIBS for License information.

fcitx5-configtool's People

Contributors

adaptee avatar chenshijie-uos avatar eatradish avatar hexchain avatar karuboniru avatar mxj4 avatar nihui avatar trmdi avatar ukyoi avatar wengxt avatar yuyichao avatar zhsj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fcitx5-configtool's Issues

Option to set the Default layout without adding new input methods

It would be great to have this option(see title) because using a certain keyboard layout of a certain language doesn't imply using it as an input method.
In other words I am using a german keyboard (no dead keys) as the default layout and use an american keyboard with altgr so that I can write umlauts (äöü) on it but don't want to have the german keyboard as an input method.

FTBFS with ECM version >= 5.80.0.

Error message

../src/lib/configlib/iso639.cpp: In constructor 'fcitx::kcm::Iso639::Iso639()':
../src/lib/configlib/iso639.cpp:55:41: error: 'ISOCODES_ISO639_2_JSON' was not declared in this scope
   55 |     iso639_2data_ = readAlpha3ToNameMap(ISOCODES_ISO639_2_JSON, "639-2");
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
../src/lib/configlib/iso639.cpp:56:41: error: 'ISOCODES_ISO639_3_JSON' was not declared in this scope
   56 |     iso639_3data_ = readAlpha3ToNameMap(ISOCODES_ISO639_3_JSON, "639-3");
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
../src/lib/configlib/iso639.cpp:57:41: error: 'ISOCODES_ISO639_5_JSON' was not declared in this scope
   57 |     iso639_5data_ = readAlpha3ToNameMap(ISOCODES_ISO639_5_JSON, "639-5");
      |                                         ^~~~~~~~~~~~~~~~~~~~~~

with a config.h with those lines:

/* #undef ISOCODES_ISO639_2_JSON */
/* #undef ISOCODES_ISO639_3_JSON */
/* #undef ISOCODES_ISO639_5_JSON */

This should be due to ECM version >= 5.80.0 ships /usr/share/ECM/find-modules/FindIsoCodes.cmake that overrides your cmake/FindIsoCodes.cmake.

很多设置都消失了

Screenshot_20210924_090431

比如“转换输入法”的选项我想从ctrl+enter换成Left shift,并且取消字母和数字后用英文标点,现在都没了

Fcitx5-configtool: 5.0.5-1
Fcitx5: 5.0.8-1

To exit elegantly when clicking "select layout" on Wayland rather than to crash

  1. Open fcitx5-configtool-qt
  2. Click "select layout" button
  3. fcitx5-configtool-qt crashes with segmentation fault (core dumped)

This seems to be because kbd layout select is only supported on X11. In this case, should the button itself be hidden in case of Wayland or give a elegant error message than crash the whole configtool?

Can't using fcitx5 after install(KDE)

I'm using archlinux with KDE, X11

$ loginctl show-session 2 -p Type

Type=x11

and edited file .xprofile

export GTK_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5
export QT_IM_MODULE=fcitx5
fcitx5 &

and ~/.xinitrc

export GTK_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5
export QT_IM_MODULE=fcitx5

Also installed blew fcitx5 addons

fcitx5-chinese-addons
fcitx5
fcitx5-qt
fcitx5-configtool
fcitx5-gtk
kcm-fcitx5
fcitx5-rime

Still can't open fcitx or configtool, here are errors in terminal.

$ fcitx5

I2020-08-22 17:15:49.566881 instance.cpp:1174] Override Enabled Addons: {}
I2020-08-22 17:15:49.566945 instance.cpp:1175] Override Disabled Addons: {}
I2020-08-22 17:15:49.568811 addonmanager.cpp:177] Loaded addon wayland
I2020-08-22 17:15:49.628809 addonmanager.cpp:177] Loaded addon xcb
I2020-08-22 17:15:49.630482 addonmanager.cpp:177] Loaded addon quickphrase
I2020-08-22 17:15:49.635963 addonmanager.cpp:177] Loaded addon clipboard
I2020-08-22 17:15:49.636173 addonmanager.cpp:177] Loaded addon imselector
I2020-08-22 17:15:49.669073 addonmanager.cpp:177] Loaded addon keyboard
I2020-08-22 17:15:49.669388 addonmanager.cpp:177] Loaded addon waylandim
I2020-08-22 17:15:49.769484 addonmanager.cpp:177] Loaded addon unicode
I2020-08-22 17:15:49.979670 addonmanager.cpp:177] Loaded addon pinyinhelper
E2020-08-22 17:15:49.980471 addonloader.cpp:57] Failed to create addon: dbus Unable to request dbus name
I2020-08-22 17:15:49.980539 addonmanager.cpp:271] Unloading addon pinyinhelper
I2020-08-22 17:15:49.991942 addonmanager.cpp:271] Unloading addon unicode
I2020-08-22 17:15:50.002083 addonmanager.cpp:271] Unloading addon waylandim
I2020-08-22 17:15:50.002135 addonmanager.cpp:271] Unloading addon keyboard
I2020-08-22 17:15:50.003180 addonmanager.cpp:271] Unloading addon imselector
I2020-08-22 17:15:50.003219 addonmanager.cpp:271] Unloading addon clipboard
I2020-08-22 17:15:50.003262 addonmanager.cpp:271] Unloading addon quickphrase
I2020-08-22 17:15:50.003427 addonmanager.cpp:271] Unloading addon xcb
I2020-08-22 17:15:50.003633 addonmanager.cpp:271] Unloading addon wayland

$ fcitx5-configtool

QDBusPendingReply: type fcitx::FcitxQtAddonInfoV2List is not registered with QtDBus
Aborted (core dumped)

When I try to open in system settings
图片
This window will be cancel.

Fcitx5 运行的情况下,fcitx5-configtool 启动会报错然后自动退出

Fcitx5 运行的情况下,fcitx5-configtool 启动会报错然后自动退出;
Fcitx5 未运行的情况下,fcitx5-configtool 可以正常启动,但一旦运行Fcitx5后又会同样报错自动退出
image

在此之前装过 Fcitx(配置搜狗输入法时出问题了,就卸载了),不清楚是不是没卸载完全的影响。求助!


系统环境

Application: kcmshell5 (5.19.4)
Qt Version: 5.15.0
Frameworks Version: 5.73.0
Operating System: Linux 5.8.1-arch1-1 x86_64
Windowing system: X11
Distribution: "Arch Linux"


错误信息

Application: 系统设置模块 (kcmshell5), signal: Aborted


\[KCrash Handler\]

#4 0x00007ffb6f24c355 in raise () from /usr/lib/libc.so.6

#5 0x00007ffb6f235853 in abort () from /usr/lib/libc.so.6

#6 0x00007ffb6f6459ac in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5

#7 0x00007ffb70972c4f in ?? () from /usr/lib/libQt5DBus.so.5

#8 0x00007ffb709740b2 in QDBusPendingReplyData::setMetaTypes(int, int const*) () from /usr/lib/libQt5DBus.so.5

#9 0x00007ffb68d04548 in ?? () from /usr/lib/qt/plugins/kcms/kcm_fcitx5.so

#10 0x00007ffb68d05668 in ?? () from /usr/lib/qt/plugins/kcms/kcm_fcitx5.so

#11 0x00007ffb68d0cf0c in ?? () from /usr/lib/qt/plugins/kcms/kcm_fcitx5.so

#12 0x00007ffb709d8ab5 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libKF5CoreAddons.so.5

#13 0x00007ffb70d03d72 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libKF5KCMUtils.so.5

#14 0x00007ffb70d0c034 in ?? () from /usr/lib/libKF5KCMUtils.so.5

#15 0x00007ffb70d0c49b in KCModuleProxy::realModule() const () from /usr/lib/libKF5KCMUtils.so.5

#16 0x00007ffb70d0a2d7 in KCMultiDialog::addModule(KCModuleInfo const&, KPageWidgetItem*, QStringList const&) () from /usr/lib/libKF5KCMUtils.so.5

#17 0x000055e34afc70f6 in ?? ()

#18 0x00007ffb6f237002 in \_\_libc\_start_main () from /usr/lib/libc.so.6

#19 0x000055e34afc7bce in _start ()

\[Inferior 1 (process 1631) detached\]

含有以下应用程序和类库的调试信息的软件包缺失:

  • /usr/bin/kcmshell5
  • /usr/lib/libKF5CoreAddons.so.5
  • /usr/lib/libQt5DBus.so.5
  • /usr/lib/libKF5KCMUtils.so.5
  • /usr/lib/qt/plugins/kcms/kcm_fcitx5.so
  • /usr/lib/libQt5Core.so.5

如何只下载fcitx5设置而不下载fcitx5迁移向导

系统:Archlinux KDE

fcitx5设置已经集成到KDE systemsettings中

我不用fcitx4,想如何把fcitx5设置和fcitx5迁移向导拆成两个包,这样我就可以只下载fcitx5设置而不下载多余的fcitx5迁移向导

ninja error: dependency cycle

I tried to install fcitx5-configtool-git, but it shows the error.

cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON .
ninja
-- Configuring done
-- Generating done
-- Build files have been written to: fcitx5-configtool-master
ninja: error: dependency cycle: src/kcm/package/metadata.desktop -> src/kcm/package/metadata.desktop

fcitx5-configtool-5.0.1 doesn't show the error.

I posted the same comment to #35 (comment)

请问有啥办法把fcitx5-config-qt编译成静态程序?

如下,我自己编译的,实际readelf看到的依赖不到20个库,但ldd里面链接了38个库,这样导致需要在os里面装很多依赖包,轻轻松松干去几百兆空间(qt包装起来依赖太多了),请问有啥办法编译一个静态的fcitx5-config-qt程序不?
谢谢!

root@debian-kernel:# readelf -a /usr/bin/fcitx5-config-qt | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libKF5WidgetsAddons.so.5]
0x0000000000000001 (NEEDED) Shared library: [libKF5ItemViews.so.5]
0x0000000000000001 (NEEDED) Shared library: [libFcitx5Qt5WidgetsAddons.so.2]
0x0000000000000001 (NEEDED) Shared library: [libFcitx5Qt5DBusAddons.so.1]
0x0000000000000001 (NEEDED) Shared library: [libQt5DBus.so.5]
0x0000000000000001 (NEEDED) Shared library: [libFcitx5Config.so.6]
0x0000000000000001 (NEEDED) Shared library: [libQt5Widgets.so.5]
0x0000000000000001 (NEEDED) Shared library: [libQt5X11Extras.so.5]
0x0000000000000001 (NEEDED) Shared library: [libQt5Gui.so.5]
0x0000000000000001 (NEEDED) Shared library: [libQt5Core.so.5]
0x0000000000000001 (NEEDED) Shared library: [libFcitx5Utils.so.2]
0x0000000000000001 (NEEDED) Shared library: [libX11.so.6]
0x0000000000000001 (NEEDED) Shared library: [libxkbfile.so.1]
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
root@debian-kernel:
# ldd /usr/bin/fcitx5-config-qt | wc -l
38

"Applications disabled for long press" not editable

fcitx5-configtool-5.0.5 on Fedora 34

Nothing happens after clicking the "create" or "edit" button for "Applications disabled for long press" in Keyboard settings. No output from terminal either. Screenshot attached.

Manually editing ~/.config/fcitx5/conf/keyboard.conf works, so this seems to be an issue for the configtool.

screenshot

dark them support

is there any progress for supporting the dark theme? or is there any way make the UI dark?

Some glitches with the French translation

Firstly, thanks for fcitx5 and the related packages!
I had to install fcitx5-gtk and reboot to start using it, but fcitx5-diagnose helped me figure that out.

I also found some potential issues with the French translation in the config tool:

  1. "Enumerate Input Method Group Forward" hasn't been translated.
  2. "Restaurer les amp;défauts" has extra characters "amp;" in the string. Maybe it should be &?

Screenshot showing the aforementioned translation glitches

Is it possible to compile fcitx5-configtool for gnome3 on Ubuntu 20.10?

I try to compile the latest fcitx5-configtool git master version for gnome3 on Ubuntu 20.10, but always failed with so many missing KDE Frameworks 5 and qt5 relative dependencies. I've tried to install the possible dependencies using the following command:

$ sudo apt-get install libkf5\*

But it still prompts that some dependent packages are missing. So I want to know whether it's possible to compile fcitx5-configtool for gnome3 on Ubuntu 20.10?

Regards,
HY

cloneFile() does not compile on FreeBSD

cloneFile() in src/migrator/lib/copydirectory.cpp does not compile on FreeBSD, because:

  1. FICLONE ioctl is Linux specific.
  2. FreeBSD's sendfile() is in another header, and it seems to be used for sending a file to a stream socket.
    The simplest fix might be just use read/write on FreeBSD.

Transparent layout subwindow

In kcm-fcitx5 , click layout button for a input method, the layout subwindow appear to be transparent:
image

Is this an issue of kcm-fcitx5 ?

Too aggressive requirement of the qt version.

On Ubuntu 20.04, I try to compile the fcitx5-configtool but meet the following error:

$ cmake ..
CMake Error at CMakeLists.txt:19 (find_package):
  Could not find a configuration file for package "Qt5" that is compatible
  with requested version "5.14.0".

  The following configuration files were considered but not accepted:

    /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.12.8
    /lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.12.8

-- Configuring incomplete, errors occurred!
See also "/home/werner/Public/repo/github.com/fcitx/fcitx5-configtool.git/build/CMakeFiles/CMakeOutput.log".

Why let fcitx5-configtool has such an aggressive requirement of the qt version? Are there any workarounds for fixing the problem?

Regards,
HY

README is an empty file

The README file in the repository root is 0 bytes. It would have been useful to consult and understand what this repository is about. Perhaps it got truncated in the import process?

Behavior of Add input search box

I think these things could be changed:

  1. Uncheck "Only show current language" by default
    image
  • Reason: many users could use multiple input method in a same system language, and the list is usually very long so they are likely to use the filtering feature rather than manually scrolling through the list... With the current default, some people could not find the needed one when they don't notice the checkbox
  1. When searching, it should search in all languages, not be filtered by the current one
    image

Untranslatable buttons

Is it possible to make the buttons translatable?
"Restore Defaults" "Reset" "Cancel" "Apply" "Close" "OK"
I think you use KDE buttons, but I don't install KDE translation.

fcitx5-mozc-2020122704

kbd-layout-viewer see current language selected

Hello,

I would like to know if it would be possible to have kbd-layout-viewer show the currently selected keyboard instead of only the one defined as the "system keyboard".

It would be super useful in case of using a layout of a new language (russian for example) without any prior knowledge of the layout.

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.