[SLUG] HP Laserjet p1005

2009-02-07 Thread Gerald
Hi to all,
Do you know if there is a Linux driver for the P1005 Laser Printer.
I am running PCLinuxos 2008 and The printer is not recognised.
Your thoughts will be most appreciated.
Gerald

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] 24h viewe in Evolution

2009-02-07 Thread Sebastian Spiess
Hi all,

today I did some searching and I am not sure in how far this would be a
'good' workaround. I hope someone can comment on this!

So I searched for Evolution 24h time format setting bug. There are quite
a few out there on launchpad [1] and on gnome bugs [2] as well.
But from what I read this problem has been around for quite a while and
is still not fixed. I am not a programmer but it seemed to me the
programmer 'blamed' it always on something else.

Anyway my Evolution gives me 12h time formats although everything else
on my system is set to 24h (even the Evolution calendar).

From reading the bugs I understand that it has to do with the local
settings and in how far the programs respect them.

As you might assume my locals are en_AU
$ locale
LANG=en_AU.UTF-8
LC_CTYPE=en_AU.UTF-8
LC_NUMERIC=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LC_COLLATE=en_AU.UTF-8
LC_MONETARY=en_AU.UTF-8
LC_MESSAGES=en_AU.UTF-8
LC_PAPER=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_ADDRESS=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_ALL=


As a workaround I can start Evolution from the commandline with 
$ export LC_TIME=en_DK.UTF-8  evolution
and the mails are listed in 24h format.

Now my question!? can I simply put the above command into my evolution
button? or will this break stuff? 
Or maybe there is another solution...

Thanks,

Seb

[1]
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/48128
[2] http://bugzilla.gnome.org/show_bug.cgi?id=567870 or
http://bugzilla.gnome.org/show_bug.cgi?id=350825 


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] useful bash tricks thread

2009-02-07 Thread Tony Sceats
hey that's a good one, it even works with quotes :)




On Sat, Feb 7, 2009 at 1:06 AM, Michael Chesterton
che...@chesterton.id.auwrote:


 On 06/02/2009, at 9:06 PM, Tony Sceats wrote:

  It's been a while since there's been a thread like this, so I thought it
 would be fun :)



 Here's quickie.

 if you want to rename a file by appending, for example, a .txt to the end

 mv filename{,.txt}

 or to remove .txt

 mv filename{.txt,}

 --

 http://chesterton.id.au/blog/
 http://barrang.com.au/


 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] HP Laserjet p1005

2009-02-07 Thread Grizzly(Francis Smit)
Gerald wrote:
 Hi to all,
 Do you know if there is a Linux driver for the P1005 Laser Printer.
 I am running PCLinuxos 2008 and The printer is not recognised.
 Your thoughts will be most appreciated.
 Gerald

   
Ubuntu 8.10 has it


-- 
  In my life God comes first but Linux is pretty high after that :-D
Grizzly(Francis Smit)
http://www.geekcode.com/
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GM/CS/P/PA d- s+:+ a+? C UL@ P+ L+++ E--- W+++ N+(++) K w--- M-- V-- 
PS(+) PE(-) Y+(++) PGP++ t+(++) 5 X- R- tv b+++() DI(--) D G e++(+++) h-- 
r- y-
--END GEEK CODE BLOCK--

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] useful bash tricks thread

2009-02-07 Thread Owen Townend
2009/2/6 Tony Sceats t...@fatuous.org:
 It's been a while since there's been a thread like this, so I thought it
 would be fun :)

 so, have you got any?


Really quick, basic one that most know, but is handy:
Instead of redirecting output to /dev/null simply use '-' to close the stream.
e.g.
$ find . 2-

cheers,
Owen.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: useful bash tricks thread

2009-02-07 Thread Daniel Bush


On Feb 6, 9:06 pm, Tony Sceats t...@fatuous.org wrote:
 It's been a while since there's been a thread like this, so I thought it
 would be fun :)

 so, have you got any?

 I've got 2 to share today:

 alt and then
 alt 


woo, that's kinda interesting.
It seems to pick the last word for each entry in the command-line
history?

Definitely second ctrl-r; I can't imagine a world without it.. Well i
can, I used to work with an older unix guy who used some older version
of bourne or c-shell and used !pattern (something like that) to run
previous commands.  No, never again.  Mind you, I set my shell to use
vi mode (set -o vi) which I think would freak out a lot of people.


I often have several files of related commands that I source into my
current shell.
This isn't a trick, more a set of conventions which I've found useful
to help keep me on top of things.
eg

  % . some_file.sh

This file would have the following format:

  h() {
less -EOF
VAR1: $VAR1
VAR2: $VAR2
...

func1 - do X
func2 - do Y
EOF
  }

  VAR1=some_val1
  VAR2=some_val2
  ...

  func1() {
...
  }
  func2() {
...
  }

Then you can simply do:
  % func1 ...
to run your routine.
  % h
will list the commands and their descriptions assuming you've
documented them.
There are number of plain words you can use for your function names:
go,show,build,change,list,check,log,update,start,stop etc

You might do this to parcel up a bunch of related commands for some
area or thing.  For instance, managing a database.  'go' might take
you to conf directory or put you into the database shell etc etc  It's
also a good place to stash notes if you're learning something or
documenting it - either as comments or in the h() or simply in the
functions themselves. Listing things like relevant locations and
filenames as shell VARS is good documentation too.

My other even more OT tip: if you use the commandline a lot and you
haven't tried screen, try it and become the super nerd you were
always meant to be.

--
Daniel Bush
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] HP Laserjet p1005

2009-02-07 Thread martyc
Hi,
I have this printer, and it works great.
Had your problem with Suse 11 (was a little surprised) and the Suse hplip
package wouldn't work, it 
'saw' the printer but no print jobs would come out.
The way i get it working is bypassing any distro specific package and
downloading the hplip software from
http://hplipopensource.com/hplip-web/index.html 
hope that works for you :)
Marty


-Original Message-
From: slug-boun...@slug.org.au [mailto:slug-boun...@slug.org.au] On Behalf
Of Gerald
Sent: Saturday, 7 February 2009 7:34 PM
To: slug@slug.org.au
Subject: [SLUG] HP Laserjet p1005

Hi to all,
Do you know if there is a Linux driver for the P1005 Laser Printer.
I am running PCLinuxos 2008 and The printer is not recognised.
Your thoughts will be most appreciated.
Gerald

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: useful bash tricks thread

2009-02-07 Thread Tony Sceats
On Sat, Feb 7, 2009 at 11:58 PM, Daniel Bush dlb.id...@gmail.com wrote:



 On Feb 6, 9:06 pm, Tony Sceats t...@fatuous.org wrote:
  It's been a while since there's been a thread like this, so I thought it
  would be fun :)
 
  so, have you got any?
 
  I've got 2 to share today:
 
  alt and then
  alt 
 

 woo, that's kinda interesting.
 It seems to pick the last word for each entry in the command-line
 history?


yep, kinda like !$, but this is an interactive search on the last argument
to previous commands, instead of just static 'last argument to last command'
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] useful bash tricks thread

2009-02-07 Thread jam
On Saturday 07 February 2009 10:00:05 slug-requ...@slug.org.au wrote:
 It's been a while since there's been a thread like this, so I thought it
 would be fun :)

 so, have you got any?

 I've got 2 to share today:

 alt and then
 alt 

 for interactive shells, works kinda like ctrl r or !$ - that is, it
 searches your history but in a strangely useful but different way

The petrol in this car  meaning this message is too vague - BASH does not 
do any of this READLINE in bash does so say do: 
set -o vi
and all the above is completely false, and vi stuff applies instead

So 'when using bash in emacs mode you can ... bla bla'

James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] useful bash tricks thread

2009-02-07 Thread Daniel Bush
Sorry, meant to post this to the list...

2009/2/8 jam j...@tigger.ws

 On Saturday 07 February 2009 10:00:05 slug-requ...@slug.org.au wrote:
  It's been a while since there's been a thread like this, so I thought it
  would be fun :)
 
  so, have you got any?
 
  I've got 2 to share today:
 
  alt and then
  alt 
 
  for interactive shells, works kinda like ctrl r or !$ - that is, it
  searches your history but in a strangely useful but different way

 The petrol in this car  meaning this message is too vague - BASH does
 not
 do any of this READLINE in bash does so say do:
 set -o vi
 and all the above is completely false, and vi stuff applies instead

 So 'when using bash in emacs mode you can ... bla bla'

 James
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
Daniel Bush

http://blog.web17.com.au
http://github.com/danielbush
http://web17.com.au

If we set aside all thoughts and see, there will be no such thing as mind
remaining separate; therefore, thought itself is the form of the mind. Other
than thoughts, there is no such thing as the world. ~ Sri Ramana Maharshi
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Fwd: [SLUG] useful bash tricks thread

2009-02-07 Thread Daniel Bush
I'll get this right eventually...

2009/2/8 jam j...@tigger.ws

 On Saturday 07 February 2009 10:00:05 slug-requ...@slug.org.au wrote:
  It's been a while since there's been a thread like this, so I thought it
  would be fun :)
 
  so, have you got any?
 
  I've got 2 to share today:
 
  alt and then
  alt 
 
  for interactive shells, works kinda like ctrl r or !$ - that is, it
  searches your history but in a strangely useful but different way

 The petrol in this car  meaning this message is too vague - BASH does
 not
 do any of this READLINE in bash does so say do:


Well, yeah, readline is used by bash.  But bash often seems to have it by
default (there's usually a whole section for it in the manpage).



 set -o vi
 and all the above is completely false, and vi stuff applies instead


I don't have any trouble using ctrl-r with (readline's) vi mode but I think
atl- is more problematic. Guess I'm getting the best of both worlds.


 So 'when using bash in emacs mode you can ... bla bla'

 James
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html



-- 
Daniel Bush
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html