Re: [Lazarus] IBUS warning

2015-03-28 Thread JuuS


On 03/28/2015 01:00 PM, Giuliano Colla wrote:
> Il 28/03/2015 10:29, JuuS ha scritto:
>> Thanks Giuliano, I'm on Kubuntu 14.04 with, AFAIK, the default desktop.
>> I don't have that choice in my settings. On my system ibus is very well
>> hidden (i've looked in all the most likely places) which is why it is so
>> frustrating. I'll pull through  ;-)
> 
> Kubuntu stands for K(de)Ubuntu, meaning that your desktop is KDE.
> 
> It would appear that the iBus on Ubuntu 14.04 is rather broken:
> https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1284635
> 
> Possible solutions:
> 
> 1) In Ubuntu 14.04 you should have a System settings->language
> support->Keyboard input method which you should set to =none.
> 
> 
> 2) You should have an icon in your system tray showing the Ibus:
> 
> 
> But as they followed the idiotic Micro$oft way, it may be hidden,
> and accessible via the almost invisible up arrow, showing the hidden
> items.
> 
> If not, you can set up Ibus to show the icon by invoking
> "ibus-setup" from command line, and checking the "Show on system
> tray" (or something like that) checkbox.
> 
> Once you have the icon, you may right click on it and select "exit".
> 
> Or take the brute-force approach and from command line "killall
> ibus-daemon"
> 
> In both cases, you'll get rid of ibus just for the current session.

Yes, that's how I'm dealing with it now. If I forget to "ibus exit" I
find out as soon as I try typing in almost any edit field. And yes,
removal is for session only.

> 
> 
> Once you see that deactivating doesn't remove any function you need, to
> deactivate it permanently.
> Again two solutions:
> 
> 
> 1) you might attempt to find out which start-up script launches it,
> and edit it.
> 
> 2) take the brute-force approach:
> 
> sudo apt-get remove ibus

You are right. I need to get off the horse and get rid of ibus. Exiting
ibus each day has no adverse effects...only good ones! So I think brute
force is ok. I saw that the other person who had problems did apt-get
remove and he didn't report any adverse effects.

The insidiousness of this is far reaching IMO. When I first encountered
the problem (I was investigating gnuCash software) I thought wow...this
gnuCash is terrible. Before giving up on it I did some INet research and
found the "ibus" effect.

How many people are out there with this problem and not aware of the
true cause?? This impacts all programmers when their programs are
perceived to be faulty by unsuspecting ibus victims.

Thanks for all the feedback Giuliano.



> 
> 
> Giuliano
> 
> -- 
> Giuliano Colla
> 
> Project planning question: when it's 90% done, are we halfway or not yet?
> 
> 
> 
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> 

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IBUS warning

2015-03-28 Thread Giuliano Colla

  
  
Il 28/03/2015 10:29, JuuS ha scritto:


  Thanks Giuliano, I'm on Kubuntu 14.04 with, AFAIK, the default desktop.
I don't have that choice in my settings. On my system ibus is very well
hidden (i've looked in all the most likely places) which is why it is so
frustrating. I'll pull through  ;-)



Kubuntu stands for K(de)Ubuntu, meaning that your desktop is KDE.

It would appear that the iBus on Ubuntu 14.04 is rather broken:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1284635

Possible solutions:

1) In Ubuntu 14.04 you should have a System
  settings->language support->Keyboard input method which you
  should set to =none.


2) You should have an icon in your system tray showing
  the Ibus:



But as they followed the idiotic Micro$oft way, it may
  be hidden, and accessible via the almost invisible up arrow,
  showing the hidden items.

If not, you can set up Ibus to show the icon by invoking
  "ibus-setup" from command line, and checking the "Show on system
  tray" (or something like that) checkbox. 

Once you have the icon, you may right click on it and
  select "exit".

Or take the brute-force approach and from command line
  "killall ibus-daemon"
  
  In both cases, you'll get rid of ibus just for the current
  session.


Once you see that deactivating doesn't remove any function you need,
to deactivate it permanently.
Again two solutions:

  1) you might attempt to find out which start-up script launches
  it, and edit it.

  2) take the brute-force approach:

sudo apt-get remove ibus


Giuliano

-- 
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?

  

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IBUS warning

2015-03-28 Thread JuuS


On 03/28/2015 12:10 AM, Giuliano Colla wrote:
> Il 27/03/2015 20:48, JuuS ha scritto:
>> Thanks for that Giuliano. I've done INet searches researching this.
>> There are a number (read: a lot) of disgruntled people regarding ibus.
>> But I could never find a straight answer from researching if it was
>> "safe" to completely remove it without messing up input system. I think
>> this fear is a holdover from some of my MS experiences.
> If you're using Kde-Plasma Desktop you should find a Settings->Input
> Method menu entry: unchecking the "enable" box should be enough to
> disable Ibus. At least that's what I find on my desktop.

Thanks Giuliano, I'm on Kubuntu 14.04 with, AFAIK, the default desktop.
I don't have that choice in my settings. On my system ibus is very well
hidden (i've looked in all the most likely places) which is why it is so
frustrating. I'll pull through  ;-)

> 

> Giuliano
> 

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IBUS warning

2015-03-27 Thread Giuliano Colla

Il 27/03/2015 20:48, JuuS ha scritto:

Thanks for that Giuliano. I've done INet searches researching this.
There are a number (read: a lot) of disgruntled people regarding ibus.
But I could never find a straight answer from researching if it was
"safe" to completely remove it without messing up input system. I think
this fear is a holdover from some of my MS experiences.
If you're using Kde-Plasma Desktop you should find a Settings->Input 
Method menu entry: unchecking the "enable" box should be enough to 
disable Ibus. At least that's what I find on my desktop.


Giuliano

--
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IBUS warning

2015-03-27 Thread JuuS


On 03/27/2015 08:29 PM, Giuliano Colla wrote:
> Il 27/03/2015 13:36, JuuS ha scritto:
>> Thanks Giuliano. This is what I had thought but wasn't sure.
>>
>> I hesitate to remove it completely because it seems to be tied into
>> multiple keyboards which I do use. I will search for its initialization
>> and disable it because, on my system at least, it is a real pain.
> 
> If you don't actually *use* it (I mean activate it by its shortcut) to
> enter chinese ideograms or similar things which do require an input
> method, and you just want to switch from one keyboard layout to another,
> you may safely disable/remove it without any side effect.

Thanks for that Giuliano. I've done INet searches researching this.
There are a number (read: a lot) of disgruntled people regarding ibus.
But I could never find a straight answer from researching if it was
"safe" to completely remove it without messing up input system. I think
this fear is a holdover from some of my MS experiences.

Like this recent thread about Ibus and Lazarus. As soon as I read it I
recognized the problem. How many other people are looking at Linux and
finding edits that they can't type in and tearing their hair out?? Bad
mojo for Ubuntu, oder?

> 

>> I'm also a bit nonplussed that (K)Ubuntu put this on my system at all,
>> and I wonder if they are going down the (Micros*ft) road to locking down
>> the user.?!
> 
> Yes, it would appear that Microsoft is still a reference to system
> packagers, and unfortunately also to desktop designers. A lot of
> stupid/crazy stuff Microsoft style things are creeping into Linux
> desktops, recently...
> 
> Giuliano
> 
> 
> 
> -- 
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IBUS warning

2015-03-27 Thread Giuliano Colla

Il 27/03/2015 13:36, JuuS ha scritto:

Thanks Giuliano. This is what I had thought but wasn't sure.

I hesitate to remove it completely because it seems to be tied into
multiple keyboards which I do use. I will search for its initialization
and disable it because, on my system at least, it is a real pain.


If you don't actually *use* it (I mean activate it by its shortcut) to 
enter chinese ideograms or similar things which do require an input 
method, and you just want to switch from one keyboard layout to another, 
you may safely disable/remove it without any side effect.



I'm also a bit nonplussed that (K)Ubuntu put this on my system at all,
and I wonder if they are going down the (Micros*ft) road to locking down
the user.?!


Yes, it would appear that Microsoft is still a reference to system 
packagers, and unfortunately also to desktop designers. A lot of 
stupid/crazy stuff Microsoft style things are creeping into Linux 
desktops, recently...


Giuliano



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IBUS warning

2015-03-27 Thread JuuS


On 03/27/2015 01:07 PM, Giuliano Colla wrote:
> ibus is an input method. If it's enabled (i.e. if the ibus-daemon is
> running) it will intercept anything coming from the keyboard, to any
> application. It's not Lazarus calling ibus explicitly: simply attempting
> to read user keyboard input gets ibus in the way.
> 

Thanks Giuliano. This is what I had thought but wasn't sure.

I hesitate to remove it completely because it seems to be tied into
multiple keyboards which I do use. I will search for its initialization
and disable it because, on my system at least, it is a real pain.

I'm also a bit nonplussed that (K)Ubuntu put this on my system at all,
and I wonder if they are going down the (Micros*ft) road to locking down
the user.?!

> The annoying thing is that if the daemon is running, the default
> shortcut to activate it is ctrl-space, which is also the Lazarus
> shortcut for command completion.
> 
> On RH related distros (Fedora, CentOs, etc.) ibus is not enabled by
> default, unless you select as a system language one which requires an
> input method (such as chinese). It would appear that other distros, such
> as Ubuntu do enable it by default, which is rather stupid, because when
> unnecessary you have it in the way.
> 
> If you manage to find how the ibus-daemon is started in your environment
> (/etc/init.d or some upstart service), you may turn it off permanently.
> As an alternative you may try with ibus-setup to change its activation
> shortcut from ctrl-space to some unused key combination (sort of
> ctrl-alt-Backspace or something like that) so that it doesn't interfere
> with Lazarus shortcuts.
> 
> Giuliano
> 
> 
> 
> Il 21/03/2015 14:02, JuuS ha scritto:
>> Hi,
>>
>> Recently while debugging Lazarus with root privileges I got the
>> following warning:
>>
>> (lazarus:5521): IBUS-WARNING **: The owner of
>> /home/juus/.config/ibus/bus is not root!
>>
>> Q1: (lazarus:5521) has what meaning? Can I use this address to find
>> where ibus is being called?
>>
>> Q2: It appears lazarus is calling ibus explicitly?
>>
>> I ask because I hate ibus. I habitually turn it off on starting my linux
>> machine because it messes with edits and makes typing impossible (not
>> just in lazarus). If I forget to do this I notice it right away, sigh,
>> and go turn off ibus.
>>
>> Anyone else having trouble with ibus and have maybe some information
>> about it and/or how it relates to lazarus and/or linux system...
>>
>> Thanks.
>>
>>
>> -- 
>> ___
>> Lazarus mailing list
>> Lazarus@lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> 
> 
> -- 
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IBUS warning

2015-03-27 Thread Giuliano Colla
ibus is an input method. If it's enabled (i.e. if the ibus-daemon is 
running) it will intercept anything coming from the keyboard, to any 
application. It's not Lazarus calling ibus explicitly: simply attempting 
to read user keyboard input gets ibus in the way.


The annoying thing is that if the daemon is running, the default 
shortcut to activate it is ctrl-space, which is also the Lazarus 
shortcut for command completion.


On RH related distros (Fedora, CentOs, etc.) ibus is not enabled by 
default, unless you select as a system language one which requires an 
input method (such as chinese). It would appear that other distros, such 
as Ubuntu do enable it by default, which is rather stupid, because when 
unnecessary you have it in the way.


If you manage to find how the ibus-daemon is started in your environment 
(/etc/init.d or some upstart service), you may turn it off permanently. 
As an alternative you may try with ibus-setup to change its activation 
shortcut from ctrl-space to some unused key combination (sort of 
ctrl-alt-Backspace or something like that) so that it doesn't interfere 
with Lazarus shortcuts.


Giuliano



Il 21/03/2015 14:02, JuuS ha scritto:

Hi,

Recently while debugging Lazarus with root privileges I got the
following warning:

(lazarus:5521): IBUS-WARNING **: The owner of
/home/juus/.config/ibus/bus is not root!

Q1: (lazarus:5521) has what meaning? Can I use this address to find
where ibus is being called?

Q2: It appears lazarus is calling ibus explicitly?

I ask because I hate ibus. I habitually turn it off on starting my linux
machine because it messes with edits and makes typing impossible (not
just in lazarus). If I forget to do this I notice it right away, sigh,
and go turn off ibus.

Anyone else having trouble with ibus and have maybe some information
about it and/or how it relates to lazarus and/or linux system...

Thanks.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] IBUS warning

2015-03-21 Thread JuuS
Hi,

Recently while debugging Lazarus with root privileges I got the
following warning:

(lazarus:5521): IBUS-WARNING **: The owner of
/home/juus/.config/ibus/bus is not root!

Q1: (lazarus:5521) has what meaning? Can I use this address to find
where ibus is being called?

Q2: It appears lazarus is calling ibus explicitly?

I ask because I hate ibus. I habitually turn it off on starting my linux
machine because it messes with edits and makes typing impossible (not
just in lazarus). If I forget to do this I notice it right away, sigh,
and go turn off ibus.

Anyone else having trouble with ibus and have maybe some information
about it and/or how it relates to lazarus and/or linux system...

Thanks.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus