Re: [gentoo-user] screen, screen+byobu, or tmux?

2011-04-17 Thread Jesús J . Guerrero Botella
2011/4/17 Pandu Poluan pa...@poluan.info:
 So, anyone got any experience using screen and screen+byobu and tmux?

 What's your opinion in general of the three alternatives?

tmux seems to be much more actively developed these days. That's my
perception at least.

A fact is that its codebase is lighter and simpler, and it has been
able to do vertical splits for a long time. I don't know if that
feature finally merged (in an usable status, I mean) in screen.




-- 
Jesús Guerrero Botella



Re: [gentoo-user] win key takes me from X to VT

2011-04-17 Thread Kfir Lavi
2011/4/17 Jesús J. Guerrero Botella jesus.guerrero.bote...@gmail.com

 Hello.

 I am having this issue since a couple of days ago.

 When I press the win key (alone) I am taken back to VT, which is quite
 annoying since I've used win+[123456] to go to the respective virtual
 desktops for years.

 I've tried downgrading xorg-server and it didn't work. I've also tried
 to change mingetty (which I've been using for years as well) by
 agetty, no change either.

 If I restart the xdm service (I use kdm) then everything works as
 expected and I can use the windows key for my bindings.

 Any idea on where to start looking or how to diagnose this?

 Thanks everyone.

 --
 Jesús Guerrero Botella


Try to reset all shortcuts with:
setxkbmap -option

Maybe this will help, but not sure.

Kfir


Re: [gentoo-user] sane-backends

2011-04-17 Thread Kfir Lavi
On Sun, Apr 17, 2011 at 1:52 AM, Michael George geo...@mutualdata.comwrote:

 I just got a new scanner which will be supported in version 1.0.22 of
 the sane-backend package.  However, that version isn't in portage yet.
 How do I find who the maintainers of the portage package are so that I
 can contact them to see if I can help get that port made available?

 --
 -M

 There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.



You can create your local overlay, and try to upgrade the ebuild to your
needs.
If it works, you can send your changes as a patch to the maintainers of the
package.

Kfir


Re: [gentoo-user] screen, screen+byobu, or tmux?

2011-04-17 Thread Stroller

On 17/4/2011, at 5:39am, Pandu Poluan wrote:

 So, anyone got any experience using screen and screen+byobu and tmux?

tmux, as discussed here at length in the past.

Useful features include [1].

Because tmux is a single server daemon and you can run tmux commands from both 
inside and outside of it, without needing to go into command mode, you can do 
useful things like:

  for host in server1 server2 server3
  do
tmux new-window -d ssh $host 
  done

Then using `tmux synchronize-panes on` you can `emerge -pv world` (or whatever) 
to all hosts.

This is just one example. Maybe you need italics support, or something else 
instead. tmux is better than screen lots of minor ways, that are cumulatively 
significant IMO. 

tmux doesn't need byobu because it's better than screen in the first place, 
although it does need some customisation, IMO (see attached). If you have a 
window manager that provides a clock, then having it also in your screen / tmux 
status line is just a distraction and a waste of space; likewise CPU meters are 
always so, IMO.

Stroller.



[1] 
http://sourceforge.net/mailarchive/forum.php?thread_name=20110417043659.GA10986%40carbon.vonhaugwitz.comforum_name=tmux-users



tmux.conf
Description: Binary data


Re: [gentoo-user] Re: consolekit won't start

2011-04-17 Thread Mick
On Saturday 16 April 2011 19:36:13 David W Noon wrote:
 On Sat, 16 Apr 2011 19:00:02 +0200, Mick wrote about Re: [gentoo-user]
 
 Re: consolekit won't start:
 On Saturday 16 April 2011 17:27:14 David W Noon wrote:
 [snip]
 
  Consolekit does not like starting when there are already several
  daemon processes running.  So, you should add it to the *boot* run
  level, thus allowing it an early appearance.
 
 Thanks David.  It now seems to start fine at the default run level -
 as recommended here:
 
 http://en.gentoo-wiki.com/wiki/KDE4#KDM_.26_ConsoleKit
 
 About a year ago, I had all kinds of problems with consolekit refusing
 to start from the default run level.  Hence, I moved it to boot and all
 has been well since then.

I see ... good to know if it starts playing difficult.  Thanks for sharing.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: GCC 4.5.2 won't merge

2011-04-17 Thread walt

On 04/16/2011 10:00 AM, Nilesh Govindarajan wrote:

I got a new gentoo VPS. Everything installed fine, and also upgraded,
except gcc.
The gcc I have on the server is 4.4.5 which I'm trying to upgrade to 4.5.2

I get the error: Unable to determine suffix for object files.


The build log refers to 'config.log' for details.  That's probably where
the real error message is.





Re: [gentoo-user] sane-backends

2011-04-17 Thread Neil Bothwick
On Sat, 16 Apr 2011 18:26:38 -0500, Dale wrote:

 Some put them in the overlay to test then move them over to the tree a 
 bit later if there are no problems or weird dependency problems.
 
 I think there is a fancy command to get that info but can't recall it
 at the moment.  I bet someone will post it tho.  ;-)

eix-remote update

Run this after an emerge --sync  eix-update and eix will index the
overlays you don't use as well as the ones you do.


-- 
Neil Bothwick

Bad dog! Leave that wire alone.click.###@*##NO TERRIER


signature.asc
Description: PGP signature


[gentoo-user] I'm up, at long last!

2011-04-17 Thread Alan Mackenzie
Hi, Gentoo.

After a few weeks of effort, I've just gone live with my very own Gentoo
system.  :-)

The last stage was copying most of my files over from my old box, which
involved a significant degree of screwing the disk drives.

It is such a relief to say goodbye to my ancient Debian system, which no
longer had a functioning package system.  Also, my ten year old hardware
was feeling ever more underpowered as time went by.

Installing and configuring Gentoo was significantly easier than Debian,
even though it took about the same amount of time.  The approach insert
the DVD, press the button, and everything will work OK is fine, until
something _doesn't_ work OK; then you've got several hours (or days) of
tedious searching for the answer.  By contrast, with Gentoo's 41 pages
of detailed instructions, you really can't go far wrong.  And at the end
of it, there's further detailed documentation to get X and window
manager etc. set up.

I think there's really only two ways to install Linux: you either go the
Ubuntu route, where everything's done for you and you accept somebody
else's defaults, or you go with Gentoo, where you do everything
yourself.  I think anything in the middle, like Debian, just leads to
confusion and uncertainty.  I don't know where Fedora and SuSE fit into
all this.

Anyhow, I'm now up and running, with some installation and config still
to do: things like how to get British English and German keyboard
layouts in XFCE, how to make it's terminal have a black background and
things like that.  I also need to find a decent PDF viewer, and a decent
jpeg viewer.

So, thanks for all the help, everybody!

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] I'm up, at long last!

2011-04-17 Thread James Wall
On Apr 17, 2011 10:40 AM, Alan Mackenzie a...@muc.de wrote:

 Hi, Gentoo.

 After a few weeks of effort, I've just gone live with my very own Gentoo
 system.  :-)

 The last stage was copying most of my files over from my old box, which
 involved a significant degree of screwing the disk drives.

 It is such a relief to say goodbye to my ancient Debian system, which no
 longer had a functioning package system.  Also, my ten year old hardware
 was feeling ever more underpowered as time went by.

 Installing and configuring Gentoo was significantly easier than Debian,
 even though it took about the same amount of time.  The approach insert
 the DVD, press the button, and everything will work OK is fine, until
 something _doesn't_ work OK; then you've got several hours (or days) of
 tedious searching for the answer.  By contrast, with Gentoo's 41 pages
 of detailed instructions, you really can't go far wrong.  And at the end
 of it, there's further detailed documentation to get X and window
 manager etc. set up.

 I think there's really only two ways to install Linux: you either go the
 Ubuntu route, where everything's done for you and you accept somebody
 else's defaults, or you go with Gentoo, where you do everything
 yourself.  I think anything in the middle, like Debian, just leads to
 confusion and uncertainty.  I don't know where Fedora and SuSE fit into
 all this.

 Anyhow, I'm now up and running, with some installation and config still
 to do: things like how to get British English and German keyboard
 layouts in XFCE, how to make it's terminal have a black background and
 things like that.  I also need to find a decent PDF viewer, and a decent
 jpeg viewer.

 So, thanks for all the help, everybody!

 --
 Alan Mackenzie (Nuremberg, Germany).

I recommend xpdf for the PDF viewer

James Wall


Re: [gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-17 Thread Carlos Sura
On 15 April 2011 16:08, Neil Bothwick n...@digimed.co.uk wrote:

 On Fri, 15 Apr 2011 13:37:50 -0700, walt wrote:

  You can try re-emerging dbus-glib if you haven't already done it.

 This whole glib-dbus thing is a red herring. That error was caused by
 trying to run LO as root, without an available dbus session. It has
 nothing to do with the fact that LO won't run as a user.


 --
 Neil Bothwick

 Barth's Distinction:
 There are two types of people: those who divide people into two types, and
 those who don't.


Hello, This error: GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init:
assertion failed

That is caused by trying to run libreoffice as root (from terminal) I know.

But, trying as a normal user, isn't working and I dont have any clue about
what is making this problem, there is no log or error to trace.

So, I've unistalled libreoffice, and installed again, but... Isn't working
yet... I'm not really sure what's this problem, since I don't have any clue
or any idea to trace this error.

Again, as I said before, I know that I can't run libreoffice as root (from
console), but I've tried as normal user, and clicking at the icon... And no
luck, no error, no logs, no trace, no clue.



-- 
Carlos Sura.-


[gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-17 Thread walt

On 04/17/2011 11:38 AM, Carlos Sura wrote:



But, trying as a normal user, isn't working and I dont have any clue
about what is making this problem, there is no log or error to
trace.

So, I've unistalled libreoffice, and installed again, but... Isn't
working yet... I'm not really sure what's this problem, since I don't
have any clue or any idea to trace this error.


Try strace this way (as normal user):

$strace -f -o outputfile /usr/bin/libreoffice

The -f flag allows strace to follow as the shell-script starts the real
binary executable.  Look through 'outputfile' for messages that look
fatal :)






Re: [gentoo-user] win key takes me from X to VT

2011-04-17 Thread Jesús J . Guerrero Botella
El día 18 de abril de 2011 00:01, Jesús J. Guerrero Botella
jesus.guerrero.bote...@gmail.com escribió:
 Try to reset all shortcuts with:
 setxkbmap -option

 It doesn't change anything. The problem starts in kdm, before loging
 in, so it's nothing specific to a given user account.

Oh, I forgot, it is nothing specific to kdm either. What I meant above
is that it happens since I enter X. Or rather, since this is the
default behavior in the console, we could more correctly say that it
*continues* happening when I enter X, where it should not happen.

I tested the lxde login manager and it has the same problem.


-- 
Jesús Guerrero Botella



Re: [gentoo-user] I'm up, at long last!

2011-04-17 Thread Mark Shields
 On Sun, Apr 17, 2011 at 10:22 AM, Alan Mackenzie a...@muc.de wrote:

 Hi, Gentoo.

 After a few weeks of effort, I've just gone live with my very own Gentoo
 system.  :-)

 The last stage was copying most of my files over from my old box, which
 involved a significant degree of screwing the disk drives.

 It is such a relief to say goodbye to my ancient Debian system, which no
 longer had a functioning package system.  Also, my ten year old hardware
 was feeling ever more underpowered as time went by.

 Installing and configuring Gentoo was significantly easier than Debian,
 even though it took about the same amount of time.  The approach insert
 the DVD, press the button, and everything will work OK is fine, until
 something _doesn't_ work OK; then you've got several hours (or days) of
 tedious searching for the answer.  By contrast, with Gentoo's 41 pages
 of detailed instructions, you really can't go far wrong.  And at the end
 of it, there's further detailed documentation to get X and window
 manager etc. set up.

 I think there's really only two ways to install Linux: you either go the
 Ubuntu route, where everything's done for you and you accept somebody
 else's defaults, or you go with Gentoo, where you do everything
 yourself.  I think anything in the middle, like Debian, just leads to
 confusion and uncertainty.  I don't know where Fedora and SuSE fit into
 all this.

 Anyhow, I'm now up and running, with some installation and config still
 to do: things like how to get British English and German keyboard
 layouts in XFCE, how to make it's terminal have a black background and
 things like that.  I also need to find a decent PDF viewer, and a decent
 jpeg viewer.

 So, thanks for all the help, everybody!

 --
 Alan Mackenzie (Nuremberg, Germany).


Gentoo has it's places, but at the end of the day, I just want my desktop
system to work with little effort on my part.  And be consistent.  Ubuntu
gives me that on a desktop -- well, it did, until they decided to switch to
Unity.  But that's another topic...

For everything else (re: servers), there's Gentoo :)

I run a Gentoo VPS for a website.  I love the flexibility of Gentoo, the
speed, the nothingness you start with and have to mold it together like you
would an artist with a block of clay.


Re: [gentoo-user] Re: LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-17 Thread Carlos Sura
On 17 April 2011 16:14, walt w41...@gmail.com wrote:

 On 04/17/2011 11:38 AM, Carlos Sura wrote:


  But, trying as a normal user, isn't working and I dont have any clue
 about what is making this problem, there is no log or error to
 trace.

 So, I've unistalled libreoffice, and installed again, but... Isn't
 working yet... I'm not really sure what's this problem, since I don't
 have any clue or any idea to trace this error.


 Try strace this way (as normal user):

 $strace -f -o outputfile /usr/bin/libreoffice

 The -f flag allows strace to follow as the shell-script starts the real
 binary executable.  Look through 'outputfile' for messages that look
 fatal :)





Hello Walt, thank you for your answer

This is the paste: http://tinypaste.com/dde0e1

Maybe someone can help me... I'm looking right now for errors.

-- 
Carlos Sura.-


Re: [gentoo-user] are cgroups automatic ?

2011-04-17 Thread Philip Webb
110411 Bill Longman wrote:
 On 04/11/2011 08:13 AM, Philip Webb wrote:
 I have enabled cgroups in kernel 2.6.38 , but am not sure how they work.
 There's nothing in the docs in  /usr/src/linux
 Are you sure there's no documentation?

[long list snipped]

(red face) Yes there is.  And thanks to the others who had suggestions.
Now I can explore the topic at leisure.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Howzat!

2011-04-17 Thread Peter Humphrey
Hello list,

How's this for sheer persistence and grit?

$ genlop -c

 Currently merging 321 out of 368

 * www-client/chromium-10.0.648.204

   current merge time: 11 hours, 41 minutes and 9 seconds.
   ETA: any time now.

This is my Atom N270 LAN server box.

-- 
Rgds
Peter



Re: [gentoo-user] Howzat!

2011-04-17 Thread Dale

Peter Humphrey wrote:

Hello list,

How's this for sheer persistence and grit?

$ genlop -c

  Currently merging 321 out of 368

  * www-client/chromium-10.0.648.204

current merge time: 11 hours, 41 minutes and 9 seconds.
ETA: any time now.

This is my Atom N270 LAN server box.

   


I got a very old Compaq rig with quad 200Mhz CPUs and 128Mbs of ram.  I 
have always wondered how long it would take to compile OOo on that 
thing.  12 hours to compile a browser does take patience.  I hope you 
don't have a power failure right at the end.  o_O


How long does it take to open it when it gets done?  Seconds?  Minutes?

Dale

:-)  :-)



Re: [gentoo-user] I'm up, at long last!

2011-04-17 Thread Pandu Poluan
On Mon, Apr 18, 2011 at 06:58, Mark Shields laebsh...@gmail.com wrote:
  On Sun, Apr 17, 2011 at 10:22 AM, Alan Mackenzie a...@muc.de wrote:

 Hi, Gentoo.

 After a few weeks of effort, I've just gone live with my very own Gentoo
 system.  :-)


Hi Alan!

Welcome to the club :-)

[-- snip --]

 So, thanks for all the help, everybody!

 --
 Alan Mackenzie (Nuremberg, Germany).


 Gentoo has it's places, but at the end of the day, I just want my desktop
 system to work with little effort on my part.  And be consistent.  Ubuntu
 gives me that on a desktop -- well, it did, until they decided to switch to
 Unity.  But that's another topic...

How I wish I can use *any* kind of Linux for my desktop :-/

 For everything else (re: servers), there's Gentoo :)

Can't agree more ;-)

 I run a Gentoo VPS for a website.  I love the flexibility of Gentoo, the
 speed, the nothingness you start with and have to mold it together like you
 would an artist with a block of clay.

I was about to post something similar to what you wrote, but you did
it much more poetically.

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] Howzat!

2011-04-17 Thread Joshua Murphy
On Sun, Apr 17, 2011 at 9:44 PM, Dale rdalek1...@gmail.com wrote:
 Peter Humphrey wrote:

 Hello list,

 How's this for sheer persistence and grit?

 $ genlop -c

  Currently merging 321 out of 368

  * www-client/chromium-10.0.648.204

        current merge time: 11 hours, 41 minutes and 9 seconds.
        ETA: any time now.

 This is my Atom N270 LAN server box.



 I got a very old Compaq rig with quad 200Mhz CPUs and 128Mbs of ram.  I have
 always wondered how long it would take to compile OOo on that thing.  12
 hours to compile a browser does take patience.  I hope you don't have a
 power failure right at the end.  o_O

 How long does it take to open it when it gets done?  Seconds?  Minutes?

 Dale

 :-)  :-)



Assuming a reasonable 1GB ram on the box (pretty well standard to low
with an Atom), and considering what my netbook does (the same single
core 1.6GHz with HT turned on for responsiveness in my case), about
2-3 seconds... but then I'm on a little SSD too. I should admit my
netbook's running Debian at the moment, though. Didn't want to abuse
the SSD too much with writes, and it's tedious to install things
through an intermediary system all the time. The fullsize laptop, when
it gets its rebuild over the next week (it's been a windows 2k3 server
development system lately)

-- 
Poison [BLX]
Joshua M. Murphy