Jump to content


  • Posts

  • Joined

  • Last visited

Contact Methods

  • Website URL
  • ICQ

Jiawen's Achievements

New Here

New Here (1/7)



  1. I bought a Logitech MX610 mouse recently and have been trying to get the left-side thumb buttons configured as I want them. Currently, they both operate as the left mouse button. I want them to work as the middle mouse button. (Primarily for browsing -- I use MMB in Firefox all the time to open a new tab in the background.) I'm using Gnome 2.10 on Mandrake 2006. Here's the relevant part of my current xorg.conf file: Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Ideally, I'd also like to be able to set the mousewheel so that the left/right scroll works in addition to the up/down scroll. Is there a way to do this by only modifying my xorg.conf file? I'd really like to avoid having to recompile my kernel or anything like that. Thanks!
  2. I don't think it's a plugin issue. XMMS is crashing with the xmms: charset.c:1002: xmms_charset_recode_id3: Assertion `buf' failed. Aborted message regardless of which sound plugin I use. Other ideas? Please? :)
  3. Thanks for responding, both of you! I use Gnome. I installed the xmms-esd plugin, and it shows up in the XMMS output list, but XMMS then crashes. It also crashes at the end of a CD. I also tried under KDE with xmms-arts and got the same results. When I try to use Grip and ignore then "incorrect encoder" errors, it won't let me. If I try ripping a CD, it just gives me that error message and dumps me back to the main program interface. Any other ideas? I really appreciate your help, and I hope it's not too much to ask for more... :)
  4. I'm running XMMS under Mandrake 10.1 Official and it's crashing. I've tried all of these things: reinstalling XMMS, deleting my ~/.xmms directory, reinstalling the Audio CD Reader package, running it with both OSS and ALSA, chmodding my CD drives, and running XMMS without the "soundwrapper" addition. None of these have helped, though I may have done these things incorrectly. Before I deleted my ~/.xmms directory, XMMS would crash immediately upon opening it. I also couldn't get it to read CD's before. Now, though, it reads CDs correctly and plays tunes correctly, but when it gets to the end of a CD (after playing the last track), it crashes. When I run it from a terminal, this is the error message I get: xmms: charset.c:1002: xmms_charset_recode_id3: Assertion `buf' failed. Aborted I can play CDs with the Mandrake CD Player, but I'd rather be able to use XMMS. I have similar problems when I try to run ripperX. When I open it, it says: Error Code 14 Make sure an audio disc is in the drive and that you are either running ripperX as root, are a member of the "cdrom" group, or otherwise have appropriate permissions to access the CDROM drive. Error: cdparanoia complains: Unable to open disc. Grip, on the other hand, appears able to read the CDs with no problems. (I can't figure out how to rip to mp3, but that's another problem, right?) Under Mandrake 9.2, I didn't have any of these problems. Please help! I'd really like to be able to listen to music without difficulty...
  5. Hi all, I was having problems getting Firefox to run under Mandrake 10.1. Every time I tried to run it, I'd get this error: root@localhost firefox-installer]# ./firefox-installer SCIM: im_module_init free(): invalid pointer 0x821ca48! free(): invalid pointer 0x821ca20! ./firefox-installer: line 56: 24620 Segmentation fault (core dumped) ./${BINNAME}-bin $@ I found a solution, which is unfortunately not very elegant, at the Linux Format forums: It works, but it feels like it shouldn't be necessary to change the startup script for Firefox (and other apps, as it happens) to get them to work. In Mandrake 9.2, I added those export commands into a file called ~/.i18n, but there doesn't seem to be anything like that in Mandrake 10.1. Does anyone know of a better solution to this problem? [moved from Software by spinynorman]
  6. I'm trying to install Gnome 2.6.2 on my Mandrake 9.2 Chinese (Traditional TW) system. I seem to be in dependency hell. Gnome 2.6 shows up in the RPMdrake list, but when I try to install it, I get the following error: The following packages have to be removed for other to be upgraded: chkfontpath-1.9.10-1mdk.i586 (due to missing XFree86-xfs) Is it okay to continue? When I try to install XFree86-xfs, I get the following message: Some package requested cannot be installed: XFree86-xfs-4.3-32.2.100mdk.i586 (due to unsatisfied XFree86-libs[== 4.3-32.2.100mdk]) do you agree ? As far as I can tell, that package doesn't exist. There is, however, something called libxfree-4.3-32.2.100mdk. However, when I try to install that, I get the following error: Some package requested cannot be installed: XFree86-4.3-24.5.92mdk.i586 (due to unsatisfied libxfree86[== 4.3-24.5.92mdk]) libxfree86-4.3-24.5.92mdk.i586 do you agree ? I found and tried to install libxfree86-4.3-24.5.92mdk, but I then get this error: Some package requested cannot be installed: XFree86-server-4.3-24.5.92mdk.i586 (due to missing XFree86-xfs-4.3-23mdk.i586) XFree86-xfs-4.3-23mdk.i586 (trying to promote XFree86-xfs) chkfontpath-1.9.10-1mdk.i586 xorg-x11-xfs-6.7.0-3mdk.i586 (due to unsatisfied chkfontpath[*]) do you agree ? So the thing requires an earlier version of itself?!? And I've now looped back to the chkfontpath requirement. Is this not the very definition of dependency hell? What should I do? Try to install gnome-2.6.2 with nodeps? But I get the same problem with many other apps (bittorrent gui, amarok, etc.), so I'd really like to get the problem solved once and for all. I'm pretty lost here. Thanks in advance for any help!
  7. I checked out the documentation page you mentioned. The combination of computer terms and simplified Chinese confused me quite a bit, but I noticed one thing: Su says to use GTK_IM_MODULE=scim, not GTK_IM_MODULE=xim. I changed this. On login, SCIM still wasn't working, so I put it on the back burner. However, I was having some other problems -- something was making Gnome very slow, messing with the Gimp interface, etc. -- so I had to restart the system a couple times. On the most recent restart, among other benefits, SCIM was working correctly. SCIM 好像可以用了! It's a little slow, but it seems very stable. Now I just need to figure out how to use tones. :) Thanks again for all your help, zero0w. I will credit you when I get this all written up as a how-to. Would you like me to say anything specific there (your homepage, e-mail address, etc.)? Happy happy happy! :) I don't know how I got it fixed, but I got it fixed!
  8. Just a short addendum to my previous post... On a hunch, I tried getting SCIM set up and then logging into KDE instead of Gnome. Everything worked perfectly. So, it's a problem with Gnome. I already made sure both ~/.18n and /etc/sysconfig/i18n have the "GTK_IM_MODULE=xim" line, but that didn't change anything. As Mr. Su says on his page, I also ran "gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules" as root. This also didn't help. I tried "scim -f socket -ns socket -d", as he mentions, but that resulted in this: Smart Common Input Method 0.9.0 Loading simple Config module ... Creating backend ... Loading Server module: pinyin ... Loading Server Factory 0 ... : OK pinyin Server module is successfully loaded. Loading Server module: rawcode ... Loading Server Factory 0 ... : OK rawcode Server module is successfully loaded. Loading Server module: table ... Loading Server Factory 0 ... : OK Loading Server Factory 1 ... : OK Loading Server Factory 2 ... : OK Loading Server Factory 3 ... : OK Loading Server Factory 4 ... : OK Loading Server Factory 5 ... : OK Loading Server Factory 6 ... : OK table Server module is successfully loaded. Loading socket FrontEnd module ... Failed to load socket FrontEnd module. I don't know what that means. I'm getting closer to the solution, I can feel it. And all thanks to you, zero0w! :)
  9. I changed everything except .i18n back to the way it was before, and changed my .i18n file back to: LANGUAGE=zh_TW.Big5:zh_TW:zh_HK:zh LC_ADDRESS=zh_TW LC_COLLATE=zh_TW LC_NAME=zh_TW XIM=xcin LC_NUMERIC=zh_TW LC_TIME=zh_TW LC_MEASUREMENT=zh_TW LANG=zh_TW LC_MESSAGES=zh_TW LC_IDENTIFICATION=zh_TW LC_CTYPE=zh_TW LC_TELEPHONE=zh_TW CONSOLE_NOT_LOCALIZED=yes ENC=big5 LC_MONETARY=zh_TW XIM_PROGRAM=xcin LC_PAPER=zh_TW XMODIFIERS="@im=xcin-zh_TW" Xcin is now working pretty normally -- which is to say, somewhat buggily and far from perfect, but workable. I'd still rather get SCIM working. I tried changing only the .i18n file for SCIM, and I installed scim-gtk2-immodule-0.9.0-1.i586.rpm, but I have no idea what this means. James Su says: However, I don't understand a lot of that. What is the GTK2 IMModule? Why would I want to run it? How do I start SCIM at login this way? Do I need to get this stuff working to have SCIM work under any Gnome application, or just with specific ones? Part of the problem is that Mr. Su's English is not as good as it could be. A sentence like "Of course you can let the scim running with the X11 FrontEnd uses the same Input Method service provided by the scim running with the Socket FrontEnd" would be complicated if it were only computer instructions, but he also doesn't have a clear main verb. I have very little idea what that sentence means. Unfortunately, the page doesn't have a Chinese version. SCIM is a really cool program, but the documentation is a little lacking. (If I ever get this figured out, I'm going to write up a howto and put it on my page, as well as offer to write more complete documentation for Mr. Su's page.) You mentioned that I may have to add "GTK_IM_MODULE=xim" to my /etc/syconfig/i18n or ~/.i18n. How do I know if I need to add that line to those files? Just experiment, I guess...? What else would I need to change? How would I know what I need to change? I think that's about it for now. I'm sure I'm missing something, but I can't think of what. :) As before, thanks for all the help. You've been amazingly patient with me. And thanks again for any further help you can give. By the way, if you created the Sodipodi images on your website, you also seem to be a great artist. Creating a car from scratch using vectors is... amazing. I've done some messing around in Corel Draw, but not much in Sodipodi. Maybe we'll have to compare notes when I get it running right.
  10. I've tried a couple other things since that last post. Nothing's working right, still. I checked LinuxSir.org and found several mentions of OO and SCIM, but nothing helped. I also saw a lot of problems with SCIM. Perhaps SCIM isn't ready for real-life use? Also, LinuxSir's search function didn't seem to be working, so I couldn't find all the mentions of OO. I decided to reinstall XCIN. At least it was working in OpenOffice, before. So I uninstalled the SCIM RPMs and reinstalled the XCIN ones. I changed all the configuration files back. Or at least I thought I did -- XCIN doesn't work now. I have no Chinese input at all. :( Here's how they read now: /etc/sysconfig/i18n: LANGUAGE=zh_TW.Big5:zh_TW:zh_HK:zh LC_ADDRESS=zh_TW LC_COLLATE=zh_TW LC_NAME=zh_TW XIM=XCIN LC_NUMERIC=zh_TW LC_TIME=zh_TW LC_MEASUREMENT=zh_TW LANG=zh_TW LC_MESSAGES=zh_TW LC_IDENTIFICATION=zh_TW LC_CTYPE=zh_TW LC_TELEPHONE=zh_TW CONSOLE_NOT_LOCALIZED=yes ENC=big5 LC_MONETARY=zh_TW XIM_PROGRAM=XCIN LC_PAPER=zh_TW XMODIFIERS="@im=XCIN-zh_TW" /etc/X11/xinit/xinitrc: #!/bin/sh # (c) 2000-2002 MandrakeSoft # $Id: xinitrc-xinitrc,v 1.2 2002/09/10 05:53:43 flepied Exp $ # Set a background here because it's not done anymore # in Xsesion for non root users if [ "`whoami`" != root ]; then xsetroot -solid "#21449C" fi exec /etc/X11/Xsession $* xcin -d export XMODIFIERS=@im=XCIN-zh_TW /etc/X11/xinit/XIM: #!/bin/bash # read the user (~/.i18n) or system-wide (/etc/sysconfig/i18n) i18n settings . /etc/profile.d/10lang.sh # The Gnome applets must not be launched each time if they are already # managed by Gnome; here is the file path to the Gnome Applets config file; # so we can do a grep to see if a given applet is already managed by Gnome GNOME_APPLET_CONFIG="$HOME/.gnome/panel.d/default/Applet_Config" if [ -z "$XIM_PROGRAM" -a -z "$XIM" ]; then locale=C if [ ! -z "$LC_ALL" ]; then locale=$LC_ALL elif [ ! -z "$LC_CTYPE" ]; then locale=$LC_CTYPE elif [ ! -z "$LANG" ]; then locale=$LANG fi case $locale in zh_TW*) export LC_CTYPE=zh_TW.Big5 XIM=XCIN ;; zh_CN*) XIM=Chinput ;; ja*) XIM=kinput2 ;; ko*) XIM=Ami ;; *) XIM=none ;; esac fi if [ -z "$XIM_PROGRAM" ]; then case "$XIM" in Chinput) XIM_PROGRAM=chinput;; scim*) XIM_PROGRAM=scim;; xcin) XIM_PROGRAM=xcin;; kinput2) XIM_PROGRAM=kinput2;; Ami) # now ami determine which mode it will take from $DESKTOP variable # (not from this script's first argument given by Xsession script) # i think this way seems better. # -- Jaegeum -- case $DESKTOP in # Gnome init program automatically restore previous session's # ami_applet. If you put ami_applet here, you may experience a lot of # repeated error windows that report "an applet died abruptly". # so we first check if the ami_applet is referenced in Gnome config # files # I think removing ` and ` around grep command is more reasonable. # -- Jaegeum -- Gnome|GNOME|gnome) if [ -f "$GNOME_APPLET_CONFIG" ] && \ grep -q '\<ami_applet\>' "$GNOME_APPLET_CONFIG"; then XIM_PROGRAM=/bin/true elif [ -x /usr/bin/ami_applet ]; then XIM_PROGRAM=ami_applet else XIM_PROGRAM=ami fi;; # Now new wmami supports KDE2 docking mode. # XIM_PROG_ARGS variable is added to send xim's arguments if # they are needed. # -- Jaegeum -- KDE|Kde|kde) XIM_PROGRAM=wmami XIM_PROG_ARGS="-wait";; WindowMaker|WINDOWMAKER|Windowmaker|windowmaker) XIM_PROGRAM=wmami XIM_PROG_ARGS="-wait";; # Following three WM entries should be added # because that wmami supports them is already well known fact. # -- Jaegeum -- AfterStep|AFTERSTEP|Afterstep|afterstep) XIM_PROGRAM=wmami XIM_PROG_ARGS="-wait";; Enlightenment|ENLIGHTENMENT|enlightenment) XIM_PROGRAM=wmami XIM_PROG_ARGS="-wait";; BlackBox|BLACKBOX|Blackbox|blackbox) XIM_PROGRAM=wmami XIM_PROG_ARGS="-wait";; *) XIM_PROGRAM=ami;; esac;; *) XIM_PROGRAM=/bin/true;; esac fi [ -z "$XMODIFIERS" -a -n "$XIM" ] && export XMODIFIERS="@im=$XIM" if which $XIM_PROGRAM >/dev/null 2>/dev/null then $XIM_PROGRAM $XIM_PROG_ARGS & fi ~/.xinitrc: #!/bin/sh # (c) 2000-2002 MandrakeSoft # $Id: xinitrc-xinitrc,v 1.2 2002/09/10 05:53:43 flepied Exp $ # Set a background here because it's not done anymore # in Xsesion for non root users if [ "`whoami`" != root ]; then xsetroot -solid "#21449C" fi exec /etc/X11/Xsession $* XCIN -d export XMODIFIERS=@im=XCIN However, when I logged in again, OpenOffice.org still started up by itself. And, like I said, I have no Chinese input at all now. I'm sure I screwed up one of the configuration files, but I have no idea how or which one. I'd really like to get OpenOffice working normally with SCIM, but I'll settle for XCIN if need be. Please, please help! Thank you!
  11. Are you still reading this, zero0w? I hope so... :) I copied exactly what you wrote into my .i18n file, but no luck. Here's what's going on. I was having massive problems with OpenOffice.org, as I noted. (Not being able to save anything counts as a massive problem in my book.) I asked around lots of places, including this forum, but got no replies. I still haven't tried LinuxSir.org, but I will soon. I decided to uninstall OO.o and reinstall it again. Perhaps that would stop the problems...? Well, it didn't. OO.o was still opening upon login and crashing when I tried to save anything. (Although, strangely, I found out I could save to .doc format, just not .sxw.) I thought perhaps it was a problem with my OO.o profiles, so I deleted .openoffice in my home directory. I was right -- when I reinstalled OO.o again, it saved as .sxw with no problem. (Of course, I had to re-edit the interface, but that's a minor problem.) Why am I still posting this on this thread? Because I'm convinced that my OpenOffice problems are related to installing SCIM. First, the saving problem appeared when I installed SCIM. Second, when I installed OpenOffice.org from RPM's, Mandrake told me I needed to install the mainland Chinese localization modules, not the Taiwanese ones. In other words, somewhere along the line, my system is set for zh_CN, not zh_TW. I can't figure out where, though. Also, now when I start up SCIM, the terminal goes through the startup routine, then gives me scim::FrontEnd: X11 -- failed to connect to the panel daemon! Then the SCIM icon comes up but doesn't allow me to go into non-English mode. I can right-click the icon, but left-clicking does nothing. Any idea what's going on? I'll try LinuxSir, but you've been so helpful, I hoped you might have an idea here. Thanks again for all your help.
  12. OpenOffice.org Writer has recently started crashing when I try to save anything. Save As..., Save, Save to Template -- they all instantly crash the program. OpenOffice.org also automatically starts up every time I re-login to Gnome. I killed all the OpenOffice.org processes before restarting, so I don't know what's causing it to start up automatically and then crash whenever I try to save things. I recently installed a new Chinese input system, SCIM. I also recently had to delete an overgrown .xsession-errors file (450MB and growing when I deleted it). I also have several core dump files (the ones with the little bomb icons, right?) in my /home/me file. Are those normal? I've been deleting them, since they're quite large -- 45 MB, oftentimes. Is that okay? I'm using OpenOffice.org 1.0.2 under Mandrake 9.1 with Traditional Chinese/Taiwan locale on my 350 MHz/256 MB RAM system. I can't think of what other information might be relevant. Are there any files I should be posting here to give further clues? How do I get OO.o working normally again? What am I missing? Thanks in advance for any help you can give!
  13. I will definitely check out the LinuxSir forum. It looks great! Thanks for the tip. As for the .i18n thing, I thought I had already done that. I copied what you posted on that other forum into my .i18n file, so why isn't it starting SCIM at login? Just to be sure, "~/.i18n" means .i18n in my home directory, right? /home/me/.i18n, right? Thanks again for all the help!
  14. Thanks again for the very helpful reply! 好像中文沒問題了, 但是我還想問, SCIM 有沒有辦法使用聲調? 它的智能拼音還沒那么聰明, 我想教快一點。 聲調怎么疏入?How do you input tones in SCIM? I want to get the input a bit faster until the Intelligent Pinyin learns more common phrases. Also, do I have to keep the terminal window open? Is there a way to make SCIM start up automatically when I start X/Gnome? Finally, about OpenOffice.org -- I tried shutting it down, and also killing all the related processes before re-logging in. They didn't make any difference -- OO.o still started automatically at next Gnome startup, and still crashes when I try to save anything. But perhaps I should put that on a separate thread...? Thanks again for any additional help you can give.
  15. Okay, this is really strange... I tried rebooting, re-logging in, re-editing all the files I referred to... Nothing seemed to be working, and I was seriously considering getting rid of SCIM in favor of XCIN again. I tried "scim" in a terminal... It again gives me the same message and then just sits there. However, I again tried clicking on the little SCIM keyboard icon, and suddenly got a ghost of the input type chooser. I clicked again, and lo and behold, the chooser came up. 突然間, 我可以疏入中文了!好奇怪! I guess I must've finally edited the right line the right way. I have no idea which one it was, though. It's kind of frustrating. But I won't complain too loud. :) A possibly related problem: every time I restart Gnome, now, OpenOffice.org comes up automatically. Did I miswrite something? Another possibly related thing: about a half hour ago, I was having problems saving things. I checked KDiskFree, which said I had 0 space left on my Home partition. I scoured around trying to find what was taking up so much space -- it was my .xsession-errors file, which was at 450 MB and growing. I copied it to a different partition, shut down X, deleted .xsession-errors, then restarted everything. The system seems much happier now. Could that be part of why SCIM suddenly started working? Oh, and I don't think I needed to change the locale, since I was originally using Taiwan/Traditional Chinese anyway. I didn't, did I? Thanks again for all the help. Now I just need to figure out why OpenOffice.org is opening all by itself. :)
  • Create New...