Re: [gentoo-user] OT: keys that don't create keycodes
* On Tue Jul-19-2005 at 04:26:05 PM +0930, Iain Buchanan said: > It seems that every multimedia keyboard out there (especially the usb > ones) have some or all "extra" keys that just aren't visible outside of > Winblows. > > I have a couple of them! I've tried all the usual ways of detecting > them - xev and others that do a similar thing but they just don't > register as keypresses in any standard way. > > I would like comments on why, and what methods, if any, may be available > to detect such keys. Surely with the plethora of cheap multimedia > keyboards out there, there is some way. Perhaps this blog entry[1] has some useful information for you. I jumped on the same boat as Patrick and now use my Happy Hacking Lite 2 keyboard and some old Honeywell AT keyboard. xbindkeys is your friend, although I admit the "shortcuts" can get obscure quickly. If anyone wants a multimedia keyboard I'll sell it to you cheap. Complete with disabled-on-boot F1-12 keys! :P [1] http://planet.gentoo.org/developers/flameeyes/2005/06/15/and_the_keyboard_lose_the_match -- Sami Samhuri pgp0FMKl6gUyC.pgp Description: PGP signature
Re: [gentoo-user] Knoppix twice as fast as Gentoo?
* On Mon Apr-11-2005 at 10:34:59 PM +0200, Bastian Balthazar Bux said: > Matthew Cline wrote: > >>I recommend using genkernel for creating a kernel. You still have to > >>deal with configuring yourself, but then Gentoo deals with the compile > >>and moving the kernel around and such. > > > > > >What's wrong with make && make modules_install && make install? > > probably that you forget 50% of the times the > # mount /boot > ;) (I've started to mount it read only so at least an error came up) That's why I've got a small shell script that runs from a config file (also takes cmd line params for all options). You can have it perform any combination of the following actions: * mount /boot * make menuconfig * make all * make modules_install * install kernel to boot * add kernel to grub.conf * re-emerge nvidia-kernel If /boot was mounted by the script it is unmounted. Once you get a "config" file in place (sourced script that sets variables) it's a one step process, `kernmagic -v` (i like to know where it's at in the process). -- Sami Samhuri pgp9aBTXHoBDI.pgp Description: PGP signature
Re: [gentoo-user] Who vets the gentoo front page ads?
* On Tue Apr-19-2005 at 04:16:23 PM -0400, A. Khattri said: > On Tue, 19 Apr 2005, Christoph Gysin wrote: > > > I assume he just wanted to get a life... > > Yeah, having a family, kids, will do that... Thanks for the warning. ;-) -- Sami Samhuri pgppNkeCa0xPe.pgp Description: PGP signature
Re: [gentoo-user] Re: gdm power management
* On Sat Apr-30-2005 at 02:35:10 AM +, James said: > Mark Knecht gmail.com> writes: [...] > > where do you make a config setting change to get this to work? [...] > > I've got some older Viewsonic E790 19" CRT based monitors. Here's the > relevant section of an xorg file that you could use as a starting point... > > Section "Monitor" > Identifier "Monitor0" > VendorName "VSC" > ModelName"E790-3" > HorizSync30.0 - 95.0 > VertRefresh 50.0 - 200.0 > Option "DPMS" > EndSection Also check out the following options (found in 'man xorg.conf'): Option "BlankTime" "15" Option "StandbyTime" "30" Option "SuspendTime" "60" Option "OffTime" "600" Times are in minutes. -- Sami Samhuri pgpRqQSzF8RCp.pgp Description: PGP signature
Re: [gentoo-user] resolution from command line
* On Sat Apr-30-2005 at 12:03:37 PM -0700, Richard Fish said: [...] > The command you are looking for is "fbresolution". Which package provides this program? I cannot find it on my system. :( [EMAIL PROTECTED] ~ % fbresolution zsh: command not found: fbresolution -127- [EMAIL PROTECTED] ~ % which fbresolution fbresolution not found -1- [EMAIL PROTECTED] ~ % locate fbresolution -1- [EMAIL PROTECTED] ~ % esearch fbresolution [ Results for search key : fbresolution ] [ Applications found : 0 ] [EMAIL PROTECTED] ~ % -- Sami Samhuri pgpWcWwH4yqp2.pgp Description: PGP signature
Re: [gentoo-user] resolution from command line
* On Sat Apr-30-2005 at 09:12:22 PM -0500, Greg Donald said: > On 4/30/05, Sami Samhuri <[EMAIL PROTECTED]> wrote: > > > The command you are looking for is "fbresolution". > > > > Which package provides this program? I cannot find it on my system. :( > > Google makes me think it's in bootsplash. Thanks... should've thought of Google. -- Sami Samhuri pgplhLEPo0aMO.pgp Description: PGP signature
Re: [gentoo-user] The 2005.0 LiveCD hates me! :'(
* On Sat May-07-2005 at 01:04:17 AM +0530, Mrugesh Karnik said: [...] > All in all, I'm completely frustrated and pissed off. Now, I'm looking > for alternatives. Maybe I can install from the 2004.3 LiveCD but I'm > using LVM2 and I don't think the 2004.3 LiveCD supports it. I've installed Gentoo with LVM2 (before 2 days ago when I used 2005.0). Don't quote me on this but I'm pretty sure it was using a 2004.1 LiveCD, so I would be very surprised to hear that 2004.3 is using LVM1. > Guys, I seriously need ideas... I can't afford to waste too much time > trying to install Gentoo... But I certainly don't want to move back to > those rpm based distros... Far from a waste of time, believe you me! Not trying to shoo you away, but there is more out there than Gentoo and RPM-based distros, if that's what you're looking for. Much more. Slackware springs to mind (first Linux distro I ever used, it is a great distro). There is also Debian. I haven't used it and cannot comment further on it. I'm sure that a bunch of people here will have some colourful thoughts though. [Heh, I almost brought up a quote from Ciaran and used it here but remembering all the fuss last time I thought better of it. Something about SUVs and shotguns... :) ] -- Sami Samhuri pgpVg7v3k18hc.pgp Description: PGP signature
Re: [gentoo-user] (Way OT) This email best viewed with IE 6.5 at 800X600 resolution
I'm sorry but as OT as this thread is (haven't read all of it) I have to get my 2 cents in here. Response inlined below... * On Sun May-08-2005 at 08:44:08 PM +, Calvin Spealman said: [...] > I'm tired of everyone being so blatently rude in their defensive > stances over simple suggestions of improvement. Clearly 'improvement' is subjective. Hence the differing opinions. > For some reason, I've noticed these actions move prevalently in > regards to email protocols and formats. The W3C wants to release a new > version of HTML? No one complains (mostly). Someone wants to create a > new e-mail standard, or expand an existing one? Off with their heads! I have to disagree here. If you read RFC 822[1] (1982) and then take a look at RFC 2822[2] (2001) then you'll see that there have been changes and updates to the e-mail standard. If you care to create a new one then go ahead and do it. If people like it then they will start to use it. It's as simple as that. Perhaps instead of trying to extend a standard that was created to send text around you should be trying to form a new standard altogether; I'm not really sure what you're trying to push for here. Apparently the ability to attach any file you wish to an e-mail is good enough for most people and this really is a non-issue. If you care to have fancy formatting or whatever else then attach a document in any format you like and if people want to read it they will. If someone's e-mail client displays certain attached files inline with the message than that's fine with me. In certain cases I think this even makes a lot of sense (e.g. images). I just don't see why this isn't good enough to get your fancy formatting. Outlook does this with HTML and we all know what a horrible mess that has created, but I think if you're really keen on this and adapt a mail client to automatically display certain types of attachments (without being a huge security risk!) then people may adopt it; but that is all speculation. To cut to the point all I'm trying to say is that e-mail has the capability to do what you want, you just need to figure out an appropriate file format for this purpose and then push to get clients to automatically display these files. If the majority like it then it will be used. > Going by the way everyone reacts to these ideas, one would come to the > conclusion that we should all still run nothing but command lines and > pass our information around on FTP and Gopher servers. Transferring files using the File Transfer Protocol -- silly us! Sorry for that, but it's hard to take that last sentence seriously seeing as it's a patently false conclusion. I'm running X right now with loads of cool GUI apps and (for one example) I use the WWW to share all sorts of information, so I don't know what you're worrying about. [1] http://www.faqs.org/rfcs/rfc822.html [2] http://www.faqs.org/rfcs/rfc2822.html * Alternatively, you can also get these files in plain ASCII text from an FTP server at... never mind. -- Sami Samhuri pgpA0CdRNqbdj.pgp Description: PGP signature
Re: [gentoo-user] First Install - Help Setting Root Password
* On Sun May-08-2005 at 03:27:41 PM -0700, Drew Tomlinson said: > I've followed the directions in the handbook and installed from a > Knoppix boot. I've made it all the way to section 10.d (reboot). > However upon reboot, I'm presented with a login prompt. I log in as > root and enter the password I set in section 8.c but it tells me 'login > incorrect'. I boot Knoppix again, perform the required steps and enter > my chroot environment. I repeat section 8.c and reset the password. I > also move ahead to section 11 and create a user account for myself, > passing along '-G wheel', so I can su if necessary. I reboot again back > to Gentoo but get the same problem when logging on as root. I can log > on with the new user account I've created but 'su' does not work (can't > setguid), probably due to the same password issue I have when logging on > as root. > > Any idea? I'm almost there. My only stab in the dark here: In /etc/fstab do you have the nosuid option enabled on any of your filesystems? -- Sami Samhuri pgpi502HPmYTa.pgp Description: PGP signature
Re: [gentoo-user] Please Use Subjects
* On Sun May-08-2005 at 11:54:14 PM -0400, Philip Webb said: > 050509 Holly Bostick wrote: > >> fire-eyes complained re a lot of messages today with zero subject > > most of the time the subject appears in the headers > > when I select the message to read in Thunderbird > > and the messages are correctly threaded; > > the subject just does not appear in the folder list; > > at least it's not some weird Thunderbird extension, or my ISP... > > i haven't seen this phenomenon with Mutt. For some reason I imagine that most of the affected messages were just displayed as arrows in Mutt (threaded view) since I didn't see it either. -- Sami Samhuri pgpNZNrM3O4wf.pgp Description: PGP signature
Re: [gentoo-user] Programs executed as root cannot connect to X server
* On Sun May-08-2005 at 09:14:15 PM -0500, Hareesh Nagarajan said: > Hi All: > > How do I enable programs which are executed by the root to connect to > the X server? I think you might be looking for this command (normal user): % xhost +localhost For more info read 'man xhost'. -- Sami Samhuri pgpFLhHoLCdSm.pgp Description: PGP signature
Re: [gentoo-user] lost file with reiser4
* On Sun May-08-2005 at 10:22:43 PM -0700, Robert Persson said: [...] > That said, I don't want to lose data again, so I will probably fall > back to something less flashy before too long. I use reiserfs (v3.6) without problems although you will hear people talk of losing data with it. I believe it's usually due to power outages so if you're not on a UPS or have dodgy power then I'd steer clear of it. If you're really interested in stability than as the Gentoo Handbook says, ext2/3 is the tried and true fs of choice. -- Sami Samhuri pgpLxEhFUtw2H.pgp Description: PGP signature
Re: [gentoo-user] Programs executed as root cannot connect to X server
* On Mon May-09-2005 at 10:57:47 AM +0200, Martin Carpella said: > Sami Samhuri <[EMAIL PROTECTED]> writes: > > > I think you might be looking for this command (normal user): > > > > % xhost +localhost > > Note however that this can be dangerous, as now every local user could > send you a window to your X-server, not only root. True. I suppose I shouldn't have assumed this was a desktop with one user. -- Sami Samhuri pgpOHN6uIAxiu.pgp Description: PGP signature
Re: [gentoo-user] RE: Users with access to shell!
* On Thu May-12-2005 at 03:17:56 PM -0500, [EMAIL PROTECTED] said: > > > I have users accessing to the bash shell of my Gentoo Server, my > > question is: > > > > How can secure my server with this users accessing to shell? , > > >>You can't trust your users. That's the idea. > > That's the point, my server is a DataBase Server, I mean, users log in > and run a C++ script and then they work with the database files.. THEY > HAVE TO LOG IN, so there's only few that has access to the bash shell, > because they need it!!!... so, I ask again, there is some tools, command > that help me to monitoring, securing this server?? Is it possible for them to work with this DB using some client app running on another machine? You haven't said much about your situation but perhaps there is another way besides them having shell access to that server. -- Sami Samhuri pgpbTogaXLWze.pgp Description: PGP signature
Re: [gentoo-user] new install - no network?
* On Fri May-13-2005 at 10:41:19 AM -0500, tj said: > Sorry for the newb post here. > > I figured out what I screwed up. I have an e100 and I didn't get it into > my kernel. > Do i have to recompile? or? is there are way around it. [I'm going to assume you used the 2005.0 CD and installed a 2.6 kernel (the default choice)] If you compile it in your kernel as a module then the following instructions should work. From your kernel source dir (/usr/src/linux): # make all modules_install # insmod e100 Let us know how this goes. -- Sami Samhuri pgpADofcp6DJK.pgp Description: PGP signature
Re: [gentoo-user] Re: / is full
* On Sat May-14-2005 at 06:01:54 PM +0100, Neil Bothwick said: > On Sat, 14 May 2005 15:37:21 + (UTC), James wrote: > > > TMy problem is the /root/.ccache dir keeps filling up. I keep deleting > > it. > > > > Not sure how to tame this demon.. > > Set CCACHE_DIR in make.conf. Also set CCACHE_SIZE in make.conf. e.g. CCACHE_SIZE="2G" -- Sami Samhuri pgpZVDiM1dBWG.pgp Description: PGP signature
Re: [gentoo-user] Gentoo, LWS and Slackware for linux learner?
* On Mon May-23-2005 at 12:08:18 AM +0600, askar ... said: [...] > apt-get-like comfortable tools? That was my second question. What you > recommend for those, who would like to learn linux from fundamentals? > In order to do so, I think, learner has to do everything manually. I > haven't installed LFS distro before, so I don't know is it like > Slackware or not, but as the name says, this is "linux from sratch", > like gentoo... LFS is quite different from Gentoo. LFS provides documentation that instructs you how to build your system from scratch. Compared to other distros, Gentoo requires you to do most of the installation "manually", but still provides you with tools like bootstrap.sh which do a lot of the work for you. LFS does not provide tools like this, but instead instructions of how to do this yourself. If you think of a linux system as a car, then Fedora, SuSE and those distros are like buying a car. You can choose some options but it is already built for you. Gentoo is a car you build yourself, but some of it is done for you. You get the engine and the frame and everything else and then put it all together. LFS is a just a box of tools, and you must build the engine, frame, and each other part yourself. When I was new to linux I first installed Slackware because I heard it was good. I enjoyed using it, it is a good distro. I also tried to install LFS because I wanted to learn, but that was a bit overwhelming and when I ran into problems I didn't know where I went wrong since I was just following instructions. Like you, I installed almost any distro I could find to see how which one felt comfortable for me. Gentoo happened to be that one. I would not recommend LFS as a starting point to get to know the internals of a linux system. Get to know Gentoo (or Slackware, or whatever) well first and understand how that works. Then when you have an understanding of what all the core software on you system is (fex. packages in 'emerge -ep system') I'd say go for an LFS install. Then again, everyone is different and maybe you're more clever than I am and LFS will be easy... I guess the only way to find out is to try it. -- Sami Samhuri pgp3pf6JlCmuz.pgp Description: PGP signature
Re: [gentoo-user] CFLAGS CPU optimization question.
* On Tue May-24-2005 at 01:08:51 AM +0200, Julien Cayzac said: > On 5/24/05, Richard Fish <[EMAIL PROTECTED]> wrote: > > [ recommandations about performance cflags ] > > While we're at optimizing stuff, here are my CFLAGS (athlon-xp mobile, > barton core): > > CFLAGS="-O2 -march=athlon-xp -msse -mfpmath=sse -pipe > -finline-functions -fsched2-use-superblocks -fsched2-use-traces > -fmove-all-movables -frename-registers -fweb -ffast-math > -funsafe-math-optimizations -fprefetch-loop-arrays -fforce-addr > -momit-leaf-frame-pointer -ftracer -funit-at-a-time > -maccumulate-outgoing-args" > > 2.6.10-gentoo-r6 kernel, everything is stable... and far faster than > when I had only "-O2 -march=athlon-xp -pipe" :-) I recommand [sic] that you slow down. -- Sami Samhuri pgp7ep95rGmLO.pgp Description: PGP signature
Re: [gentoo-user] Re: kernel building tools
* On Thu May-26-2005 at 02:28:25 PM +, James said: [...] > So using make install a syntax sequence would look like this? > > make menuconfig > make && make modules_install > cp arch/i386/boot/bzImage /boot/kernel-2.6.11-gentoo-r9 > cp System.map /boot/System.map-2.6.11-gentoo-r9 > cp .config /boot/config-2.6.11-gentoo-r9 I use the following shell script[1] to handle all my kernel compiling/installing. Once you have it setup to your liking it's a simple `kernmagic -v` and you're on your way. This works for me on my machine, completely untested anywhere else but if you have a Gentoo system with grub installed, /boot at (hd0,0), and /dev/sda3 mounted as / then it will probably work out of the box. Except for the default kernel location, which is in my home dir. Obviously if you're using an IDE disk then change sda3 to hd??. Read the beginning of the script and set those variables in a shell script called ~/.kernmagicrc and then you should be good to go. I take no responsibility if you lose your hair, your cat dies, blah blah blah. [1] http://web.uvic.ca/~sjs/kernmagic-0.4 -- Sami Samhuri pgpELKv3eqDcp.pgp Description: PGP signature
[gentoo-user] [OT] Online stores (that ship to Canada)
Hello Gentooers, [I apologize for the off-topic post but I can't think of any relevant lists to post this to.] I recently got a good deal on two Opterons on ebay and as a result have been looking at building the rest of a dual Opteron system. Yes, it was mostly on an impulse; no, I do not *need* it. It was just a good deal I couldn't pass up. I've pretty much nailed down what I want but actually purchasing it is the more difficult task. Unfortunately, shipping from many American online stores is either impossible or ridiculously expensive (ZipZoomFly.com wants $130 to ship a motherboard UPS expedited :p). What is even more unfortunate is that the US stores are where the deals usually are. Perhaps some of you know of some Canadian stores (preferred) or Canadian-friendly US stores where you can find good components to go in a machine of this kind. If so, please share the knowledge. :) What I am looking for (not set in stone, just what I have found recommended on various sites, including Gentoo Forums) is: o Tyan Thunder K8S Pro (S2882G3NR) OR o Tyan Thunder K8W (S2885ANRF) o 2x 256M Registered ECC DDR 333/400 (depends on board support) OR o 2x 512M Registered ECC DDR 333/400 (seems easier to find) [recommendations for brands of memory welcome] o Wester Digital Raptor 36G 10K RPM SATA Hard Disk Drive o EPS 12V power supply o Recommendations for good cooling devices for Opteron 246s? Right now my plan is to purchase most of it locally but I'm afraid I will miss out on deals that way. Since I won't be able to afford it all at once this is a major factor for me. I know shipping will be an additional cost but I've found it is still often cheaper to buy online. Thanks in advance! -- Sami Samhuri pgpSxNJbBcZCb.pgp Description: PGP signature
Re: [gentoo-user] [OT] Online stores (that ship to Canada)
* On Wed Jun-01-2005 at 06:21:07 PM -0700, Ted Ozolins said: [...] > I've had good results from: > http://www.cclcpr.com/shop/ Hmmm... no Tyan motherboards and I don't see any ECC memory. But as they are nice and close (I'm on the island) I will keep them in mind for future purchases. Thanks. :) -- Sami Samhuri pgpsZWEDjRfp1.pgp Description: PGP signature
Re: [gentoo-user] [OT] Online stores (that ship to Canada)
* On Thu Jun-02-2005 at 04:23:08 AM -0400, Philip Webb said: > 050601 Ted Ozolins wrote: > > Sami Samhuri wrote: > >> Perhaps some of you know of some Canadian stores (preferred) > > I've had good results from: http://www.cclcpr.com/shop/ > > the best store in Toronto is http://www.canadacomputers.com/ : > they have lower prices for CPUs than the Burnaby store > & they have an 'on-line shipping' link. i always go there. They certainly do have some good deals! Between all the links so far I think I've found great deals on everything I need. Thanks. :) -- Sami Samhuri pgpyuHtIO2kyp.pgp Description: PGP signature
Re: [gentoo-user] [OT] Online stores (that ship to Canada)
* On Thu Jun-02-2005 at 07:49:13 AM -0700, maxim wexler said: > > > cheaper to buy online. > > I've had good results w/ tigerdirect.ca. Yes this is where I normally shop. However, they have a limited selection of higher-end hardware. No Tyan motherboards and only 2 choices for DDR400 ECC Reg memory. It's a shame since I do like the store and their service. Thanks though. :) Also, compare their WD Raptor 36G at $175 to canadacomputers.com's $150 ... perhaps I'll shop around a bit more for future purchases. One thing I've found is that stores have wildly differing prices sometimes. Another example, Tyan K8W at canadacomputer.com is $650 while at monarch it is $525. I'm waiting to hear back from monarch to see how much shipping is. And yes, these prices are all in CDN$. -- Sami Samhuri pgpNjtDpcyY65.pgp Description: PGP signature
Re: [gentoo-user] Bad thing? bug?
* On Tue Jun-07-2005 at 07:22:53 PM -0700, Jonathan Nichols said: > QA Notice: ECLASS 'libtool' inherited illegally in dev-php/php-4.3.11 > > ... just noticed that this evening. > > I didn't see a forum post nor a bug report.. is it something to even be > concerned with? So far, it's compiling fine, but I thought someone might > be interested. ;) These are notices portage spits out to inform devs about things that need fixing in their ebuilds. There should be no problems with the actual package. -- Sami Samhuri pgpg9LpJ5aBpd.pgp Description: PGP signature
Re: [gentoo-user] busybox
* On Tue Jun-07-2005 at 08:34:32 AM -0300, Norberto Bensa said: [...] > What is not mentioned is the motivation to replace sash with busybox. So my > question is: why? On 2005-06-04 14:12:21 GMT Jason Stubbs wrote: > I believe it's been added to system in place of sash. It's similarly > very small in size but has a much larger feature set that is generally > very useful in emergencies. -- Sami Samhuri pgp2MH94b5CoL.pgp Description: PGP signature
Re: [gentoo-user] Disk usage?
* On Tue Jun-14-2005 at 08:08:29 PM -0500, cothrige said: > I recently decided to test out an installation of Gentoo using the > Universal installation disc and the packages cd as I do not have a > high speed internet connection. > > I used a somewhat older machine, 450Mhz > Pentium III with 128M of RAM, and an old 3G hard drive which I had an > installation of Slackware 9.1 on. Since I had a fairly full install > of that OS on it, including a Gnome and KDE, I felt comfortable that I > would have plenty of room to at least run a good test of the major > packages. However, that turned out not to be true. I've got a couple old Pentiums (200MHz) around that I set up as diskless nodes just for fun. They don't have much installed and they mount /usr/portage over NFS. They also do not have any kernel sources around (everything was built in a chroot on my desktop which hosts their / directories) so I realize this may not help too much, but 'du -ch' tells me that / is just under 350M right now. It seems that you should be able to get this to fit in 3G, although it may be a tight fit. If you copied all the binary packages to /usr/portage then that is probably a good place to start. Since you have those files on CD you can copy them back as you need them. If you're low on space in /var/tmp then compiling may give you trouble so watch out for that in the future. As someone else said there are installations on 256M USB keys so... best of luck! -- Sami Samhuri pgpMWPjiKha6j.pgp Description: PGP signature
Re: [gentoo-user] 2.6.19-r5 kernel disaster
On 4/12/07, Alan McKinnon <[EMAIL PROTECTED]> wrote: On Thursday 12 April 2007, maxim wexler wrote: > Hi group, > > After running make menuconfig 4x on a PIII, > re-emerging --emptytree world and either booting to a > highly unstable system or a maintenance login I feel > it's time to call on the authorities. It looks like the kernel can't find the / device. The whole IDE/ATA/SATA/PATA/SCSI layout hingy changed with 2.6.19, so first thing to check is that everything you need is actually enabled in the kernel (yeah, there's some gotchas in there). Please post your .config If init starts then the kernel found his root partition (otherwise it panics with a VFS layer message).