Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-25-2013, 06:18 AM
|
#1
|
Senior Member
Registered: Dec 2008
Posts: 1,190
|
[PATCH] make scim work with qt
For slackware 14.1-rc2:
Code:
--- scim.SlackBuild 2013-10-25 12:16:56.261624664 +0200
+++ scim.SlackBuild.new 2013-10-25 12:17:07.161440362 +0200
@@ -95,6 +95,7 @@
--sysconfdir=/etc \
--disable-static \
--with-gtk-version=2 \
+ --with-qt4-im-module-dir=/usr/lib${LIBDIRSUFFIX}/qt/plugins/inputmethods \
--program-prefix= \
--program-suffix= \
--build=$ARCH-slackware-linux
@@ -123,8 +124,8 @@
# Let GTK applications like Firefox/Thunderbird use scim as
# default immodule:
export GTK_IM_MODULE="scim"
- ## Enable Qt/KDE applications to use scim (not working with kde4):
- #export QT_IM_MODULE="scim"
+ ## Enable Qt/KDE applications to use scim:
+ export QT_IM_MODULE="scim"
# Make scim start automatically if the "magic key" Ctrl-Space is pressed:
export XIM_PROGRAM="/usr/bin/scim -d"
fi
@@ -136,21 +137,6 @@
# /usr/bin/scim -d
#fi
-# GTK+ environments such as XFce should support SCIM automatically, BUT
-# if the first app you run is a Qt one, you'll run into problems. This
-# can be avoided by going into Menu -> Settings -> Autostarted Applications
-# and adding SCIM: /usr/bin/scim -d
-
-# KDE will not start SCIM automatically, so you will need a script such as
-# this one in your $HOME/.kde/Autostart:
-
-#!/bin/bash
-#if [ -x /usr/bin/scim ]; then
-# /usr/bin/scim -d &
-#fi
-
-# Obviously, uncomment all but the first line. :-)
-
EOT
cat <<EOT > $PKG/etc/profile.d/scim.csh.new
|
|
|
10-25-2013, 11:42 PM
|
#2
|
Member
Registered: Mar 2012
Distribution: Slackware, Alma, OpenBSD, FreeBSD
Posts: 554
Rep:
|
It looks like it's been patched in the ChangeLog:
Code:
Fri Oct 25 22:05:38 UTC 2013
x/scim-1.4.14-x86_64-4.txz: Rebuilt.
Put the Qt module in the proper inputmethods directory, and enable the
plugin in /etc/profile.d/scim.{csh,sh}. Thanks to guanx.
x/xterm-297-x86_64-1.txz: Upgraded.
|
|
|
All times are GMT -5. The time now is 10:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|