Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Xi Shen
i tried that already. not working. i will try the stackoverflow.com. thanks On Mon, May 9, 2011 at 4:31 PM, Pandu Poluan wrote: > (Again, sorry for top-posting) > > BTW, there are lots of bash gurus in stackovervlow.com. My handle > there is 'pepoluan'. > > Rgds,

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Xi Shen
if i use -x '', or -x "", it expands to -x. the quotes are removed as they are empty. if i use -x \'\', the expanded quotes are quoted again...resulting too many quotes it is driving me crazy o_O! please help. On Mon, May 9, 2011 at 4:14 PM, Xi Shen wrote: >

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Xi Shen
;> Hi, >> have you tried "/bin/bash -x your.script.sh" - see what get's expanded ? >> >> Nils >> >> 2011/5/9 Xi Shen >>> >>> I guess there's something wrong with the argument expansion. Just do >>> not know how to fix it.

Re: [gentoo-user] [OT] bash script error

2011-05-09 Thread Xi Shen
, Nils Andresen wrote: > Hi, > have you tried "/bin/bash -x your.script.sh" - see what get's expanded ? > > Nils > > 2011/5/9 Xi Shen >> >> I guess there's something wrong with the argument expansion. Just do >> not know how to fix it. Please help. >> > -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

[gentoo-user] [OT] bash script error

2011-05-08 Thread Xi Shen
''. But If I modify the script to: url="http://mypage"; curl $url -d \"mydata\" -x '' It works fine. I guess there's something wrong with the argument expansion. Just do not know how to fix it. Please help. -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] php-cgi must be run as root?

2011-05-08 Thread Xi Shen
it. Then, what is the problem? >> >> Most probably, the nginx user cannot access the .php file you're trying >> to execute, either because of its permissions or because it cannot >> traverse one of its parent directories. >> >> andrea >> > So in shor

[gentoo-user] php-cgi must be run as root?

2011-05-06 Thread Xi Shen
works fine. The access permission to /usr/lib64/php5.3/bin/php-cgi is 755, so I think everyone can execute it. Then, what is the problem? -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] how to emerge a package for python2.5 while python2.7 is default?

2011-05-06 Thread Xi Shen
yes, USE_PYTHON. thank you! On Fri, May 6, 2011 at 5:52 PM, Evgeny Bushkov wrote: > On 06.05.2011 13:28, Xi Shen wrote: >> Hi, >> >> My system is Gentoo 64bit, up to date. I want to use GAE, but it >> supports python2.5 only. So I emerged python2.5, but I am unabl

[gentoo-user] how to emerge a package for python2.5 while python2.7 is default?

2011-05-06 Thread Xi Shen
change python version will not work, because the emerge has already upgraded to python2.7. -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] Circular blockage

2011-03-28 Thread Xi Shen
y (dev-lang/php-5.3.5, installed) >    virtual/mta required by (app-crypt/gnupg-2.0.17, installed) >    virtual/mta required by (dev-lang/php-5.3.5, installed) >    (and 7 more) > > How do I even interpret it? Why is virtual/mta required suddenly? And why does > ssmtp conflict with it? > > -- > Rgds > Peter > > -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] files disappearing using samba

2010-11-30 Thread Xi Shen
d what can I do about it? > > Thanks in advance for any suggestions. > > -- > Your life is like a penny.  You're going to lose it.  The question is: > How do > you spend it? > >         John Covici >         cov...@ccs.covici.com > > -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] Re: Cannot open root device "sda3" or unknown-block (0,0)

2010-11-17 Thread Xi Shen
You better try the liveCD or liveDVD. They have more drivers, better chance to hit. Regards, David Shen On Nov 17, 2010, at 17:25, Joseph wrote: > On 11/17/10 16:37, walt wrote: > [snip] >>> OK I've tried as you suggested, http://www.sysresccd.org/ and it works OK. >>> When I boot I have netwo

Re: [gentoo-user] How to get hid2hci command

2010-09-19 Thread Xi Shen
owever, I could not figure > out how to get the hid2hci command. > Any suggestion would be appreciate? > > Thanks in advance > Hung > -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

[gentoo-user] open-iscsi-2.0.871.3 compile fail on 2.6.32-openvz-budarin.1 kernel

2010-08-21 Thread Xi Shen
ayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS=&

[gentoo-user] the host system hangs when create openvz CT

2010-08-17 Thread Xi Shen
9 in /usr/sbin/vzquota Killed and if i ran the same command again, my ssh hangs. i guess the 'vzquota' has something to do with it, but i do not know how... -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

[gentoo-user] bluetooth device bd address is 11:11:11:11:11:11

2010-08-09 Thread Xi Shen
hi, i have a usb bluetooth device, after i plug it into the usb slot and ran hciconfig, it shows the bd address is 11:11:11:11:11:11. is it correct? or maybe the driver is not loaded correctly? -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] eth0 cannot start up

2010-08-06 Thread Xi Shen
) > > Add more "-v" to its command line and you get more info including a ROM > readout. > > BillK > > > On Sat, 2010-08-07 at 10:17 +0800, Xi Shen wrote: >> normally, the latest livecd boot up the system, and everything works. >> if the livecd boot u

Re: [gentoo-user] eth0 cannot start up

2010-08-06 Thread Xi Shen
n 6 August 2010 13:45, Xi Shen wrote: >> i reboot the system, fresh start with livcd. all reports the same error. :( >> >> i noticed that the hardware address is 3a:3a:2d:6c:3a:3a, which is >> obviously an invalid one. i guess it is a hardware failure... > > Hmm ...

Re: [gentoo-user] eth0 cannot start up

2010-08-06 Thread Xi Shen
oes not leave any locks behind. > > Then run dhcpcd -d eth0 and see what's reported by it. > > On 6 August 2010 12:57, Xi Shen wrote: >> hi, >> >> after a sudden power cut off, my gentoo system cannot connect to the >> network any more... >> >&g

[gentoo-user] eth0 cannot start up

2010-08-06 Thread Xi Shen
etwork, it shows the system has detected my network card. any idea what is the cause of the problem? -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] Re: lm_sensors show 2 different temp. for my CPU

2010-08-04 Thread Xi Shen
thanks to both of you. :) On Wed, Aug 4, 2010 at 11:22 PM, Nikos Chantziaras wrote: > On 08/04/2010 02:14 PM, Xi Shen wrote: >> >> hi, >> >> after i setup lm_sensors on my gentoo amd64, i ran sensors, and got >> the below output >> >> corete

Re: [gentoo-user] bashcomp cannot work well with rsync

2010-08-04 Thread Xi Shen
wrote: > Xi Shen writes: > >> after i enabled bash completion for rsync, i got this error when type >> TAB to auto complete the file name >> >> bash: _known_hosts_real: command not found >> >> >> it used to work very well. do i missed someth

[gentoo-user] bashcomp cannot work well with rsync

2010-08-04 Thread Xi Shen
-bashcomp-20100613 -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

[gentoo-user] lm_sensors show 2 different temp. for my CPU

2010-08-04 Thread Xi Shen
same. but at the bottom, there's another value, which is 49 in this instance. which one is the correct value? why they are different? -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] ACPI conflict while loading it87 module

2010-08-01 Thread Xi Shen
thanks a lot. i am using asus mb, and asus_atk0110 works for me too. :) On Sun, Aug 1, 2010 at 7:52 PM, pk wrote: > On 2010-08-01 11:01, Xi Shen wrote: > >> Aug  1 16:56:03 david-gentoo kernel: [  715.671669] ACPI: If an ACPI >> driver is available for this device, you should

[gentoo-user] ACPI conflict while loading it87 module

2010-08-01 Thread Xi Shen
region HWRE [0x295-0x296] Aug 1 16:56:03 david-gentoo kernel: [ 715.671669] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver how to fix this problem? -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] my /etc/conf.d/clock file is missing

2010-07-28 Thread Xi Shen
sorry. it is renamed to /etc/conf.d/hwclock...my bad :P On Wed, Jul 28, 2010 at 8:57 PM, Xi Shen wrote: > hi, > > i just installed a new gentoo amd64 system, and i cannot find the > /etc/conf.d/clock file. do i miss some package? i cannot remember > there's a package to ins

[gentoo-user] my /etc/conf.d/clock file is missing

2010-07-28 Thread Xi Shen
hi, i just installed a new gentoo amd64 system, and i cannot find the /etc/conf.d/clock file. do i miss some package? i cannot remember there's a package to install the /etc/conf.d/clock file. -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] openvz kernel and ext4

2010-07-15 Thread Xi Shen
y so the kernel refuses.  You might have better luck with a > more recent kernel. > > On 7/15/10, Xi Shen wrote: >> sure, i do not need ext4dev, i want to use ext4 only. but i did not >> find a compile option for ext4, i only find a option for ext4dev/ext4. >> >>

Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread Xi Shen
ntoo/"; what's the difference? except the url... On Thu, Jul 15, 2010 at 8:31 PM, Alan McKinnon wrote: > On Thursday 15 July 2010 13:41:11 Xi Shen wrote: >> it says >> >> > GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/http://mirrors.163.com/gentoo/"; &

Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread Xi Shen
manually. according to 'man make.conf', the GENTOO_MIRRORS is a list URLs, separated by space. i think my value is correct. On Thu, Jul 15, 2010 at 7:47 PM, András Csányi wrote: > On 14 July 2010 18:16, Xi Shen wrote: >> hi, >> >> i have multiple mirrors con

Re: [gentoo-user] openvz kernel and ext4

2010-07-15 Thread Xi Shen
, Albert Hopkins wrote: > On Thu, 2010-07-15 at 19:34 +0800, Xi Shen wrote: >> i emerged the openvz kernel, and compiled the kernel with ext4dev/ext4 >> file system support. but when i tried to boot my system, i got a >> kernel panic. it says cannot mount my ext4 root, because i

Re: [gentoo-user] emerge is not switching mirror when one is down

2010-07-15 Thread Xi Shen
it says GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/ http://mirrors.163.com/gentoo/"; i guess it means ok, right? On Thu, Jul 15, 2010 at 6:26 AM, Jake Moe wrote: > On 15/07/10 02:16, Xi Shen wrote: >> hi, >> >> i have multiple mirrors configured in GENTO

[gentoo-user] openvz kernel and ext4

2010-07-15 Thread Xi Shen
ext4dev/ext4 kernel compile option would allow me to use both ext4 and ext4dev features, am i wrong? i do not want to use ext4dev on my root, neither do i want to downgrade to ext3. is there a way to fix this? -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

[gentoo-user] emerge is not switching mirror when one is down

2010-07-14 Thread Xi Shen
? -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/

Re: [gentoo-user] Re: libpng12 is missing

2010-05-09 Thread Xi Shen
On Sun, May 9, 2010 at 9:32 PM, walt wrote: > On 05/09/2010 05:10 AM, Xi Shen wrote: >> >> hi, >> >> my system is gentoo amd64, kde 4.3. i just updated my portage, and >> updated the world. then i ran revdep-rebuild, and i got a error when >> building &q

[gentoo-user] libpng12 is missing

2010-05-09 Thread Xi Shen
hi, my system is gentoo amd64, kde 4.3. i just updated my portage, and updated the world. then i ran revdep-rebuild, and i got a error when building "notification-daemon-0.4.0-r1". the error found in the build log is: cannot find -lpng12 i have both libpng-1.2.43-r1 and libpng-1.4.2 installed, bu

Re: [gentoo-user] konsole refresh laggardly

2010-05-02 Thread Xi Shen
On Sun, May 2, 2010 at 6:35 PM, Volker Armin Hemmann wrote: > don't use compiz. > > i know that is the last option. but, since i did not have this issue before, even with compiz enabled, i think there should be some way to fix it. -- Best Regards, David Shen http://twitter.com/davidshen84/

[gentoo-user] konsole refresh laggardly

2010-05-02 Thread Xi Shen
hi, my system is gentoo amd64, kd 4.3, compiz. i just updated the world. in konsole, no matter if the system is busy or not, the screen do not refresh sometimes. i will have to move the window, or select some content in the konsole to force it refresh. my graphic card is nvidia. i did not have th

Re: [gentoo-user] modules.audoload.d is not autoloaded

2010-04-24 Thread Xi Shen
On Fri, Apr 23, 2010 at 2:50 PM, Steffen Loos wrote: > I'm not shure if you're running baselayout-2: The place for configuration of > autoload modules has changed to /etc/conf.d/modules. > See http://www.gentoo.org/doc/en/openrc-migration.xml for explanations in > more detail. > > regards, > Steff

[gentoo-user] modules.audoload.d is not autoloaded

2010-04-22 Thread Xi Shen
hi, i have some modules putted in /etc/modules.autoload.d/kernel-2.6, and my kernel is 2.6.32-gentoo-r7. but after system started up, i found those modules are not loaded. running 'rc-update show', i can see the 'modules' is in 'boot' runlevel. if i load those modules manually, they can be loaded

Re: [gentoo-user] i cannot browser if the system is up too long

2010-04-19 Thread Xi Shen
i met this issue today, and i have tried all your suggestions, restart router, log off, restart my network interface. but none of this work. i still cannot get http connections to work until i restarted my system. -- Best Regards, David Shen http://twitter.com/davidshen84/

Re: [gentoo-user] i cannot browser if the system is up too long

2010-04-18 Thread Xi Shen
thanks for your suggestion. i will try it. -- Best Regards, David Shen http://twitter.com/davidshen84/

[gentoo-user] win7x64 in kvm does not have sound

2010-04-17 Thread Xi Shen
hi, i use kvm -soundhw ac97 ... to start my win7 guest, and i see a 'Multimedia Audio Device' in my device manager. but i cannot manage to get a driver for it. according to kvm -soundhw ?, the ac97 sound card is a intel ac97 audio device. but windows cannot find a driver for it, neither can i find

Re: [gentoo-user] how to get microphone work in gentoo?

2010-04-17 Thread Xi Shen
On Sat, Apr 17, 2010 at 9:54 PM, Mark Knecht wrote: >  Intel HDA here. Mic input on my works fine. > > 1) Make sure mic volume is up and mix is not muted. > > 2) Compile Alsa as modular. Almost always works better and is > recommended modular by Alsa developers over the years. > > The one thing th

[gentoo-user] how to get microphone work in gentoo?

2010-04-17 Thread Xi Shen
hi, i searched for a while and found out microphone does not work in linux for most people... despite of this, i still post here, and hope someone could help me. my system is thinkpad t61, intel HD audio, gentoo amd64, i have ALSA and intel audio driver compiled in my kernel. -- Best Regards,

Re: [gentoo-user] i cannot browser if the system is up too long

2010-04-15 Thread Xi Shen
On Fri, Apr 16, 2010 at 2:55 AM, Stroller wrote: > > How are you connecting to the net? > yes, i connect to the net through a router. and i share the router with my roommates. > Are you sure this isn't the router? Have you tried switching it off and back > on again? (seriously) > i do not think

Re: [gentoo-user] i cannot browser if the system is up too long

2010-04-15 Thread Xi Shen
On Thu, Apr 15, 2010 at 8:43 PM, Kevin O'Gorman wrote: > I get something like this, but just logging off and on again seems to fix > it.  For me, anyway. >   it's 2x Xeon, Kde 4 > any idea what is the cause? this is really a annoying bug. -- Best Regards, David Shen http://twitter.com/davidsh

[gentoo-user] cpufreqd cannot start

2010-04-15 Thread Xi Shen
hi, i used to be able to start the cpufreqd service. but recently, it fails to start. and the error message is: " * Caching service dependencies ... [ ok ] * cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ * Make sure that the appropiate kernel drivers for

[gentoo-user] i cannot browser if the system is up too long

2010-04-15 Thread Xi Shen
hi, if you system is up for many days, sometimes i will not be able to browser web site. but the BT download still works. i can also ping the web site. i really have no idea how to troubleshoot this. even 'curl' cannot get the web page. it feels like all tcp connections are blocked. my system is

Re: [gentoo-user] vde_switch cannot create tap

2010-04-14 Thread Xi Shen
BTW, the issue i had have been resolved. the document did not mention that i should add '-d' option to let the vde_switch run in daemon mode. -- Best Regards, David Shen http://twitter.com/davidshen84/

Re: [gentoo-user] vde_switch cannot create tap

2010-04-14 Thread Xi Shen
On Wed, Apr 14, 2010 at 9:36 PM, Albert W. Hopkins wrote: > I read this document, and it seems to be doing basically what you get > with libvirt, except libvirt does all that for you (but uses brctl > instead of vde (I'm not sure what the differences are)). > > Anyway it seems like libvirt may be

[gentoo-user] vde_switch cannot create tap

2010-04-13 Thread Xi Shen
hi, i followed the instructions on http://en.gentoo-wiki.com/wiki/KVM_with_VDE to configure my system. the kvm and tun modules loaded fine. but when i run "vde_switch --numports 4 --hub --mod 777 --group users --tap tap0", it will not return until i press ctrl+d, and after that, the tap0 interface

[gentoo-user] no javac on gentoo amd64?

2010-04-03 Thread Xi Shen
hi, my system is gentoo amd 64. java-config -L show i have two VMs on my system: The following VMs are available for generation-2: 1) IcedTea6-bin 1.7.1 [icedtea6-bin] *) Sun JRE 1.6.0.18 [sun-jre-bin-1.6] but when i ran javac, it says: * javac is not available for sun-jre-bin-1.6 on

Re: [gentoo-user] postgresql 8.2.14 cannot stop

2010-03-30 Thread Xi Shen
On Wed, Mar 31, 2010 at 6:58 AM, Michael Higgins wrote: > > There are new start stop scripts for gentoo that work at > http://bugs.gentoo.org/show_bug.cgi?id=311047 > thanks. i think the new scripts can help me. -- Best Regards, David Shen http://twitter.com/davidshen84/

[gentoo-user] postgresql 8.2.14 cannot stop

2010-03-30 Thread Xi Shen
hi, my system is gentoo amd64, postgresql 8.2.14. the postgresql service can start without any error; but when i try to stop it, it reports failure. the process of postgresql are actually terminated. if i try to stop the service again, i got "start-stop-daemon: fopen `/var/lib/postgresql/data/pos

Re: [gentoo-user] phonon reports my audio device is not available

2010-03-30 Thread Xi Shen
On Tue, Mar 30, 2010 at 8:07 PM, Bartosz Szatkowski wrote: > You can check if You have "alsasound" in your boot rc ... Iam not quite > sure if its necessary to be in boot (maybe default would do) but i have > boot and its working quite good :) > i figured it out. i changed my kde splash theme, th

[gentoo-user] phonon reports my audio device is not available

2010-03-30 Thread Xi Shen
hi, after an update, when i enter kde, i got a notification that my audio device is not available. but i can use smplayer/amarok to play mp3, and i can here sound. how to fix that notification issue? my system is gentoo amd64, kde 4.4, thinkpad, intel hda -- Best Regards, David Shen http://tw

Re: [gentoo-user] xlsfonts shows only a few fonts

2010-03-29 Thread Xi Shen
thanks guys, i solved my problem. i ask this question because my emacs cannot displays chinese, a there's no font for me to set. that is because i did not have the 'xft' feature enabled for my emacs. i recompiled emacs with 'xft' use flag, and my emacs works fine for me. ;) -- Best Regards, Dav

Re: [gentoo-user] Re: unknown media type error when updating

2010-03-28 Thread Xi Shen
On Sun, Mar 28, 2010 at 12:27 PM, Nikos Chantziaras wrote: > I guess they're not really expected to be unknown, but they're harmless as > long as you don't get disappearing icons.  If you do, then this is for you: > > http://bugs.gentoo.org/show_bug.cgi?id=288312 > > This came up quite a while bac

Re: [gentoo-user] xlsfonts shows only a few fonts

2010-03-28 Thread Xi Shen
On Mon, Mar 29, 2010 at 4:56 AM, Paul Hartman wrote: > I believe XFS is deprecated and has been removed from Gentoo recently > (at least in ~unstable). See the comments in this bug for info & maybe > something to help: > > http://bugs.gentoo.org/show_bug.cgi?id=293177 > > if XFS is deprecated, wh

Re: [gentoo-user] Re: xlsfonts shows only a few fonts

2010-03-28 Thread Xi Shen
On Mon, Mar 29, 2010 at 1:31 AM, walt wrote: > Have you added all of the font directories to your xorg.conf? > > Section "Files" >    ModulePath      "/usr/lib/xorg/modules" >    FontPath        "/usr/share/fonts/corefonts/" ... >    FontPath        "/usr/share/fonts/Type1/" >    FontPath        "

[gentoo-user] xlsfonts shows only a few fonts

2010-03-28 Thread Xi Shen
hi, i have a lot fonts installed in /usr/share/fonts. and i even have all the fonts from m$ win7. but when i ran xlsfonts, i got only a few fonts listed. like this: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 -misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1 -misc-

Re: [gentoo-user] Re: unknown media type error when updating

2010-03-27 Thread Xi Shen
so...there are expected to be unknown? haha...that is interesting. anyway, thanks. :) -- Best Regards, David Shen http://twitter.com/davidshen84/

[gentoo-user] 32bit version of libgdk_pixbuf_xlib-2.0.so.0 is mission

2010-03-27 Thread Xi Shen
hi, i want to use the binary version of adobe reader. it only has 32bit version, so it depends on a 32bit version of libgdk_pixbuf_xlib-2.0.so.0. but on my system i can only find one libgdk_pixbuf_xlib-2.0.so.0 in the /usr/lib64 directory. i was able to use the adobe reader, but after a update it

[gentoo-user] unknown media type error when updating

2010-03-27 Thread Xi Shen
hi, i noticed the following error messages when i was updating my system. * Updating shared mime info database ... Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' Unknown media type in type 'uri/mms' Unknown media type in type 'uri/mmst' Unknown media type in ty

[gentoo-user][kde4] system tray can only put into a panel?

2010-03-26 Thread Xi Shen
hi, i am trying to reorganized the layout of the kde widgets to make the desktop looks more personalized. i found the panel is pretty useless, so i removed it; but i need the system tray, because some applications only put a icon into it. after i put the system tray widget onto the desktop, i foun

Re: [gentoo-user] f-spot depends on mono?

2010-03-25 Thread Xi Shen
On Fri, Mar 26, 2010 at 7:51 AM, Neil Bothwick wrote: > On Fri, 26 Mar 2010 07:37:04 +0800, Xi Shen wrote: > >> yeah, digikam is great. i tried it on kde. but i am using gnome, and i >> want to keep my system compact. > > Then why are you using GNOME? > > so, you

Re: [gentoo-user] f-spot depends on mono?

2010-03-25 Thread Xi Shen
On Fri, Mar 26, 2010 at 5:54 AM, Paul Hartman wrote: > DigiKam is great (if you don't mind KDE libs in your system). > yeah, digikam is great. i tried it on kde. but i am using gnome, and i want to keep my system compact. -- Best Regards, David Shen http://twitter.com/davidshen84/

[gentoo-user] do we have gst-plugins-really-bad or equivalent?

2010-03-25 Thread Xi Shen
hi, i have some .m4a files. and i want to play them in rhythmbox. when i import them into rhythmbox, it says it needs plugin to play mpeg-4 acc file. i searched the network, and people from ubuntu says a gstreamer0.10-plugins-really-bad package would do. but i cannot find this 'really bad' one on

Re: [gentoo-user] f-spot depends on mono?

2010-03-25 Thread Xi Shen
On Thu, Mar 25, 2010 at 6:37 PM, Jacob Todd wrote: > F-spot is written in mono. oh...what a hell of mistake i made. so, what do people do to manage photos on gnome? i do not like this mono one. -- Best Regards, David Shen http://twitter.com/davidshen84/

[gentoo-user] f-spot depends on mono?

2010-03-25 Thread Xi Shen
hi, when i try to emerge f-spot, i found that it pull in dev-lang/mon, and all its dependencies. why f-spot needs mono? since when mono becomes stable, and is used in real linux application? -- Best Regards, David Shen http://twitter.com/davidshen84/

[gentoo-user] firefox 3.6 cannot open folder from the d/l dialog box

2010-03-23 Thread Xi Shen
hi, my system is gentoo amd64, kde 4.4, ff 3.6. after i finished d/l a file i want to open the folder where the file is saved. but when i do so, firefox says it cannot find an application to open that link. i am not trying to open/launch it. how can i fix this? -- Best Regards, David Shen htt

Re: [gentoo-user] wine cannot compile with jpeg flag

2010-03-15 Thread Xi Shen
On Mon, Mar 15, 2010 at 11:35 PM, Arttu V. wrote: > Create /etc/portage/profile/package.use.mask and type in > 'app-emulation/wine -jpeg' (note the minus) to locally unmask the jpeg > flag for wine. > > I don't know how good idea that is, though, as > /usr/portage/profiles/arch/amd64/package.use.m

[gentoo-user] wine cannot compile with jpeg flag

2010-03-15 Thread Xi Shen
hi, i have enabled 'jpeg' flag in my /etc/make.conf, but i still cannot compile wine with jpeg support, and i really need this feature. the output of emerge -pv wine shows '(-jpeg)'. i think it is masked by profile. i then created '/etc/portage/profile/package.use.force', and putted 'app-emulatio

Re: [gentoo-user] how can i get multiple chromium window on kde 4.4?

2010-03-12 Thread Xi Shen
thanks. i figured out have to start 2 chromium window :) the way 'alt+f2' start a new application is not quite intuitive. -- Best Regards, David Shen http://twitter.com/davidshen84/

[gentoo-user] how can i get multiple chromium window on kde 4.4?

2010-03-11 Thread Xi Shen
hi, i can only start one chromium window. if i try to drag one tab off the main window, i got the follow error message: " The program 'chrome' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. " looks like this fe

Re: [gentoo-user] power management cannot change LCD brightness

2010-03-10 Thread Xi Shen
On Wed, Mar 10, 2010 at 8:10 PM, Xi Shen wrote: > thanks, i solved this problem without emerging the nvclock package. i > guess it is a group and permission issue. i have my accounts joined > these groups: disk wheel audio cdrom video usb users plugdev, and i > can change the lcd bri

[gentoo-user] power management - no consolekit runtime support

2010-03-10 Thread Xi Shen
hi, my system is gentoo ~amd64, kde 4.4. in the system settings/power management/capabilities, it says 'consolekit was not found active on your pc'. but i do have consolekit started before i start X. how to fix this? -- Best Regards, David Shen http://twitter.com/davidshen84/

Re: [gentoo-user] power management cannot change LCD brightness

2010-03-10 Thread Xi Shen
On Wed, Mar 10, 2010 at 4:32 PM, Damian wrote: > I don't know if you have an nvidia card. I had the same problem: I was > only able to change the brightness from a text console. I solved the > problem by installing nvclock (now I no longer need sunglases). > > I hope that helps. > > thanks, i so

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-10 Thread Xi Shen
On Wed, Mar 10, 2010 at 7:40 PM, Neil Bothwick wrote: > On Wed, 10 Mar 2010 19:28:26 +0800, Xi Shen wrote: >> i think this is just a group and permission issue. > > Logging out of and back into X should be enough for any group changes to > take effect. I wonder if it could

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-10 Thread Xi Shen
On Wed, Mar 10, 2010 at 5:05 PM, Willie Wong wrote: > I am rather curious what application you are using to get battery > information that requires it being root. > > /proc/acpi/battery/BAT0/state is 0444 on my netbook/laptop since > forever. I just use a bash function to parse it and display it o

Re: [gentoo-user] Re: [OT] gentoo on lenovo ideapad s10-3t tablet

2010-03-10 Thread Xi Shen
On Wed, Mar 10, 2010 at 5:23 PM, Neil Bothwick wrote: > On Wed, 10 Mar 2010 03:58:48 -0500, Willie Wong wrote: > >> > One thing i would worry is that how long will the atom cpu take to >> > compile my whole gentoo ~amd64 + kde4.4 system? >> >> atom is not amd64. > > Some are. My Acer nettop has a

[gentoo-user] Re: [OT] gentoo on lenovo ideapad s10-3t tablet

2010-03-09 Thread Xi Shen
sorry for bringing this old topic on again. after i made the original post, i realized that this product was not on the market yet :) now, it is on the market, and i have seen some ubuntu guys playing with it and figured out how to make all the devices work on ubuntu. i want to know if any gentoo

Re: [gentoo-user] power management cannot change LCD brightness

2010-03-09 Thread Xi Shen
On Fri, Mar 5, 2010 at 4:33 PM, wrote: > > Hi, > > Whats the name of the tool and what use flags are set? > It's most likely that you are going to need to re-emerge it, or some > component that it depends upon if it is part of gnome or kde, etc. > i have acpi, hal, apm, pmu, nvidia, lm_sensors,

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Xi Shen
On Wed, Mar 10, 2010 at 12:41 AM, Paul Hartman wrote: > Depending on your specific USB device you may need to edit UDEV rules > to set proper permissions on the device node. For example I had to do > that for normal users to read my digital camera. > > i kanda thought about that for the usb stuff

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Xi Shen
On Tue, Mar 9, 2010 at 8:48 PM, Mick wrote: > Yes, that's how it *should* work, but it evidently isn't.  Maybe > someone else more experienced in KDE can explain what happened and why > the particular functions are now not available to plain users, or if > you have another machine which has been r

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Xi Shen
On Tue, Mar 9, 2010 at 7:24 PM, Mick wrote: > > You only have yourself to blame I'm afraid ... > > When you login to xorg using a root account some configuration files > become owned by root.  A normal user can no longer access them.  Most > desktops should be clever enough to allow users to creat

[gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Xi Shen
hi, i usually use my linux system with root account. i think it is not good, so i created a normal user account for myself. but i found that i cannot access many system resources, like usb disk, battery informatiion, etc. i am already in these groups: disk,wheel,audio,video,usb,haldaemon,plugdev.

Re: [gentoo-user] power management cannot change LCD brightness

2010-03-04 Thread Xi Shen
On Tue, Mar 2, 2010 at 5:58 PM, Xi Shen wrote: > On Sun, Feb 28, 2010 at 9:32 PM,   wrote: >> Hi, >> fisrt see if proc and your kernel has it right, do: >>  cat  /proc/acpi/video/GFX0/DD02/brightness > echo "20"> /proc/acpi/video/VID1/LCD0/brightness can

Re: [gentoo-user] how to add custom compilation options?

2010-03-04 Thread Xi Shen
On Thu, Mar 4, 2010 at 5:14 PM, Neil Bothwick wrote: > This is C++ software, you need to add it to CXXFLAGS. > > > -- > Neil Bothwick > > You can't teach a new mouse old clicks. > yes, i figured it out. thanks. -- Best Regards, David Shen http://twitter.com/davidshen84/

[gentoo-user] how to add custom compilation options?

2010-03-03 Thread Xi Shen
hi, i want to emerge the crypto++ package with the "-DCRYPTOPP_DISABLE_ASM" option. i tried to add it into the CFLAGS variable, but it did not work. please tell me how to do this. -- Best Regards, David Shen http://twitter.com/davidshen84/

Re: [gentoo-user] nepomuk 4.4 is emerged with kde 4.3

2010-03-03 Thread Xi Shen
On Thu, Mar 4, 2010 at 8:41 AM, Alan McKinnon wrote: > On Thursday 04 March 2010 02:27:40 Xi Shen wrote: >> hi, >> >> my system is gentoo amd64, kde 4.3. and i found nepomuk, along with >> some other packages, are using 4.4 version. is it correct? > > No. &

[gentoo-user] nepomuk 4.4 is emerged with kde 4.3

2010-03-03 Thread Xi Shen
hi, my system is gentoo amd64, kde 4.3. and i found nepomuk, along with some other packages, are using 4.4 version. is it correct? also, i have a problem with nepomuk. whenever i start X, it pops up "Nepomuk was not able to find the configured database backend 'sesame2'. Existing data can thus no

Re: [gentoo-user] do we have a write-redirect snapshot system on linux?

2010-03-03 Thread Xi Shen
On Wed, Mar 3, 2010 at 4:57 PM, Helmut Jarausch wrote: > If I remember right, this can be achieved with aufs2 . > > Helmut. > it is a file system with branching feature. the behavior should looks like snapshot, but it is on file system level. i am trying to look up on on the block device level, l

[gentoo-user] do we have a write-redirect snapshot system on linux?

2010-03-02 Thread Xi Shen
hi, both lvm2 and zfs are copy-on-write snapshot system. do we have a write-redirect snapshot system on linux? -- Best Regards, David Shen http://twitter.com/davidshen84/

Re: [gentoo-user] power management cannot change LCD brightness

2010-03-02 Thread Xi Shen
On Sun, Feb 28, 2010 at 9:32 PM, wrote: > Hi, > fisrt see if proc and your kernel has it right, do: >  cat  /proc/acpi/video/GFX0/DD02/brightness i found a similar file at /proc/acpi/video/VID1/LCD0/brightness. i think they are the same :) > > should give something like > > levels:  13 25 38 50

[gentoo-user] power management cannot change LCD brightness

2010-02-27 Thread Xi Shen
hi, my system is gentoo amd64, kde 4.3. my laptop is thinkpad t61. after some configure in the kernel, and reboot with the new kernel, i can use the Fn+Home, and Fn+End to change the brightness of my lcd. but when i tried to change the lcd brightness by dragging the handle on the 'power management

[gentoo-user] Re: how to emerge mldonkey?

2010-02-22 Thread Xi Shen
ok. problem solved. i downgraded the dev-lang/ocaml to 3.10.2, then run ocaml-rebuild.sh. -- Best Regards, David Shen http://twitter.com/davidshen84/

Re: [gentoo-user] how to emerge mldonkey?

2010-02-22 Thread Xi Shen
> >> what should i do? i never got questioned when emerging something. > > emerge dev-lang/ocaml > i already have dev-lang/ocaml-3.11.1 emerged. should i downgrade it to a lower version? -- Best Regards, David Shen http://twitter.com/davidshen84/

  1   2   3   >