Re: [gentoo-user] Awesome vs Xmonad
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, ...). 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. I have never tried xmonad, I can just share my experience with awesome. HTH, Greg On Wed, Dec 17, 2008 at 5:51 AM, Man Shankar man.ee@gmail.com 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. -- Regards, Man Shankar man.ee.gen(at)gmail.com
Re: [gentoo-user] Re: Fragmentation of my drives. Curious mostly
On Tue, 16 Dec 2008 19:06:06 -0600, Dale wrote: Light bulb warning. So null and console are on the drive for it to start up but once it mounts /dev then it uses that virtual thing? Cool, if I understand that correctly. Yes, those two devices are needed before udev starts,so they have to be on the root filesystem. If you have anything else in dev on the root filesystem, you are only wasting space. -- Neil Bothwick WinErr 007: System price error - Inadequate money spent on hardware signature.asc Description: PGP signature
Re: [gentoo-user] Which one...blender goes nuts...
meino.cra...@gmx.de ha scritto: Hi, This is slightly off topic, but I hope there is someone here, who know the trick... I use to compile blender myself from the freshest svn checkout I could get ... :) This morning my sync with the outer world presents an update of openal from openal-0* to openal-1*. I did this, fires up blender and ... BUMM!: /usr/local/bin/blender: error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory Ok...rebzuild blender...fails...API changes (The previous blender installation remains in place) So I removed openal (emerge -C) and installed the previous version. I fired up blender ... BUMM! : /usr/local/bin/blender: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory What the hack is this? Blender -- despite the fact that is not changed at all, wants openal-1* if openal-0* is installed and vice versa... Did you recompile blender after coming back to openal-0* ? m.
Re: [gentoo-user] {OT} Why RAID1?
On Tue, 16 Dec 2008 18:24:27 -0800, Grant wrote: I'm about to buy a couple Samsung Spinpoint F1 hard drives and I was planning on setting them up in a RAID0 array. Everyone seems to love RAID1 though, and I'm a little confused as to why. Don't daily backups secure 99% of the data that RAID1 does? No. If you backup runs in the early hours on a cron script and your drive fails at 6pm, not only have you lost a full day's work, but you'll spend the rest of the evening restoring your backups to a new drive. The next day you'll be tired and bleary-eyed, and still a day behind. With RAID1 (or 5), you just plug in another drive. RAID should not be considered an alternative to backups, but a separate layer of data security. They even protect in the event of theft or fire which RAID1 doesn't. Which is why you still need offsite backups. -- Neil Bothwick A closed mouth gathers no foot. signature.asc Description: PGP signature
Re: [gentoo-user] Awesome vs Xmonad
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] Best website backup practice
I run on an old laptop a website (Joomla + MediaWiki + Moodle + a couple of other things). The site now is offline and I'm ok with my automated backups of all the hard drive, but it's going to go online in a few weeks and I'd like to add some more security. What I'd like to have is periodic snapshots of the site, so when the hardware will fail (I'm pretty sure it will, just a matter of time) I can easily transfer the latest snapshot on another machine running a web server and a databse. My idea is to cp (or rsync) the /var/www/host/ directory and, at the same time to mysqldump the related databases. Then I'd create an archive with this data together and transfer it via nfs on another disk. Cron will do it every twelve hours. Any advice or suggestions will be appreciated. === http://topperh.blogspot.com === pgpRN3ge4a68K.pgp Description: PGP signature
Re: [gentoo-user] Best website backup practice
This is a great method that I utilize: http://www.mikerubel.org/computers/rsync_snapshots/ On Wed, Dec 17, 2008 at 9:02 AM, Momesso Andrea momesso.and...@gmail.comwrote: I run on an old laptop a website (Joomla + MediaWiki + Moodle + a couple of other things). The site now is offline and I'm ok with my automated backups of all the hard drive, but it's going to go online in a few weeks and I'd like to add some more security. What I'd like to have is periodic snapshots of the site, so when the hardware will fail (I'm pretty sure it will, just a matter of time) I can easily transfer the latest snapshot on another machine running a web server and a databse. My idea is to cp (or rsync) the /var/www/host/ directory and, at the same time to mysqldump the related databases. Then I'd create an archive with this data together and transfer it via nfs on another disk. Cron will do it every twelve hours. Any advice or suggestions will be appreciated. === http://topperh.blogspot.com === -- kyle.ba...@gmail.com
Re: [gentoo-user] {OT} Why RAID1?
On Wed, 17 Dec 2008 11:18:24 +0100, KH wrote: Which is why you still need offsite backups. Best you have them with your grandparents in another town. Maybe there is a flood ;-) Mine are a thousand miles away, so unless its another Biblical flood... -- Neil Bothwick Earlier, I didn't have time to finish anything. This time I w signature.asc Description: PGP signature
Re: [gentoo-user] Best website backup practice
On Wed, Dec 17, 2008 at 10:55:36AM -0800, Kyle Bader wrote: This is a great method that I utilize: http://www.mikerubel.org/computers/rsync_snapshots/ And what about the database? === http://topperh.blogspot.com === pgpP5H7h5icch.pgp Description: PGP signature
Re: [gentoo-user] [OT] One line script for md5sum
On Sunday 14 December 2008, Neil Bothwick wrote: On Sun, 14 Dec 2008 11:47:51 +0200, Alan McKinnon wrote: That's why I suggested them :-) I use them a lot, especially when I have to run the same set of commands on 15 different hosts, then I do something like: for I in $(seq 1 15) ; do If you're using bash or zsh,you can speed this up with for I in {1..15}; do Hmm, I tried this with a sequence of files that look like name0001stat.txt to name0198stat.txt, but when I run {0001..0198} it fails because it seems to ignore the zeros in 0001 and start counting from 1. Do I need to use some escape character for this? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Keyboard layout switching with Alt+Shift
On Wednesday 17 December 2008, Nikos Chantziaras wrote: In KDE 3.5.10, I can't switch keyboard layouts with Alt+Shift even though that option is enabled in the control center: Regional Accessibility-Keyboard Layout -Xkb Option-Layout Switching-[x] Alt+Shift change layout. The generated Command is: setxkbmap -option grp:alt_shift_toggle It works fine in KDE 4.1.3. It even generates the same Command. Furthermore, loading the KDE 4 keyboard layout applet in KDE 3 works and I can switch with Alt+Shift. The KDE 3 one doesn't. What am I missing? I can't directly answer the KDE related question, but I do it like this in my /etc/X11/xorg.conf and it works fine either in Fluxbox, or in KDE (with Fbx as the WM): Section InputDevice Option XkbLayout gb,de Option XkbOptions grp:alt_shift_toggle,grp_led:scroll,compose:menu HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: [OT] Webmin Question - was Print to cups printer from Windows?
On Wednesday 17 December 2008, Dale wrote: Mark Knecht wrote: I know I had webmin installed for a long time but rarely used it. I just couldn't remember if I used it for setting up printing from windoze or not. A friend is running webmin on a server and it makes setting up some services (like CUPS) easier to visualise/understand. However, the login into webmin is set up with the root passwd. This on an Internet facing port is making me nervous, but he is sooo attached to GUI solutions I cannot convince him that ssh is all he needs. Is there a way to only allow logins as a plain user and then elevate privileges to root (just like you would su on the CLI sort-of-thing)? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] {OT} Why RAID1?
I'm about to buy a couple Samsung Spinpoint F1 hard drives and I was planning on setting them up in a RAID0 array. Everyone seems to love RAID1 though, and I'm a little confused as to why. Don't daily backups secure 99% of the data that RAID1 does? They even protect in the event of theft or fire which RAID1 doesn't. If one hard drive dies in a RAID1 array, does the system keep running? If so, that's good, but there are so many other components that could die. In 15 years I've lost the power supply, video card, modem, motherboard, and CPU, but never a hard drive. With all these potential points of failure, how much greater system reliability do mirrored hard drives really offer? In fifteen years I've lost roughly fifteen hard drives and one power supply. Hard drives have moving parts and that equals failures. Congratulations on being lucky, though you have wonder why so many thing that don't normally have issues are having issues in your system. :-) Do you guys think RAID1 is unnecessary with an SLC SSD drive? I actually did lose one or two laptop hard drives now that I think about it. The other stuff: power supply - cheapness video cards - heat modem - lightning motherboard and CPU - overclocking (never again) - Grant
Re: [gentoo-user] Re: [OT] Webmin Question - was Print to cups printer from Windows?
On Wednesday 17 December 2008 20:59:54 Mick wrote: On Wednesday 17 December 2008, Dale wrote: Mark Knecht wrote: I know I had webmin installed for a long time but rarely used it. I just couldn't remember if I used it for setting up printing from windoze or not. A friend is running webmin on a server and it makes setting up some services (like CUPS) easier to visualise/understand. However, the login into webmin is set up with the root passwd. This on an Internet facing port is making me nervous, but he is sooo attached to GUI solutions I cannot convince him that ssh is all he needs. Have you tried using a clue by 4[1] on him? It's the tried and trusty Unix tool developed for this very use case Best demonstrated by pwning his box with a brute-force attack, followed by the spoken word See? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] {OT} Why RAID1?
Neil Bothwick schrieb: On Tue, 16 Dec 2008 18:24:27 -0800, Grant wrote: They even protect in the event of theft or fire which RAID1 doesn't. Which is why you still need offsite backups. Best you have them with your grandparents in another town. Maybe there is a flood ;-) kh
Re: [gentoo-user] {OT} Why RAID1?
Grant wrote: Do you guys think RAID1 is unnecessary with an SLC SSD drive? No need for RAID1, brand new technology always works right in the first generation. There are never problems. :-D It would be interesting to run RAID1 between an SSD and SATA drive. I wonder what sort of issues the disparity in speed would cause. kashani
Re: [gentoo-user] Re: Fragmentation of my drives. Curious mostly
On Wed, 17 Dec 2008 06:20:38 -0600, Dale wrote: I got it transfered over. I noticed something weird tho. I was booted from the CD. When I was checking the permissions to make sure things were going well, it kept showing gentoo:users instead of dale:users for example. The ones that were root were fine but the ones that should be dale:users was gentoo:users. I stopped and reformatted the drives and it always did the same thing. I finally gave in and let it copy anyway. After it was copied, I chroot'ed in and all the permissions were like they should be including dale:users. Any idea why it did that? It did the same thing with both rsync -ax and cp -av. Just thought it was weird is all. Filesystems store numeric values for UID/GID, commands like ls translate these to actual names. Gentoo normally makes the first user 1000, which is probably the UID of dale on your installation and gentoo on the live CD.Root is always UID 0, which is why that was shown correctly. -- Neil Bothwick I doubt therefore I might be. signature.asc Description: PGP signature
Re: [gentoo-user] Re: [OT] Webmin Question - was Print to cups printer from Windows?
On Wed, Dec 17, 2008 at 12:20 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Wednesday 17 December 2008 20:59:54 Mick wrote: On Wednesday 17 December 2008, Dale wrote: Mark Knecht wrote: I know I had webmin installed for a long time but rarely used it. I just couldn't remember if I used it for setting up printing from windoze or not. A friend is running webmin on a server and it makes setting up some services (like CUPS) easier to visualise/understand. However, the login into webmin is set up with the root passwd. This on an Internet facing port is making me nervous, but he is sooo attached to GUI solutions I cannot convince him that ssh is all he needs. Have you tried using a clue by 4[1] on him? It's the tried and trusty Unix tool developed for this very use case Best demonstrated by pwning his box with a brute-force attack, followed by the spoken word See? -- alan dot mckinnon at gmail dot com Gawd I love good Linux lists with cool contributors. There is so much for me to learn! What the heck is a clue by 4[1]? I suspect this is a dumb question but I freely admit that I'm Oh, no I don't! ;-) - Mark
Re: [gentoo-user] [OT] One line script for md5sum
On Wed, Dec 17, 2008 at 08:48:52AM +, Mick wrote: On Sunday 14 December 2008, Neil Bothwick wrote: On Sun, 14 Dec 2008 11:47:51 +0200, Alan McKinnon wrote: That's why I suggested them :-) I use them a lot, especially when I have to run the same set of commands on 15 different hosts, then I do something like: for I in $(seq 1 15) ; do If you're using bash or zsh,you can speed this up with for I in {1..15}; do Hmm, I tried this with a sequence of files that look like name0001stat.txt to name0198stat.txt, but when I run {0001..0198} it fails because it seems to ignore the zeros in 0001 and start counting from 1. Do I need to use some escape character for this? This is one place bash's brace expansion is sorely lacking compared to zsh. In this case you need to use the seq command from coreutils. See man seq for more info. In your particular case, you can do for I in $(seq -w 198); do ... 0$I ; done seq is more flexible in that it allows arbitrary formatting of the sequence using printf floating-point format. W -- Willie W. Wong ww...@math.princeton.edu 408 Fine Hall, Department of Mathematics, Princeton University, Princeton A mathematician's reputation rests on the number of bad proofs he has given.
Re: [gentoo-user] Awesome vs Xmonad
On Wed, 17 Dec 2008 21:52:37 +0530 Man Shankar man.ee@gmail.com wrote: On 09:39 Wed 17 Dec , Gregory SACRE wrote: 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. Look at point 3.3 in http://awesome.naquadah.org/wiki/index.php?title=FAQ Like Gregory, I really like awesome but I have never tried xmonad. However I have recently switched from Ion3. Cheers, Dede
Re: [gentoo-user] [OT] One line script for md5sum
On Wed, 17 Dec 2008 15:33:35 -0500 Willie Wong ww...@princeton.edu wrote: On Wed, Dec 17, 2008 at 08:48:52AM +, Mick wrote: On Sunday 14 December 2008, Neil Bothwick wrote: On Sun, 14 Dec 2008 11:47:51 +0200, Alan McKinnon wrote: That's why I suggested them :-) I use them a lot, especially when I have to run the same set of commands on 15 different hosts, then I do something like: for I in $(seq 1 15) ; do If you're using bash or zsh,you can speed this up with for I in {1..15}; do Hmm, I tried this with a sequence of files that look like name0001stat.txt to name0198stat.txt, but when I run {0001..0198} it fails because it seems to ignore the zeros in 0001 and start counting from 1. Do I need to use some escape character for this? This is one place bash's brace expansion is sorely lacking compared to zsh. In this case you need to use the seq command from coreutils. See man seq for more info. In your particular case, you can do for I in $(seq -w 198); do ... 0$I ; done seq is more flexible in that it allows arbitrary formatting of the sequence using printf floating-point format. Or use a wildcard based match. namestat.text works, as would name*stat.text Both are slightly less specific, but if you have other matches which the seq excludes, you really should look at your nameing patterns. RobbieAB signature.asc Description: PGP signature
Re: [gentoo-user] {OT} Why RAID1?
Do you guys think RAID1 is unnecessary with an SLC SSD drive? No need for RAID1, brand new technology always works right in the first generation. There are never problems. :-D It would be interesting to run RAID1 between an SSD and SATA drive. I wonder what sort of issues the disparity in speed would cause. I thought the drives had to be identical. - Grant
Re: [gentoo-user] {OT} Why RAID1?
On Mittwoch 17 Dezember 2008, Grant wrote: I'm about to buy a couple Samsung Spinpoint F1 hard drives and I was planning on setting them up in a RAID0 array. Everyone seems to love RAID1 though, and I'm a little confused as to why. Don't daily backups secure 99% of the data that RAID1 does? They even protect in the event of theft or fire which RAID1 doesn't. raid does not replace backups. If one hard drive dies in a RAID1 array, does the system keep running? yes, and that is whay raid1 (with two disks) is a good idea. If so, that's good, but there are so many other components that could die. In 15 years I've lost the power supply, video card, modem, motherboard, and CPU, but never a hard drive. With all these potential points of failure, how much greater system reliability do mirrored hard drives really offer? I had a PSU killing two mobos - and I had half a douzend harddisk failures in 12 PC years. Everything else never died. Even the PSUs going bad did it so slowly that there was enough of time to get a replacement. Harddisks sucks - Raid1,5,6 make the sucking less painfull.
Re: [gentoo-user] Best website backup practice
Momesso Andrea wrote: On Wed, Dec 17, 2008 at 10:55:36AM -0800, Kyle Bader wrote: This is a great method that I utilize: http://www.mikerubel.org/computers/rsync_snapshots/ And what about the database? I like LVM snapshotting for databases, but that takes some planning and you have to stop the database. However your mysqlbackup are actually very unsafe because I know for certain that Mediawiki uses Innodb tables. mysqlbackup does not guarantee a lock (I forget the actual details of the issue) for Innodb so your backup could be crap. Chances are you'd be fine on a database that isn't very busy, but don't get in the habit of doing it that way. kashani
Re: [gentoo-user] {OT} Why RAID1?
Neil Bothwick schrieb: On Wed, 17 Dec 2008 11:18:24 +0100, KH wrote: Which is why you still need offsite backups. Best you have them with your grandparents in another town. Maybe there is a flood ;-) Mine are a thousand miles away, so unless its another Biblical flood... That scares me. Mine are only 60 miles away. Maybe I should search a friend in Australia ...
Re: [gentoo-user] {OT} Why RAID1?
On Wed, 2008-12-17 at 12:51 -0800, Grant wrote: Do you guys think RAID1 is unnecessary with an SLC SSD drive? No need for RAID1, brand new technology always works right in the first generation. There are never problems. :-D It would be interesting to run RAID1 between an SSD and SATA drive. I wonder what sort of issues the disparity in speed would cause. I thought the drives had to be identical. No, the only real requirement is that they both be (virtual) block devices. It's just that the maximum array size for RAID1 will be the size of the smaller drive.
Re: [gentoo-user] {OT} Why RAID1?
Grant schrieb: I'm about to buy a couple Samsung Spinpoint F1 hard drives and I was planning on setting them up in a RAID0 array. Everyone seems to love RAID1 though, and I'm a little confused as to why. Don't daily backups secure 99% of the data that RAID1 does? They even protect in the event of theft or fire which RAID1 doesn't. If one hard drive dies in a RAID1 array, does the system keep running? If so, that's good, but there are so many other components that could die. In 15 years I've lost the power supply, video card, modem, motherboard, and CPU, but never a hard drive. With all these potential points of failure, how much greater system reliability do mirrored hard drives really offer? - Grant I also had a lot of hard drives die (like 7 by now). Also I have a lot of not to use anymore backup CDs and DVDs. They become old and that isn't to good for them. One should backup a CD/DVD every year or so (don't trust the this dvd is golden and will be there in 100 years. I am extremely sure they did't test it, yet ;-) ) Also there have been articles that if one drive of a raid dies there is a chance that you cannot recover your data. This is based on the theory, that one of the other drives have hidden errors. The chances for this grow with the size of the hd. kh
Re: [gentoo-user] {OT} Why RAID1?
On Wed, 2008-12-17 at 12:30 -0800, kashani wrote: Grant wrote: Do you guys think RAID1 is unnecessary with an SLC SSD drive? No need for RAID1, brand new technology always works right in the first generation. There are never problems. :-D It would be interesting to run RAID1 between an SSD and SATA drive. I wonder what sort of issues the disparity in speed would cause. WRT writes it will pretty much nullify the advantage of having the SSD since all writes will be the speed of the slowest drive (the SATA). A write request is not completed until all mirrors are written to. You likely will have a slower reads as well since nearly half the time the reads are coming from the much slower SATA drive (i.e. the time you'll be waiting on the seeks/reads on the SATA will be much longer than all the reads on the SDD).
Re: [gentoo-user] Re: Fragmentation of my drives. Curious mostly
Neil Bothwick wrote: On Wed, 17 Dec 2008 06:20:38 -0600, Dale wrote: I got it transfered over. I noticed something weird tho. I was booted from the CD. When I was checking the permissions to make sure things were going well, it kept showing gentoo:users instead of dale:users for example. The ones that were root were fine but the ones that should be dale:users was gentoo:users. I stopped and reformatted the drives and it always did the same thing. I finally gave in and let it copy anyway. After it was copied, I chroot'ed in and all the permissions were like they should be including dale:users. Any idea why it did that? It did the same thing with both rsync -ax and cp -av. Just thought it was weird is all. Filesystems store numeric values for UID/GID, commands like ls translate these to actual names. Gentoo normally makes the first user 1000, which is probably the UID of dale on your installation and gentoo on the live CD.Root is always UID 0, which is why that was shown correctly. Oh, makes sense. Should have known that computers reduce everything to numbers. ROFLMAO At least now I know why it did that. It had me freaked out for a bit there. New transfer is working very well. Pretty swift but not much difference from the old one. At least I got some of the cruft cleaned out. Dale :-) :-)
Re: [gentoo-user] Best website backup practice
On Wed, Dec 17, 2008 at 01:03:46PM -0800, kashani wrote: I like LVM snapshotting for databases, but that takes some planning and you have to stop the database. However your mysqlbackup are actually very unsafe because I know for certain that Mediawiki uses Innodb tables. mysqlbackup does not guarantee a lock (I forget the actual details of the issue) for Innodb so your backup could be crap. Chances are you'd be fine on a database that isn't very busy, but don't get in the habit of doing it that way. kashani So there is no way if I want to keep the databases runnung? === http://topperh.blogspot.com === pgpBprx4wMKni.pgp Description: PGP signature
Re: [gentoo-user] Best website backup practice
Momesso Andrea wrote: On Wed, Dec 17, 2008 at 01:03:46PM -0800, kashani wrote: I like LVM snapshotting for databases, but that takes some planning and you have to stop the database. However your mysqlbackup are actually very unsafe because I know for certain that Mediawiki uses Innodb tables. mysqlbackup does not guarantee a lock (I forget the actual details of the issue) for Innodb so your backup could be crap. Chances are you'd be fine on a database that isn't very busy, but don't get in the habit of doing it that way. kashani So there is no way if I want to keep the databases runnung? If your database isn't terribly busy I'd setup a second Mysql instance on the same machines and make it a slave of your primary. Then when it's time to backup you can stop the slave and make a backup without disturbing the master instance. kashani
Re: [gentoo-user] Print to cups printer from Windows - any good instructions?
On Tuesday 16 December 2008, Mark Knecht wrote: Hi Willie, On Tue, Dec 16, 2008 at 1:48 PM, Willie Wong ww...@princeton.edu wrote: (Sorry if this one is a dupe... my SSH connection went kaplui and I wasn't quite sure whether the mail got sent) On Tue, Dec 16, 2008 at 01:04:25PM -0800, Mark Knecht wrote: I'm looking around for up to date instructions/wikis/howtos on how to set up Samba on my CUPS server to allow me to print from Windows. Why SAMBA? I've recently set up printing for a small home network following this guide: http://www.owlfish.com/thoughts/winipp-cups-2003-07-20.html Basically you just need 1) Correct permissions in /etc/cups/cupsd.conf a) You need the line Port 631 to allow remote access b) Maybe (I am not sure about this one) you need Browsing On to allow sharing? c) You need the section for Location / to have Allow From 192.168.0.* or whatever netmask you use. 2) Either a) A working printer that you can print locally from the cups server via lpr -PNAME. In this case you can just tell the Windows computers to print to http://cups server ip:631/printers/NAME using a generic postscript driver. Is this true for non-postscript printers? If so it's a great solution. I can get to the printers page on the server's Cups' GUI: http://192.168.1.59:631/printers It gives me a long, ugly descriptive name for the printer so I tried: lpr -P HP_PSC_1600_series_USB_1 optimize_mythdb.sh which did print correctly so I'm good to go so far. or b) A working printer for which you have the Windows drivers. You The Windows driver for this printer does not support network printing so I don't think this is an option. You shouldn't need a MS Windows network printing enabled driver to do this (with an lpd printer), nor a Samba client on your Linux boxen for that matter. Have a look here: http://forums.opensuse.org/archives/sls-archives/archives-linux-tweaks/archives-howtos-discussions/378052-printing-linux-lpd-printer-no-samba-required.html -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Print to cups printer from Windows - any good instructions?
On Tue, Dec 16, 2008 at 8:10 PM, Mark Knecht markkne...@gmail.com wrote: I've now tested my Vista machine. It works fine and Vista actually had an HP driver for this printer so I used that driver since the Adobe postscript driver doesn't install on Vista. From Vista I can print in color on the cups printer. On the XP machine using the generic postscript driver I get black white. It all seems so easy now :) Has anyone got any tips on setting it up the other way? Printing from linux to a shared (non-network) printer connected to a Windows machine? Surely that would require Samba... Thanks, Paul
Re: [gentoo-user] Re: Kernel 2.6.27-r5 soft lockup
Holger Hoffstaette wrote: On Tue, 16 Dec 2008 18:01:20 +1100, Dave Oxley wrote: I upgraded from gentoo-sources-2.6.27-r4 to -r5 a couple of days ago and got the below error messages in /var/log/messages. Also dovecot was using 100% CPU and could not be killed. This resulted in me having to hard reset the server. This happened 3 times until I eventually reverted back to -r4 and all was stable again. The config used for both kernels was the same and it happened after irregular intervals of between 5 hours and 9 hours. Anyone have any ideas? Things are back to normal now but I will obviously be wary about my next kernel upgrade. More info and pointers to fix here: http://lkml.indiana.edu/hypermail/linux/kernel/0812.1/02305.html or http://lkml.indiana.edu/hypermail/linux/kernel/0812.1/02590.html Just apply the patch to lib/idr.c and things should be fine again (or wait for stable.10). GregKH is doing an amazing job and it's not his fault, but nevertheless the rate of changes to -stable has just totally spiralled out of control. -h Thanks very much for the info. I won't worry about doing an upgrade until .10. I agree, I think the whole kernel development team is doing a wonderful job and this is the first proper hiccup I've had in years. :) Cheers, Dave.
Re: [gentoo-user] [OT] One line script for md5sum
On Wed, 17 Dec 2008 08:48:52 +, Mick wrote: Hmm, I tried this with a sequence of files that look like name0001stat.txt to name0198stat.txt, but when I run {0001..0198} it fails because it seems to ignore the zeros in 0001 and start counting from 1. Do I need to use some escape character for this? No,you just need to use a better shell than bash :P -- Neil Bothwick Bother, said Pooh, as he started up DiskSalv signature.asc Description: PGP signature
Re: [gentoo-user] Awesome vs Xmonad
I am an xmonad user now. I installed awesome once, but didn't try to understand much details of it, so no comment on awesome. On Wed, 17 Dec 2008, Man Shankar wrote: 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. In xmonad default, the size hint of some programs are ignored. Like terminal staffs, urxvt, xterm, gvim. So sometimes they will leave a half line on the bottom after certain resize action, as of new windows opened. Solved with an HintedTile tiling mod in xmonad-contrib. -- Regards, Man Shankar man.ee.gen(at)gmail.com
Re: [gentoo-user] Re: [OT] Webmin Question - was Print to cups printer from Windows?
On Wednesday 17 December 2008 22:30:55 Mark Knecht wrote: On Wed, Dec 17, 2008 at 12:20 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Wednesday 17 December 2008 20:59:54 Mick wrote: On Wednesday 17 December 2008, Dale wrote: Mark Knecht wrote: I know I had webmin installed for a long time but rarely used it. I just couldn't remember if I used it for setting up printing from windoze or not. A friend is running webmin on a server and it makes setting up some services (like CUPS) easier to visualise/understand. However, the login into webmin is set up with the root passwd. This on an Internet facing port is making me nervous, but he is sooo attached to GUI solutions I cannot convince him that ssh is all he needs. Have you tried using a clue by 4[1] on him? It's the tried and trusty Unix tool developed for this very use case Best demonstrated by pwning his box with a brute-force attack, followed by the spoken word See? -- alan dot mckinnon at gmail dot com Gawd I love good Linux lists with cool contributors. There is so much for me to learn! What the heck is a clue by 4[1]? It's a word play :-) Know what a 2 by 4 is? A 2 inch by 4 inch plank that you clobber someone ever the head with when they are being thick. A thick user needs to get a clue. Clue rhymes with two :-) Clue by 4 is also known by the other name of LART - Luser Attitude Readjustment Tool. Very handy thing for sysadmins to have, very handy indeed. But back onto your original question. Webmin is a problem that cannot be fixed. It needs to have root priviledges, the root password needs to go over the wire to the webmin http server, and to the best of my knowledge is not subject to routine security scrutiny. I would not trust it further than I can throw it, and that's not very far. So, someone who insists on using it deserves to have their machines pwned, lose their data, be blacklisted for being a zombie bot and have their kittens eaten. Rather than appease your friend's reluctance to use anything other than a GUI, you should batter some sense into his skull. Tell him I say it is highly unlikely that he knows more about how to do this job than the 1000s of Unix admins who have been doing it for almost 40 years. He really, really, wants ssh. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] [OT] One line script for md5sum
On Wednesday 17 December 2008, 23:01, Neil Bothwick wrote: On Wed, 17 Dec 2008 08:48:52 +, Mick wrote: Hmm, I tried this with a sequence of files that look like name0001stat.txt to name0198stat.txt, but when I run {0001..0198} it fails because it seems to ignore the zeros in 0001 and start counting from 1. Do I need to use some escape character for this? No,you just need to use a better shell than bash :P Or just use one of: seq -f '%04g' 1 198 printf '%04d\n' {1..198} namestat.txt (although this might match more files than wanted)
Re: [gentoo-user] [OT] One line script for md5sum
On Wednesday 17 December 2008 22:42:34 Robert Bridge wrote: On Wed, 17 Dec 2008 15:33:35 -0500 Willie Wong ww...@princeton.edu wrote: On Wed, Dec 17, 2008 at 08:48:52AM +, Mick wrote: On Sunday 14 December 2008, Neil Bothwick wrote: On Sun, 14 Dec 2008 11:47:51 +0200, Alan McKinnon wrote: That's why I suggested them :-) I use them a lot, especially when I have to run the same set of commands on 15 different hosts, then I do something like: for I in $(seq 1 15) ; do If you're using bash or zsh,you can speed this up with for I in {1..15}; do Hmm, I tried this with a sequence of files that look like name0001stat.txt to name0198stat.txt, but when I run {0001..0198} it fails because it seems to ignore the zeros in 0001 and start counting from 1. Do I need to use some escape character for this? This is one place bash's brace expansion is sorely lacking compared to zsh. In this case you need to use the seq command from coreutils. See man seq for more info. In your particular case, you can do for I in $(seq -w 198); do ... 0$I ; done seq is more flexible in that it allows arbitrary formatting of the sequence using printf floating-point format. Or use a wildcard based match. namestat.text works, as would name*stat.text pedantic name0[01][0-9]{2}stat.text /pedantic would be better still -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: [OT] Webmin Question - was Print to cups printer from Windows?
On Wednesday 17 December 2008, 23:13, Alan McKinnon wrote: But back onto your original question. Webmin is a problem that cannot be fixed. It needs to have root priviledges, the root password needs to go over the wire to the webmin http server, True, although all the webmin installations I've seen run on https. and to the best of my knowledge is not subject to routine security scrutiny. I would not trust it further than I can throw it, and that's not very far. So, someone who insists on using it deserves to have their machines pwned, lose their data, be blacklisted for being a zombie bot and have their kittens eaten. Rather than appease your friend's reluctance to use anything other than a GUI, you should batter some sense into his skull. Tell him I say it is highly unlikely that he knows more about how to do this job than the 1000s of Unix admins who have been doing it for almost 40 years. He really, really, wants ssh. Agreed. (and, btw, you can just use ssh port forwarding and run webmin over that without exposing webmin directly on the Internet, if you really want it)
Re: [gentoo-user] Print to cups printer from Windows - any good instructions?
On Wed, Dec 17, 2008 at 1:53 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Tue, Dec 16, 2008 at 8:10 PM, Mark Knecht markkne...@gmail.com wrote: I've now tested my Vista machine. It works fine and Vista actually had an HP driver for this printer so I used that driver since the Adobe postscript driver doesn't install on Vista. From Vista I can print in color on the cups printer. On the XP machine using the generic postscript driver I get black white. It all seems so easy now :) Has anyone got any tips on setting it up the other way? Printing from linux to a shared (non-network) printer connected to a Windows machine? Surely that would require Samba... Thanks, Paul Yeah, it does. Almost too easy. If I'm left with any technical questions about doing this (and I am) then the first one is to better understand this concept of RAW print queues as brought up by Willie. I suppose the idea is that cups doesn't do anything to data arriving on that interface and just sends it to the printer? That way a windows machine might format a page using its own driver and cups just passes the data on? Makes sense to me, but it's all made up and I can't find any real info specifically about that yet. I don't understand yet whether my XP machine is using the 'raw' interface. It has a postscript driver so I suspect it's sending postscript. Is it then passed through 'raw', not converted by cups, and handled by my $79 freebie printer Apple gave me when I made the worst computer purchase of the nearly 30 years I've been using computers. (Mac Mini) I douobt that printer even knows postscript so I think cups must be helping out with that. Anyway, it really does work. It's not too hard to set up. I suppose someone like me should write up a little Wiki page or something but I've never done anything like that so it scares me. don't mind writing it but don't want to support it for fear of the depth of questions I'll never be able to successfully answer! :~) - Mark
Re: [gentoo-user] [OT] One line script for md5sum
On Thu, 18 Dec 2008 00:17:18 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On Wednesday 17 December 2008 22:42:34 Robert Bridge wrote: Or use a wildcard based match. namestat.text works, as would name*stat.text pedantic name0[01][0-9]{2}stat.text /pedantic would be better still nitpick more typing... /nitpick Depends on the measure, most times I have seen this kind of thing, the shorter pattern I had would have been good enough. YMMV though, and I won't try to argue that yours is more precise. RobbieAB signature.asc Description: PGP signature
Re: [gentoo-user] {OT} Why RAID1?
On 17 Dec 2008, at 02:24, Grant wrote: ... Everyone seems to love RAID1 though, and I'm a little confused as to why. Everyone loves RAID1 because it backs up your data. Note the use of quotation marks. You stated that data throughput was a bottleneck for your system, so RAID1 may not give you the benefits you require. Under RAID0 any given byte is read or written 1/2 from drive A 1/2 from drive B. Under RAID1 any given byte may be read or 1/2 from drive A 1/2 from drive B, but must be written completely to both drives. Compared to a single drive: RAID1 doubles sustained read speed (write speed unaffected). RAID0 doubles sustained read AND write speeds. Stroller.
Re: [gentoo-user] Re: [OT] Webmin Question - was Print to cups printer from Windows?
On Wed, Dec 17, 2008 at 2:13 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Wednesday 17 December 2008 22:30:55 Mark Knecht wrote: On Wed, Dec 17, 2008 at 12:20 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Wednesday 17 December 2008 20:59:54 Mick wrote: On Wednesday 17 December 2008, Dale wrote: Mark Knecht wrote: I know I had webmin installed for a long time but rarely used it. I just couldn't remember if I used it for setting up printing from windoze or not. A friend is running webmin on a server and it makes setting up some services (like CUPS) easier to visualise/understand. However, the login into webmin is set up with the root passwd. This on an Internet facing port is making me nervous, but he is sooo attached to GUI solutions I cannot convince him that ssh is all he needs. Have you tried using a clue by 4[1] on him? It's the tried and trusty Unix tool developed for this very use case Best demonstrated by pwning his box with a brute-force attack, followed by the spoken word See? -- alan dot mckinnon at gmail dot com Gawd I love good Linux lists with cool contributors. There is so much for me to learn! What the heck is a clue by 4[1]? It's a word play :-) Know what a 2 by 4 is? A 2 inch by 4 inch plank that you clobber someone ever the head with when they are being thick. A thick user needs to get a clue. Clue rhymes with two :-) Clue by 4 is also known by the other name of LART - Luser Attitude Readjustment Tool. Very handy thing for sysadmins to have, very handy indeed. But back onto your original question. Webmin is a problem that cannot be fixed. It needs to have root priviledges, the root password needs to go over the wire to the webmin http server, and to the best of my knowledge is not subject to routine security scrutiny. I would not trust it further than I can throw it, and that's not very far. So, someone who insists on using it deserves to have their machines pwned, lose their data, be blacklisted for being a zombie bot and have their kittens eaten. Rather than appease your friend's reluctance to use anything other than a GUI, you should batter some sense into his skull. Tell him I say it is highly unlikely that he knows more about how to do this job than the 1000s of Unix admins who have been doing it for almost 40 years. He really, really, wants ssh. -- alan dot mckinnon at gmail dot com Alan, OK, now I get it, even if I don't. I'm in California but have some British friends who do those word game sayings. They consider me quite thick as I never get them. that's OK. It''s cool that they're having fun. I agree about root passwords over the net. I'm fairly careful about not using them even with ssh. I always try to go with my own account at the far end and then su to root after I'm there. for the reocrd it wasn't me asking about webmin. That was someone else. cheers, Mark
Re: [gentoo-user] {OT} Why RAID1?
On 17 Dec 2008, at 10:25, KH wrote: ... Also there have been articles that if one drive of a raid dies there is a chance that you cannot recover your data. This is based on the theory, that one of the other drives have hidden errors. The chances for this grow with the size of the hd. [Citation Needed]
Re: [gentoo-user] [OT] One line script for md5sum
On Thursday 18 December 2008 00:31:56 Robert Bridge wrote: On Thu, 18 Dec 2008 00:17:18 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On Wednesday 17 December 2008 22:42:34 Robert Bridge wrote: Or use a wildcard based match. namestat.text works, as would name*stat.text pedantic name0[01][0-9]{2}stat.text /pedantic would be better still nitpick more typing... /nitpick Depends on the measure, most times I have seen this kind of thing, the shorter pattern I had would have been good enough. YMMV though, and I won't try to argue that yours is more precise. Agreed :-) A pattern like that in real life is likely to be something structured and *highly* unlikely to have odd file names thrown in. But like all good sysadmin, I can't resist an opportunity to show off a little bit :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: [OT] Webmin Question - was Print to cups printer from Windows?
Mick wrote: On Wednesday 17 December 2008, Dale wrote: Mark Knecht wrote: I know I had webmin installed for a long time but rarely used it. I just couldn't remember if I used it for setting up printing from windoze or not. A friend is running webmin on a server and it makes setting up some services (like CUPS) easier to visualise/understand. However, the login into webmin is set up with the root passwd. This on an Internet facing port is making me nervous, but he is sooo attached to GUI solutions I cannot convince him that ssh is all he needs. Is there a way to only allow logins as a plain user and then elevate privileges to root (just like you would su on the CLI sort-of-thing)? I haven't read the other replies but here is my thinking. Start the webmin service, change/setup what ever needs doing then shut down webmin. That was how I did it. That way it is only up for a few minutes and I never had to have webmin running to keep the other services working. Your mileage may vary tho. Dale :-) :-)
Re: [gentoo-user] Re: [OT] Webmin Question - was Print to cups printer from Windows?
On Thu, 18 Dec 2008 00:13:28 +0200, Alan McKinnon wrote: But back onto your original question. Webmin is a problem that cannot be fixed. It needs to have root priviledges, the root password needs to go over the wire to the webmin http server, and to the best of my knowledge is not subject to routine security scrutiny. I would not trust it further than I can throw it, and that's not very far. To be fair, they do recommend that you run webmin over HTTPS if using it over the Internet, but SSH does give the added benefit of key-based authentication. -- Neil Bothwick I've got the taglines if you've got the time! signature.asc Description: PGP signature
Re: [gentoo-user] Re: [OT] Webmin Question - was Print to cups printer from Windows?
Neil Bothwick wrote: On Thu, 18 Dec 2008 00:13:28 +0200, Alan McKinnon wrote: But back onto your original question. Webmin is a problem that cannot be fixed. It needs to have root priviledges, the root password needs to go over the wire to the webmin http server, and to the best of my knowledge is not subject to routine security scrutiny. I would not trust it further than I can throw it, and that's not very far. To be fair, they do recommend that you run webmin over HTTPS if using it over the Internet, but SSH does give the added benefit of key-based authentication I used to use webmin and I found that it made me forgot how to do real things. However, it is nice on occasion. If you want to go secure yet run over the internet, only push ssh to your firewall, and connect to your server via pubkeys. Tunnel server:80 (or server:443) via ssh to your localhost and now you have webmin running through an ssh tunnel. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] {OT} Why RAID1?
On Mittwoch 17 Dezember 2008, Stroller wrote: On 17 Dec 2008, at 10:25, KH wrote: ... Also there have been articles that if one drive of a raid dies there is a chance that you cannot recover your data. This is based on the theory, that one of the other drives have hidden errors. The chances for this grow with the size of the hd. [Citation Needed] gentoo wiki and gentoo documentation. That is why you should check your raid regularly for errors.
Re: [gentoo-user] {OT} Why RAID1?
On Mittwoch 17 Dezember 2008, Albert Hopkins wrote: On Wed, 2008-12-17 at 12:30 -0800, kashani wrote: Grant wrote: Do you guys think RAID1 is unnecessary with an SLC SSD drive? No need for RAID1, brand new technology always works right in the first generation. There are never problems. :-D It would be interesting to run RAID1 between an SSD and SATA drive. I wonder what sort of issues the disparity in speed would cause. WRT writes it will pretty much nullify the advantage of having the SSD since all writes will be the speed of the slowest drive (the SATA). A write request is not completed until all mirrors are written to. and I am not sure that the SSD is the fast writer ...
Re: [gentoo-user] {OT} Why RAID1?
On 17/12/08 19:57, KH wrote: Neil Bothwick schrieb: On Wed, 17 Dec 2008 11:18:24 +0100, KH wrote: Which is why you still need offsite backups. Best you have them with your grandparents in another town. Maybe there is a flood ;-) Mine are a thousand miles away, so unless its another Biblical flood... That scares me. Mine are only 60 miles away. Maybe I should search a friend in Australia ... no good. We're expecting a cyclone up north, and down south they're so dry it'll probably catch fire... -- Iain Buchanan iaindb at netspace dot net dot au Dr. Jekyll had something to Hyde.
Re: [gentoo-user] Print to cups printer from Windows - any good instructions?
Yes, that would require Samba as at least earlier Windows can only share it via CIFS/SMB - at least, end-user versions. You might be able to get Win2k Server, Win2k3, or Win2k8 to do IPP only though, but I doubt it would be easy to get WinXP, Win2k Pro, or Vista to do so. If you can get Windows to share solely using IPP, then you would not need Samba, and it would be the same as configuring any CUPS client - at least that's my untested thought. CUPS can interact with Windows and other systems either in IPP mode or CIFS/IPP mode. For CIFS/IPP mode you need Samba to provide the CIFS layer. I would, however, strongly recommend that unless you really want to protect your printer via a Samba/Windows Domain (not likely on this list, but you never know), then just use the friendlier strip IPP mode for accessing the printer as the CIFS/IPP will just add overhead and headaches. (I got IPP working and just stopped there. It didn't seem beneficial to go any further for my small network, and I don't have any DOS, Win9x, or NT4 systems that don't have IPP support.) Ben - Original Message From: Paul Hartman paul.hartman+gen...@gmail.com To: gentoo-user@lists.gentoo.org Sent: Wednesday, December 17, 2008 4:53:43 PM Subject: Re: [gentoo-user] Print to cups printer from Windows - any good instructions? On Tue, Dec 16, 2008 at 8:10 PM, Mark Knecht markkne...@gmail.com wrote: I've now tested my Vista machine. It works fine and Vista actually had an HP driver for this printer so I used that driver since the Adobe postscript driver doesn't install on Vista. From Vista I can print in color on the cups printer. On the XP machine using the generic postscript driver I get black white. It all seems so easy now :) Has anyone got any tips on setting it up the other way? Printing from linux to a shared (non-network) printer connected to a Windows machine? Surely that would require Samba... Thanks, Paul
Re: [gentoo-user] GNOME: Cant logout and Lock Screen is showing different background from GNOME screensaver
On Mon, Dec 15, 2008 at 10:06:26PM +0800, Mark David Dumlao wrote: er, anyone? You may try by sending a mail using the text format instead of the HTML one. I don't read more than one line when it's written in HTML. I suspect that a lot of contributors do the same here. Please, conform to the netiquette. -- Nicolas Sebrecht
Re: [gentoo-user] [WAY OT] Webmin Question - was Print to cups printer from Windows?
On Thu, Dec 18, 2008 at 12:13:28AM +0200, Penguin Lover Alan McKinnon squawked: What the heck is a clue by 4[1]? It's a word play :-) Know what a 2 by 4 is? A 2 inch by 4 inch plank that you clobber someone ever the head with when they are being thick. This is Way OT, but a two by four (in the US at least) is 1.5 inch by 3.5 inch, unless you request full cut, which makes it actually 2 inches by 4 inches. We are linux using nerds, so forgive me for being pedantic. W -- Does this make sense?...The answer is yes. ~DeathMech, S. Sondhi. P-town PHY 205 Sortir en Pantoufles: up 740 days, 23:54
[gentoo-user] perl-5.10.0 [?!?!]
On Fri, 12 Dec 2008 10:44:51 -0800 Michael Higgins li...@evolone.org wrote: On Thu, 11 Dec 2008 12:15:36 -0800 Andrey Falko ma3ox...@gmail.com wrote: It is about catalystframework, which is in the perl-experimental overlay (a misnomer if ever there was one, experimental). It is about perl 5.10.0, which is long overdue for making it into the tree (never mind just into an overlay). You want to upgrade to perl 5.10.0 on an experimental/testing box? Or do you need perl 5.10.0 for a production environment? Its an upgrade. New features. I want it. Others are already using it. Wah! '-) Seriously, 5.8 is being deprecated. Perl6 is what is experimental. Just check what distros have perl 5.10 and which don't. It doesn't look good for Gentoo! [8] Bad form to reply to myself and change the subject, but for anyone who *does* happen to care, a postscript. '-) There doesn't *appear* to be a plan to move perl-5.10.0 into the tree any time soon, but there are plenty of requests on b.g.o. My experience was after fixing the ebuild from the perl-experimental overlay to remove a call to non-existing command-line patch file and just emerging it, perl-cleaner didn't work well for me. Neither does g-cpan, it *seems*... anyway, these are just utilities for managing the perl installation, not *really* needed... So after re-emerging all the modules with some shell scripting, everything strictly perl-ish, catalsytframework included, worked fine. Yeah! OTOH, in the gentoo tree area, it broke emerging perl-tk and inkscape... :( After a lot of googling, I sent related links for reference, two ebuilds and some patches to b.g.o. as now everything on this system installs and plays nicely with perl 5.10.0. I hope it saves someone some time and gets us closer to current perl. If anyone else wants to try it, but runs into these show-stoppers, the (possibly) needed bits are all up there. Worked for me. '-) As far as slotting the perl 5.8 and 5.10 ebuilds, I have no idea if they will. Anyway I think it's traditional to have different versions of perl on a machine, since you just call from /usr/bin/perl and it actually just points to the symlink for the perl you want, so it should be dead easy. But then emerge empties the old perl binary and modules from the 5.8 tree, so who knows... is still the question, I think. -- |\ /|| | ~ ~ | \/ ||---| `|` ? ||ichael | |iggins\^ / michael.higgins[at]evolone[dot]org
[gentoo-user] Re: Keyboard layout switching with Alt+Shift
Mick wrote: On Wednesday 17 December 2008, Nikos Chantziaras wrote: In KDE 3.5.10, I can't switch keyboard layouts with Alt+Shift even though that option is enabled in the control center: Regional Accessibility-Keyboard Layout -Xkb Option-Layout Switching-[x] Alt+Shift change layout. The generated Command is: setxkbmap -option grp:alt_shift_toggle It works fine in KDE 4.1.3. It even generates the same Command. Furthermore, loading the KDE 4 keyboard layout applet in KDE 3 works and I can switch with Alt+Shift. The KDE 3 one doesn't. What am I missing? I can't directly answer the KDE related question, but I do it like this in my /etc/X11/xorg.conf and it works fine either in Fluxbox, or in KDE (with Fbx as the WM): Section InputDevice Option XkbLayout gb,de Option XkbOptions grp:alt_shift_toggle,grp_led:scroll,compose:menu Thanks for the tip, but unfortunately it doesn't really do a nice job. It enabled alt+shift switching but changes the layout globally instead of just in the application that has focus, I don't get a tray icon that tells me the current layout and shortcuts (like CTRL+C/V for copy/paste) stop working when not in a latin alphabet layout (I use us (English), de (German) and gr (Greek) as layouts). I also posted in the KDE list but no one knows how to fix this :P