Re: [gentoo-user] Re: hal - what's the benefit of using it

2009-02-05 Thread Man Shankar
On 08:40 Thu 05 Feb , Volker Armin Hemmann wrote:
 On Donnerstag 05 Februar 2009, Alan McKinnon wrote:
  On Thursday 05 February 2009 00:05:55 Paul Hartman wrote:
   Almost the same as mine, except I still have lots of font stuff in my
   xorg.conf -- do those go somewhere else? or are they unneeded in
   xorg.conf at all these days?
 
  Fonts are complicated :-)
 
  IIRC, the older bit mapped X fonts go in xorg.conf
 
 you don't need any fonts in xorg.conf.

I use the terminus font for my terminal-emulator and it doesnt work if that 
font-path is missing from xorg.conf. Urxvt complains of unable to load
font. Also i supply the font name as 

URxvt*font: -xos4-terminus-*-*-*-*-16-*-*-*-*-*-*-u

in my .Xdefaults. 

-- 

Thanks  Regards,
Man Shankar man.ee.gen(at)gmail.com



Re: [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)?

2009-01-28 Thread Man Shankar
On 20:41 Wed 28 Jan , momesso.and...@gmail.com wrote:
 Sorry for topposting (BlackBerry behavior).
 
 I think that if emerge =x11-wm/awesome-3.1.1 fails, you should file a bug 
 before masking it. 
 
 
 Momesso Andrea
 
 

+1

FWIW, have been using that version for about 10 days. Works great here.
What is the error you get?

   =x11-wm/awesome-3.1-r1 ~amd64
  
   in /etc/portage/package.keywords
  
   but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1
   which fails, so the whole process is stopped.  
 
Normally, that works unless the greater version is stable or you have
accepted keyword for the greater version in some other place.

-- 

Thanks  Regards,
Man Shankar man.ee.gen(at)gmail.com



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-23 Thread Man Shankar
On 09:51 Fri 23 Jan , Willie Wong wrote:
 On Thu, Jan 22, 2009 at 04:47:00PM -0800, Penguin Lover Dake Wang squawked:
  It seems to be appeared on 2.6.28 kernel. But not 2.6.26 kernel.
  I got both as on my box as the gspca driver for my web camera seems only
  worked on the 2.6.26 kernel.
  
 
 The error I run into is mostly only cosmetic. The error happens AFTER
 I terminate X. So far there has been no loss of functionality. After a
 thorough search of my harddrive, I am beginning to think that this is
 not a problem with my configuration per se, but a bug with the Xorg
 radeon driver. 
 
Happened here on both .26 and .28 with the nv driver. But, like you said
the message only appeared after X terminated. I only experienced 1 X crash
during a week of nv driver usage. No, such messages with the nvidia 
proprietary drivers however. FWIW the following are the config opts i use 
for my current .28 gentoo-sources:

zsh % zgrep -i mtrr /proc/config.gz
CONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not set

I pass mtrr:4 to the kernel command line.
 Note that for me this message occured for both 2.6.26.5 and 2.6.28.1
 vanilla sources, and for both 6.9.0 and 6.10.0 Xorg radeon drivers. 
 
 W
 -- 
 Ever stop to think, and forget to start again?
 Sortir en Pantoufles: up 777 days, 13:31

-- 

Thanks  Regards,
Man Shankar man.ee.gen(at)gmail.com



Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Man Shankar
On 09:54 Fri 23 Jan , Dirk Heinrichs wrote:
 Am Freitag, den 23.01.2009, 02:45 -0600 schrieb ext Dale:
 
  But if a kernel gets corrupted or accidentally deleted
 
 mount -oremount,ro /boot solves that problem for me. It's the last
 command in the update script I mentioned before. And there's always
 GRML, just in case :-)

Since, /boot seldom requires work i have this in fstab

/dev/sda1   /boot   ext2noauto  1 2

makes sure /boot is unmounted unless manually mounted from the shell.
But, then again mistakes do happen, backups FTW :-)

-- 

Thanks  Regards,
Man Shankar man.ee.gen(at)gmail.com



[gentoo-user] Couple of problems with x11-misc/slim

2009-01-21 Thread Man Shankar
Hello,

In my effort to get a lightweight login manager, i have
decided to use slim. However, i m having couple of problems
with it:

1) ctrl-alt-bksp doesn't restart slim, kdm used to do it.
A solution to this says that we should respawn slim
on a VT in /etc/inittab. Does anybody know of another way?

2) another problem is that
/etc/init.d/xdm restart (or stop) doesn't work.

kill -9 works. How to patch the xdm script to achieve this
automatically? This problem is also mentioned in the following
bug:
http://bugs.gentoo.org/show_bug.cgi?id=186886

look at comment #18  #20

-- 

Thanks and Regards,
Man Shankar man.ee.gen(at)gmail.com



Re: [gentoo-user] Re: Thanks and bye for now

2008-12-30 Thread Man Shankar
On 20:31 Sat 27 Dec , Nikos Chantziaras wrote:
 Another reason I
 didn't put Gentoo on the server is because everyone would start 
 spamming
 the forums about lag when I emerge -u world while they're getting frags
 in Counter-Strike :P
 set PORTAGE_NICENESS=19 in /etc/make.conf
 I'll just hay ah, ah, ah at that one :P  OK, I'll also say that it
 doesn't work.  Everything lags even with 19.
 Is that measurable?

 On my Gentoo at home, yes.  The mouse cursor skips, scrolling gets 
 skippy/laggy too.  I have a dual core e6...@3.33ghz with 4GB DDR2 RAM.

Interesting, i have the niceness set to 19 and i dont feel a thing with 
regular stuff that you mention; browser is responsive(i keep  many tabs
open at a time) and other simple things are fine. I am on relatively lower
specs: AMD64 X2 2.09Ghz and 2gigs of ram. I hope you are not running some
kind of cpu-throttling program (aka cpufrequtils).

The point is you dont update gcc/glibc/kdelibs/heavyweights everyday. Thats
where the lag should happen(due to disk I/O and not due to todays processors).
As for the smaller packages the effect is negligible wrt the benefits gained.
It is disappointing that even today so much hype is created about compiling.
I mean when i am not emerging the cpu sits idle at (0-3)% , isnt it nice 
that we use our multi-core beasts.Obviously for those that run on lower specs
options and workarounds are available.


 With all that being said, I prefer Gentoo of course.  I've been through 
 Debian, Ubuntu, Slackware, Mandriva/Mandrake, CentOS, Fedora and openSUSE 
 on my desktop PC.  I finally settled with Gentoo; it's beats all of 'em.  
 But it needs more attention to keep it healthy and clean. So I don't use it 
 for the servers.  More free time for me that way :P


A properly configured server by its very nature shouldn't need much tinkering,
regardless what distro you run on it. The choice narrows down to basically the
admins knowhow and the organizations compelling needs. I don't understand why
Gentoo should not be easy to maintain as a server. A server has fewer software
hence fewer updates(ideally only security fixes-- GLSA?). Gentoo provides 
magnificent tool eselect (Linux retards should be able to use it!!). So, Gentoo
as a server FTW !!

Regards,
Man Shankar man.ee.gen(at)gmail.com



Re: [gentoo-user] Awesome vs Xmonad

2008-12-30 Thread Man Shankar
On 17:11 Mon 22 Dec , Andreas Niederl wrote:
 Hi,
 
 Man Shankar wrote:
  Hello,
  
  I want to try out the tiling window managers. I would want to know the
  experiences of the users about awesome and xmonad. Primarily i would
  like to know which of those two tiling WMs has worked for you guys. The
  hurdles you encountered and the gains you got thereof.
  
  Currently i am a happy e16 user, but the fact that the tiling WMs
  manage the windows makes me attracted to them. Please comment.
  
 
 I switched from e16 to xmonad last summer and haven't regret it so far.
 One important thing though is to get used to the tiling paradigm, i.e.
 letting the wm do all the resize and positioning work. I suggest you try
 it some time and see if it fits you.
 Personally I started using it only on my home pc while I kept e16 on the
 laptop for work until I couldn't resist a complete switch to it anymore.

Thanks everybody for replying. I am sorry i am late on this as i was having
trouble with a hard disk (thats for later). In the uptime that i got, i 
have managed to figure out that the 'fairh' tiling algo suits me. I have also
realized that now only seldom i use the mouse and also e16. Although i miss the
native transparency of e16 but apart from that i have absolutely nothing against
awesome. When i have time (someday) i will xcompmgr a try. Hopefully a git 
ebuild
of it exists somewhere.

 
 I've recently also started using awesome in a few virtual machines,
 mainly due to the large size of the xmonad dependencies (GHC takes up
 quite some space).
 From my point of view they both look fairly the same with awesome having
 a few more features (tagging, widgets).
 
 It also helps to regard the configuration file (xmonad and =
 awesome-3.0) as the main program, e.g. my xmonad.hs looks a bit like a
 Haskell program where different modules get imported and the main window
 manager module loaded at the end.
 You can do quite a lot with those two.

 Aside from that, the main difference between them are the programming
 languages they're written in because you have to use it for the
 configuration file.
 Awesome uses Lua which is a simple but powerful imperative scripting
 language and xmonad uses Haskell, an advanced functional programming
 language which many consider as rather hard to learn.
 
 Personally, I didn't know anything about Haskell before using xmonad and
 I have to admit that I had a few very hard times with it when I wanted
 to do some advanced (or even simple) configuration changes. But once you
 wind your head around the functional paradigm (and all those operators
 and monads) you can do a lot with it.
 Have a look at the xmonad config archive[1] for some examples.


I agree for someone new to the functional paradigm(me!!) it is initially
daunting. But once i am against such a situation i try to pick up someone
else's config and start from there. And besides, to use xmonad you just
perhaps need to remember your key-shortcuts, once a config file is set.
There is not much to interfere with these tiling beauties!!

 
 If you're going to use awesome I'd recommend having a look at
 x11-misc/dmenu as I didn't see any default integration of it in the
 awesome config (though I might have missed it).
 
 
 Regards,
 Andi
 
 [1] http://www.haskell.org/haskellwiki/Xmonad/Config_archive

Oh dmenu is a beauty, used it during my openbox days; who needs fancy
menus?? In awesome-3.1 i have

keybinding({ modkey }, z, function () awful.util.spawn(exec `dmenu_path | 
dmenu -b`) end):add()

works well.

So, awesome it is for the moment until I get the itch to switch !!

By the way Greetings and Happy New Year:2009 to everybody.

-- 

Regards,
Man Shankar man.ee.gen(at)gmail.com



Re: [gentoo-user] Awesome vs Xmonad

2008-12-17 Thread Man Shankar
On 09:39 Wed 17 Dec , Gregory SACRE wrote:
 Hi Man,
 
 
 I was a huge fan of FVWM (loved the flexibility of it) and I tried to
 switch to awesome.
 After trying a bit to understand how the configuration script work
 (about three days in my spare time), I understood how awesome (this
 one was easy :-p) this wm is.
 You can do pretty much what you want as the configuration script,
 which is using the Lua script language, can load system commands (such
 as conky, even thought I couldn't get it to work, but used native lua
 scripts with the wicked.lua library) or run native code (I use this to
 see the disk space, mpd songs, battery life, cpu usage with a graph,
 ...).
Sounds great but when i customize the file and save it in
~/.config/awesome/rc.lua and reload, nothing seems to happen. I am
trying to get working with awesome-3.1. Am i missing anything.
 
 One of the other things I really like in awesome, it's the fact that
 you can mix up tiling windows and floating ones. You can define, for
 certain window titles in the configuration file, the fact that they
 are floating. Then, when you start them, they appear as floating
 windows and not tiled as the rest of them. This is pretty much
 interesting for applications such as Skype, gitk, mplayer, ...
 As for other tiling wm, you can also assign tags (sort of virtual
 desktops) to window titles so when you start it, it goes directly
 there, leaving your actual tag clean with what you were doing.

That is a required feature because some stupid programs dont go well
with the tiling concept. Another neat feature i found in default xmonad
was the fact that there was no gap between adjacent windows. I am sure
awesome should be able to do that as well, just that the default conf
doesnt. But, then again i really haven't dug in.

-- 

Regards,
Man Shankar man.ee.gen(at)gmail.com



[gentoo-user] Awesome vs Xmonad

2008-12-16 Thread Man Shankar
Hello,

I want to try out the tiling window managers. I would want to know the
experiences of the users about awesome and xmonad. Primarily i would
like to know which of those two tiling WMs has worked for you guys. The
hurdles you encountered and the gains you got thereof.

Currently i am a happy e16 user, but the fact that the tiling WMs
manage the windows makes me attracted to them. Please comment.

-- 

Regards,
Man Shankar man.ee.gen(at)gmail.com