Re: systemd: some more questions

2014-02-15 Thread Gian Uberto Lauri
Sons of the icon :). The shell was the very first environment I worked on where you did not need to use a special naming convention or some ad hoc command to run your programs, therefore your programs (executable binaries or scripts) became "system commands" themselves. Indeed there may be som

Re: Vim config problem in jessie

2014-02-15 Thread Frank Miles
On Sat, 15 Feb 2014 18:30:02 +0100, rpr nospam wrote: > On Sat, 15 Feb 2014 04:05:48 + (UTC), Frank Mile wrote: >> >> I should have added one more interesting detail. If I comment out the >> (python) plugin call in /etc/vim/vimrc: >> if has("autocmd") >> filetype plugin indent on >

Samba4 - random pauses

2014-02-15 Thread Lists
Hi guys, I have a home storage box running Debian, accessed exclusively from a Mac running OS 10.9 (Mavericks). A few days ago, I dist-upgraded the Debian box from Wheezy to Jessie. Since then I'm having the following issue: When accessing shares - whether copying or simply browsing the fol

Re: tor-arm warning

2014-02-15 Thread Zenaan Harkness
On 2/15/14, Zenaan Harkness wrote: > Trying to set up a Tor relay node, and the tor package recommended > tor-arm, which I installed too. > > Running "arm" gives the following warning: > 17:27:19 [ARM_NOTICE] Arm is currently running with root permissions. > This is not a good idea, and will still

Re: systemd: some more questions

2014-02-15 Thread Joel Rees
On Sun, Feb 16, 2014 at 8:44 AM, Chris Bannister wrote: > On Fri, Feb 14, 2014 at 03:39:30PM +0100, Gian Uberto Lauri wrote: >> Am I the only one there who readed this >> http://en.wikipedia.org/wiki/The_Unix_Programming_Environment? >> >> (once reading this you think that the .sh suffix is not on

Re: systemd: some more questions

2014-02-15 Thread Chris Bannister
On Fri, Feb 14, 2014 at 03:39:30PM +0100, Gian Uberto Lauri wrote: > Am I the only one there who readed this > http://en.wikipedia.org/wiki/The_Unix_Programming_Environment? > > (once reading this you think that the .sh suffix is not only > unnecessary, it is UGLY!) Well, it does save using the

Re: Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread Brian
On Sat 15 Feb 2014 at 19:38:24 +, Sharon Kimble wrote: > I have quite a few programmes already converted so I also need to be > able to use this ability on them too. I would welcome another script > that could perform this please? This is a proof of concept: A="15_Minute_Drama_-_AM_Homes_

Re: How to `echo' the core # a bash script is running on?

2014-02-15 Thread Joel Rees
On Sun, Feb 16, 2014 at 6:50 AM, Marco Ippolito wrote: > On 11 Feb 2014, at 04:09, Joel Rees wrote: > >> On Tue, Feb 11, 2014 at 9:03 AM, Chris Davies wrote: >>> Marco Ippolito wrote: How can I `echo', in `bash', the core # the current script is running on? >>> >>> This will probably do it

Re: Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread David Guntner
Sharon Kimble grabbed a keyboard and wrote: > Thanks Dave, this is what I have - > #!/bin/bash > for in in *.mp3 > do > out=`echo $in|cut -d_ -f 1-15 -` > mv $in $out.mp3 > done > > and I've run it three times on the directory, and here is some of the > outcomes - > 4_Extra_at_Bletchley_Park_-

Re: How to `echo' the core # a bash script is running on?

2014-02-15 Thread Marco Ippolito
On 11 Feb 2014, at 04:09, Joel Rees wrote: > On Tue, Feb 11, 2014 at 9:03 AM, Chris Davies wrote: >> Marco Ippolito wrote: >>> How can I `echo', in `bash', the core # the current script is running on? >> >> This will probably do it for you >>awk '{print $39}' /proc/$$/stat >> >> See proc(

Re: Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread Sharon Kimble
On Sat, 15 Feb 2014 12:31:40 -0800 David Guntner wrote: > Sharon Kimble grabbed a keyboard and wrote: > > I am using this script to convert radio programmes downloaded with > > 'get-iplayer' from '*.m4a' to '*.mp3', and it works very well. > > > > for i in *.m4a; > > do faad

Re: Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread Mark Carroll
David Guntner writes: > Mark Carroll grabbed a keyboard and wrote: (snip) >> to replace __default.m4a with .mp4 Oops, spot the typo. (-: I should mention that lest it confuse. (snip) > Very cool, and slick, too. :-) Thanks! You're very welcome. -- Mark -- To UNSUBSCRIBE, email to

Re: Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread David Guntner
Mark Carroll grabbed a keyboard and wrote: > David Guntner writes: > >> Mark Carroll grabbed a keyboard and wrote: > (snip) >>> for i in *__default\.m?? >>> do mv "$i" "`echo $i | sed 's/.\{17\}\(.\{4\}\)$/\1/'`" >>> done >> >> Ooh, yea, that looks like it would do it, way better than wha

Re: Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread Mark Carroll
David Guntner writes: > Mark Carroll grabbed a keyboard and wrote: (snip) >> for i in *__default\.m?? >> do mv "$i" "`echo $i | sed 's/.\{17\}\(.\{4\}\)$/\1/'`" >> done > > Ooh, yea, that looks like it would do it, way better than what I came up > with if it doesn't require a specific num

Re: Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread David Guntner
Mark Carroll grabbed a keyboard and wrote: > Sharon Kimble writes: > (snip) >> '15_Minute_Drama_-_AM_Homes_-_This_Book_Will_Save_Your_Life_Episode_5_b00jdlb8_default.m4a' >> >> How can I lose the '_b00jdlb8_default' section please? It is always >> in this format but with different letters an

Re: Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread Brian
On Sat 15 Feb 2014 at 19:38:24 +, Sharon Kimble wrote: > But, there is a problem. They come in this format - > '15_Minute_Drama_-_AM_Homes_-_This_Book_Will_Save_Your_Life_Episode_5_b00jdlb8_default.m4a' > > How can I lose the '_b00jdlb8_default' section please? It is always > in this fo

Re: Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread David Guntner
Sharon Kimble grabbed a keyboard and wrote: > I am using this script to convert radio programmes downloaded with > 'get-iplayer' from '*.m4a' to '*.mp3', and it works very well. > > for i in *.m4a; > do faad "$i" > x=`echo "$i"|sed -e 's/.m4a/.w

Re: Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread Mark Carroll
Sharon Kimble writes: (snip) > '15_Minute_Drama_-_AM_Homes_-_This_Book_Will_Save_Your_Life_Episode_5_b00jdlb8_default.m4a' > > How can I lose the '_b00jdlb8_default' section please? It is always > in this format but with different letters and numbers in the section > before 'default'. Per

Losing '_b00jdlb8_default' from a files name?

2014-02-15 Thread Sharon Kimble
I am using this script to convert radio programmes downloaded with 'get-iplayer' from '*.m4a' to '*.mp3', and it works very well. for i in *.m4a; do faad "$i" x=`echo "$i"|sed -e 's/.m4a/.wav/'` y=`echo "$i"|s

Re: Moving Wheezy to New Drive, et al

2014-02-15 Thread Patrick Bartek
On Sat, 15 Feb 2014, André Nunes Batista wrote: > On Mon, 2014-02-10 at 14:13 -0800, Patrick Bartek wrote: > > Well, the hard drive in my personal desktop machine has been > > running virtually continuously for 7 years, and I'm gettin' > > nervous. So, time to transfer Wheezy to a new, bigger dri

[SOLVED] Re: Missing resolutions, xrandr and nvidia

2014-02-15 Thread Alex Naysmith
On 9 February 2014 23:16, Alex Naysmith wrote: > With Debian Wheezy installed, I have the Geforce 6800 GT graphics card. > The screen flickers every few seconds with the default nouveau drivers. I > therefore installed the version 304.88 nvidia drivers [1]. > > These drivers enable 3D acceleratio

Re: Vim config problem in jessie

2014-02-15 Thread rpr nospam
On Sat, 15 Feb 2014 04:05:48 + (UTC), Frank Mile wrote: > > I should have added one more interesting detail. If I comment out the > (python) plugin call in /etc/vim/vimrc: > if has("autocmd") > filetype plugin indent on > endif > > then the tabstops work without the manual over

Re: Package Install Problem (Solved)

2014-02-15 Thread Mike
Thank you for the advice Robin, it worked like a champ! Mike On 2/15/2014 6:57 AM, Robin wrote: On 15 February 2014 13:41, Mike wrote: I am trying to install a .deb package from the local hard drive using dpkg -i .deb. It appears to read the package and then gives me a list of dependencies th

Re: Package Install Problem

2014-02-15 Thread Ralf Mardorf
On Sat, 2014-02-15 at 13:57 +, Robin wrote: > After running dpkg -i do: > apt-get -f install > which should help resolve straightforward issues. Good idea, but perhaps the OP needs to run dpkg -i --force-depends PACKAGE [rocketmouse@archlinux ~]$ llmount -w debi386; sudo systemd-nspawn -D /

Re: Package Install Problem

2014-02-15 Thread mad
Hi! How about using gdebi? DESCRIPTION gdebi lets you install local deb packages resolving and installing its dependencies. apt does the same, but only for remote (http, ftp) located packages. Cheers mad Am 15.02.2014 14:41, schrieb Mike: I am trying to install a .deb package from the

Re: Package Install Problem

2014-02-15 Thread Ralf Mardorf
On Sat, 2014-02-15 at 06:41 -0700, Mike wrote: > I am trying to install a .deb package from the local hard drive using > dpkg -i .deb. > > It appears to read the package and then gives me a list of dependencies > that are missing and that the package cannot be installed. > > The problem is that

Re: Package Install Problem

2014-02-15 Thread Robin
On 15 February 2014 13:41, Mike wrote: > I am trying to install a .deb package from the local hard drive using dpkg > -i .deb. > > It appears to read the package and then gives me a list of dependencies that > are missing and that the package cannot be installed. > > The problem is that I am tryin

Package Install Problem

2014-02-15 Thread Mike
I am trying to install a .deb package from the local hard drive using dpkg -i .deb. It appears to read the package and then gives me a list of dependencies that are missing and that the package cannot be installed. The problem is that I am trying to move over to Debian from Fedora so am a NE

Re: systemd: some more questions

2014-02-15 Thread Reco
On Fri, 14 Feb 2014 16:50:36 -0500 Tom H wrote: > On Fri, Feb 14, 2014 at 2:38 PM, Reco wrote: > > On Fri, 14 Feb 2014 13:49:03 -0500 > > Tom H wrote: > > > >> It has nothing to do with Red Hat's ifcfg network scripts or with > >> network Manager. > > > > Apparently that's why it was introduc