Re: Running Firefox instead of Iceweasel package?

2011-02-14 Thread Manon Metten
Hi Erin, On Mon, Feb 14, 2011 at 6:33 PM, Erin Brinkley erinbrink...@ymail.com wrote: I use the 'iceweasel' package for my main browser. But I was thinking about how Firefox itself (at mozilla.com) is much newer. I read a blog comment that someone started running the newest binary directly

Re: Multimedia Lenny is History!

2011-02-11 Thread Manon Metten
Hi, Don't know why, but for some reason I had the feeling that this might happen some day sooner or later. Unfortunately it's pretty much sooner than I expected. So prior to this disaster, a few weeks ago I downloaded all files from the Lenny repository accompanied by the according html pages. I

Re: universal flash card reader

2010-12-18 Thread Manon Metten
Hi, On Sat, Dec 18, 2010 at 11:37 AM, Russell L. Harris rlhar...@broadcaster.org wrote: I need a recommendation for a Linux-compatible USB-interface flash card reader to handle SD, SDHC, and CompactFlash. My Verbatim Universal works flawlessly with my 16 GB Sandisk Ultra II SDHC card. Manon.

Re: Can not set execute permission to file in usb storage media with fat32 format

2010-12-15 Thread Manon Metten
I want to execute some script file in usb storage media with fat32 format, but I can not set execute permission to them with chown +x. What shall I do? I don't think chown +x is possible on an alien FS. On my usb stick with FAT32, all files look like they're executables. You might simply use:

Re: cups and draft mode

2010-06-22 Thread Manon Metten
Hi Pol, Using cups on debian testing, the page printed seems in draft mode (the resolution is 1200x1200). How check (and disable) draft mode in cups? Use your webbrowser to access the cups interface: 0: http://localhost:631/ 1. Manage Printers 2. Set Printer Options 3. Printout Mode

Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-18 Thread Manon Metten
On Tue, May 18, 2010 at 8:16 PM, Merciadri Luca luca.mercia...@student.ulg.ac.be wrote: I have many media files in some specific directory (folder, call it as you want). Loading the folder takes ~30 sec., even if I am using quite fast HDDs, etc. They're all on the same partition. I have

Re: wi-fi security?

2009-08-05 Thread Manon Metten
Hi Paul, I'm running Lenny and found wicd on Debian Backports at: http://packages.debian.org/lenny-backports/wicd You should add the next line to your /etc/apt/sources.list (ie: if you're too using Lenny) deb http://www.backports.org/debian/ lenny-backports main contrib non-free run 'aptitude

Re: wi-fi security?

2009-08-05 Thread Manon Metten
Hi Paul, Sorry, made an error. You should use or course: # aptitude install -t lenny-backports wicd Greetings, Manon. On Thu, Aug 6, 2009 at 6:48 AM, Manon Mettenmanon.met...@gmail.com wrote: Hi Paul, I'm running Lenny and found wicd on Debian Backports at:

Canot access external usb hd anymore

2009-05-25 Thread Manon Metten
Hi All, Since I installed Lenny from scratch a while ago, I have problems accessing my external usb hd. It is plugged in to a usb port permanently, but I only turn on the power if I need to access it (I use it for backup). As I turn on the power, it reports as owned by root, but when still on

Owner problem external usb hd

2009-05-13 Thread Manon Metten
Hi All, Since I installed Lenny from scratch a while ago, I have problems accessing my external usb hd. It is plugged in to a usb port permanently, but I only turn on the power if I need to access it (I use it for backup). As I turn on the power, it reports as owned by root, but when still on

Re: which package in etch can convert high-quality mp3 to low quality mp3?

2009-04-12 Thread Manon Metten
Hi, On Sun, Apr 12, 2009 at 3:05 PM, Long Wind longwind2...@gmail.com wrote: I have a cell phone it can't play some mp3 maybe it supports only 128K So I want to convert hight quality mp3 to 128K Which package in etch? I would recommend lame; it's in the multimedia repository

Re: Copy a file one hundred times

2008-12-13 Thread Manon Metten
Hi Rodolfo On Sat, Dec 13, 2008 at 8:12 PM, Rodolfo Medina rodolfo.med...@gmail.com wrote: I need the right syntax to copy file.jpg 100 times with one command so to get 100 files named file1.jpg, file2.jpg, ..., file100.jpg. #!/bin/bash for x in `seq 1 100`; do if [[ x -lt 10 ]]; then

Re: Copy a file one hundred times

2008-12-13 Thread Manon Metten
Hi Rick, On Sat, Dec 13, 2008 at 7:41 PM, Rick Pasotto r...@niof.net wrote: I forgot about seq. This is even better (the -w left pads with zero for equal width): for x in $(seq -w 1 100); do cp file.jpg file${c}.jpg; done Waw! Great one-liner. BTW: Guess you meant file${x}.jpg;

Re: Screen blanker Mouse

2008-11-26 Thread Manon Metten
Hi Kelly, Lee, On Tue, Nov 25, 2008 at 12:49:57PM -0800, Kelly Clowers wrote: Personally, I trust xscreensaver a lot more than the KDE or Gnome screensavers. http://www.jwz.org/xscreensaver/faq.html#kde http://www.jwz.org/xscreensaver/toolkits.html Hmm. Interesting stuff to read. Never

Re: Screen blanker Mouse

2008-11-25 Thread Manon Metten
Hi Rob, Whenever I move my mouse, the screen wakes up from either blanking or dpms mode. I would like to turn that off and have the screen wake up only when I hit the keyboard. searching a bit, it seems like if you're using xscreensaver, increasing 'pointerHysteresis' a whole bunch might do

Screen blanker Mouse

2008-11-24 Thread Manon Metten
Hi, Whenever I move my mouse, the screen wakes up from either blanking or dpms mode. I would like to turn that off and have the screen wake up only when I hit the keyboard. Can anyone please tell me if this is possible at all, and how to achive it. Thanks in advance, Manon. -- To

Re: High Disk Temperatures

2008-10-26 Thread Manon Metten
Hi David, On Sun, Oct 26, 2008 at 11:06 AM, David Baron [EMAIL PROTECTED] wrote: Got my new WDC800 disk up and running, LVM (fantastic tool!). 2.6.26-rt now boots without problems. I have noted that during high disk access rates, the temperature of the WDC soars (from a 33c idle to up to

Re: how to convert several .flv files to a real media file?

2008-10-25 Thread Manon Metten
Hi Serena, On Sat, Oct 25, 2008 at 5:48 AM, Serena Cantor [EMAIL PROTECTED] wrote: Besides, mencoder can encode .flv. See its usage page: http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-selecting-codec.html At the end of the web page above, it has an example how to convert a avi file to a

Re: how to convert several .flv files to a real media file?

2008-10-24 Thread Manon Metten
Hi Serena, On Fri, Oct 24, 2008 at 3:05 AM, Serena Cantor [EMAIL PROTECTED] wrote: I have etch and installed mplayer and mencoder from debian-multimedia. I can play .flv file and real media file. I have download a video clip from a video site like youtube. The clip has several .flv files.

Firefox 2.0.0.14 crashing (was Re: .xsession-errors)

2008-06-19 Thread Manon Metten
Hi Raju, On 6/7/08, Kamaraju S Kusumanchi [EMAIL PROTECTED] wrote: Manon Metten wrote: The only problem I have lately is Firefox 2.0.0.14 crashing regularly. Everything else is running fine. No. The opcode errors do not correspond to the firefox crashes. The best way to track down

Re: windows prog on linux

2008-06-19 Thread Manon Metten
Hi Bela, On Thu, Jun 19, 2008 at 9:01 AM, abdelkader belahcene [EMAIL PROTECTED] wrote: I have a program written for XP, I want to run it on my linux debian, I tried wine, I didn't do want, is ther another emulator or another procedure; Check out this link: http://win4lin.net/content/ The

Re: .xsession-errors

2008-06-13 Thread Manon Metten
Hi Raju, On 6/13/08, Kamaraju S Kusumanchi [EMAIL PROTECTED] wrote: So I removed '/usr/share/fonts/X11/Type1' and the errors where gone. Which errors? Did it get rid of the opcode errors or did it get rid of bad font path element errors? To my surprise I'm back to where I've started

Re: .xsession-errors

2008-06-12 Thread Manon Metten
Hi Michelle, On 6/8/08, Michelle Konzack [EMAIL PROTECTED] wrote: Hi Manon, Am 2008-06-07 02:16:31, schrieb Manon Metten: On 6/6/08, Michelle Konzack [EMAIL PROTECTED] wrote: xset: bad font path element (#71), possible causes are: Directory does not exist or has wrong

Re: xpdf-utils vs. poppler-utils conflict prevents aptitude safe-upgrade

2008-06-12 Thread Manon Metten
Hi Aaron, What's this for kind of 'aptitude why' command you used? frenesi: ~ % aptitude why poppler-utils i cupsys Depends poppler-utils | xpdf-utils When I tried 'aptitude why poppler-utils', aptitude complained 'Unknown command why'. I' running Etch (aptitude 0.4.4-4). Could this

Re: Linux doesn't like DVD+R disks?

2008-06-12 Thread Manon Metten
Hi Ron, On 6/12/08, Ron Johnson [EMAIL PROTECTED] wrote: Mine is an ASUS DRW-1814BLT, and the disks (both DVD-R SL and DVD+R DL) are Memorex. I'm on Debian Etch; dvd burner is Sony optiarc. I'm using Maxell SL DVD+R for backup purposes only without any problems. I remember though I had some

Re: .xsession-errors

2008-06-07 Thread Manon Metten
Hi Raju On 6/7/08, Kamaraju S Kusumanchi [EMAIL PROTECTED] wrote: Manon Metten wrote: The only problem I have lately is Firefox 2.0.0.14 crashing regularly. Everything else is running fine. No. The opcode errors do not correspond to the firefox crashes. The best way to track down

Re: .xsession-errors

2008-06-06 Thread Manon Metten
Hi Michelle, On 6/6/08, Michelle Konzack [EMAIL PROTECTED] wrote: xset: bad font path element (#71), possible causes are: Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax Can you show us the output of

.xsession-errors

2008-06-05 Thread Manon Metten
and thanks in advance, Manon Metten -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: .xsession-errors

2008-06-05 Thread Manon Metten
Hi Raju, snip Are you running KDE by any chance? I have the same errors in my .xsesssion-errors as well. I have a feeling that it is due to some badly written KDE app. Yes, I'm running KDE (using etch: Linux debian 2.6.18-6-686 #1). I forgot to mention. The only problem I have lately is

Re: euro sign / nobreak space

2008-04-14 Thread Manon Metten
Hi Nigel I suggest unchecking all boxes on the Enable xkb options page, click on apply, then on default, then logout, and login to KDE. Having logged back in, check Enable xkb options box, and scroll down to the Third level choosers section, then check the Press Right Alt key to choose

Re: euro sign / nobreak space

2008-04-14 Thread Manon Metten
/Press Right Alt key to choose third level, Shift+ Right Alt key is Multi_Key. What is this Multi_Key? What's it used for? Thank you very much for your in-depth explanation. Greetings, Manon Metten. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact

Re: euro sign / nobreak space

2008-04-14 Thread Manon Metten
Hi Florian, Thanks for explaining. What is this Multi_Key? What's it used for? It is used to compose special characters by pressing two or more keys in succession. OK. Then I prefer to use the Menu-key, coz that's the way I set up Xkb options. To me it's much easier than pressing

Re: euro sign / nobreak space

2008-04-13 Thread Manon Metten
Hi Florian, On 4/13/08, Florian Kulzer [EMAIL PROTECTED][EMAIL PROTECTED] wrote: On Sat, Apr 12, 2008 at 21:43:55 +0200, Manon Metten wrote: On 4/12/08, Nigel Henry wrote: On Saturday 12 April 2008 05:17, Manon Metten wrote: Hi All, In KDE/Control Center/Keyboard layout/Xkb

Re: euro sign / nobreak space

2008-04-13 Thread Manon Metten
Hi Nigel, Well I tried adding the € to the 5 key on my Etch install, which only has the original US keyboard layout. The only box I checked in xkb options was the Add the EuroSign to the 5 key one, and ALT-GR plus 5 now gives me the € char. The command shows: setxkbmap -option eurosign:5

Re: euro sign / nobreak space

2008-04-12 Thread Manon Metten
Hi Nigel On 4/12/08, Nigel Henry [EMAIL PROTECTED] wrote: On Saturday 12 April 2008 05:17, Manon Metten wrote: Hi All, In KDE/Control Center/Keyboard layout/Xkb options, I set Adding the EuroSign to certain keys to Add the EuroSign to the 5 key, coz that's where it is located on my

euro sign / nobreak space

2008-04-11 Thread Manon Metten
Hi All, In KDE/Control Center/Keyboard layout/Xkb options, I set Adding the EuroSign to certain keys to Add the EuroSign to the 5 key, coz that's where it is located on my keyboard. At the bottom of the Control Center I read: setxkbmap -option eurosign:5,compose:menu. (I have set Compose Key

Re: Change the openoffice's UI Font?

2008-04-03 Thread Manon Metten
On 4/1/08, Michael Yang [EMAIL PROTECTED] wrote: Hi all another problems for OO. The UI Font is so ugly that I want to change it. I've tried every solutions I can find in google, but nothing works! - Check/Uncheck using system font - Apply replacement table for the font Andale Sans UI, or

Re: How to extract text from PDF?

2008-03-06 Thread Manon Metten
Hi Andrius, On 3/6/08, Andrius [EMAIL PROTECTED] wrote: Hi lads, technical question: is it possible to extract text from PDF? From PDF to txt. Using Adobe Reader 8.1.2 I could simply select text with my lmb, and than paste the text to wherever I want. Or I could do a ctrl-a and select

Re: fsck.ext3

2008-02-02 Thread Manon Metten
Hi, On 2/2/08, Sam Leon [EMAIL PROTECTED] wrote: I set mine for 60 days or 100 mounts. Before I change something, I would like to know the current setings. How do I find those? Greetings, Manon.

Re: opera browser problem?

2008-01-30 Thread Manon Metten
Hi Jim, On 1/29/08, hce [EMAIL PROTECTED] wrote: Does the opera browser has caches when I view the web pages? Yes, Opera caches web pages. You'll find them here: Tools/Preferences/Advanced/History. You can also empty the cache there. Have you tried to reload a page/frame. ... sometime I

Re: OT: Flash memory

2008-01-13 Thread Manon Metten
On 1/12/08, Douglas A. Tutty [EMAIL PROTECTED] wrote: On Sat, Jan 12, 2008 at 07:53:28PM +0100, Manon Metten wrote: On 1/11/08, David Brodbeck [EMAIL PROTECTED] wrote: If you spin around in a circle fast enough while holding the flash card, all the bits slide to the outside edge

Re: OT: Flash memory

2008-01-12 Thread Manon Metten
On 1/11/08, David Brodbeck [EMAIL PROTECTED] wrote: If you spin around in a circle fast enough while holding the flash card, all the bits slide to the outside edge where they're harder to reach. ;) Yeah, I had the same problem with my harddisk. It spins by nature. But to compensate I welded

Re: 386 kernel (was Re: debian 3.1 - how make it to support 2G memory)

2007-11-28 Thread Manon Metten
Hi Ron, On 11/28/07, Ron Johnson [EMAIL PROTECTED] wrote: I can guarantee you with metaphysically complete certitude that OP is *not* using a machine with an 80386 chip in it. Sure :-) I Googled a bit and found that the 80386 was first released in 1986. So that's pretty ancient. I had no

Re: debian 3.1 - how make it to support 2G memory

2007-11-27 Thread Manon Metten
Hi Ann Kok, On 11/27/07, ann kok [EMAIL PROTECTED] wrote: Yes. I have 2G physical memory but the kernel is showing 1G the kernel verion is 2.4.27-2-386 Once I had the same problem with kernel: 2.6.18-4-486 After I upgraded the kernel to 2.6.18-5-686 I could use 2Gb. I was told that There

Re: Which browser is better, firefox?

2007-11-04 Thread Manon Metten
On 11/4/07, BartlebyScrivener [EMAIL PROTECTED] wrote: This means, Iceweasel *is* Firefox just with another name. Yes, usually. But it also wreaks havoc with certain sites because the user agent says ice weasel which most sites don't recognize. If you stay with ice weasel, I recommend the

Re: Regarding tar and split

2007-10-11 Thread Manon Metten
Hi Sean, You might consider using Lha. It does the same as tar and bzip2 together (although you can disable compression). It has a simple syntax. You can also view the contents of the archive and even extract one single file from it. Example (suppose I have a 'work' dir with a.o. the file 'abc'

Re: Shut down or leave on?

2007-09-02 Thread Manon Metten
Hi, I was wondering if powering on causes the most wear and tear to HD's, than wouldn't it be wise to set timeout in /boot/grub/menu.lst to eg. 600 (10 min.) so that the HD's have some time for warming up before they are accessed heavily on boot-up. Manon.

Re: WYSIWYG editor

2007-08-29 Thread Manon Metten
Hi, On 8/28/07, Loeghmon T. Nejad [EMAIL PROTECTED] wrote: What do you recommend as a good, practical WYSIWYG editor for creating simple web pages, with mostly text, some graphics and pdf, for debian Lenny please? Thanks. You could use Quanta +. Pressing 2 will load the page you just edited

Re: icedove, KDE and pdf attachments

2007-08-29 Thread Manon Metten
Hi Giorgos, On 8/29/07, Giorgos Pallas [EMAIL PROTECTED] wrote: Which brings me to my last question: I don't have a ~/.icedove nor a ~/.thunderbird directory... Where does it store my profile? ~/.mozilla-thunderbird. Manon.

Re: bash vs. python scripts - which one is better?

2007-08-20 Thread Manon Metten
Hi Ron, On 8/20/07, Ron Johnson [EMAIL PROTECTED] wrote: Thanks for the links. You surely know how to find something. I find this much more comfortable than eg. typing: rx mp3conv.rexx 256kbps ~/mp3/work Even better: I run this script from within my dir util (DirOpus == Konqueror), so

Re: bash vs. python scripts - which one is better?

2007-08-20 Thread Manon Metten
Hi Bob, On 8/20/07, Bob Proulx [EMAIL PROTECTED] wrote: Thanks. I copied this to my 'Bash-howto'. I would hate to see you record this in your howto with == without knowing that == is a bash specific feature. :-) Well, actually it ain't that hard. I know from C that = assigns a value to

Re: bash vs. python scripts - which one is better?

2007-08-20 Thread Manon Metten
Hi Douglas, On 8/19/07, Douglas A. Tutty [EMAIL PROTECTED] wrote: However, I don't understand the concept of compeletly controlling and editor from a script. Everything I can do by accessing a menu item or hitting some keys, I can do from within a script, and even more. I still haven't

Re: bash vs. python scripts - which one is better?

2007-08-20 Thread Manon Metten
Hi Anthony, On 8/20/07, Anthony M Simonelli [EMAIL PROTECTED] wrote: How about Zenity? I've used it before to provide a GUI interface to some of my simple bash scripts. Thanks for the tip. Gonna check this out too. Greetings, Manon.

Re: Source of Debian wisdom

2007-08-20 Thread Manon Metten
Hi Douglas, On 8/19/07, Douglas A. Tutty [EMAIL PROTECTED] wrote: If you mix with apt-get ... ... This leads to the cruft buildup that aptitude is suposed to help you prevent. I remember a thread some time ago that just pointed out not to mix apt-get with aptitude. The other problem is

Re: Source of Debian wisdom

2007-08-20 Thread Manon Metten
Hi Mumia, On 8/19/07, Mumia W.. [EMAIL PROTECTED] wrote: * However, I never do anything at the command line that hasn't been verified as safe. I always use the curses interface to find out what is going to happen before I enter a command at the command line. Well, that's a valuable advise

Re: bash vs. python scripts - which one is better?

2007-08-19 Thread Manon Metten
Hi Douglas, On 8/19/07, Douglas A. Tutty [EMAIL PROTECTED] almost wrote: Perhaps the OP can restate her needs and we can help her make a reasoned choice without it becoming a religious issue. OK. I have a hard time to remember all those command line options. So whenever I have to accomplish

Re: Source of Debian wisdom

2007-08-19 Thread Manon Metten
Hi Douglas, On 8/19/07, Douglas A. Tutty [EMAIL PROTECTED] wrote: Note that many of the horror stories about aptitude involved people using it as a CLI replacement for apt-get instead of using its curses interface. Are you saying I should NOT use aptitude as a replacement for apt-get, like

Re: bash vs. python scripts - which one is better?

2007-08-19 Thread Manon Metten
Hi Ron, On 8/19/07, Ron Johnson [EMAIL PROTECTED] wrote: Python + Tcl/Tk should be easier than Python + Gtk. Thanks. Even simpler would be bash + dialog or it's GUI companion gtkdialog. Could you mail me some examples you wrote, please? I find this much more comfortable than eg.

Re: bash vs. python scripts - which one is better?

2007-08-19 Thread Manon Metten
Hi David, On 8/19/07, David Brodbeck [EMAIL PROTECTED] wrote: It certainly has its warts. In particular, Bash's test (aka [) operator has pitfalls. Testing for an empty variable, for example, is awkward. If you do: if [ $foo == ] Bash will complain about missing arguments. Instead,

Re: bash vs. python scripts - which one is better?

2007-08-18 Thread Manon Metten
Hi Steve, Thanks for sharing your valuable experience. I've decided to first become more familiar with Bash and then I'll give Python a try. If it don't like it, I can always try something else. But ATM I think Python will be the best option. I've seen some code on the net that looks pretty clean

Etch with Lenny kernel...

2007-08-17 Thread Manon Metten
Hi, Because of the Debian Security Advisory DSA 1356-1 yesterday, I did an aptitude update/upgrade. All went well except for the following message: The following packages have been kept back: linux-image-2.6-486 This is my situation: 1. March this year I installed Etch with an 2.6.18-486

Re: Etch with Lenny kernel...

2007-08-17 Thread Manon Metten
Hi Gilles, On 8/17/07, Gilles Mocellin [EMAIL PROTECTED] wrote: = You just have to use the Etch 2.6.18-686 kernel to use more tha 1Gb ! [...] No need of 2.6.21, Lenny If your system works with 2.6.21-2-686, it will with 2.6.18-5-686. Thanks, Manon.

FYI: Severe Vulnerability in Opera 9.22

2007-08-15 Thread Manon Metten
Hi, I just read in the papers that there's a severe vulnerability discovered in Opera 9.22, although the article did not say what. It is fixed in 9.23. Manon.

Re: How to add dir to path

2007-08-11 Thread Manon Metten
Hi Wayne, I have never seen this way of defining a path [ PATH=~/XX:${PATH} ] These lines come from .bash_profile: # set PATH so it includes user's private bin if it exists if [ -d ~/bin ] ; then PATH=~/bin:${PATH} fi I learned PATH=a path:a new path everything inclosed in quotes. I

Re: How to add dir to path

2007-08-11 Thread Manon Metten
Hi Wolodja, As a side note on documentation. You might find packages like dwww or dhelp useful. They provide a single entry point to access all installed documentation. Thanks! It's a very useful tip. Manon.

Re: How to add dir to path

2007-08-11 Thread Manon Metten
Hi Andrei, On 8/10/07, Andrei Popescu [EMAIL PROTECTED] wrote: Just look at your .bash_profile: # ~/.bash_profile: executed by bash(1) for login shells. And in .bashrc I find: # ~/.bashrc: executed by bash(1) for non-login shells. So this is my conclusion: Whenever I open a new bash

Re: How to add dir to path

2007-08-10 Thread Manon Metten
Hi Mike, On 8/10/07, Mike McCarty [EMAIL PROTECTED] wrote: Errr... She :-) Sorry 'bout that! Hard to see what you look like! Never heard of a guy named Manon, only of 'A Boy Named Sue'. But then again: What's in a name? :-) Abject apologies and all that. Also, that's a better quote

Re: How to add dir to path

2007-08-10 Thread Manon Metten
Hi Wayne, On 8/9/07, Wayne Topa [EMAIL PROTECTED] wrote: OK I think I found the problem. Your path statement is incorrect. PATH=~/XX:${PATH} Try this SCRIPTS=/where/your/scripts/are PATH=$PATH:$SCRIPTS That ain't the solution either. I got exactly the same output. So I entered the line

Re: How to add dir to path

2007-08-10 Thread Manon Metten
Hi Mumia, On 8/10/07, Mumia W.. [EMAIL PROTECTED] wrote: I want to add the dir ~/scripts to my path, what command do I use for that? M echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/games But how do I add ~/scripts to that path? Thanks, Manon. I believe the correct way to do

Re: How to add dir to path

2007-08-10 Thread Manon Metten
Hi Orestes, On 8/10/07, Orestes leal [EMAIL PROTECTED] wrote: I believe the correct way to do this is to set the path in ~/.bashrc. Set it like so: PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:$HOME/scripts This works but, the ~/scripts dir appear for every user? because if

Re: How to add dir to path

2007-08-10 Thread Manon Metten
Hi Andrei, It works as it should on my system: [EMAIL PROTECTED]:~$ grep Hello .bash* .bash_profile:echo Hello from bash_profile .bashrc:echo Hello from bashrc [EMAIL PROTECTED]:~$ bash Hello from bashrc [EMAIL PROTECTED]:~$ exit exit [EMAIL PROTECTED]:~$ bash --login Hello from bashrc

Re: How to add dir to path

2007-08-10 Thread Manon Metten
Hi Wayne, On 8/10/07, Wayne Topa [EMAIL PROTECTED] wrote: Are you doing all of this in KDE? If so I have no clue. I would suggest you go to a console VT and enter the path statements I showed. Then, if it doesn't work there, there is a real problem ... Yes, I was doing this in KDE. I

Re: How to add dir to path

2007-08-09 Thread Manon Metten
Hi Wayne, On 8/8/07, Wayne Topa [EMAIL PROTECTED] wrote: Are you saying that you put the PATH in .bash_profile like PATH=./scripts:$PATH export PATH And doing . . .bash_profile does not make it availible when it finishes? If that is so, please post the contents of your .bash_profile.

Re: bash vs. python scripts - which one is better?

2007-08-09 Thread Manon Metten
Hi Florian, On 8/8/07, Florian Kulzer [EMAIL PROTECTED] wrote: http://www.tldp.org/LDP/Bash-Beginners-Guide/html/index.html http://www.comp.leeds.ac.uk/Perl/start.html http://hetland.org/writing/instant-python.html Thanks for the links. They are very useful. Although I did already some

Re: bash vs. python scripts - which one is better?

2007-08-09 Thread Manon Metten
Hi Vincent, On 8/9/07, Vincent Lefevre [EMAIL PROTECTED] wrote: zsh is more powerful, e.g. recursive globbing, MULTIOS, more powerful parameter expansion, tied parameters... In fact, zsh is better mainly for interactive use (better completion mechanisms, multiline editor). I'll take a

Re: bash vs. python scripts - which one is better?

2007-08-09 Thread Manon Metten
Hi Steve, On 8/9/07, Steve Lamb [EMAIL PROTECTED] wrote: Or should I learn bash scripting anyway? Learn enough to be able to parse it and convert it to your language of choice. That's a valuable advice. It'll save me a lot of time and yet I'll be able to achieve what I want. import os

Re: bash vs. python scripts - which one is better?

2007-08-09 Thread Manon Metten
Hi Steve, On 8/9/07, Steve Lamb [EMAIL PROTECTED] wrote: python ... is sensitive to indentation; Well, that's a major disadvantage to me too. Actually, it isn't. At no time have I ever had any problems with Python code which would not also be an issue in other code as well. The

Re: Python intention (Was: bash vs. python scripts - which one is better?)

2007-08-09 Thread Manon Metten
Hi Steve, Thanks for explaining. I'll examine some scripts I'll find on the web, to get an idea of how it looks. Manon.

Re: bash vs. python scripts - which one is better?

2007-08-08 Thread Manon Metten
Hi Vincent, On 8/7/07, Vincent Lefevre [EMAIL PROTECTED] wrote: Why not zsh (more powerful than bash) or perl? Could you explain in short why you prefer zsh over bash? Thanks, Manon.

Re: bash vs. python scripts - which one is better?

2007-08-08 Thread Manon Metten
Hi Nelson, On 8/8/07, Nelson Castillo [EMAIL PROTECTED] wrote: Nowadays I replaced Perl with Python, but I still use Perl from time to time (to write one-liners mostly). Why did you switch from Perl to Python? Learn how to use 'find'. It's very useful. Also regular expressions. I will.

Re: bash vs. python scripts - which one is better?

2007-08-08 Thread Manon Metten
Hi Andrew, On 8/8/07, Andrew Sackville-West [EMAIL PROTECTED] wrote: Recently I've begun picking up (mostly by osmosis and from reading Florian's posts) a lot more awk, find, and regex. Those three combined with xargs or find -exec can get a pile of work done really quickly. Thanks for the

Re: How to add dir to path

2007-08-08 Thread Manon Metten
Hi Andrew, On 8/8/07, Andrei Popescu [EMAIL PROTECTED] wrote: But how do I add ~/scripts to that path? I saw nobody in the thread suggested this: Instead of a ~/script dir I use a ~/bin dir and didn't need to change anything because ~/.bash_profile already contains: Thanks for the tip.

Re: How to add dir to path

2007-08-08 Thread Manon Metten
Hi, This thread ain't over yet. Apart from using ~/bin (as Andrei Popescu suggested) I noticed that adding 'export PATH=$HOME/scripts:$PATH' to the end of ~/.bash_profile, the newly added dir is not available in any new session I open. However, when I open a new bash window, the new dir is

Re: bash vs. python scripts - which one is better?

2007-08-08 Thread Manon Metten
Hi Nelson, On 8/8/07, Nelson Castillo [EMAIL PROTECTED] wrote: Why did you switch from Perl to Python? I found the code I wrote easier to understand. But as I said before, I still use Perl for some tasks. OK. I forgot to mention Perl in my initial question. But if the code is easier to

Re: How to add dir to path

2007-08-08 Thread Manon Metten
Hi Nyizsnyik, On 8/8/07, Nyizsnyik Ferenc [EMAIL PROTECTED] wrote: Adding $HOME to /etc/profile should not work the way you want it to. These settings are global, consider them as executed by root, so in this case $HOME will resolve as /root, not /home/manon as you may have expected.

Re: Canon Powershot A640

2007-08-08 Thread Manon Metten
Hi Andy, I remember om my old Amiga I had a similar problem. It had something to do with the camera not complying to usb standards. I first had to format the mem card on my computer before I could access it. From then on I had no more problems. Though this ain't exactly Linux related, you might

Re: How to add dir to path

2007-08-08 Thread Manon Metten
Hi Wayne, On 8/8/07, Wayne Topa [EMAIL PROTECTED] wrote: Any changes made to .bash_profile or .bashrc require a restart of that file. If you have at the end of the .bash_profile, the command . .bashrc Then after editing either one, you do . .bash_profile ( which is the same as logging

Re: How to add dir to path

2007-08-08 Thread Manon Metten
Hi Andrew, On 8/8/07, Andrew Sackville-West [EMAIL PROTECTED] wrote: if you haven't yet, you would be well served to read man bash. As I already said (Quote: I first have to work my way to 'man bash' ), I surely will. It is an excellent resource, and you'll learn bash scripting at the same

Re: bash vs. python scripts - which one is better?

2007-08-08 Thread Manon Metten
Hi Andrew, On 8/8/07, Andrew Sackville-West [EMAIL PROTECTED] wrote: I think you're missing the point. Write in whatever suits you and the task at hand. If you're hacking on a project that has already started, then learn the appropriate language. If you're starting from scratch, then learn

Re: How to add dir to path

2007-08-08 Thread Manon Metten
Hi Wayne, Pretty straightforward your PS1 example. That's one bridge too far for me now, as I'm only for about one year on Debian. I simply use PS1='M ' for user and PS1='R ' for root :-) For me, the rest is redundant info, which only distracts me. Isn't Debian (Linux) fun! Yes, it is.

How to add dir to path

2007-08-07 Thread Manon Metten
Hi, I want to add the dir ~/scripts to my path, what command do I use for that? M echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/games But how do I add ~/scripts to that path? Thanks, Manon.

Re: How to add dir to path

2007-08-07 Thread Manon Metten
Hi Mike, On 8/7/07, Mike McCarty [EMAIL PROTECTED] wrote: Do something like this $ export PATH=~/scripts:$PATH If you put it into the appropriate startup script it will get done every time. I was looking for some kind of 'path' command but could not find anything alike. I didn't know of

Re: How to add dir to path

2007-08-07 Thread Manon Metten
Hi Nyizsnyik, On 8/7/07, Nyizsnyik Ferenc [EMAIL PROTECTED] wrote: I would rather you checked your ~/.bash_profile file. What's the reason I shouldn't touch /etc/profile but use ~/.bash_profile instead? Manon.

Re: How to add dir to path

2007-08-07 Thread Manon Metten
Hi Andrew, On 8/7/07, Andrew Sackville-West [EMAIL PROTECTED] wrote: $PATH is an environment variable like any other and gets assigned a value in the same way as any other. export is used to make a variable available to other processes that come after the one spawned by the assignment

bash vs. python scripts - which one is better?

2007-08-07 Thread Manon Metten
Hi, I'm about to learn bash or python scripting. - Which one is easiest to learn? - Which one is more powerful? - Can I execute /bin commands from within a python script (something like mkdir or ls)? Or should I learn bash scripting anyway? Please, let me know your experiences. Thanks in

Re: How to add dir to path

2007-08-07 Thread Manon Metten
Hi PK, On 8/7/07, P Kapat [EMAIL PROTECTED] wrote: What's the reason I shouldn't touch /etc/profile but use ~/.bash_profile instead? For the simple reason that you wouldn't want (or prefer) to mess with the system's defaults unless otherwise forced to. Moreover, think of a machine where

Re: How to add dir to path

2007-08-07 Thread Manon Metten
Hi David, On 8/7/07, David Brodbeck [EMAIL PROTECTED] wrote: What's the reason I shouldn't touch /etc/profile but use ~/.bash_profile instead? They do the same thing, but for different scopes. /etc/profile affects every account on the system. ~/.bash_profile only affects your own. On a

Re: bash vs. python scripts - which one is better?

2007-08-07 Thread Manon Metten
Hi David, On 8/7/07, David Brodbeck [EMAIL PROTECTED] wrote: I'm about to learn bash or python scripting. - Which one is easiest to learn? That's debatable, I think. Bash's syntax is more idiosyncratic, but there's less of it. - Which one is more powerful? Python. Or should I

Re: How to add dir to path

2007-08-07 Thread Manon Metten
Hi PK, On 8/7/07, P Kapat [EMAIL PROTECTED] wrote: I ain't got no /usr/share/doc/bash/examples dir. There's also no /usr/local/share/doc dir. Where do I get these examples? apt-get install bash-doc In general, for any package, pkg, pkg-doc is a good source of help and examples. Waw,

Re: How to add dir to path

2007-08-07 Thread Manon Metten
Hi Mike, On 8/7/07, Mike McCarty [EMAIL PROTECTED] wrote: $ export PATH=~/scripts:$PATH SNIP Well, I combined two commands into one. $ x=y sets an environment variable x to value y. $ export x makes x available to all subprocesses in the tree which get created after the export. $

  1   2   >