[gentoo-user] Re: kmix/sound broken

2011-01-28 Thread James
Florian Philipp lists at binarywings.net writes:

 
 Am 28.01.2011 00:08, schrieb James:
  kmix will not run. The icon just bounces and then terminates.

 Take a look at ~/.xsession-errors

 That's where most (all?) of KDE does its logging.

ok, I ran a tail -f /home/user/.xsession-errors

in one window and typed in kmix in another terminal 
window. Nothing logged and the command line just returned
empty as though I just hit the return key...

Just for grins, I tried the icon, in bouned for a while
then nothing. no error in .xsession-errors.

Parsing the .xsession-errors file here are a few select tidbits:




kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kmixctrl.so
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kglobalaccel(4642) GlobalShortcutsRegistry::registerKey: Registering key
Alt+F2 for krunner : Run Command


kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kmix.so
Unknown service name: 10d5eae5690001295882084
0043360007_1295887108_971825
kdeinit4: preparing to launch /usr/bin/nepomukservicestub
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kglobalaccel(4642) GlobalShortcutsRegistry::registerKey: 
Registering key Volume
Up for kmix : increase_volume
kglobalaccel(4642) GlobalShortcutsRegistry::registerKey: 
Registering key Volume
Down for kmix : decrease_volume
kglobalaccel(4642) GlobalShortcutsRegistry::registerKey: 
Registering key Volume
Mute for kmix : mute
kdeinit4: preparing to launch /usr/bin/nepomukservicestub
Unknown service name: 10d5eae569000129588209200
43360009_1295887108_972252
kdeinit4: preparing to launch /usr/bin/nepomukservicestub
Unknown service name: 10d5eae5690001295882092
0043360010_1295887108_972379
kdeinit4: preparing to launch /usr/bin/nepomukservicestub
Unknown service name: 10d5eae5690001295882092
0043360011_1295887108_972511
kdeinit4: preparing to launch /usr/bin/nepomukservicestub
Unknown service name: 10d5eae5690001295882092
0043360012_1295887108_978319
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_konsole.so
Unknown service name: 10d5eae5690001295882092
0043360013_1295887108_972639
[/usr/bin/nepomukservicestub] 09:42:38 Compiler unit is t
imed at 0.001083 msec

kdeinit4: preparing to launch /usr/bin/hp-systray
kded(4590)/kdecore (KLibrary) kde4Factory: The library
/usr/lib64/kde4/solid_fakenet.so does not offer a qt_
plugin_instance function.
kded(4590)/kdecore (KLibrary) kde3Factory: The library
/usr/lib64/kde4/solid_fakenet.so does not offer 
an init_solid_fakenet function.
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kmix.so
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_klipper.so
kglobalaccel(4642) GlobalShortcutsRegistry::registerKey: Registering key
Display for kded : display


I'm going to look for old kde3 stuff that may be corrupting the 
application. Also, libata  might be an issue. I need to find
those bookmarks folks posted about udev, libata and such.
Not sure if related but this system needs some admin work


James








Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-28 Thread Dale

J. Roeleveld wrote:

On Thursday 27 January 2011 23:53:04 Dale wrote:
   

I just used -j with no number.  It worked fine and I played Solitaire
and checked my email while it was running.  The only thing I noticed was
it using swap.  That could slow things down but otherwise, it worked fine.

I do have the nice and ionice settings in make.conf tho.  That helps a
lot for sure.  Without those, it would likely slow down a lot.
 

Which settings do you use for that?

--
Joost

   


This is my settings at the moment:

PORTAGE_NICENESS=5
PORTAGE_IONICE_COMMAND=ionice -c -3 -p \${PID}
MAKEOPTS=-j6
FEATURES=buildpkg sandbox fixpackages parallel-fetch --keep-going
EMERGE_DEFAULT_OPTS=--with-bdeps y --backtrack=30

That works very well here for me.  Rig, AMD 4 core CPU at 3.2Ghz, 4Gbs 
of ram at DDR3 1600 and SATA 3.0Gbs/sec.  Your mileage may vary tho.


Dale

:-)  :-)



Re: [gentoo-user] Re: Paste into vim keeping indention or original?

2011-01-28 Thread Bill Longman
On 01/27/2011 12:53 PM, YoYo Siska wrote:
 BTW, if 
  - vim has access to X (you run it on your local machine or from 
ssh -X or something similar) 
  - is compiled with X support (check with vim --version | grep +X11)
  - and you :set mouse=a
 then you can paste by middle clicking in vim (not shift-middle click),
 which should paste the text as is...
 
 The difference is that with shift-middle click, or with vim that cannot
 talk to X, the terminal sends the selected text to vim as normal input
 (as if you would type it) and thus its get indented/formated/etc.. 
 
 If you have mouse=a set and vim can talk to X, when you  middle click
 it will ask X for the selection and insert it as is without any
 formatting

Oooh, aaah. Fireworks. This one's going into my .vimrc file



Re: [gentoo-user] Re: Paste into vim keeping indention or original?

2011-01-28 Thread kashani

On 1/28/2011 9:08 AM, Bill Longman wrote:

On 01/27/2011 12:53 PM, YoYo Siska wrote:

BTW, if
  - vim has access to X (you run it on your local machine or from
ssh -X or something similar)
  - is compiled with X support (check with vim --version | grep +X11)
  - and you :set mouse=a
then you can paste by middle clicking in vim (not shift-middle click),
which should paste the text as is...

The difference is that with shift-middle click, or with vim that cannot
talk to X, the terminal sends the selected text to vim as normal input
(as if you would type it) and thus its get indented/formated/etc..

If you have mouse=a set and vim can talk to X, when you  middle click
it will ask X for the selection and insert it as is without any
formatting


Oooh, aaah. Fireworks. This one's going into my .vimrc file



You might like one too.

cmap w!! w !sudo  tee % /dev/null

When you forget to sudo vi you can use w!! which pipes writing the file 
though sudo. You get some term gunk, but it does work.


kashani



Re: [gentoo-user] Re: Paste into vim keeping indention or original?

2011-01-28 Thread David Abbott
 On 01/27/2011 12:53 PM, YoYo Siska wrote:
 BTW, if
  - vim has access to X (you run it on your local machine or from
    ssh -X or something similar)
  - is compiled with X support (check with vim --version | grep +X11)
  - and you :set mouse=a
 then you can paste by middle clicking in vim (not shift-middle click),
 which should paste the text as is...
Thank You !!!



Re: [gentoo-user] Compiz-Fusion does not show windows border

2011-01-28 Thread Carlos Sura
On 27 January 2011 15:09, PK pkugri...@gmail.com wrote:

 Don't forget to enable window decoration feature (run ccsm) and select your
 decorator. I'd recommend using fusion-icon, makes things much more
 accessible.

 Cheers,
 P.

 On Thu, Jan 27, 2011 at 9:01 PM, Carlos Sura 
 carlos.su...@googlemail.comwrote:

 Hello mates,

 I'm running Gentoo ~amd64

 I try to install compiz-fusion, following the wiki, everything seems to be
 fine, but when I try to run compiz-fusion, it works but not so well, because
 does not show me windows border, also I put compiz-fusion to use indirect
 rendering and loose binding but none of this works. I'm stuck.

 Here is my emerge --info: http://tinypaste.com/43af1

 Extra: INTEL GMA
 VIDEO_CARDS= intel

 I'm using i915 driver (enabled modesetting on intel by default)

 What is wrong??

 Regards,

 --
 Carlos Sura.-




Hello, I've already did that, but isn't working yet... Is there something
else?? I really want to have compiz-fusion working.
-- 
Carlos Sura.-


Re: [gentoo-user] Re: Paste into vim keeping indention or original?

2011-01-28 Thread Bill Longman
On 01/28/2011 12:03 PM, kashani wrote:
 
 You might like one too.
 
 cmap w!! w !sudo  tee % /dev/null
 
 When you forget to sudo vi you can use w!! which pipes writing the file
 though sudo. You get some term gunk, but it does work.

That's what screen and PS1 are for



Re: [gentoo-user] Setting up SMTP relay

2011-01-28 Thread Stroller

On 26/1/2011, at 4:52pm, kashani wrote:
 ...
 ??? What password in ssmtp.conf ???  My /etc/ssmtp/ssmtp.conf has 4
 uncommented lines.  They are...
 ...
 
 If you set it up to email you stuff using e.g. your email account, you would
 also need authentication credentials:
 
 Ya, but he's got a Postfix server listening on that LAN, so the other 
 machines (using ssmtp) don't need to authenticate to that.
 
 This thread has become far too complicated. Postfix can be set up editing 
 only about 3 lines lines in its config file.
 
   I dont't think you have followed the thread correctly. The OP did say 
 he had a user/pass in his ssmtpd.conf which I assumed was for accessing the 
 final relay host. That was the reason for the extra lines.

Please forgive me if I'm mistaken, but I believe that was for accessing the 
external SMTP server belonging to the OP's ISP. 

Formerly the main box used ssmtp to do that, too. Now the main box has 
migrated to Postfix, so the other boxes on the LAN can just relay through that.

Stroller.




Re: [gentoo-user] Compiz-Fusion does not show windows border

2011-01-28 Thread Keith Dart
=== On Fri, 01/28, Carlos Sura wrote: ===
 Hello, I've already did that, but isn't working yet... Is there
 something else?? I really want to have compiz-fusion working.

===

You also have to turn on decoration. and window moving, and window
resizing... Run the config tool and set all that up first. 

It's a pain to get working initially.


-- Keith Dart

-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



[gentoo-user] emerge world, USE flags and packages that aren't there

2011-01-28 Thread Andrew Lowe

Hi all,
	I've got a PC that I use as a media computer, music, videos etc. I 
haven't updated it in ages so decided now is the time to give it a go. I 
issue the command, and subsequently get:


***

harold ~# emerge --pretend -NuD world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy 
dev-vcs/subversion[-dso,perl].

!!! One of the following packages is required to complete your request:
- dev-vcs/subversion-1.6.15 (Change USE: -dso)
(dependency required by dev-vcs/git-1.7.4_rc3 [ebuild])
(dependency required by sys-devel/gettext-0.18.1.1-r1 [ebuild])
(dependency required by dev-libs/popt-1.16-r1 [ebuild])
(dependency required by dev-util/pkgconfig-0.25-r2 [ebuild])
(dependency required by dev-lang/python-3.1.3 [ebuild])
(dependency required by app-admin/python-updater-0.8 [installed])

***

	Well, it's a media computer so subversion shouldn't be there - I think 
it's a leftover from a previous task for this machine. So I now issue 
the command, and once again get:


***

harold ~ # emerge -C subversion
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean atom` to check for reverse dependencies before
 * removing packages.

--- Couldn't find 'null/subversion' to unmerge.

 No packages selected for removal by unmerge
harold ~ #

***

	So, I'm now confused. I'm not a Portage rocket scientist, but my 
reading of this is that subversion needs some flags set, but subversion 
isn't there Is this correct? Any ideas as to how I can get myself 
out of this pickle?


Any thoughts greatly appreciated,

Andrew





Re: [gentoo-user] emerge world, USE flags and packages that aren't there

2011-01-28 Thread Alex Schuster
Andrew Lowe writes:

 Hi all,
   I've got a PC that I use as a media computer, music, videos etc. I
 haven't updated it in ages so decided now is the time to give it a go. I
 issue the command, and subsequently get:
 
 ***
 
 harold ~# emerge --pretend -NuD world
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 
 emerge: there are no ebuilds built with USE flags to satisfy
 dev-vcs/subversion[-dso,perl].
 !!! One of the following packages is required to complete your request:
 - dev-vcs/subversion-1.6.15 (Change USE: -dso)
 (dependency required by dev-vcs/git-1.7.4_rc3 [ebuild])
 (dependency required by sys-devel/gettext-0.18.1.1-r1 [ebuild])
 (dependency required by dev-libs/popt-1.16-r1 [ebuild])
 (dependency required by dev-util/pkgconfig-0.25-r2 [ebuild])
 (dependency required by dev-lang/python-3.1.3 [ebuild])
 (dependency required by app-admin/python-updater-0.8 [installed])
 
 ***
 
   Well, it's a media computer so subversion shouldn't be there - I think
 it's a leftover from a previous task for this machine. So I now issue
 the command, and once again get:
 
 ***
 
 harold ~ # emerge -C subversion
   * This action can remove important packages! In order to be safer, use
   * `emerge -pv --depclean atom` to check for reverse dependencies
 before * removing packages.
 
 --- Couldn't find 'null/subversion' to unmerge.
 
   No packages selected for removal by unmerge
 
 harold ~ #
 
 ***
 
   So, I'm now confused. I'm not a Portage rocket scientist, but my
 reading of this is that subversion needs some flags set, but subversion
 isn't there Is this correct? Any ideas as to how I can get myself
 out of this pickle?

Looks like subversion is not installed, but the world update will pull it 
in. But it cannot be installed because of the dso USE flag, whatever this 
may be. Do you have it set in make.conf or /etc/portage/package.use? It 
seems so. Add
dev-vcs/subversion -dso
to your /etc/portage/package.use to get rid of it, subversion should build 
then.

Other tips for world updates after a long while:
- Add -t to the emerge command, the tree output sometimes helps to see where
  problems come from. Would not heklp in this case, though.
- Separate the update into smaller tasks. Start with emerge -DautvN system,
  and do the same for world later.

Wonko