vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| If any of you remember I was baffled as to why the wheel on a Logitech optical would not work. What had happened is I copied xorg.conf to ~/ for a backup as I was tweaking settings. It never occurred to me that X would detect and use that xorg.conf file. I was editing /etc/X11/xorg.conf which of course was having no effect at all :-) I have an 2 identical machines (I mean identical down to every component) and the darn wheel worked fine and when I saw it worked on it I was beginning to think one machine was haunted or something :-) Well I got it sorted out and now scroll just fine. Glad I did get it working as the scrolling is handy. I'd say on the "Duhh Scale" this gets a 9.5 :-) |
| |||
| Ron Gibson wrote: > If any of you remember I was baffled as to why the wheel on a Logitech > optical would not work. > > What had happened is I copied xorg.conf to ~/ for a backup as I was > tweaking settings. > > It never occurred to me that X would detect and use that xorg.conf file. > oops. I usually copy xorg.conf to xorg.conf.ray or something... which was to make my life easier to spot backup copies... never even thought of how many hours of troubleshooting that saved me if I woulda done what you did. Ray |
| |||
| On Fri, 12 May 2006 09:10:27 -0500, ray wrote: >> What had happened is I copied xorg.conf to ~/ for a backup as I was >> tweaking settings. >> It never occurred to me that X would detect and use that xorg.conf >> file. > I usually copy xorg.conf to xorg.conf.ray or something... which was to > make my life easier to spot backup copies... never even thought of how > many hours of troubleshooting that saved me if I woulda done what you did. Yeah me too actually. I created a /backup directory for this very purpose. That was a real stroke of genuis on my part |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In alt.os.linux.slackware, Ron Gibson dared to utter, > Yeah me too actually. I created a /backup directory for this very > purpose. That was a real stroke of genuis on my part I prefer to append "-BACKUP" to copies of my config files. This keeps any program from parsing them, and makes it easy on me to spot my backup files with a quick "ls". NOTE: some programs make backup copies of config files by appending .orig and similar. I haven't found one that appends -BACKUP, so IMHO that's fine. - -- It is better to hear the rebuke of the wise, Than for a man to hear the song of fools. Ecclesiastes 7:5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFEZ/tyz8zcalmVmBkRAj0xAJwMDkpX0rXGNfeVrxAF/enVa0TFvgCbBzF7 vQugo5wg1TXV0F7KU/mw+VY= =hUOd -----END PGP SIGNATURE----- |
| |||
| +Alan Hicks+ wrote: > I prefer to append "-BACKUP" to copies of my config files. I use a similar, though slightly different approach, keeping backup copies of files in a directory call "old" under the original directory the file is found in, and a "date" extension, so that I can retrace through a series of edits if I need to: (note: tcsh syntax): : elvira[syl] ~; alias bu foreach file (!*) \cp -pi ${file} \ `dirname ${file}`/old/`basename ${file}`.`date +%Y%m%d` end -- ---------------------------------------------------------------------- Sylvain Robitaille syl@alcor.concordia.ca Systems and Network analyst Concordia University Instructional & Information Technology Montreal, Quebec, Canada ---------------------------------------------------------------------- |
| ||||
| Le Mon, 15 May 2006 04:44:53 +0000, Sylvain Robitaille a écrit*: > +Alan Hicks+ wrote: > >> I prefer to append "-BACKUP" to copies of my config files. > > I use a similar, though slightly different approach, keeping backup > copies of files in a directory call "old" under the original directory > the file is found in, and a "date" extension, so that I can retrace > through a series of edits if I need to: > > (note: tcsh syntax): > : elvira[syl] ~; alias bu > foreach file (!*) > \cp -pi ${file} \ > `dirname ${file}`/old/`basename ${file}`.`date +%Y%m%d` > end And I use a similar, though more "laces and whiskey" (or is it "belt and suspenders" or "tie and straps" ?-) I do it manually (most of the times) this way : # _goo=$(date +%F-%X) # cp -p thisconf.cf thisconf.cf.${goo} *and* # cp -l thisconf.cf.${goo} thisconf.cf.LASTGOOD This way, I have a backtrace of (d)evolutions and keep an easy mark of the "last in line". ( the %F is when I have Gnu date, that relieves me to test and redo variants of %Y%M%D %yy%m%D and so on like in Solaris :-) anyway, that's quite the same old song. |