[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ibus package and packages with "ibus" in its name



Hello. Possibly the last message in this discussion. I will not unsubscribe in this list, though. I will not mind receiving messages about this subect.


Em 19/04/2023 06:24, Gunnar Hjalmarsson escreveu:
Hi again,

On 2023-04-18 22:55, Dedeco Balaco wrote:
Em 18/04/2023 13:00, Gunnar Hjalmarsson escreveu:
On 2023-04-18 16:15, Dedeco Balaco wrote:
I recently discovered *ibus* as a way to input unicode symbols anywhere,
and not only GTK software. The example i discovered is one _right
arrow__symbol_ "shortcut" that is:

   1. Press and hold *ctrl *and *shift *keys.
   2. Type the 5 keys: *u 2 1 9 2*
   3. Release the *ctrl *and *shift *keys.

What happens with the above is that we see the keys typed in step 2
appearing in the screen, but they will be substituted by the symbol "→"
when we release the held keys, in step 3.
That method does not work for me on Gtk either. This method does, though:

https://help.gnome.org/users/gnome-help/stable/tips-specialchars.html.en#ctrlshiftu
But this link content describes _exactly__what i said_! 🤔🧐
Not quite. You are supposed to release the Ctrl and Shift keys when you 
see an underlined u on the screen. Then enter the code and confirm with 
Space or Enter.

Indeed. We interpreted that Gnome documentation in different ways. I would rewrite that to make it clear. And the truth is: both ways work. I prefer the steps i made because i do not need space or enter use to make the character appear. When i release ctrl+shift, the code pointed character appears.


But this does not work in any Qt made software, for example. But this
will be fixed with *ibus*, i was told.

Fine. Now i am installing *ibus* in my Debian. The *ibus* package does
not have many dependencies. But searching the repository for "ibus"
gives several results. Should i install them too?
No. If all you want to do is using code points for entering Unicode
characters, it's sufficient to do:

sudo apt install ibus

That will pull the additional packages which are neeed. Then reboot.

At login the im-config package will start ibus-daemon and set some
environment variables, including QT_IM_MODULE=ibus, which ought to make
sure that it works on QT apps too.
Nice. And what surprised me is that very small and few packages are
dependencies of the package *ibus*.
I suppose you mean that there are quite a few reverse dependencies, i.e. 
ibus plugin packages typically need ibus to work.

No. I really meant the dependencies for ibus package. And some hours ago, i checked: the reverse dependency for one plugin is simply ibus. It should be similar for most of them, if not all.


For this doubt i asked about what is obtained with all the other
packages i pointed in my first message in this discussion. And why are
there so many different packages to write chinese variations (and many
of them seem to be the same: just traditional chinese, for example).
Trying to explain how all fits together is beyond the scope of my 
attempt to help you. Again: Just disregard all packages which are not 
automatically pulled when installing the ibus package. You don't need 
them to use the Ctrl+Shift+U feature. They are available for users who 
need to input e.g. Chinese or Japanese.

Okey. No problem. I installed ibus, and one of the plugins (which apparently interest me). Now, i have to discover how to use everything it can do. It is not really easy - for me, at least. Strangely, i am unable to use it without a mouse. Its "menu"/"window" does not appear as another one that i can put or change focus with alt+tab. I will check its wiki, and maybe something else too.

Thank you




Reply to: