art emacs gui 使用fcitx输入法

fcitx 配置文件 自己的fcitx配置备份,含wbpy98simple码表。使用方法,杀掉fcitx进程后,解压到.config目录下。 立即下载

out

sudo dnf remove ibus

in

uname -r
4.5.5-300.fc24.x86_64

fcitx配置如下:
cat .bash_profile

...
export XIM=fcitx
export XIM_PROGRAM=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
eval `dbus-launch --sh-syntax --exit-with-session`
fcitx &
...

LC_CTYPE=zh_CN.utf8 emacs依然无法切换fcitx输入法

baidu emacs fcitx gui
http://tieba.baidu.com/p/3694125017
暴力删除 ibus-daemon

alg

sudo dnf remove ibus

Dependencies resolved.
=============================================================================================================================================================================
 Package                                        Arch                                Version                                      Repository                             Size
=============================================================================================================================================================================
Removing:
 ibus                                           x86_64                              1.5.13-4.fc24                                @updates                              1.4 M
 ibus-gtk2                                      x86_64                              1.5.13-4.fc24                                @updates                               31 k
 ibus-gtk3                                      x86_64                              1.5.13-4.fc24                                @updates                               31 k
 ibus-libpinyin                                 x86_64                              1.8.0-2.fc24                                 @updates                              2.7 M
 ibus-setup                                     noarch                              1.5.13-4.fc24                                @updates                              262 k
 ibus-wayland                                   x86_64                              1.5.13-4.fc24                                @updates                               24 k
 kyotocabinet-libs                              x86_64                              1.2.76-11.fc24                               @updates                              1.0 M
 libpinyin                                      x86_64                              1.6.91-1.fc24                                @updates                              1.1 M
 libpinyin-data                                 x86_64                              1.6.91-1.fc24                                @updates                               35 M

Transaction Summary
=============================================================================================================================================================================
Remove  9 Packages

Installed size: 41 M

reboot重启后启动emacs,无需添加参数,切换成功(修改了切换键为shift+space)

Globus 数据下载 Globus 大数据下载流程~ 阅读详情

相关推荐

动态规划法:n*m方格前进问题

在一个n*m的方格中,m为奇数,放置有n*m个数,方格中间的下方有一人,此人可按照正前方相临的五个方向(方格)前进但不能越出方格。人每走过一个方格必须取此方格中的数。要求找到一条从底到顶的路径,使其数相加之和为最大。输出和的最大值。 算法设计: 可以使用动态规划方法,从顶部开始,将第二排的每个数加上顶部第一排的最优解,将6排的问题缩小为5排的问题,然后重复该操作,直到底部最后一排,此时

Winifred_1997的博客 4675

ubuntu 22.04配置开发环境 [Fcitx5中文输入法+配置 & 迁移vscode & 安装flameshot & 微信 & mysql &workbench & yarn工具 & zsh]

快捷键:快捷键的配置文件在用户数据里, 目录是C:\Users(用户)\Administrator(你的用户名)\AppData\Roaming\Code\User, 建议把整个文件夹复制过去. 里面还包括你的一些自定义设置, 比如界面语言等.插件: 目录为C:\Users(用户)\Administrator(你的用户名).vscode\extensions, 把此文件夹复制过去, 就相当于把你安装的插件复制过去了.最简单三步骤,把下面的命令都跑一遍之后重启电脑,不要去下载搜狗输入法,非常垃圾。

double_sheep的博客 3022

StarUML最新版汉化与破解二合一教程:5分钟搞定永久使用

本文提供StarUML最新版的高效使用指南,涵盖从安装到深度定制的全流程优化方案。包括软件获取最佳实践、界面个性化设置、核心建模技巧、团队协作策略及性能优化建议,帮助架构师和开发团队提升UML建模效率。特别推荐版本控制集成和文档自动化输出方案,适用于各类规模的项目开发。

weixin_42530732的博客 450

【Linux】Emacs无法输入中文的一种解决方案

在emacs无法切换输入法、无法调用Fcitx的问题;输入法调用正常,但无法将汉字输入emacs。

cumtLeibnizDavid的博客 1185

GEO芯片数据下载和探针ID转换(保姆级教程)

R语言安装、GEO芯片数据下载、探针ID转换

qq_43138237的博客 3万+

告别裸机SPI!用HAL库和CubeMX重新玩转STM32与MAX6675温度传感器

本文详细介绍了如何利用STM32CubeMX和HAL库高效驱动MAX6675温度传感器,实现稳定可靠的热电偶温度监测系统。通过图形化配置SPI接口和封装专用驱动函数,开发者可以快速构建嵌入式温度测量方案,适用于工业控制、物联网设备等多种应用场景。

weixin_42525632的博客 233

ArchLinux Emacs fcitx中文输入法

一直没搞定,最近发现emacs 自带的输入法在spacemacs下面特别慢,而且容易造成程序卡死,所以还是再试了一下,搞定了。方法总结如下:~/emacs25.sh文件如下:#!/bin/bash export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS=@im=fcitx export LC_CTYPE=zh_

Dean Chen的专栏 2936

嵌入式学习之QT学习---14 QT跨平台运行之把QT程序交叉编译到ARM开发板

想要把qt工程放到开发板上运行,就需要用到交叉编译。由于qt是跨平台的,所以只需要换个编译器编译一下就可以。 以“定时器”的例子为例,在移植之前还需要进行一个准备工作,在windows下运行的时候,电脑屏幕很大,但是运行的窗口只有一点点大,开发板也有外接屏幕,如何让运行窗口自动适配开发板的外接屏幕呢?令其占满屏幕显示,而不是一小块。 第一步:需要设置一下,先给ui布局,如果不布局,控件就不会随着屏幕的大小的变化而变化。 第二步:利用代码来获取屏幕的大小,给widget.cpp文件下添加如下代码 #inclu

qq_42822743的博客 5456

安装配置fcitx输入法

fcitx的用户配置拼音词库在, 其中pybase.mb为拼音单字库,为拼音词库。若这两文件并不存在,直接将下载的词库放置到。重启Fcitx即可。fcitx5对于fcitx5而言,由于 fcitx5支持导入搜狗词库,因此很大程度上不需要自定义词库,但是 fcitx5依然提供了相关工具。原始词库文件是一个文本文件,其格式为:汉字 拼音 频率在得到原始词库文件后,调用libime_pinyindict "词库文件.txt" "词库文件.dict"即可。自定义词库文件放置在。

GaaraZ的博客 7546

2026年经纬恒润嵌入式笔试试卷带答案

2026年经纬恒润嵌入式笔试试卷涵盖车规MCU选型(如TriCore)、Cortex-M启动流程、指针数组区别、AUTOSAR OS任务调度(静态优先级抢占)、CAN总线特性(终端电阻必要性)、PID控制原理、SOME/IP协议应用等核心知识点。试题聚焦汽车电子系统设计,强调功能安全与实时性要求,涵盖中断处理、Bootloader升级机制、内存布局及可靠性设计(如看门狗、ECC校验)。多选题考察通信协议分层应用,填空题强化基础概念(如MSP初始值、SOME/IP、积分项作用)。整体体现车载嵌入式开发对底层原

Open 75

C#上位机实战:手把手搭智慧工业数字孪生系统,从设备建模到实时联动全落地

字段长度(字节)说明起始标识2固定为0xAA55,用于判断数据包开始设备ID4唯一标识设备(比如1001代表电机1)数据类型10=布尔(启停),1=浮点数(转速/温度)数据长度4数据字节数(布尔1字节,浮点数4字节)数据内容N实际数据(按数据长度读取)校验位1前面所有字节的异或校验,防止数据篡改结束标识2固定为0x55AA,用于判断数据包结束。

这里只有干货:从 Modbus 通信到 MES 对接,从 YOLO 训练到工控机部署,带你搞定工业软件开发全流程。 964

emacs中使用fcitx

      由于输入法问题,一直没有使用emacs,最近由于要看大量代码,希望找一个好一些的类IDE环境,于是又想起了emacs。      Google了很久,一般都说要设置系统环境变量(LANG=zh_CN.UTF-8或LC_CTYPE=zh_CN.UTF-8),但我是英文的locale,这样设置后fcitx无法调出,字体也变得有点怪了,于是不得已又改了回来。      另一种做法是在

tiger_flying的专栏 1974

从Safety Manual到系统安全概念

本文系统阐述了构建功能安全"证据链"的工程化方法论,核心要点包括:1)建立"风险→对策→验证→证据"闭环链条;2)SafetyManual和FMEDA作为关键证据支撑点,前者界定系统安全边界,后者量化诊断覆盖率;3)通过四步法继承芯片安全机制并扩展至系统级;4)形成"设计-分析-验证"三维闭环体系,包括安全目标、技术实现和验证矩阵;5)强调证据链闭环对安全认证和OEM认可的重要性。该方法论实现了从理论要求到工程实践的完整转化,确保安全设计可验证、可

VehSwHwDeveloper的博客 720

Emacs 输入法切换与set-mark 冲突的解决方案

最近开始使用Emacs,但是在终端环境下使用的时候set-mark的快捷键是C-space,但是会与输入法的切换冲突。我使用的是fcitx 谷歌拼音,之前在系统设置里面更改切换的键位但是并没有效果,后来才知道,fcitx自己也有一个切换输入法的快捷键,也需要更改。 在fcitx > Configure > Global Config > Trigger Input Method 中修改切换输入法

Faith_Lastation23的博客 2500

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

android 蓝牙通讯demo

android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。

emacs 中使用fcitx进行中文输入必要设置

fcitx中文输入 fcitx中文输入 Table of Contents 1 emacs 中使用fcitx进行中文输入必要设置 1.4.1 Emacs默认fontset会使用"-*-*-*-r-normal–14-*-*-*-*-*-*-*"字体(terminus...

chikaict506544的博客 387

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

emacs中不能使用fctix的问题解决

很简单一句话: 就在/etc/X11/Xsession.d/80im-switch中加入一句export LC_CTYPE=zh_CN.UTF-8 注销或重启下就可以了

holoblog 205

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Ubuntu下emacs中文输入法(fcitx)设置

简介 在ubuntu下直接安装emacs, fcitx时,运行emacs切换不了输入法,即不能输入中文。本文主要讲解如何用最少的命令即可在系统中使用fcitx来输入中文。 配置 /etc/environment文件中追加 export LC_CTYPE="zh_CN.UTF-8" locale配置 sudo locale-gen 重启 查看原文:https://www.

王命风的博客 2090

You're currently running Fcitx with GUI 错误解决 Fcitx

在英文版ubuntu配置输入法时,点击 Configure Current Input Method 会报以下的错误: You’re currently running Fcitx with GUI, but fcitx-configtool couldn’t be found, the package name is usually fcitx-config-gtk, fcit...

weixin_30474613的博客 1861

emacs中文输入法不能输入的问题

如果你是远程连接客户端 请把格式改为“utf-8”的格式 再重启就可以了

qq_35195390的博客 1035

fcitx输入法安装很简单的方法

Ubuntu 14.04 LTS中自带的iBus输入法有多么的难用,这个不用我来说,今后你会看到各种吐嘈会像滔滔江水连绵不绝的。这里我们不抱怨,我们自己来着手解决中国人自己的Linux中文输入法问题。Fcitx是当之无愧的最好的中文输入法(框架),真的非常感谢作者——当然是中国人,不然谁给你写这头痛的东西。当Linux走进平常百姓家的时候,我确信Fcitx的贡献起码也得有好几个百分点呀!

Inkbamboo专栏 7479

ubuntu + emacs + fcitx 中文输入解决方案

曾经我写过一篇用scim+emacs的配置文章,现在看来这个世道越来越不对,我居然花了半天都没有把中文系统配置出来。病急乱投医,我赶快找了个替代品,终于还是把那么重要的事情做好了。首先当然是emacs。这个大家都应该有了,所以我不再罗嗦。老大fcitx登场。安装就按照官方介绍的吧:sudo apt-get install im-switch fcitx sudo im-switch -s fcit

空空的世界 2027

ubuntu里开启emacs中文输入

首先要安装中文输入法,安装方法可以看这里:http://blog.youkuaiyun.com/nicekwell/article/details/17627893 安装好中文输入法之后,在emacs里仍然是不能输入中文的。原因有两点:1、emacs的“ctrl+space”键是有自己的用处的。2、emacs的中文编码环境要设置成zh_CN.UTF-8。 所以要做的事情有两个: 1、禁用emacs的"c

nicekwell的专栏 2529

英文ubuntu系统中emacs输入中文

原来安装emacs的时候,由于是选择的英文系统,所以,不能在打开的emacs中输入中文,在网上搜索的一个折中的方法是在$HOME/.bashrc 中添加一行: alias emacs="export LC_CTYPE=zh_CN.UTF-8;emacs"; 这样的话,只要是在terminal中打开的emacs都可以输入中文,但是其他的方式就不行。 (我用的是fcitx输入法,并且要注意在l

WinLin 8957

linux emacs 中文,emacs 中使用fcitx进行中文输入必要设置

fcitx中文输入fcitx中文输入Table of Contents1 emacs 中使用fcitx进行中文输入必要设置1.1 LCCTYPE=zhCN.UTF-81.2 emacs 编译gtk2 gtk3 模块1.3 fcitx-diagnose 没有问题1.4 xlsfonts 命令中包含"-*-*-*-r-normal–14-*-*-*-*-*-*-*"的字体1.4.1 Emacs默认fo...

weixin_42155721的博客 215

art emacs解决markdown-mode预览报错/bin/bash: markdown: command not found

outcustom-set-variablesingoogle /bin/bash: markdown: command not found http://stackoverflow.com/questions/14231043/emacs-markdown-mode-error-on-preview-bin-bash-markdown-command-not-found(custom-set-v

严谨死板君的专栏 4204

art pandoc转换markdown文档为带目录的HTML文档

outpandoc –tocinman pandoc /toc –toc, –table-of-contentsalgcat 1.md#1 ##1 111pandoc --toc -f markdown_github -s 1.md -o 1.html

严谨死板君的专栏 2760
上一篇: notes Hunspell Tutorial
下一篇: notes ExcelHome-excel2010应用大全
严谨死板君
博客等级 码龄12年 9粉丝 143原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值