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 from Firefox instead of 
 the iceweasel package. Is this even possible?? If so I'd like to try it, but 
 don't want to break anything. Is it as easy as just downloading the Linux 
 package from mozilla.com and installing it in /usr/local??

I extract the Firefox tarball in /opt.
Then I put an icon in my panel and configure it.
In the Application tab, the 'Command:' line should read the following:

Command: '/opt/firefox/firefox'

Greetings, Manon.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinbn+1skswdhs4sfmstnou0al6ray77sk_ks...@mail.gmail.com



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 uploaded all files via WeTransfer using the following email address,
I specially created for that purpose:  debmu...@gmail.com
The password is:  lennyfiles

So if you're, like me, still using lenny and you need some of the
debian-multimedia
files, you can download the entire 379MB archive there. Then simply instal them
using dpkg.

There are only two emails in the inbox: one from WeTransfer. Open it
and simply hit
the download button. The second email is send by me, containing the
md5sums of the
files (free.tar, html.tar and non-free.tar) I uploaded to WeTransfer
(they zipped them).

Greetings, Manon.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimcefdd7r5-fzqsm2jrb3-w75jjjscn5xd_t...@mail.gmail.com



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.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimz4wizkojagk1mcn--hqrwjdhiygpzuucn_...@mail.gmail.com



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:

$ . ./script_file

Manon.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimxsfktikgommizubz25+wkmdqiv1g1na1ew...@mail.gmail.com



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

Manon.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikj3djlac1u7u3bg1pexuvibouo0u3dd8xwq...@mail.gmail.com



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 disabled
 previewing, or thumbnails.

 How can I do to make this process faster?


Hi Luca,

If you're using ext2/ext3, turning off dir/file access time might help.
Edit /etc/fstab and add noatime,nodiratime on the appropriate line,
like in the example below:

/dev/hdb2   /home   ext3   defaults,noatime,nodiratime   0   2

Manon.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimxf91-fvry7nmcign3k7oiudcjkdytgagbo...@mail.gmail.com



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 update', ignore the error msg, install the
backports-keyring an update again:

# aptitude update
# aptitude install debian-backports-keyring
# aptitude update

Then you can install wicd as follows:
# aptitude install -t etch-backports wicd

However, when I tried this, aptitude asked if it should remove
'network-manager-kde'. As I'm using that app and don't have wireless,
I cancelled the installation.

Greetings, Manon.



On Thu, Aug 6, 2009 at 6:04 AM, Paul E Condonpecon...@mesanetworks.net wrote:
 On 2009-08-05_15:28:21, Preston Boyington wrote:
 Paul E Condon wrote:

 snipped

  I am having some difficulty with network-manager. Aptitude says it is
  installed on my Acer Aspire one...

 Paul, seriously take a look at wicd.  network-manager is now the second
 thing I uninstall on my Debian/Ubuntu machines (the first being the
 update-manager because I prefer to use Aptitude).

 wicd has been flawless for me since i started using it.


 I find myself with a very puzzling problem. I want to look at wicd,
 but I can't. When I tried to install it with aptitude, I could not
 find it using / search. More puzzling still - I am using approx, the
 apt proxy, running on a lenny machine that is separate from my desktop
 and my Acer. I know the proxy is working because I have been using it
 for at least two months to configure two other specialized servers and
 my desktop. I used it in the re-install of lenny today, and it worked
 for that. I still cannot find wicd in aptitude on the Acer, even after
 this totally new install. **But** I can find it in aptitude on my
 desktop host. The only differences that I can think of are things that
 surely should not affect the visibility of a package in aptitude,
 namely:

 1) I selected laptop in tasksel for tha Acer, but not for any of the
 other hosts.

 2) I use /etc/hosts on the other machines, but DHCP on the Acer (DHCP
 is being served by my D-Link router. It has been doing it successfully
 for a lon time for the iMacs on the LAN and it allows the Acer to
 access the web)

 What could I be doing wrong? Any ideas, anyone? I'm really pretty
 sure that neither of these differences is the cause of the problem.
 I must be doing something really dumb, but I can't see what it is.

 --
 Paul E Condon
 pecon...@mesanetworks.net


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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:
 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 update', ignore the error msg, install the
 backports-keyring an update again:

 # aptitude update
 # aptitude install debian-backports-keyring
 # aptitude update

 Then you can install wicd as follows:
 # aptitude install -t etch-backports wicd

 However, when I tried this, aptitude asked if it should remove
 'network-manager-kde'. As I'm using that app and don't have wireless,
 I cancelled the installation.

 Greetings, Manon.



 On Thu, Aug 6, 2009 at 6:04 AM, Paul E Condonpecon...@mesanetworks.net 
 wrote:
 On 2009-08-05_15:28:21, Preston Boyington wrote:
 Paul E Condon wrote:

 snipped

  I am having some difficulty with network-manager. Aptitude says it is
  installed on my Acer Aspire one...

 Paul, seriously take a look at wicd.  network-manager is now the second
 thing I uninstall on my Debian/Ubuntu machines (the first being the
 update-manager because I prefer to use Aptitude).

 wicd has been flawless for me since i started using it.


 I find myself with a very puzzling problem. I want to look at wicd,
 but I can't. When I tried to install it with aptitude, I could not
 find it using / search. More puzzling still - I am using approx, the
 apt proxy, running on a lenny machine that is separate from my desktop
 and my Acer. I know the proxy is working because I have been using it
 for at least two months to configure two other specialized servers and
 my desktop. I used it in the re-install of lenny today, and it worked
 for that. I still cannot find wicd in aptitude on the Acer, even after
 this totally new install. **But** I can find it in aptitude on my
 desktop host. The only differences that I can think of are things that
 surely should not affect the visibility of a package in aptitude,
 namely:

 1) I selected laptop in tasksel for tha Acer, but not for any of the
 other hosts.

 2) I use /etc/hosts on the other machines, but DHCP on the Acer (DHCP
 is being served by my D-Link router. It has been doing it successfully
 for a lon time for the iMacs on the LAN and it allows the Acer to
 access the web)

 What could I be doing wrong? Any ideas, anyone? I'm really pretty
 sure that neither of these differences is the cause of the problem.
 I must be doing something really dumb, but I can't see what it is.

 --
 Paul E Condon
 pecon...@mesanetworks.net


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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 Etch,
I formatted it like this:

#  umount /dev/sde
#  mkfs.ext3 -b 4096 -j -m 1 -L Maxtor -T largefile -v /dev/sde
#  tune2fs -c -1 /dev/sde
#  chown manon:manon /media/Maxtor

I never had any problem like this with Etch, but now, even after repeatedly
changing ownership to manon, it still reports root as owner when I turn the
power on again.

Sometimes it even appears to be completely empty after I did
#  chown manon:manon /media/Maxtor
and I cannot access any data at all anymore.
I also tried:  '#  chown manon:manon /dev/sde'  but that didn't help either.

Any ideas what could cause this problem and how to solve it?

Thanks in advance, Manon.



Linux debian 2.6.26-2-686 #1 SMP Thu Mar 26 01:08:11 UTC 2009 i686 GNU/Linux


#  less  /media/.hal-mtab
/dev/sde  1000  0  ext3  nosuid,nodev,uhelper=hal,data=ordered  /media/Maxtor


#  dumpe2fs /dev/sde
dumpe2fs 1.41.3 (12-Oct-2008)
Filesystem volume name:   Maxtor
Last mounted on:          not available
Filesystem UUID:          99b7fdbd-5d8e-45bf-a1ec-74b774a39fc9
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal resize_inode dir_index filetype
needs_recovery sparse_super large_file
Filesystem flags:         signed_directory_hash
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              610560
Block count:              156282966
Reserved block count:     1562829
Free blocks:              59277244
Free inodes:              603706
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      986
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         128
Inode blocks per group:   4
Filesystem created:       Sun Nov 16 18:35:36 2008
Last mount time:          Wed May 13 18:15:07 2009
Last write time:          Wed May 13 18:15:07 2009
Mount count:              54
Maximum mount count:      28
Last checked:             Sun Nov 16 18:35:36 2008
Check interval:           15552000 (6 months)
Next check after:         Fri May 15 19:35:36 2009
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      762114b0-1dbb-4677-8b23-934e5a2b0fe3
Journal backup:           inode blocks
Journal size:             128M


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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 Etch,
I formatted it like this:

#  umount /dev/sde
#  mkfs.ext3 -b 4096 -j -m 1 -L Maxtor -T largefile -v /dev/sde
#  tune2fs -c -1 /dev/sde
#  chown manon:manon /media/Maxtor

I never had any problem like this with Etch, but now, even after repeatedly
changing ownership to manon, it still reports root as owner when I turn the
power on again.

Sometimes it even appears to be completely empty after I did
#  chown manon:manon /media/Maxtor
and I cannot access any data at all anymore.
I also tried:  '#  chown manon:manon /dev/sde'  but that didn't help either.

Any ideas what could cause this problem and how to solve it?

Thanks in advance, Manon.



Linux debian 2.6.26-2-686 #1 SMP Thu Mar 26 01:08:11 UTC 2009 i686 GNU/Linux


#  less  /media/.hal-mtab
/dev/sde  1000  0  ext3  nosuid,nodev,uhelper=hal,data=ordered  /media/Maxtor


#  dumpe2fs /dev/sde
dumpe2fs 1.41.3 (12-Oct-2008)
Filesystem volume name:   Maxtor
Last mounted on:  not available
Filesystem UUID:  99b7fdbd-5d8e-45bf-a1ec-74b774a39fc9
Filesystem magic number:  0xEF53
Filesystem revision #:1 (dynamic)
Filesystem features:  has_journal resize_inode dir_index filetype
needs_recovery sparse_super large_file
Filesystem flags: signed_directory_hash
Default mount options:(none)
Filesystem state: clean
Errors behavior:  Continue
Filesystem OS type:   Linux
Inode count:  610560
Block count:  156282966
Reserved block count: 1562829
Free blocks:  59277244
Free inodes:  603706
First block:  0
Block size:   4096
Fragment size:4096
Reserved GDT blocks:  986
Blocks per group: 32768
Fragments per group:  32768
Inodes per group: 128
Inode blocks per group:   4
Filesystem created:   Sun Nov 16 18:35:36 2008
Last mount time:  Wed May 13 18:15:07 2009
Last write time:  Wed May 13 18:15:07 2009
Mount count:  54
Maximum mount count:  28
Last checked: Sun Nov 16 18:35:36 2008
Check interval:   15552000 (6 months)
Next check after: Fri May 15 19:35:36 2009
Reserved blocks uid:  0 (user root)
Reserved blocks gid:  0 (group root)
First inode:  11
Inode size:   128
Journal inode:8
Default directory hash:   tea
Directory Hash Seed:  762114b0-1dbb-4677-8b23-934e5a2b0fe3
Journal backup:   inode blocks
Journal size: 128M


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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
(http://www.debian-multimedia.org/).

As the default bitrate is 128k, the command line would be:
  lame --mp3input in.mp3 out.mp3

You might also consider CBR (constant bitrate), as some players cannot
handle VBR (variable bitrate) properly. In that case the command line
would be:

  lame --cbr --mp3input in.mp3 out.mp3

However, when transcoding, there's a caveat: all mp3 tags (ie: album,
song title, artist, etc.) are lost in the process. So maybe you could
write a script that first extracts all tags (mpgtx can read id3v1 
id3v2 tags) and then uses them in the transcoding process.

  lame --mp3input --add-id3v2 --tt title --ta artist --tl album
--ty year in.mp3 out.mp3

Manon.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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 cp file.jpg file-00$x.jpg;

  elif [[ x -lt 100 ]]; then cp file.jpg file-0$x.jpg;

  else cp file.jpg file-$x.jpg;

  fi

done


Greetings, Manon.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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;

Greetings, Manon.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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 given it that much thought.



On Wed, Nov 26, 2008 at 7:15 PM, lee [EMAIL PROTECTED] wrote:

 How do you know for sure if the screen saver stops to show graphics
 when DPMS turns off the signal to the monitor? It's what keeps me from
 using a screen saver, I don't want it to be active when the monitor is
 off.

Well, than why don't you set the screen blanker to only blacken the screen.
It might look not so pretty, but it's more energy efficient and better for your
monitor. And there's hardly any visible difference between a black screen
and dpms mode anyway. :-)

Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 the
 trick.[1]

Actually, I'm using KDE's built-in screensaver.
But switching to xscreensaver and increasing pointerHysteresis
like you suggested, might be an option.

Thanks for the help, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 44c!). Such high temperatures are not
 desirable.


Quote from Wikipedia:

A common misconception is that a colder hard drive will last longer
than a hotter hard drive. The Google study seems to imply the reverse
-- lower temperatures are associated with higher failure rates. Hard
drives with S.M.A.R.T.-reported average temperatures below 27 °C had
failure rates worse than hard drives with the highest reported average
temperature of 50 °C, failure rates at least twice as high as the
optimum S.M.A.R.T.-reported temperature range of 36 °C to 47 °C.

http://en.wikipedia.org/wiki/Hard_disk_drive

Manon.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 .flv flash file.


Thanks! You're right. I remember reading somewhere that mencoder
couldn't join .flv files, but apparently that was outdated or
incorrect info. But as I was happy with output in .avi I didn't bother
to look any further.

Now I downloaded two small cartoons from YouTube and managed to join
the two .flv files with the following command:

mencoder in1.flv in2.flv -o out.flv -of lavf -oac mp3lame -lameopts
abr:br=56 -srate 22050 -ovc lavc -lavcopts
vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -lavfopts
i_certify_that_my_video_stream_does_not_use_b_frames

However, it took mencoder a considerable amount of time and the output
file was more than triple size of the two input files.

Using: mencoder -oac copy  -ovc copy  -idx  -o out.avi  in1.flv
in2.flv goes way much faster and results in an output file slightly
larger than double size of the two input files.

Maybe fine tuning the opts results in smaller file size (and quality
loss??) for .flv, but please don't ask me :-)

Comparing the output, .avi equals .flv and for both I find no real
quality loss compared with the original files. So I'll stick with .avi
for now, but it might come in handy some day if I really need .flv
output.

Greetings, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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. I want to convert them to a single real media file. Which 
 command shall I use? Thanks!


I had the same problem a while ago.
After some googling I ended up with the following solution:


$: mencoder -oac copy  -ovc copy  -idx  -o out.avi  in1.flv  in2.flv
in3.flv  etc...

I used it to join some 12 .flv files into one single .avi file of
approx. the same size as all twelve added up. As I understood it well,
mencoder cannot output .flv format (but a lot of other formats
indeed).


For me there was no reason to convert the out.avi to out.flv, using
ffmpeg, as it only results in poorer quality. Besides that, I found
ffmpeg deleting some frames while converting.  So I stuck with the
.avi file. I use ffplay on the command line to watch the .avi video
(ffplay is part of the ffmpeg package):

$: ffplay -x 640 -y 480 out.avi


If you ensist on having a .flv file, you can use ffmpeg like this:

$: ffmpeg -i out.avi -sameq out.flv


Greetings, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 the iceweasel crashes is to disable all the add-ons and start
  iceweasel in a safe mode using iceweasel -safe-mode. Another thing to
  look for are the flash packages installed on the system. FWIW, I am running
  Debian Etch, iceweasel 2.0.0.14 and it does not crash at all!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 only other thing you need is an XP license.
Though it's not open source, it works perfect for me.

Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 from.

Yesterday I renamed '/usr/share/fonts/X11/Type1', to
'/usr/share/fonts/X11/Type1-old', then deleted '~/.xsession-errors',
logged out and back in to KDE, just to find an empty .xsession-errors
file (well, almost empty, apart from the line telling me when my
xsession started). So I thought the problem was solved.

Today I noticed that the .xsession-errors file was like the one I
started this thread with. So I deleted
'/usr/share/fonts/X11/Type1-old', deleted '~/.xsession-errors', logged
out and back in to KDE and got a fresh .xsession-errors file, same as
where I started with.

In the end the errors are still there, only I've lost
'/usr/share/fonts/X11/Type1'.

Greetings, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 permissions
  Directory missing fonts.dir
  Incorrect font server address or syntax


  Font Path:
 /usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi:unscaled,/usr/
  share/fonts/X11/75dpi:unscaled,/usr/share/fonts/X11/Type1,/var/lib/defo
  ma/x-ttcidfont-conf.d/dirs/TrueType,/usr/local/share/fonts

^^^
  Maybe you should remove this directory since I can not imagine you  have
  it. I have several installations from Woody, Sarge, Etch, Lenny and  Sid
  and there is not a singel installation, where this directory exist.

  So removing this directory from the FontPath will  eliminate  the  above
  four Error lines.


I checked all these dirs:

drwxr-xr-x 2 root root   /usr/share/fonts/X11/misc
drwxr-xr-x 2 root root   /usr/share/fonts/X11/100dpi
drwxr-xr-x 2 root root   /usr/share/fonts/X11/75dpi
drwxr-xr-x 2 root root   /usr/share/fonts/X11/Type1
drwxr-xr-x 2 root root   /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
drwxrwsr-x 2 root staff /usr/local/share/fonts

All but /usr/share/fonts/X11/Type1 have a 'fonts.dir' file in it.

/usr/share/fonts/X11/misc
/usr/share/fonts/X11/100dpi
/usr/share/fonts/X11/75dpi
contain lots of *.pcf.gz files

/usr/share/fonts/X11/Type1
contains '*.pfb' softlinks to '../../type1/gsfonts/' which does not exist

/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
contains softlinks to '/usr/share/fonts/truetype'

/usr/local/share/fonts
contains a softlink to '/usr/share/fonts/X11/encodings/encodings.dir'
and a custom installed font

So I removed '/usr/share/fonts/X11/Type1' and the errors where gone.

Thank you very much for the help.

Greetings, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 possibly be a Sid option?

Greetings, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 of Memorex DVD's (can't remember if they
were + or -) and they were causing troubles all the time, so I threw
them away.

Greetings, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 the iceweasel crashes is to disable all the add-ons and start
  iceweasel in a safe mode using iceweasel -safe-mode. Another thing to
  look for are the flash packages installed on the system. FWIW, I am running
  Debian Etch, iceweasel 2.0.0.14 and it does not crash at all!

Thanks for the tip.
I was using Firefox (not Iceweasel) with flashplayer r115. I installed
the newest version (r124) to see if that was the problem. If not, I'll
disabling add-ons and try safe-mode.

Greetings, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

 xset q


Here's the output:

Keyboard Control:
  auto repeat:  onkey click percent:  0LED mask:  0002
  auto repeat delay:  250repeat rate:  25
  auto repeating keys:  00ffdbbf
fadfffdfffdfe5ef


  bell percent:  50bell pitch:  400bell duration:  100
Pointer Control:
  acceleration:  20/10threshold:  4
Screen Saver:
  prefer blanking:  noallow exposures:  yes
  timeout:  310cycle:  600
Colors:
  default colormap:  0x20BlackPixel:  0WhitePixel:  16777215
Font Path:
  
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi:unscaled,/usr/share/fonts/X11/75dpi:unscaled,/usr/share/fonts/X11/Type1,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,/usr/local/share/fonts
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 600Suspend: 1200Off: 3600
  DPMS is Enabled
  Monitor is On


Thanks in advance, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



.xsession-errors

2008-06-05 Thread Manon Metten
Hi,

Today I noticed this '.xsession-errors' file in my home dir. It's
telling me following:


Xsession: X session started for manon at Thu Jun  5 18:10:00 CEST 2008
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
startkde: Starting up...
kbuildsycoca running...
QFont::setPointSize: Point size = 0 (-3)
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode:  2
  Minor opcode:  0
  Resource id:  0x1ec
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode:  2
  Minor opcode:  0
  Resource id:  0x1ec
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x1e006de

Can anyone please tell me how I can eliminate or correct these errors?

Greetings 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 Firefox 2.0.0.14 crashing regularly.
Everything else is running fine.

Greetings, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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
  3rd level, Shift+Right Alt key is Multi_Key. box.

  Scroll down a bit more to Adding the EuroSign to certain keys section, and
  check the Add the EuroSign to the 5 key. box. Click apply. Open Gedit, or
  Kwrite, and try ALT-GR plus 5. This works for me, and I get the € character
  displayed in the text editor.

Wow! Great!
I did exactly as you suggested, and now it works.
Alt+5 now produces the € sign and Alt+Space the nobreakspace char (ascii 160).

Thank you very much for your help. I've tried all I could think of,
but I couldn't have figured this out myself.


  I don't know about the Compose Key Position section though, as I lost   
 access  to the € character, when checking any of the boxes here.

After the € sign and the nbsp; char worked, I checked Menu is
compose as I my previous setting was, and that also works again like
it did: á è ï ô ũ:-)


Greetings and thanks again, Manon.


Re: euro sign / nobreak space

2008-04-14 Thread Manon Metten
Hi Florian,

Although it works now as I applied the suggestions of Nigel Henry
(please see my previous reply), there's still this inconsistency in
the xkb_keymap. Here's my current setting:

M setxkbmap -print
xkb_keymap {
xkb_keycodes  { include xfree86+aliases(qwerty)   };
xkb_types { include complete  };
xkb_compat{ include complete  };
xkb_symbols   { include pc(pc105)+us+level3(ralt_switch_multikey)
+compose(menu)+eurosign(5)+nbsp(level3)  };
xkb_geometry  { include pc(pc104) };
};

There's only one line that differs from the old line which was
xkb_symbols { include
pc(pc105)+us+compose(menu)+eurosign(5)+nbsp(level3) };

I don't understand how to correct this pc104/105 inconsistency. But as
all works now, it might be irrelevant now.

BTW: I have a 104-key pc keyboard. It has a one-row Enter key with the
backslash/pipe key above it.



xmodmap -pm still has the same output as before

xmodmap: up to 3 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x7f), Hyper_L (0x80)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)

But still missing what you said:

 Something is missing in the mod5 line: ISO_Level3_Shift (0x71)



Current:
M  xmodmap -pke | egrep 'EuroSign|Level'
keycode  14 = 5 percent EuroSign NoSymbol EuroSign
keycode 113 = ISO_Level3_Shift Multi_key
keycode 124 = ISO_Level3_Shift

The line keycode 113 ...is new.



Do you think, regarding that all is working now like I requested, that
I still should eliminate this pc104/105 inconsistency?

Finally, in Control Center/Xkb options I read Third level
choosers/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 [EMAIL PROTECTED]



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 Shift+Alt-Gr.

Greetings, Manon.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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 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 Position to Menu is compose.) So I expected
 to
get
the EuroSign after pressing the menu key and then the 5 key. But all
 I
get is
no EuroSign.
   
Tried I tried Alt+5, Ctrl+5, Ctrl+Alt+5 etc. but I don't get no
EuroSign.
What did I do wrong?
What keys do I have to press to get the EuroSign?





Send us the output of the following three commands:

 setxkbmap -print


xkb_keymap {
xkb_keycodes { include xfree86+aliases(qwerty) };
xkb_types { include complete };
xkb_compat { include complete };
xkb_symbols { include pc(pc105)+us+compose(menu)+eurosign(5)+nbsp(level3)
};
xkb_geometry { include pc(pc104) };
};



xmodmap -pm


xmodmap: up to 3 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x7f), Hyper_L (0x80)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)



xmodmap -pke | egrep 'EuroSign|Level'


keycode 14 = 5 percent EuroSign NoSymbol EuroSign
keycode 124 = ISO_Level3_Shift





   I also found this: Adding the nobreakspace keysym to space key with
 the
options to set it to any, second, third and fourth level.



Then we also need the output of:

 xmodmap -pke | grep space


keycode 65 = space space nobreakspace NoSymbol nobreakspace



Thanks in advance, Manon.


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


I did the same, but it just don't work.


Later on I checked the box Space key output nobreakspace at third level. I
 tried ALT-GR plus space in Gedit, and Kwrite, and that still makes a
 space,
 but in KDE's Konsole ALT-GR plus space results in no visible space, but a
 continual string of characters, so it appears to be working, but what it's
 used for, I have no idea. Perhaps someone would tell me.


I use the nobreakspace char instead of the br / tag in html code. Gives a
much cleaner text.



The command now shows: setxkbmap -option eurosign:5,nbsp:level3


Strange, my output of the same command shows nothing.



Thanks, Manon.


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 keyboard.
 
  At the bottom of the Control Center I read: setxkbmap -option
  eurosign:5,compose:menu.
  (I have set Compose Key Position to Menu is compose.) So I expected to
 get
  the EuroSign after pressing the menu key and then the 5 key. But all I
 get is
  no EuroSign.
 
  Tried I tried Alt+5, Ctrl+5, Ctrl+Alt+5 etc. but I don't get no
 EuroSign.
  What did I do wrong?
  What keys do I have to press to get the EuroSign?


 Hi Manon. I have a few keboard layouts setup, but on the GB one, the right
 alt
 key (ALT GR) plus the 4, gives me the € sign. On the US keyboard layout,
 right alt plus E does the same. French keyboard, right alt plus E again,
 and
 the same for portugese layout.


I have a US keyboard, but it just won't work. I have tried all options (2
key, E key
and 5 key) but nothing works. Whenever I press the Alt-Gr + E, the Edit menu
opens
(same with the left-Alt + E).


 I also found this: Adding the nobreakspace keysym to space key with the
  options to set it to any, second, third and fourth level.
 
  What is a level, and eg. if I set it to second level, how do I access
 the
  nobreakspace char then?


 Not sure about the nobreakspace char, but the levels are:
 Level one:  lower case characters.
 Level two:   Upper case characters (using the shift key).
 Level three: Additional characters  (using right alt (ALT GR) key).
 Level four: More additional characters (using right alt plus shift).


Thanks for the info. Didn't know that.But whatever settings I try,
I don't get a nobreakspace char (ascii 160).

Greetings, Manon.


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 Position to Menu is compose.) So I expected to get
the
EuroSign after pressing the menu key and then the 5 key. But all I get is no
EuroSign.

Tried I tried Alt+5, Ctrl+5, Ctrl+Alt+5 etc. but I don't get no EuroSign.
What did I do wrong?
What keys do I have to press to get the EuroSign?



I also found this: Adding the nobreakspace keysym to space key with the
options to set it to any, second, third and fourth level.

What is a level, and eg. if I set it to second level, how do I access the
nobreakspace char then?

Greetings, Manon.


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 Andale Mono.
 - Tried to replace the other fonts.
 - Remove old .openoffice.org2 and create a new one.

 However, nothing changes for the UI Font.

 Do you guys have any suggestions to fix this? ( lenny/sid, openoffice
 1:2.0.4-3, kernel 2.6.24)



You could try to set Scaling to 80% in menu
Tools/Options/OpenOffice.org/View

On my system (etch/kde) OpenOffice.org looks like any other app.

Greetings, Manon.


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 copy from the popup window (note that
the cursor must be over some selected text).
Than I went to eg. Kate and use paste from the popup window and the
entire text was pasted.

Manon.


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 could only see partial configuration page with all buttonswere
 missing and the browser was busy to waiting something ...


In my experience, when Opera loads a page and encounters an error,
if you try to reload that page, it keeps busy waiting forever.

Greetings, Manon.


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 where they're harder to
   reach. ;)
  
 
  Yeah, I had the same problem with my harddisk. It spins by nature.
  But to compensate I welded the heads to the outer edge.
  Ever since I only get fuzzy answers on my queries. But hey, I only
  ask inane questions anyway, so who cares.
 

 Ahh, you made a fuzzy-logic drive.

 Doug.



Exactly ... more or less.

Manon.


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 the heads to the outer edge.
Ever since I only get fuzzy answers on my queries. But hey, I only
ask inane questions anyway, so who cares.

Manon.


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 idea. I come from the Amiga world
(Motorola). Well, in the end, every now and then a good laugh keeps
you vital. Here's a good one I found somewhere on the web:

A comp tech wants to play a word game with his colleague: who can
come up with the best oxymoron. So he starts off with Military
Intelligence. After some thinking, his colleague replied with Microsoft
Works ... and won the game.

Greetings, Manon.


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 were no 486 machines with more than a GB of RAM,
and those CPUs probably don't have the features needed by HIGHMEM.
So obviously your 2.4.27-2-386 kernel has the same problem. But to be
honest, I don't know if you can use a 686 kernel on a 386 machine.

Manon.


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 firefox user agent switcher
 plugin if you have any problems with scripts not running etc.



Or in about:config set general.useragent.extra.firefox to
Firefox/2.0.0.8.

Manon.


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' in it):

cd ~
lha a work.lha work/  (pack and compress entire dir incl. sub dirs)
lha v work.lha   ( view contents)
lha x work.lha work/abc(extract only the file work/abc from the
archive).

Manon.


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 in
Opera;
Ctr+Shift+F12 in Firefox,  F12 in Konqueror; Mozilla in Shift+F12; Netscape
in Shift+F6;

OTOH, you should always be aware that what the end user sees, depends
heavily on
his/her settings. Do never expect your page to look exactly the same as on
your system.

Check out this link: http://htmlhelp.com/

Here's the intro from there website:
The Web Design Group was founded to promote the creation of non-browser
specific, non-resolution specific, creative and informative sites that are
accessible to all users worldwide. To this end, the WDG offers material on a
wide range of HTML related topics. We hope that with this site as a
reference, you will be able to create Web sites that can be used by every
person on the Internet, regardless of browser, platform, or settings.

Manon.


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 I don't have to type anything.
  Your geek cred just dropped.  Substantially.
 
 
  Why, just tell me why?

 Because you want to point and click instead of run a script.

 (Even if it's easier, that doesn't matter.)



That just ain't fair ;-) You completely ignored the fact that I wrote a
complex
script to accomplish a boring task. I think you should give me some creds
for
that. I propose just enough to return to the level I've been dropped from
:-

Greetings, Manon.


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
a variable and == compares the value of that variable to something else.
So I only have to remember not to use == in Bash and if I forget
how to do it correct, than I check my 'Bash-howto'.

Greetings, Manon.


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 found any Linux editor as versatile as GoldEd. If I could,
I wrote my own :-(

Furthermore I have complete control over menu layout and keyboard
shortcuts. I can put every menu item wherever I want and make it do
whatever I want. I could even write my own menu, deleting all default
settings. Same applies to keyboard shortcuts.

Greetings, Manon.


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 this.  Install package A.  Aptitude brings in
 package B to meet a dependancy.  Over time, you get attached to package
 B in its own right.  Later, either package A changes and doesn't need B
 or you remove A.  If you haven't told aptitude that you want to keep B,
 it will go ahead and remove it too.

 In interactive mode, you get a detailed preview (with reasons) of what
 aptitude wants to do.  You can then edit that preview to fine-tune it
 before telling aptitude to go ahead.  It really tries to protect you
 from yourself without preventing you from shooting yourself in the foot
 if that is really what you want to do.



Yeah, I had this once - don't know anymore which package - but from the
command line aptitude wanted to remove a lot that I wanted to keep. So I
had to enter interactive mode and put that stuff on hold.

Greetings, Manon.


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 that I'll keep in mind.


Greetings, Manon.


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 a task multiple times, I write a script for it in
ARexx. Arexx
is also capable of opening windows to request user input, eg. a window with
some
options. I could not find this possibility in Linux/Rexx. So I was looking
for another
language and found Python capable of doing so.

Here's an example: I've written a script in ARexx for creating mp3 files. It
has a
couple of modes: Scale - 192kbps - 256kbps - Cancel. So when I run this
script,
it opens a small window with these four options and I just have to pick the
one I
need. Then it opens another window to select the directory where I have my
.aiff
files stored (it defaults to ~/mp3/work).

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 I
don't have to type anything.


But I have a second question: Is there a programmable text editor available
(with
a nice GUI - not something like emacs where I have to remember all those
ctrl+shift+left-alt+m commands) that I can completely control from within a
Python script?


Greetings, Manon.


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 this: aptitude install new-package ?

I've been using aptitude like this all the time ever since I installed etch
with no problems whatsoever.

What's the problem of doing so and not using it's user interface?

Manon.


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. typing:
  rx mp3conv.rexx 256kbps ~/mp3/work
  Even better: I run this script from within my dir util (DirOpus ==
  Konqueror), so I don't have to type anything.

 Your geek cred just dropped.  Substantially.


Why, just tell me why?



But that's ok.  Really.  Honestly, we won't snicker about you while
 sipping pretentious and outrageously expensive microbrew.  I swear.


Beware, Big Brother's watching you :-)

Greetings, Manon.


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, you have to do
 something like this:

 if [ x$foo == x ]

 which works, but makes no sense the first time you see it.  The file-
 testing features of test are quite powerful and extensive, though
 -- there are few languages where it's quite so easy to test
 conditions like, 'is this a directory?'.


Thanks. I copied this to my 'Bash-howto'.


Greetings, Manon.


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 and some
examples that enable me to achieve what I want.

Manon.


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 kernel.
2. A couple of weeks ago I installed 2Gb RAM.
3. Because of the 2.6.18-486 kernel I could only use 1 Gb.
4. I was advised to install the 2.6.21-2-686 kernel.

Today I learned that Etch only has 2.6.18 kernel.

I'm happy with Etch. I prefer stability and security over the
advantage of having the latest packages.


Does this mean that all packages I installed after installation
of the Lenny kernel, are Lenny packages?
If so, I now have a mixed system, partly Etch and partly Lenny.

I keep a record of all aptitude update/upgrade installations and
also of all installed packages.

Could I safely install the 2.6.18 kernel and then remove/reinstall
everything that is installed after I installed the 2.6.21 kernel,
including all aptitude upgrades.

M uname -a
Linux debian 2.6.21-2-686 #1 SMP Fri Jul 13 15:05:54 UTC 2007 i686 GNU/Linux

Manon.


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
 think (?) i tried your way yesterday and got strange results but I
 deleted that test file so 


Of course I tried PATH=~/XX:$PATH before, but when that didn't work,
I tried it the way .bash_profile showed me.


Manon.


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 window, .bash_profile is executed,
coz bash is invoked as: /bin/bash --login.

On the other hand, when I open a new session, obviously there's
no need to invoke it as /bin/bash --login and thus .bashrc is executed.


I found a very useful link to learn more about shells:
http://learnlinux.tsf.org.za/courses/build/shell-scripting/ch02.html


Thanks for your response, Manon.


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 (from My Fair Lady).


Well, that wasn't exactly necessary, but: axxepted.


Greetings, Manon.


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 echo Hello World... at the end of
.bash_profile, just to see if if were executed by a new bash
session. And ... NO.

Whenever I open a new bash window, I read Hello World...
but when I open a new session, no message is shown.

So, I think the problem is whenever I open a new session,
.bash_profile isn't read anymore. But I really have no clue how
to solve this.

Greetings, Manon.


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 this is to set the path in ~/.bashrc.
 Set it like so:

 PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:$HOME/scripts

 I've tried some of the other ways discussed in the thread, and they
 didn't work. I hope this helps.



Thanks for your reply. I already discovered that adding it to .bash_profile
doesn't work, but to .bashrc does. But someone told me it should belong
in .bash_profile.

Well, I don't know, but adding it to .bashrc works and I'm glad to know
that I'm not the only one with this 'problem'.

Manon.


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 /root/scripts = $HOME/scripts while runnning as root
 running as other user this don't work, so if you gonna use only for
 one user this solution it's okay.



Thanks for your response.
Well, it's a single user machine, anyway.

Manon.


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
 Hello from bash_profile
 [EMAIL PROTECTED]:~$



It works on my system as well, for every new bash WINDOW I open,
but not for every new bash SESSION I start:

M grep Hi .bash*
.bash_profile:echo Hi from .bash_profile...
.bashrc:echo Hi from .bashrc...
M

Every newly opened bash window greets me with:
Hi from .bashrc...
Hi from .bash_profile...

Every tty greets me with:
Hi from .bashrc...
Hi from .bash_profile...

When I enter bash --login I also get:
Hi from .bashrc...
Hi from .bash_profile...
But then again, that's the same as opening a new bash window.

But whenever I open a new session in an already opened bash window,
I only get:
Hi from .bashrc...

So, from that, I conclude that it's default behavior that whenever I open
a new session, only .bashrc is read.

Anyway, thanks for the tip and for your response.

Manon.


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 start bash from an icon on my panel
(it's run as /bin/bash --login). I tried what you suggested, switched to
tty1 and logged in as manon. It said Hello World... to me, coming
from the 'echo' line I previously added to .bash_profile. Same result
in tty2.

Well, there's definitely something wrong here, but it isn't really much of a
problem no more, coz I put my scripts in ~/bin now, as Andrei suggested.
And the problem seems to be related to starting a new bash session, not
to a tty or opening a new bash window.
However, obviously something is really messed up but I don't know
where to look for a solution.

The strange thing also is, when I put PATH=~/XX:${PATH} in .bashrc
a every new  session recognizes the new path although the order is
somewhat different (for readability I replaced /home/manon with ~):

first bash window: ~/bin:~/XX:/usr/local/bin:/usr/bin:/bin:/usr/games
second session: ~/XX:/~/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
third session: ~/XX:/~/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
etc.

second bash window: ~/bin:~/XX:/usr/local/bin:/usr/bin:/bin:/usr/games
second session: ~/XX:/~/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
third session: ~/XX:/~/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
etc.

In tty1  tty2 I got: ~/bin:~/XX:/usr/local/bin:/usr/bin:/bin:/usr/games

Every tty greets me with Hello World...; every new bash window does
the same, but not a single new bash session says Hello World... to me.
So the problem seems to be related to second (or higher) bash sessions.
I thought it should inherit the path from its parent, but I'm not sure.

Confusing, huh?

Manon.


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.


That's exactly what I'm saying.

Here's what I did right after I logged in to KDE (as I'm using
~/bin for my scripts now, I did mkdir ~/XX for this example):

- open new bash window
- echo $PATH
  /home/manon/bin:/usr/local/bin:/usr/bin:/bin:/usr/games

- open second session
- echo $PATH
  /home/manon/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
- close second session

- nano .bash_profile
- entered PATH=~/XX:${PATH} at the end
- save  exit
- echo $PATH
  /home/manon/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
- . .bash_profile

/home/manon/XX:/home/manon/bin:/home/manon/bin:/usr/local/bin:/usr/bin:/bin:/usr/games

- open a second session
- echo $PATH
  /home/manon/bin:/usr/local/bin:/usr/bin:/bin:/usr/games

- open a second bash window
- echo $PATH
  /home/manon/XX:/home/manon/bin:/usr/local/bin:/usr/bin:/bin:/usr/games

- open a second session in the second window
- echo $PATH
  /home/manon/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
- close second window

- nano .bash_profile
- removed the line PATH=~/XX:${PATH}
- save  exit
- closed first window


Then I logged out from KDE and logged back in again.
I did exactly the same as written above and got exactly the same
output apart from now entering export PATH=~/XX:$PATH instead
of PATH=~/XX:${PATH} at the end of .bash_profile.

Strange, huh?

Did you also notice that after the first . .bash_profile I got
... /home/manon/bin:/home/manon/bin ...?
This ain't no typo, coz I copy/past'ed the output right from bash.


Here's my .bash_profile:

# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/login.defs
#umask 022

# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:${PATH}
fi



And here's my .bashrc:

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z $PS1 ]  return

# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ]  eval $(lesspipe)

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z $debian_chroot ]  [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi

# If this is an xterm set the title to user:dir
case $TERM in
xterm*|rxvt*)
PROMPT_COMMAND='echo -ne \033]0;${USER}: ${PWD/$HOME/~}\007'
;;
*)
;;
esac

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi

# 

PS1='M '

alias ll='ls -l --color=auto'
alias la='ls -a --color=auto'
alias al='ls -al --color=auto'
alias m0='mount /media/cdrom0'
alias m1='mount /media/cdrom1'
alias um0='umount /media/cdrom0'
alias um1='umount /media/cdrom1'
alias x='exit'
alias +='clear'


Greetings, Manon.



Confusing world, said the spider, and returned to her web :-)


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 reading of Bash-Beginners-Guide I still find it hard to
understand. But I think I gradually will make some progress.

Greetings, Manon.


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 look at their website.


Well, I find Perl easier to understand. The problem may be with some
 programmers who don't know how to write readable code... Now, the thing
 I really hate concerning python is that it is sensitive to indentation;
 this means that some operations like copy-paste or inserting a loop can
 easily destroy code. And diff -b or diff -w can't be used reliably.


Well, that's a major disadvantage to me too.


Also you need to take other things into account:
   * What the language can express and what you need (e.g. closures,
 etc.).


OK. On my Amiga I had not so much choice, so in many cases, I had to
do some work-around in order to achieve what I wanted. But in Linux, waw,
it is so comprehensive that the choices are somewhat overwhelming.

Thanks for your reply, Manon.


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
 for file in os.listdir('.'):
 root, ext = os.path.splitext(file)
 if ext.lower() == 'wav':
 mp3 = root + '.mp3'
 result = os.system(lame -h -b 160 '%s' '%s' % (file, mp3))
 if result:
 print '%s not converted' % file



Longer, yes.  Easier to follow?  Most certainly.  Superior, no
 doubt.  The
 shell example would miss WAV, Wav, wAv, etc.  Secondly the only place we
 need
 to escape the variable is when we need shell to do some work, namely the
 call
 to lame.  Finally we don't end up with '.wav.mp3' files all over the
 place.
 We can check the results easily and handle failures gracefully.  Can all
 of
 that be done in shell?  Certainly.  Is it worth doing in shell?  Not
 hardly.


On my Amiga I'm used to ARexx. It has some same advantages over AmigaDOS
like you describe above about bash vs. python. Fortunately there's
regina-rexx for
Linux. It has the same syntax and I've already written some scripts
combining
regina-rexx and grep. But I think the scope of regina-rexx is somewhat
limited
compared to python. But for the moment I can use it and gradually learn
bash,
python, perl or whatever suits me.

Greetings, Manon.


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 only
 difference being you have to be careful about indention in one case,
 braces in
 the other.  Besides, let's face it, if there is a person who puts code
 into
 place and then doesn't make the indention make sense to ensure they did
 the
 job properly is that someone who's opinion we're going to trust when it
 comes
 to decent coding practices?  Most people are going to make the indention
 match
 *anyway*.  Since pretty much every programmer's editor comes with
 de/indent a
 block of text there is no problem.


Than, probably I didn't understand it correct. I thought of it as some
prefixed
indentation. I like eg. to indent with two spaces and not four or six. But
then I
consequently stick to it. If that's what you mean, then it ain't no problem
for me.

Manon.



--
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]




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. I noticed already that I probably could do the same with 'find' as
I was used to with 'list' on my old Amiga.

Thanks for the tip, Manon.


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 tip. Those are very useful commands. I will certainly
check this out and start using them.

Greetings, Manon.


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. I didn't notice this simply because ~/bin didn't
exist (until now).

Greetings, Manon.


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 available. Something like this:

Bash Win1
  - Session 1: ~/scripts   YES
  - Session 2: ~/scriptsNO
...
  - Session X: ~/scriptsNO

Bash Win2:
  - Session 1: ~/scripts   YES
  - Session 2: ~/scriptsNO
...
  - Session X: ~/scriptsNO

etc.

So just to try, I've put 'export PATH=$HOME/scripts:$PATH' in
/etc/profile but that didn't make any difference. Then I placed it
in ~/.bashrc and yep! ~/scripts available in every session.

Is this default behavior or don't I just understand it?

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:

 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 understand I guess I better try to learn Python first.

But for now, I'm very happy with regina-rexx, to which Michael Marsh
pointed me. I've used it for many years on my old Amiga and still do.
Yesterday I installed it on Linux, and I've already written my first
script :-) But that won't keep me away from learning other languages.


I guess you don't actually switch languages, but learn new ones
 and then you end up writing more code with what you're comfortable
 with. Or with the best one for a given task.


Good point; I agree. Thanks and greetings, Manon.


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.


Thanks, I didn't think of this. I just forgot to mention it, but I also
tried adding
 'export PATH=/home/manon/scripts:$PATH' to the end of /etc/profile, but
that didn't work either. But for now, the problem is solved by adding it to
~/.bashrc.


I think the other problem is related to the mode you start a terminal
 session, whether or not bash is a login shell. There was further
 information in this thread before.


Well, at the moment, I don't quite understand this, but I think I first have
to
work my way to 'man bash'. Anyway, thanks for your reply.

Greetings, Manon.


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 give it a (power)shot.

Manon.


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 out  back in)
 the new commands you entered will then work. Musch faster then a
 logout/login.



Executing . .bash_profile makes no difference. The new dir won't show
up in another session, only if I open a new  bash window, but never in
a new session.

The only thing concerning .bashrc in .bash_profile are these lines:

# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi


But it actually is not much of a problem any more, coz I already found
some solution. Nevertheless thanks for telling how to restart .bashrc 
.bash_profile. I didn't know this.

Greetings, Manon.


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
 time. Pay particular attention to the startup information and what
 process bash goes through during startup.


Thanks for mentioning. I guess it will take some time before I grasp
the concept, but I think it will be worth while.

Greetings, Manon.


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 whichever one seems intuitive to you at the outset. Be
 prepared to realise that you've made the wrong choice and port it
 something else. ;)


I guess you're an experienced programmer, which I'm not. I don't learn
another programming language that easy, coz I only master two:
AmigaDOS and ARexx. But now I feel the need switch to Linux and
either become familiar with bash/perl/python or whatever. That's why I
asked my initial question: to not find out at some point that I've made
the wrong choice.


Don't pick a language because someone else told you it was easier to
 read. Lots of people can read perl-splatter with ease others can read
 scheme-nested-parenthesis madness like its their native tongue.


Well, maybe than, it's a matter of programming habits. That's why I didn't
think of that, coz my code mostly is pretty neatly.


You have to find some compromise that 1) works for YOU and 2) meets
 the needs of the project.


I agree. Thanks again. I appreciate your precious advise. I hope I make the
right choice, but if I don't, I'm prepared now to switch. Not regarding the
things I already learned as a waste of time, but as maybe to be valuable
at some other point in time, or at least giving me some more experience
that'll make it easier to learn something new.

Greetings, Manon.


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. That's exactly why I choose this particular distro.


Greetings, Manon.


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 'export'.

I just found out that if I add my dir to /etc/profile it's available every
time.

Thanks, Manon.


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 process. Thus any process that is a child of the parent of
 the export statement gets access to that variable.
 so this is just three actions jammed together and its processed in a way
 better expressed like this:

 SNIP

 This assignment will only exist in the shell in which it
 executed. When you exit that shell, it will disappear along with that
 shell.  That's why you put somewhere where it will get started for
 every shell...



Thanks for explaining. So I understand that export PATH=~/scripts:$PATH
concatenates ~/scripts and $PATH and sets the result to be the new
$PATH.

This is kinda like on my old Amiga where I have a 'path' command, but
where I must use the ADD option, otherwise the path would be replaced
(like using export PATH=~/scripts):
path ~/scripts add == export PATH=~/scripts:$PATH

If I want an environment variable available all the time, I should place it
in
either /etc/profile or ~/.bash_profile, right?

Manon.


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 advance, Manon.


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 you do not have root access, like one in your office or
 department or somewhere else. You can still add your local dirs to the
 PATH in ~/.bash_profile.

 For more on bash startup see
 /usr/share/doc/bash/examples/startup-files for examples.


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?


Take some time out and go thru man bash, it is a nice document.


Well, actually I'm considering to work my way through the Advanced
Bash Scripting Guide. So I'll be back in a couple of months :-)

Thanks  greetings, Manon.


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 single-user machine the distinction is meaningless, but on a
 multi-user system it's important.  Software installed publicly for everyone
 goes in the PATH set in /etc/profile, software installed in an individual
 person's home directory goes in the PATH set in ~/.bash_profile.  It's good
 to get in the habit of thinking about these distinctions, because some day
 you might be administering a machine that's used by other people.

 Generally unless you have a specific reason to put something there, you
 want to leave /etc/profile alone.



Thanks for this clear explanation.  I'll follow your advice.

Manon.


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 learn bash scripting anyway?

 If you plan to do much system administration, learning bash scripting
 is worthwhile.  There are three reasons I can think of right off the
 bat:
 - Every Unix-like system you encounter will have some version of the
 Bourne shell. Not every system will have Python.
 - You will often need to modify or maintain other people's bash
 scripts, since that's how most startup scripts and the like are written.
 - Simple bash scripts can be done right from the shell prompt, which
 is sometimes handy.



I wish I'd discovers Linux some ten years ago. I have literally hundreds of
AmigaDOS and ARexx scripts - some of them very powerful - that don't
even come close to converting to bash (or maybe python). Now I feel I've
to re-invent the wheel.

Thanks for your input, Manon.


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, thanks again! This is very useful stuff.

Greetings, 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:

$ 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.

 $ export x=y

 does both at the same time.


Thanks for explaining. To be honest, I didn't notice.



 I just found out that if I add my dir to /etc/profile it's available every
  time.

 Umm, not where I would have put it. That affects every user.
 I'd put it into ~/.bash_profile because I use bash. That way
 it would affect only me. If another user doesn't use bash as
 his shell, then he'll break.


Others also advised against modifying /etc/profile. So I reset it
to its original state and placed export PATH=~/scripts:$PATH
at the end of ~/.bash_profile. All works well now.

Thanks, Manon.


  1   2   >