FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-17-2010, 11:49 AM
Osamu Aoki
 
Default : Scim and iceweasel

Hi,

There are many ways to solve issues.

On Fri, Jul 16, 2010 at 01:17:22AM -0400, H.S. wrote:
> > Now I have the skim applet on my KDE panel but I am not able to switch
> > the languages. I have done no other modifications in any files though. I
> > was hoping that using scim (in KDE, using skim?) would be quite
> > straightforward. Could you show some insights on how to get it to work
> > in KDE, hopefully without having to edit any text files?

You should install im-switch or im-config to get easier time
configuring. I admit new im-config needs update to cover skim but
installing im-switch should give you configuration. Then follow
documentation in /usr/share/doc/im-switch/

> On a newly installed amd64 Testing system, it was quite simple to get
> scim working in KDE.
...
> STEP 2:
> Next, based on
> http://lorenzod8n.wordpress.com/2008/01/17/setting-up-scim-on-debian/, I
> put these lines in my ~/.bashrc:
> #for scim
> export XMODIFIERS='@im=SCIM'
> export GTK_IM_MODULE="scim"
> export QT_IM_MODULE="scim"

Sourcing ~/.bashrc does not work for programs started by menu as I
understand. So this is not the best solution.

We as Debian puts glue layer for user. Although you have power to
override it, please do not advatize methods which break thigs for
Debian. There are many documentation in /usr/share/doc/scim and
/usr/share/doc/skim . Please read them. If they are wrong, please file
bug report.

Thanks.

Osamu -- scim and im-switch packager ..


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100717114939.GA31671@debian.org">http://lists.debian.org/20100717114939.GA31671@debian.org
 
Old 07-17-2010, 02:54 PM
"H.S."
 
Default : Scim and iceweasel

On 17/07/10 07:49 AM, Osamu Aoki wrote:


Sourcing ~/.bashrc does not work for programs started by menu as I
understand. So this is not the best solution.


Isn't the file read when one logs in to a DE? That is what appears to be
happening when I log in to KDE. Since I put those variables in
~/.bashrc, scim is working flawlessly for me. But this may be happening
due my ~/.profile which sources .bashrc file. Sorry, I always get
confused in these files intended order/situations of reading (including
~/.bash_profile).


In any case, I should have mentioned this, the main point my posting of
the solution was that in a newly installed system, apart from installing
those methods I just had to set those variables. It doesn't matter how
one sets those (perhaps in /etc/profile), but without setting those scim
did not work for me.




We as Debian puts glue layer for user. Although you have power to
override it, please do not advatize methods which break thigs for


Well, I don't think these kind of warnings really have any meaning when
it comes to looking who posts what on the internet


Don't get me wrong, I know where you are coming from, but posting one's
experience, even if it may come from off beat path or from unusual
recommendations, is really what makes the internet what it is: highly
inaccurate, extremely helpful and quite interesting. What a mix!



Debian. There are many documentation in /usr/share/doc/scim and
/usr/share/doc/skim . Please read them. If they are wrong, please file
bug report.


Thank you for pointing this out. Yes, I do refer to those docs. Didn't
for this particular situation this time though. I looked them up again.
They are excellent. To the future reader, to get scim working, the most
important sections are "Locales" and "Using Scim" in
/usr/share/doc/scim/README.Debian.gz.


While asking for help in this thread, I was hoping that I would not need
to hack around various config file to get scim working. Looking at the
readme file also made me recall wondering in the past as to why the heck
do the kind of things like the following still remain, "...There is one
limitation in SCIM, that you must tell SCIM the UTF-8 locale you want to
use SCIM in..." *Mus*t I? If I *must*, and this has been like this for
quite a while, why can't the package installer just ask for a default
locale during installation?


And reading the file further is liable it make a causal user confused as
to what method to choose. After some years of my first having read the
file, nothing seems to have changed in this regard. I wonder how Ubuntu
does this. Do they also want users editing system files after choosing
one of the various options listed in the docs? Browsing the internet a
bit, i looks like they solved the problem from Ubuntu 8.10 and beyond.



--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: i1sg6n$62u$1@dough.gmane.org">http://lists.debian.org/i1sg6n$62u$1@dough.gmane.org
 
Old 07-17-2010, 06:38 PM
Michelle Konzack
 
Default : Scim and iceweasel

Hello H.S.,

Am 2010-07-17 10:54:15, hacktest Du folgendes herunter:
> While asking for help in this thread, I was hoping that I would not
> need to hack around various config file to get scim working. Looking
> at the readme file also made me recall wondering in the past as to
> why the heck do the kind of things like the following still remain,
> "...There is one limitation in SCIM, that you must tell SCIM the
> UTF-8 locale you want to use SCIM in..." *Mus*t I? If I *must*, and
> this has been like this for quite a while, why can't the package
> installer just ask for a default locale during installation?

Because each user can have a different UTF-8 locale and seting it global
can habve nexpected results?

Thanks, Greetings and nice Day/Evening
Michelle Konzack

--
##################### Debian GNU/Linux Consultant ######################
Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems@tdnet France EURL itsystems@tdnet UG (limited liability)
Owner Michelle Konzack Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/> <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/> <http://www.can4linux.org/>

Jabber linux4michelle@jabber.ccc.de
ICQ #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/
 
Old 07-17-2010, 08:55 PM
Osamu Aoki
 
Default : Scim and iceweasel

Hi,

On Sat, Jul 17, 2010 at 08:56:13AM -0700, Kelly Clowers wrote:
> On Sat, Jul 17, 2010 at 07:54, H.S. <hs.samix@gmail.com> wrote:
> > On 17/07/10 07:49 AM, Osamu Aoki wrote:
> >>
> >> Sourcing ~/.bashrc does not work for programs started by menu as I
> >> understand. *So this is not the best solution.
> >
> > Isn't the file read when one logs in to a DE? That is what appears to be
> > happening when I log in to KDE. Since I put those variables in ~/.bashrc,
> > scim is working flawlessly for me. But this may be happening due my
> > ~/.profile which sources .bashrc file. Sorry, I always get confused in these
> > files intended order/situations of reading (including ~/.bash_profile).
>
> .bash_profile is always read at login. .bashrc is often read at login as well,
> due to being sourced in .bash_profile, but not all systems are set up this way.
> .bashrc is read for every non-login shell that is started.

There were discussion how to initialize X environment. Debian is
different from RH.

Environment are set
1. PAM for gdm via /etc/environment
2. /etc/X11/Xsession with $HOME/.xsessionrc

Unlike RedHat, Debian do not source $HOME/.profile in obvious way as I
see. (I did not check if $HOME/.profile is sourced somewhere but above
are the main location to set it. Otherwise use hooks provided by glue
software such as im-switch or im-config run in /etc/X11/xinit/xinput.d/)


> Currently, my ibus env setting are in /etc/X11/xinit/xinput.d/

That is im-switch

> I think ibus actually set them up itself, as I don't remember doing it (I set up
> scim in /etc/profile, back when I used it, I think)

Are you sure you were using Debian ?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100717205505.GA23707@debian.org">http://lists.debian.org/20100717205505.GA23707@debian.org
 
Old 07-26-2010, 03:26 PM
"H.S."
 
Default : Scim and iceweasel

On 17/07/10 02:38 PM, Michelle Konzack wrote:

at the readme file also made me recall wondering in the past as to
why the heck do the kind of things like the following still remain,
"...There is one limitation in SCIM, that you must tell SCIM the
UTF-8 locale you want to use SCIM in..." *Must* I? If I *must*, and
this has been like this for quite a while, why can't the package
installer just ask for a default locale during installation?


Because each user can have a different UTF-8 locale and seting it global
can habve nexpected results?



(sorry for resurrecting this a bit stale thread).
Couldn't this be solved by defaulting to the current locale when scim
starts as a user logs in? If I am not mistaken, the
SupportedUnicodeLocales line can take multiple locales. So one method
could be that scim set the variable for the user (the first time it is
started perhaps) to all the locales installed on the system if the
previous option (of setting it to the user's locale only) is not feasible.


Regards.



--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: i2k9ff$ppa$1@dough.gmane.org">http://lists.debian.org/i2k9ff$ppa$1@dough.gmane.org
 

Thread Tools




All times are GMT. The time now is 07:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org