You are not logged in.
Hello Everyone,
I currently installed arch + gnome3 on two laptops, there is some issues appeared on both my computers.
#Issue1: "open with other application" changed the file association [SOLVED, thanks slowdivesouvlaki, see post #6 and #7]
For example, I have a C source code file named "test.c", the default application to open it is Gvim, but if I right-click it, click "open with other application" , and choose sublime, then the default application to open C source code file will changed to sublime.
In addition, if I create a new empty file, no matter what extension name I typed in this new file, like "test.c", "test.doc", it always keep the file type "text/plain" if I don't write some contents inside the file.
[#Issue2 and 3 solution see below]
##Issue2: Fcitx could not change keyboard layout by change input method.
I installed the fcitx just follow the wiki. My keyboard layout is en_US. But I need to input the chinese and french in my work environment.
So I installed the google-pinyin and french input method in fcitx, and I also set the locale-gen with en-UTF8, fr-UT8 and zh-UTF8.
The problem is when I toggled my input method to french, nothing happens, the layout of keyboard does not change, I could not input french characters.
But the google-pinyin works well.
So I decided to add an input resource in settings. So my input resource has "en" and "fr". Now I could input french by press <super + space> to change the keyboard layout.
But ! A new issue appears.
#Issue3: Xorg process occupy high cpu usage when I changed input resource "en" to "fr" with a browser running.
When i run a browser like firefox or chrome, I press <super+space> to change the input resource "fr", the Xorg process will occupy the 60% usage. But when I change back to "en", the cpu usage down to normal level.
Also if I open gnome applications like Nautilus , this issue also appears.
Cause my english is bad, so if you don't understand, please note.
Thanks for your helping!
Zhengshuai PENG
Last edited by Zhengshuai (2016-03-02 20:08:04)
Offline
Is there some one can give me some advice of Issue #1?
Offline
Please do not "bump" your posts.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Regarding Issue #1: Right-clicking a file and choosing Properties allows me to set the default application for this filetype. Now the application stays the same no matter what other applications you open it with. I'm not sure what the exact menu entries are called on your system but you'll figure it out I guess.
Offline
Thanks for your apply.
(And I am sorry for "bumping" the post)
The entries of right-click menu, the first is <Open with " a APP">, there is a shortcut <ctrl+o> for this entry. Next entry is "Open With Other Application", the issue I posted is about this one.
I could choose another app to open a file with "Open With Other Application", but it will change the default application to open this type of file.
I tried to find some solution to modify the right-click menu, but what I found is to add some entries in the right-click menu.(By using action extension of nautilus).
If there is a configuration to modify the entries of menu in gnome settings?
Last edited by Zhengshuai (2016-02-20 17:59:19)
Offline
There is nothing like "Properties" when you right-click a file in Nautilus? I'm not sure what's wrong with your context menu then.
Alternatively, <Ctrl+i> opens the Properties menu. There you should see an "Open With" tab where you can set the application permanently (at least in my case).
Offline
Thanks again.
#Issue 1 solved. I posted a stupid issue
The problem is in Gnome3 , it must "set the default" in the properties first, and it will set the association permanently.
======================================
And do you have some ideas about Issue #2 or #3?
ps: All the locale-gen I set properly. And I did not install anything about Ibus input method.
Offline
#Issue 2 and #Issue 3 solved:
In fact, so far we still could not change the keyboard layouts by using fcitx, but we could add the keyboard layout at the gnome-control-center, add layout to input source.
The problem which causes the Xorg process has the high cpu usage, is because an add-on in fcitx.
Go to fcitx-config, in Addon, check the "advance", and uncheck the addon "X Keyboard Integration", reboot, the high cpu usage will be disappear.
For fcitx, we could wait for further information.
Thanks
Offline
Hi, I don't know much about input methods, but I do know GNOME only supports ibus and will not accept patches for fcitx support. A lot of work went into GNOME's ibus integration.
Ubuntu has some downstream patches to make fcitx work though.
Offline
Zhengshuai, you seemed to have clicked report by mistake and sent your post to the moderators. Your post in reply to Michael Catanzaro is below.
Hello,
In fact I have discussed with the developer of fcitx, this is not a bug of fcitx.
This problem may be caused by the Gnome don't want fcitx to rewrite the keyboard layout of X. So that's means we could not change keyboard layouts of fcitx in Gnome + Arch.But there is a solution like I said, we could add the keyboard layout in Gnome-control-center. If we do not uncheck the X keyboard Integration addon in fcitx, it will cause the high cpu usage.
So, we have a temporary solution for multi-keyboard-layout with fcitx.
Originally sent at 22:00:16 UTC.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline