Re: LACK OF REPONSE TO REQUESTS FOR HELP WHY?

2014-12-20 Thread Lisi Reisz
On Sunday 21 December 2014 07:38:13 tom arnall wrote:
> about a week ago i posted a question to which no one has responded. i
> think it's a reasonable question for this list. clearly folks on this
> list don't think it's worthwhile to respond to it.

Oh dear. :-(  What on earth leads you to this conclusion?  There is no 
evidence to support it at all.

> can anyone here at 
> least tell me why? 

Presumably no-one knew the answer.  You wouldn't want 2000 "Sorry, don't 
know"s would you?  The rest of us certainly woyuldn't. 

There may have been one or two people who could have answered and didn't, but 
no-one is under any kind of obligation to answer.  And they may have had 
toothache, or a rush on at work, or been getting married or have had a 
bereavement or.

> below is the email is sent to this list: 
>
> i have by the way spent about ten hours googling for an answer. the
> community seems very confused on the issue.

So perhaps the list is too.

Lisi
> ==
> I installed wheezy a week ago (with the installer which includes
> xfce), and nm-applet was working fine. But today it won't start and
> gives the message:
>
> WARNING: gnome-keyring:: couldn't connect to:
> /home/tom/.cache/keyring-4LJPFc/pkcs11: No such file or directory
> ** Message: applet now removed from the notification area
>
> (nm-applet:3589): Gdk-WARNING **: nm-applet: Fatal IO error 11
> (Resource temporarily unavailable) on X server :0.
>
>
> Is there a command line procedure to deal with this?
>
> Thanks in advance for your help,
>
> Tom Arnall
>
>
> --
> "I don't make jokes. I just watch the government and report the
> facts." Will Rogers


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201412210753.24827.lisi.re...@gmail.com



Re: LACK OF REPONSE TO REQUESTS FOR HELP WHY?

2014-12-20 Thread Jessica Litwin
If it were my box I'd fix that gnome-keyring error first, since if I
remember correctly, that's where your wifi password gets stored (which
nm-applet uses) Try this:
http://www.blackmoreops.com/2013/11/19/how-to-fix-warning-gnome-keyring-error/


and see if that helps you.

-jkl.




On Sun, Dec 21, 2014 at 2:38 AM, tom arnall  wrote:

> about a week ago i posted a question to which no one has responded. i
> think it's a reasonable question for this list. clearly folks on this
> list don't think it's worthwhile to respond to it. can anyone here at
> least tell me why?  below is the email is sent to this list:
>
> i have by the way spent about ten hours googling for an answer. the
> community seems very confused on the issue.
>
>
> ==
> I installed wheezy a week ago (with the installer which includes
> xfce), and nm-applet was working fine. But today it won't start and
> gives the message:
>
> WARNING: gnome-keyring:: couldn't connect to:
> /home/tom/.cache/keyring-4LJPFc/pkcs11: No such file or directory
> ** Message: applet now removed from the notification area
>
> (nm-applet:3589): Gdk-WARNING **: nm-applet: Fatal IO error 11
> (Resource temporarily unavailable) on X server :0.
>
>
> Is there a command line procedure to deal with this?
>
> Thanks in advance for your help,
>
> Tom Arnall
>
>
> --
> "I don't make jokes. I just watch the government and report the
> facts." Will Rogers
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> https://lists.debian.org/CAFKYrxpmkG2W-KM=5qTuYe-KXWsSV3tPmfFG-hUxm94g0q=k...@mail.gmail.com
>
>


LACK OF REPONSE TO REQUESTS FOR HELP WHY?

2014-12-20 Thread tom arnall
about a week ago i posted a question to which no one has responded. i
think it's a reasonable question for this list. clearly folks on this
list don't think it's worthwhile to respond to it. can anyone here at
least tell me why?  below is the email is sent to this list:

i have by the way spent about ten hours googling for an answer. the
community seems very confused on the issue.


==
I installed wheezy a week ago (with the installer which includes
xfce), and nm-applet was working fine. But today it won't start and
gives the message:

WARNING: gnome-keyring:: couldn't connect to:
/home/tom/.cache/keyring-4LJPFc/pkcs11: No such file or directory
** Message: applet now removed from the notification area

(nm-applet:3589): Gdk-WARNING **: nm-applet: Fatal IO error 11
(Resource temporarily unavailable) on X server :0.


Is there a command line procedure to deal with this?

Thanks in advance for your help,

Tom Arnall


--
"I don't make jokes. I just watch the government and report the
facts." Will Rogers


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAFKYrxpmkG2W-KM=5qTuYe-KXWsSV3tPmfFG-hUxm94g0q=k...@mail.gmail.com



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Doug

On 12/20/2014 11:00 PM, Charles Kroeger wrote:

On Sat, 20 Dec 2014 18:20:02 +0100
Gary Dale  wrote:


Still don't know what you have against LibreOffice. It's almost
certainly superior to WP51 in every significant way.


WP5.1 users have to have 'reveal codes' or they can't use anything else.


Don't know about 5.1--that's too old for me to remember, altho I did use it at 
one
time. But Reveal Codes is a really useful tool, and AFAIK, you don't _have_ to 
use
it. The other thing that's really nice is the ^w feature, that brings up 10 
windows
(one at a time) full of all kinds of odd-ball characters, some that you can't 
get
on the Compose key--or you would probably have to look up. Interestingly, 
Microsoft
copied that verbatim in one of the versions of MS Word! Then they dropped it. 
Maybe
the WP folks sued them?

(IIRC, 5.1 is not a graphic program. I think it competed with a non-graphic MS 
Word,
and WordStar. I used WordStar on CPM and then on DOS until I discovered 
WordPerfect.
Even after WordStar disappeared as a word processor, Turbo Pascal used its 
conventions
in programming. [I wish we still had Turbo Pascal--the earlier version without 
all the
added nonsense!])

--doug


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

Archive: https://lists.debian.org/54965d9f.7010...@optonline.net



gnome

2014-12-20 Thread Tom Arnall
WHEN I DO:

~/$ gnome-keyring-daemon --start

I GET:

Couldn't access conrol socket:
/home/tom/.cache/keyring-qGnJVR/control: No such file or directory
 GNOME_KEYRING_CONTROL=/home/tom/.cache/keyring-laCd8D
 SSH_AUTH_SOCK=/home/tom/.cache/keyring-laCd8D/ssh
 GPG_AGENT_INFO=/home/tom/.cache/keyring-laCd8D/gpg:0:1


what is this about? i've done a lot of google searching on it but have
found nothing that helps.


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



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Charles Kroeger
On Sat, 20 Dec 2014 18:20:02 +0100
Gary Dale  wrote:

> Still don't know what you have against LibreOffice. It's almost 
> certainly superior to WP51 in every significant way.

WP5.1 users have to have 'reveal codes' or they can't use anything else.

-- 
CK


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/cfmuupfi7d...@mid.individual.net



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Carl Fink
On Sat, Dec 20, 2014 at 05:28:00PM -0800, Rusi Mody wrote:

> Just yesterday struggling with making a presentation with LO Impress.
> There are some 3 dozen toolbars of which I was looking for some.
> The online docs give one line of text for each -- no icon.
> https://help.libreoffice.org/Draw/Toolbars
> 
> So the only way to figure which is 9say) the drawing toolbar
> is to keep on turning it on and off in the menu and squint to see
>  what part of the screen changes.  Quite a chore given how noisy 
> the screen is
> 
> In short:
> No MS fan here however MS Office is way better documented than LO.

Seconded.

I used to design software interfaces, and I'd be totally embarassed by OOo,
especially Impress with its commands scattered inconsistently and without a
schema among two kinds of menus and two different types of toolbar. What a
mess.
-- 
Carl Fink   nitpick...@nitpicking.com 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141221033734.gb28...@panix.com



Re: Changing permission in user's home directory

2014-12-20 Thread David Christensen

On 12/20/2014 06:15 PM, Peter Gerber wrote:

On our server we create an user for every of our customer and we run an
instance of home-made java application (as the customers respective user). The
issue is just who ever set up those servers created a home directory per user
and set up everything in that directory. Including static files needed by ngnix
for which I need to do something like $chgrp www-data  after an update.

I'm aware there is no technical reasons for having such a weird directory
constellation. The issue is just reorganizing file hierarchies on docents of
productive installations is not that easy, so I hoped for an easy work-around
for the old installations. At least until the long overdue revision of the
update and installation procedure has been done.


So:

1.  You have a shared host with user logins enabled.

2.  You have directories and files that need to be read, written, 
searched, and/or executed both by nginx and by users.


3.  Your solution is to set the group ownership and the group 
permissions on the above directories and files.


4.  The solution is currently implemented by hand.

5.  Software upgrades are stepping on your solution, requiring that it 
be re-implemented for each user after each upgrade.



It sounds like you need to automate your solution (e.g. shell script), 
and then run it after upgrading (or have the upgrader run it after every 
upgrade).  As always, your automated solution will need to pay careful 
attention to security.



David


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

Archive: https://lists.debian.org/54964490.8040...@holgerdanske.com



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Patrick Wiseman
On Sat, Dec 20, 2014 at 10:21 PM, Karen Lewellen
 wrote:
> Not you Patrick, someone else.
> I am sort of quoting
> "I still do not know what you have against 
> it is  far superior to wordperfect.
> Odd idea about a virtual machine too.
> The is far superior is the sort of thing I mean.  Especially when so many
> others have reasons to appreciate their own  word processor preferences.

OK, got it, and in full agreement :)

Patrick


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAJVvKsNPP-x3CeNGzO2QjBpH-dP1w-dgqHPy=u4-lnmqr1u...@mail.gmail.com



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Karen Lewellen

Not you Patrick, someone else.
I am sort of quoting
"I still do not know what you have against  
it is  far superior to wordperfect.

Odd idea about a virtual machine too.
The is far superior is the sort of thing I mean.  Especially when so many 
others have reasons to appreciate their own  word processor preferences.

Kare


On Sat, 20 Dec 2014, Patrick Wiseman wrote:


On Sat, Dec 20, 2014 at 8:28 PM, Karen Lewellen
 wrote:

I seem to recall making this point when i shared that while I respect the
*personal*  computing choices of others, I need not emulate them.
In fact I never asked for word processing suggestions at all.  Mine, works,
for,  me...and I think the rich thing about computing is the freedom to  use
what works for you.
What is making me smile besides the   useless discussion comment from Curt,
is the insistence, on a list that focuses on  building computer programs
from   source, and where individual contributions are encouraged...is the
suggestion that anyone at all has to use the same word processor.  That and
the idea that anyone can decide what is superior for another person's
computer choices.


I don't recall anyone in this thread suggesting that. (So if the
comment is aimed my way, it's misfired.)

Patrick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cajvvksp5ephkhvcb6us5zgcudvok1j2j-5a_b2g48j+yvma...@mail.gmail.com





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

Archive: 
https://lists.debian.org/pine.bsf.4.64.1412202216380.43...@server1.shellworld.net



Re: Changing permission in user's home directory

2014-12-20 Thread The Wanderer
On 12/20/2014 at 09:16 PM, Bob Proulx wrote:

> The Wanderer wrote:
>
>> As usual when dealing with recursive action under *nix, the answer is
>> find:
> 
> Yes!  :-)
> 
>> find -P ...
> 
>> The '-P' option tells find to never follow any symlinks.
> 
> A small comment upon the technique.  Just noting that -P is the
> default.  No need to specify it explicitly.

You're right. I just searched the man page for mentions of symlinks, to
remind myself of what the option was, and didn't read the details as
closely as I should have.

>> ... -execdir chgrp www-data {} \; ...
> 
> I suggest using the "{} +" form since it is more efficient.  And it
> has the additional advantage that it doesn't need to be escaped.

Yes, that makes sense in this case. I'm not in the habit of doing it in
most cases, however, because I commonly-enough need to use find with
commands of the form 'command option {} option +' rather than the form
'command option {} +'.

Since find can't tell what significance the additional option(s) after
the argument list would have (i.e. whether to repeat them after each
item in the argument list, or just append them once at the end), it
naturally rejects that syntax as ambiguous.

(The man page indicates that the -exec and -execdir options build their
command lines in much the same way as xargs does, and it's possible to
build the more complicated command lines I need using 'xargs -I', but if
there's a similar syntax or functionality for find I haven't found it.)

That's not to say you aren't right in suggesting that that syntax is the
better approach in this case, just to explain why I didn't think to
suggest it myself, and to point out its limitations for other people who
may read this.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Patrick Wiseman
On Sat, Dec 20, 2014 at 8:28 PM, Karen Lewellen
 wrote:
> I seem to recall making this point when i shared that while I respect the
> *personal*  computing choices of others, I need not emulate them.
> In fact I never asked for word processing suggestions at all.  Mine, works,
> for,  me...and I think the rich thing about computing is the freedom to  use
> what works for you.
> What is making me smile besides the   useless discussion comment from Curt,
> is the insistence, on a list that focuses on  building computer programs
> from   source, and where individual contributions are encouraged...is the
> suggestion that anyone at all has to use the same word processor.  That and
> the idea that anyone can decide what is superior for another person's
> computer choices.

I don't recall anyone in this thread suggesting that. (So if the
comment is aimed my way, it's misfired.)

Patrick


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cajvvksp5ephkhvcb6us5zgcudvok1j2j-5a_b2g48j+yvma...@mail.gmail.com



Re: USB drive mounted Read-only; what to do ?

2014-12-20 Thread Bob Proulx
Brian wrote:
> Bob Proulx wrote:
> > floppy group.  The console user is also set up with the floppy group
> > too.  Assuming one of libpam, consolekit, systemd-login0 and so forth.
> > Therefore the console user doesn't need to be root.  They can write to
> > the write to it directly.
> 
> It is assumed you are doing this on Wheezy. You are then the 100% correct.

Hopefully Stable is a good default assumption unless there is some
reason to assume otherwise.

> For me:
> ...
>   brw-rw---T 1 root floppy 8, 16 Dec 20 23:04 /dev/sdb
> /dev/sdb is a USB stick I've just plugged in. I am a member of the
> floppy group because d-i set the machine up that way many years ago.

Ah, yes, even without libpam, consolekit, systemd-login0 it is *also*
possible that the user is in the floppy group by specification in the
/etc/group file too.  Another "and so forth" possibility.

> Being a member of the floppy group on testing or unstable doesn't confer
> the same privileges as it does on Wheezy.

Hmm...

> From the udev changelog of Sat, 26 Apr 2014 21:37:29 +0200.
> 
>   * Drop our Debian specific 50-udev-default.rules and 91-permissions.rules
> and use the upstream rules with a patch for the remaining Debian specific
> default device permissions. Many thanks to Marco d'Itri for researching
> which Debian-specific rules are obsolete! Amongst other things, this now
> also reads the hwdb info for USB devices (Closes: #717405) and gets rid of
> some syntax errors (Closes: #706221)
> 
> 91-permissions.rules is the one to look at.

Good pointer.  Thanks for bringing this to my attention.

Sure enough on my Sid system usb storage devices are no longer placed
into the floppy group.  I hadn't notice this yet.  Below I have just
inserted a USB storage on a Sid system.

  $ ll /dev/sdg*
  brw-rw 1 root disk 8, 96 Dec 20 17:25 /dev/sdg
  brw-rw 1 root disk 8, 97 Dec 20 17:25 /dev/sdg1
  brw-rw 1 root disk 8, 98 Dec 20 17:25 /dev/sdg2

Set up as disk and not floppy.  Good heads up that things have
changed.  Hmm...  Seems like a change for the worse.

> How does a user now get to use fdisk or write to a USB stick without libpam
> etc and "so forth"? Or does it matter?

Good question.  It feels like we have come full circle.  That was the
way it was before the introduction of devfs and udev.  It appears that
things now have returned to the way it was before udev.  Which won't
bother the old-school Unix folks because we already lived through that
and already know how to deal with it.  But why haven't the next
generation started complaining about it?  If it works for them, then
how?  The changelog says they are obsolete.  But then what is the
replacement for them?

Bob


signature.asc
Description: Digital signature


Re: Changing permission in user's home directory

2014-12-20 Thread Peter Gerber
On our server we create an user for every of our customer and we run an 
instance of home-made java application (as the customers respective user). The 
issue is just who ever set up those servers created a home directory per user 
and set up everything in that directory. Including static files needed by ngnix 
for which I need to do something like $chgrp www-data  after an update.

I'm aware there is no technical reasons for having such a weird directory 
constellation. The issue is just reorganizing file hierarchies on docents of 
productive installations is not that easy, so I hoped for an easy work-around 
for the old installations. At least until the long overdue revision of the 
update and installation procedure has been done.

On Sunday 21 December 2014 02.21:39 David Christensen wrote:
> On 12/20/2014 04:11 PM, Peter Gerber wrote:
> > I want to change permission of a directory, recursively. The directory is
> > a subdirectory of a user's home directory.
> 
> Why?  To what?  E.g. what is the technical requirement(s) that forces
> you to change permission of a directory and/or it's contents, and what
> must those permissions be?
> 
> 
> David


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201412210315.22386.pe...@arbitrary.ch



Re: Changing permission in user's home directory

2014-12-20 Thread Bob Proulx
The Wanderer wrote:
> As usual when dealing with recursive action under *nix, the answer is
> find:

Yes!  :-)

> find -P ...

> The '-P' option tells find to never follow any symlinks.

A small comment upon the technique.  Just noting that -P is the
default.  No need to specify it explicitly.

-P Never follow symbolic links.  This is the default behaviour.
   When find examines or prints information a file, and the
   file is a symbolic link, the information used shall be
   taken from the properties of the symbolic link itself.

Just in case someone were to learn about -P and think they needed to
add it to all of their scripts for safety.  They don't.  It is safe
without it.  :-)

Why does -P exist?  Symmetry with -L.  Plus there are some script
techniques where it is convenient to have an explicit way to override
a previous -L by adding a -P after it.  Almost all of the commands
that have a -L (such as 'cd') also have a -P for the same reason.

   If more than one of -H, -L and -P is specified, each overrides
   the others; the last one appearing on the command line takes
   effect.  Since it is the default, the -P option  should  be
   considered to be in effect unless either -H or -L is specified.

> ... -execdir chgrp www-data {} \; ...

I suggest using the "{} +" form since it is more efficient.  And it
has the additional advantage that it doesn't need to be escaped.

   As with the -exec action, the `+' form of -execdir will build a
   command line to process more than one matched file, but any
   given invocation of command will only list files that exist in
   the same subdirectory.

Find is good stuff!

Bob


signature.asc
Description: Digital signature


Re: Changing permission in user's home directory

2014-12-20 Thread Bob Proulx
Peter Gerber wrote:
> I want to change permission of a directory, recursively. The directory is a 
> subdirectory of a user's home directory.

Sure.  Okay.  People do that all of the time.

> Is there a way to do this in a secure and easy way with the user having full 
> write access to the home directory?

Huh?  What is the question again?

> Let's assume I would change the permissions as follows
> $ chgrp -R www-data ~user/subdir

Assuming the user has already been added to the www-group so that the
chgrp command will succeed.  If they haven't been then it will fail
with operation not permitted due to insufficient permissions.

> $ chmod -R g+rwX ~user/subdir

This requires the larger question of how your web server is set up.
The default group for the web server user is www-data.  Therefore this
now creates a directory where the web server can write.  This can be
fine.  Or it can be problematic.  And no matter what there will be
some people who want it one way and others a different way.

For example a lot of web setups want to have the web process able to
write to the web code.  That way the web site is installed from the
web.  The web site is updated from the web.  A lot of people think
that is okay.  But IMNHO that is too slack.  That type of setup is why
so many web sites get trivially hacked all of the time.  Instead I
insist that the web daemon cannot write to its own code.  No self
modifying code for me as an intentional security layer.  Yes,
sometimes I do feel like a salmon swimming upstream.  But no I have
never had a web server breach either.

Of course any site supporting file uploads must have some place that
can be written to by the web server.  So it isn't always bad.

> The issue is that the user could do something like this beforehand:
> $ mv ~user/subdir ~user/subdir2
> $ ln -s / ~user/subdir
> 
> Not a very nice thing to do, is it?

If the chgrp and chmod is run as the user then they will have no
permissions upon anything elsewhere.  It is safe for them to do this.
System security will prevent it.

The danger comes when root does this and when isn't careful.  I am
assuming that is your real question.  Root is the superuser.  With
great power comes great responsibility.  Root must not fall prey to
these social engineering attacks.  However the person is always the
weakest link in security.  That is why the most successful security
attacks are against people.

However in your example above you showed a '$' prompt indicating a
non-root use of chgrp and chown.  That is fine.  No possible harm
then.  Non-root won't have any capability outside their home then.  In
fact this is probably a good strategy for root.

  # su - user
  $ chgrp -R www-data ~user/subdir
  $ chmod -R g+rwX ~user/subdir

Or rather:

  # su user -c 'chgrp -R www-data ~user/subdir'
  # su user -c 'chmod -R g+rwX ~user/subdir'

> Well, I could just change the user's permission for the home directory as 
> follows:

You could.  But for what purpose?  What are you trying to accomplish
here?  This below doesn't follow from the www daemon writability
above.  At least I don't see it.  I need a hint. :-)

> $ chown root:users-group ~user

You need root for that.  The normal user doesn't have permission.

Changing the user's home directory to be owned by root _feels_ rude to
me.  The above is certainly fine since the user will still have
permissions and I think everything still works.  (SSH, Postfix,
others, will still validate the home as secure since it is the user or
root and in this case root.)

> $ chmod g+rwx,+t

The g+w will cause problems with some programs validating the security
of the user's directory.  It depends upon their code and how they were
compiled.  I think by default Debian's ssh and postfix will find the
g+w an invalid mode for the user and will therefore fail to accept any
$HOME/.ssh or $HOME/.forward files and so forth.  I don't think
Debian's are compiled for g+w mode by default.  Which is unfortunate
because UPG user private groups by default are a good thing.

> But this seems rather error-prone. Especially because I would have to adjust 
> the permission of quite a lot of directories, some of which are not even in 
> the top level of the users' home directories. Frankly, me forgetting
> to adjust the permissions of a few directories is just to great.

Please pull up a level and say what you are trying to accomplish.

> What I now would like to know is, is there an easier way to solve the issue. 
> Like teaching chmod not to follow links. Unfortunately, I haven't found a --
> make-sure-as-hell-not-to-follow-links-in-any-way parameter or anything the 
> like.

There is most definitely an easier way.  What issue were we trying to
solve again? :-)

Maybe the issue is a hint that root should (although perhaps rarely
does interactively, but should in automated scripts) operate from the
restriction of the user and not as the superuser.  The system will
protect itself from a non-priviledged user.

  # su user

Re: Changing permission in user's home directory

2014-12-20 Thread The Wanderer
On 12/20/2014 at 07:11 PM, Peter Gerber wrote:

> I want to change permission of a directory, recursively. The directory is a 
> subdirectory of a user's home directory.
> 
> Is there a way to do this in a secure and easy way with the user having full 
> write access to the home directory?
> 
> Let's assume I would change the permissions as follows
> $ chgrp -R www-data ~user/subdir
> $ chmod -R g+rwX ~user/subdir
> 
> The issue is that the user could do something like this beforehand:
> $ mv ~user/subdir ~user/subdir2
> $ ln -s / ~user/subdir
> 
> Not a very nice thing to do, is it?
> 
> Well, I could just change the user's permission for the home directory as 
> follows:
> $ chown root:users-group ~user
> $ chmod g+rwx,+t
> 
> But this seems rather error-prone. Especially because I would have to adjust 
> the permission of quite a lot of directories, some of which are not even in 
> the top level of the users' home directories. Frankly, me forgetting to 
> adjust 
> the permissions of a few directories is just to great.
> 
> What I now would like to know is, is there an easier way to solve the issue. 
> Like teaching chmod not to follow links. Unfortunately, I haven't found a --
> make-sure-as-hell-not-to-follow-links-in-any-way parameter or anything the 
> like.

As usual when dealing with recursive action under *nix, the answer is
find:

find -P ~user/subdir -type d -execdir chgrp www-data {} \; -execdir
chmod g+rwX {} \;

should I think do what you want, and even if I've missed a point or two
somewhere it should still be a decent starting point.


The '-P' option tells find to never follow any symlinks. The rest of it
is standard find syntax; the man page is a bit long, but informative.
(In particular, you should read the section on the '-execdir' option,
since it mentions a security consideration you may want to be aware of.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Rusi Mody
On Sunday, December 21, 2014 4:40:04 AM UTC+5:30, Patrick Wiseman wrote:
> "Just a matter of" doing that? How do I make "." the fill character
> for tabs? It's by no means self evident, because I just went through
> every menu looking for it. Came across Format, Paragraph, Tabs, Fill
> Character, chose '...', clicked OK, returned to my document,
> tabbed and ... nothing. No dots, just blank tabs. So I guess I missed
> a non-obvious step.[Libre|Open]Office is one of the least intuitive
> programs I have ever used (largely because it follows Word's lead).
> Compared with WP, it's total crap.


Just yesterday struggling with making a presentation with LO Impress.
There are some 3 dozen toolbars of which I was looking for some.
The online docs give one line of text for each -- no icon.
https://help.libreoffice.org/Draw/Toolbars

So the only way to figure which is 9say) the drawing toolbar
is to keep on turning it on and off in the menu and squint to see
 what part of the screen changes.  Quite a chore given how noisy 
the screen is

In short:
No MS fan here however MS Office is way better documented than LO.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/dc20c7e5-f26c-41a5-b040-7f88c541c...@googlegroups.com



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Karen Lewellen
I seem to recall making this point when i shared that while I respect the 
*personal*  computing choices of others, I need not emulate them.
In fact I never asked for word processing suggestions at all.  Mine, 
works, for,  me...and I think the rich thing about computing is the 
freedom to  use what works for you.
What is making me smile besides the   useless discussion comment from 
Curt, is the insistence, on a list that focuses on  building computer 
programs from   source, and where individual contributions are 
encouraged...is the suggestion that anyone at all has to use the same word 
processor.  That and the idea that anyone can decide what is superior for 
another person's computer choices.
I picked this note at random because I was surprised so many were still 
talking about this.
It is called personal computer for a reason.  i honor your idea of 
personal for you,  may you , and you know who you are, learn to do the 
same.

Kare


On Sat, 20 Dec 2014, Henrique de Moraes Holschuh wrote:


On Sat, 20 Dec 2014, Lisi Reisz wrote:

On Saturday 20 December 2014 23:19:50 Gary Dale wrote:

On 20/12/14 06:17 PM, Gary Dale wrote:

On 20/12/14 06:05 PM, Patrick Wiseman wrote:

[snip]

Why do we all have to like the same word processor?


Indeed.  And some of us actually like *document* processors (best example in
Debian: lyx) for extremely consistent output (and IMHO, much higher
productivity).

There is an entire world out there of text processing that decouples
presentation from content...

--
 "One disk to rule them all, One disk to find them. One disk to bring
 them all and in the darkness grind them. In the Land of Redmond
 where the shadows lie." -- The Silicon Valley Tarot
 Henrique Holschuh


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141221011350.ga28...@khazad-dum.debian.net





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

Archive: 
https://lists.debian.org/pine.bsf.4.64.1412202019470.40...@server1.shellworld.net



Re: Changing permission in user's home directory

2014-12-20 Thread David Christensen

On 12/20/2014 04:11 PM, Peter Gerber wrote:

I want to change permission of a directory, recursively. The directory is a
subdirectory of a user's home directory.


Why?  To what?  E.g. what is the technical requirement(s) that forces 
you to change permission of a directory and/or it's contents, and what 
must those permissions be?



David


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

Archive: https://lists.debian.org/549620a3@holgerdanske.com



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Henrique de Moraes Holschuh
On Sat, 20 Dec 2014, Lisi Reisz wrote:
> On Saturday 20 December 2014 23:19:50 Gary Dale wrote:
> > On 20/12/14 06:17 PM, Gary Dale wrote:
> > > On 20/12/14 06:05 PM, Patrick Wiseman wrote:
> [snip]
> 
> Why do we all have to like the same word processor?

Indeed.  And some of us actually like *document* processors (best example in
Debian: lyx) for extremely consistent output (and IMHO, much higher
productivity).

There is an entire world out there of text processing that decouples
presentation from content...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141221011350.ga28...@khazad-dum.debian.net



Re: Screen rotation question

2014-12-20 Thread Joris Bolsens
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Could be there's no difference, but try the --rotate flag and specify
your vga connection

xrandr --output VGA1 --rotate right

On 12/05/2014 02:32 PM, Jacek Dudek wrote:
> X Error of failed request: BadMatch (invalid parameter attributes)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJUlhnhAAoJEORnMHMHY2FrWoUQAK5Z01OxG30/yTc/B8jUi4y5
r6lqTXN1NCbP4V8QCLcL0KwnNBPbmZVRe2Ut8yLeg09o1H7BVesEu07VMnIHTeUy
hfy/dKcDt8JpXxDQ5/y3pkOrkvlwt9IRGDy5G2od9k7CWhQ7y69M6pxVY9cxSbzt
4JpydPeJ7S2YwcF4taGfAcJDHfxo16cqGazNiI4nlJRJfGORSw2PMhndGfm0wS/5
QLLxInSHJkvlZ43QYNEyJvof2Zuvq/BR4t39QpH2dj/uup0x/5cIyH6Tg7KwZ+QR
Nel6mWaaGZl5DT4qFxpZm1ZDWCZ0+AuTIeB4iDhpyBugsid+9WVBKpBW7NgDWBje
BA4YQEwVjMgiXKOfwW8464FHABIxQNxtHsQHZDmPeb80o2+UIn9V+CEmWrNLe+gB
26mraGUzNKuUf+yK6higctsnA6cqXSgdtbN6mm2qMU03X0j6fLY/xaNazKDX3c81
1wD9YhJ5MpqmeWaBdwyWjjM/pTWiTWNo5V32vFeQWIpWTKG6Pcde2wLTs8g7JnuF
00z/I3G3OlJ32317YnFSysqJDjBLQUU/NaoAccjOBAiZ/NOfKfIU414k/WRCtQ2c
JTrwvEj1CZKq6y/uyMJWpI91t1NfIaEHAqdRsSjKce1RO6nKa4SyiWlWX7HBe/sR
j9duXnxBpDy6R1NoqYYN
=Ge/E
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/549619ea.20...@gmail.com



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Greg Madden
Entertaining thread..cool. Long time since I read a WP, reveal codes,
styles dust up :-)

I still use WP8 in a NT4 vbox instance for a couple of tasks..I absolutely
will not give up, I too miss the dot leader feature for my table of
contents.


I miss this feature, and a few more. I use the table function almost
exclusively,  full page tables mixed cell formatting, this is a pain with
styles  ala LO & AOO. The compelling part to AOO & LO is the freedom and
ease of archiving my business docs.

peace,
Greg

On Sat, Dec 20, 2014 at 11:05 AM, Patrick Wiseman 
wrote:
>
> On Sat, Dec 20, 2014 at 2:30 PM, Gary Dale  wrote:
> > On 20/12/14 02:15 PM, Doug wrote:
> >>
> >> On 12/20/2014 12:17 PM, Gary Dale wrote:
> >>>
> >>> On 17/12/14 11:35 PM, Karen Lewellen wrote:
> 
>  Who said anything about running windows?
>  The only windows I have are made of glass lol.
>  Although a virtual dos machine might be interesting if I find anything
>  over much  to do  with Linux.
>  Thanks for the giggle,
>  Kare
> 
> 
> >>> OK, but you can set up a UNIX virtual machine. Worst case would be
> >>> needing qemu to emulate whatever processor your WP51 version was set
> up for.
> >>>
> >>> Still don't know what you have against LibreOffice. It's almost
> certainly
> >>> superior to WP51 in every significant way.
> >>
> >>
> >> At least she doesn't have to worry about "Styles." Most people do not
> need
> >> a QuarkXpress or MS Publisher, and that's what LO is trying to be.
> >>
> >> Just like those expensive commercial programs, anyone who uses LO (or
> OO)
> >> will either have to read and learn a lot of instructions or find a
> >>
> >> different solution. My solution is TextMaker from SoftMaker, which has a
> >> free version for non-commercial use, and which seems to have just
> >>
> >> about all the features of the paid version. (I have no pecuniary
> interest
> >> in SoftMaker, a German firm.)
> >>
> >> --doug
> >
> >
> > Funny but I never had to learn about styles. However they are handier
> than
> > applying individual attributes to common elements. And while LibreOffice
> is
> > quite powerful, it's not Scribus nor Scribus-like by any stretch. It's
> just
> > a modern, feature-rich word processor. That means allowing people to use
> > styles when they want to or ignoring them when they don't.
>
> By way of example, flush-right-with-dot-leader is trivial in WP8 (the
> native WP for Linux), impossible in LibreOffice without a "style"
> which is absurdly difficult to create.
>
> Patrick
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> https://lists.debian.org/cajvvksnqh2ghtbxfpzh7j_okubvuk+vlgfen3tgvgozn9-s...@mail.gmail.com
>
>

-- 
Peace

Greg Madden


Changing permission in user's home directory

2014-12-20 Thread Peter Gerber
I want to change permission of a directory, recursively. The directory is a 
subdirectory of a user's home directory.

Is there a way to do this in a secure and easy way with the user having full 
write access to the home directory?

Let's assume I would change the permissions as follows
$ chgrp -R www-data ~user/subdir
$ chmod -R g+rwX ~user/subdir

The issue is that the user could do something like this beforehand:
$ mv ~user/subdir ~user/subdir2
$ ln -s / ~user/subdir

Not a very nice thing to do, is it?

Well, I could just change the user's permission for the home directory as 
follows:
$ chown root:users-group ~user
$ chmod g+rwx,+t

But this seems rather error-prone. Especially because I would have to adjust 
the permission of quite a lot of directories, some of which are not even in 
the top level of the users' home directories. Frankly, me forgetting to adjust 
the permissions of a few directories is just to great.

What I now would like to know is, is there an easier way to solve the issue. 
Like teaching chmod not to follow links. Unfortunately, I haven't found a --
make-sure-as-hell-not-to-follow-links-in-any-way parameter or anything the 
like.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201412210111.32524.pe...@arbitrary.ch



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Lisi Reisz
On Saturday 20 December 2014 23:19:50 Gary Dale wrote:
> On 20/12/14 06:17 PM, Gary Dale wrote:
> > On 20/12/14 06:05 PM, Patrick Wiseman wrote:
[snip]

Why do we all have to like the same word processor?

Lisi

P.S. Sorry, Gary for the off-list just now.  It wasn't aimed only at you and 
should tehrefore definitely not have come privately.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201412202352.02020.lisi.re...@gmail.com



Re: USB drive mounted Read-only; what to do ?

2014-12-20 Thread Brian
On Sat 20 Dec 2014 at 15:13:04 -0700, Bob Proulx wrote:

> Andrei POPESCU wrote:
> > Brian wrote:
> > > Renaud OLGIATI wrote:
> > > > I plug in a USB pen drive, and launch dd  to copy an iso image.
> > > > 
> > > > # dd bs=4M if=debian-live-7.6.0-amd64-rescue.iso of=/dev/sdi && sync
> > > 
> > > Thee is no need to be root to copy the ISO.
> > 
> > Of course there is no need to be root to copy an ISO file "around", but 
> > permission to write directly to the raw device is equivalent to root, so 
> > naturally this is not included in the permissions of "normal" users.
> > 
> > $ ls -l /dev/sda
> > brw-rw 1 root disk 8, 0 dec 20 23:16 /dev/sda
> 
> But removable media is mounted as part of the "floppy" group not the
> "disk" group.
> 
>   $ ls -l /dev/sd?
>   brw-rw---T 1 root disk   8,  0 Dec  9 13:24 /dev/sda
>   brw-rw---T 1 root disk   8, 16 Dec  9 13:24 /dev/sdb
>   brw-rw---T 1 root floppy 8, 32 Dec  9 13:24 /dev/sdc
> 
> Here /dev/sdc is a usb storage device and it gets set up with the
> floppy group.  The console user is also set up with the floppy group
> too.  Assuming one of libpam, consolekit, systemd-login0 and so forth.
> Therefore the console user doesn't need to be root.  They can write to
> the write to it directly.

It is assumed you are doing this on Wheezy. You are then the 100% correct.

For me:

  brian@desktop:~$ ls -l /dev/sd*
  brw-rw---T 1 root disk   8,  0 Nov 25 15:00 /dev/sda
  brw-rw---T 1 root disk   8,  1 Nov 25 15:00 /dev/sda1
  brw-rw---T 1 root disk   8,  2 Nov 25 15:00 /dev/sda2
  brw-rw---T 1 root disk   8,  3 Nov 25 15:00 /dev/sda3
  brw-rw---T 1 root disk   8,  4 Nov 25 15:00 /dev/sda4
  brw-rw---T 1 root floppy 8, 16 Dec 20 23:04 /dev/sdb
  brw-rw---T 1 root floppy 8, 17 Dec 20 23:04 /dev/sdb1

/dev/sdb is a USB stick I've just plugged in. I am a member of the
floppy group because d-i set the machine up that way many years ago.
 
> > From /usr/share/doc/base-passwd/users-and-groups.txt.gz
> > disk
> > Raw access to disks. Mostly equivalent to root access.
> 
> True for non-removable media.  Since it was declared to be a USB pen
> drive we can assume it will be in the floppy group.  And this was
> confirmed by the poster in another message:
> 
> Renaud OLGIATI wrote:
> > #   ls -l /dev/sdi
> > brw-rw---T 1 root floppy 8, 128 Dec 19 07:59 /dev/sdi

Being a member of the floppy group on testing or unstable doesn't confer
the same privileges as it does on Wheezy.

>From the udev changelog of Sat, 26 Apr 2014 21:37:29 +0200.

  * Drop our Debian specific 50-udev-default.rules and 91-permissions.rules
and use the upstream rules with a patch for the remaining Debian specific
default device permissions. Many thanks to Marco d'Itri for researching
which Debian-specific rules are obsolete! Amongst other things, this now
also reads the hwdb info for USB devices (Closes: #717405) and gets rid of
some syntax errors (Closes: #706221)

91-permissions.rules is the one to look at.

How does a user now get to use fdisk or write to a USB stick without libpam
etc and "so forth"? Or does it matter?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141220233537.gl19...@copernicus.demon.co.uk



Re: remote printing for an USB printer

2014-12-20 Thread Lisi Reisz
On Saturday 20 December 2014 21:03:50 Pierre Frenkiel wrote:
> On Sat, 20 Dec 2014, Brian wrote:
> > . . .
> > This shows you have the android correctly set up for printing.
>
>    not exactly: I said that I didn't have anything to setup: just launching
> the application and wait for 10 seconds.
>    I think that a so mature OS as Debian should provide the same
>    facility.
>    This also shows that the sharing is correctly setup on the server side.

Right.  I have sorted it out.  The defaults in CUPS have been changed, 
possibly by upstream.

Go into CUPS web interface.  Go to Administration -> printers -> click on the 
printer that you want -> click on the administration drop down menu and alter 
the server settings to give you what you want.

Took me a few minutes of exploring.

Lisi


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201412202323.01498.lisi.re...@gmail.com



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Gary Dale

On 20/12/14 06:17 PM, Gary Dale wrote:

On 20/12/14 06:05 PM, Patrick Wiseman wrote:

Sorry, meant to send that to Debian user; will do so now, so ignore
until it arrives that way.

On Sat, Dec 20, 2014 at 6:04 PM, Patrick Wiseman  
wrote:
On Sat, Dec 20, 2014 at 5:26 PM, Gary Dale  
wrote:

On 20/12/14 03:34 PM, Patrick Wiseman wrote:
On Sat, Dec 20, 2014 at 3:25 PM, Lisi Reisz  
wrote:

On Saturday 20 December 2014 20:05:43 Patrick Wiseman wrote:
On Sat, Dec 20, 2014 at 2:30 PM, Gary Dale 
 wrote:

On 20/12/14 02:15 PM, Doug wrote:

On 12/20/2014 12:17 PM, Gary Dale wrote:

On 17/12/14 11:35 PM, Karen Lewellen wrote:

Who said anything about running windows?
The only windows I have are made of glass lol.
Although a virtual dos machine might be interesting if I find
anything
over much  to do  with Linux.
Thanks for the giggle,
Kare
OK, but you can set up a UNIX virtual machine. Worst case 
would be
needing qemu to emulate whatever processor your WP51 version 
was set

up
for.

Still don't know what you have against LibreOffice. It's almost
certainly superior to WP51 in every significant way.
At least she doesn't have to worry about "Styles." Most people 
do not
need a QuarkXpress or MS Publisher, and that's what LO is 
trying to

be.

Just like those expensive commercial programs, anyone who uses 
LO (or
OO) will either have to read and learn a lot of instructions 
or find a


different solution. My solution is TextMaker from SoftMaker, 
which has

a
free version for non-commercial use, and which seems to have just

about all the features of the paid version. (I have no pecuniary
interest in SoftMaker, a German firm.)

--doug
Funny but I never had to learn about styles. However they are 
handier

than applying individual attributes to common elements. And while
LibreOffice is quite powerful, it's not Scribus nor 
Scribus-like by any
stretch. It's just a modern, feature-rich word processor. That 
means
allowing people to use styles when they want to or ignoring 
them when

they don't.
By way of example, flush-right-with-dot-leader is trivial in WP8 
(the

native WP for Linux), impossible in LibreOffice without a "style"
which is absurdly difficult to create.

What does that mean, and why would one want to do it?

It's often used in tables of contents, with the topic on the left,
dots to the right , page number at the far right. And it has
other uses. In WP8, it was achieved with a keyboard combo
(Alt-Shift-F8 if memory serves, which it probably doesn't). 
Creating a

style in Word, OpenOffice or LibreOffice is, as I said, absurdly
complicated, to do a very simple thing.

Patrick


That's just a matter of inserting the "." fill character between 
the topic
name and the page number. You can do it manually by entering the 
topic name,

tabbing over to the right-aligned page number using "." as the fill
character.

"Just a matter of" doing that? How do I make "." the fill character
for tabs? It's by no means self evident, because I just went through
every menu looking for it. Came across Format, Paragraph, Tabs, Fill
Character, chose '...', clicked OK, returned to my document,
tabbed and ... nothing. No dots, just blank tabs. So I guess I missed
a non-obvious step.[Libre|Open]Office is one of the least intuitive
programs I have ever used (largely because it follows Word's lead).
Compared with WP, it's total crap.

Patrick

Perhaps non-obvious is in the eyes of the beholder. The steps are simple:
1) select the entire table,
2) go to format | paragraph | tabs and set the fill character, then
3) define the tab - in this case perhaps right-justified at 6"
4) return to your table of contents and position the cursor before the 
first page number,

5) hit ,
6) repeat for remaining topics.

I thought it was relatively simple.


BTW: you do have to hit "new" to actually create the tab. It then 
appears in the column of defined tabs.



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

Archive: https://lists.debian.org/54960416.5000...@torfree.net



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Gary Dale

On 20/12/14 06:05 PM, Patrick Wiseman wrote:

Sorry, meant to send that to Debian user; will do so now, so ignore
until it arrives that way.

On Sat, Dec 20, 2014 at 6:04 PM, Patrick Wiseman  wrote:

On Sat, Dec 20, 2014 at 5:26 PM, Gary Dale  wrote:

On 20/12/14 03:34 PM, Patrick Wiseman wrote:

On Sat, Dec 20, 2014 at 3:25 PM, Lisi Reisz  wrote:

On Saturday 20 December 2014 20:05:43 Patrick Wiseman wrote:

On Sat, Dec 20, 2014 at 2:30 PM, Gary Dale  wrote:

On 20/12/14 02:15 PM, Doug wrote:

On 12/20/2014 12:17 PM, Gary Dale wrote:

On 17/12/14 11:35 PM, Karen Lewellen wrote:

Who said anything about running windows?
The only windows I have are made of glass lol.
Although a virtual dos machine might be interesting if I find
anything
over much  to do  with Linux.
Thanks for the giggle,
Kare

OK, but you can set up a UNIX virtual machine. Worst case would be
needing qemu to emulate whatever processor your WP51 version was set
up
for.

Still don't know what you have against LibreOffice. It's almost
certainly superior to WP51 in every significant way.

At least she doesn't have to worry about "Styles." Most people do not
need a QuarkXpress or MS Publisher, and that's what LO is trying to
be.

Just like those expensive commercial programs, anyone who uses LO (or
OO) will either have to read and learn a lot of instructions or find a

different solution. My solution is TextMaker from SoftMaker, which has
a
free version for non-commercial use, and which seems to have just

about all the features of the paid version. (I have no pecuniary
interest in SoftMaker, a German firm.)

--doug

Funny but I never had to learn about styles. However they are handier
than applying individual attributes to common elements. And while
LibreOffice is quite powerful, it's not Scribus nor Scribus-like by any
stretch. It's just a modern, feature-rich word processor. That means
allowing people to use styles when they want to or ignoring them when
they don't.

By way of example, flush-right-with-dot-leader is trivial in WP8 (the
native WP for Linux), impossible in LibreOffice without a "style"
which is absurdly difficult to create.

What does that mean, and why would one want to do it?

It's often used in tables of contents, with the topic on the left,
dots to the right , page number at the far right. And it has
other uses. In WP8, it was achieved with a keyboard combo
(Alt-Shift-F8 if memory serves, which it probably doesn't). Creating a
style in Word, OpenOffice or LibreOffice is, as I said, absurdly
complicated, to do a very simple thing.

Patrick



That's just a matter of inserting the "." fill character between the topic
name and the page number. You can do it manually by entering the topic name,
tabbing over to the right-aligned page number using "." as the fill
character.

"Just a matter of" doing that? How do I make "." the fill character
for tabs? It's by no means self evident, because I just went through
every menu looking for it. Came across Format, Paragraph, Tabs, Fill
Character, chose '...', clicked OK, returned to my document,
tabbed and ... nothing. No dots, just blank tabs. So I guess I missed
a non-obvious step.[Libre|Open]Office is one of the least intuitive
programs I have ever used (largely because it follows Word's lead).
Compared with WP, it's total crap.

Patrick

Perhaps non-obvious is in the eyes of the beholder. The steps are simple:
1) select the entire table,
2) go to format | paragraph | tabs and set the fill character, then
3) define the tab - in this case perhaps right-justified at 6"
4) return to your table of contents and position the cursor before the 
first page number,

5) hit ,
6) repeat for remaining topics.

I thought it was relatively simple.


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

Archive: https://lists.debian.org/54960399.70...@torfree.net



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Patrick Wiseman
On Sat, Dec 20, 2014 at 5:26 PM, Gary Dale  wrote:
> On 20/12/14 03:34 PM, Patrick Wiseman wrote:
>>
>> On Sat, Dec 20, 2014 at 3:25 PM, Lisi Reisz  wrote:
>>>
>>> On Saturday 20 December 2014 20:05:43 Patrick Wiseman wrote:

 On Sat, Dec 20, 2014 at 2:30 PM, Gary Dale  wrote:
>
> On 20/12/14 02:15 PM, Doug wrote:
>>
>> On 12/20/2014 12:17 PM, Gary Dale wrote:
>>>
>>> On 17/12/14 11:35 PM, Karen Lewellen wrote:

 Who said anything about running windows?
 The only windows I have are made of glass lol.
 Although a virtual dos machine might be interesting if I find
 anything
 over much  to do  with Linux.
 Thanks for the giggle,
 Kare
>>>
>>> OK, but you can set up a UNIX virtual machine. Worst case would be
>>> needing qemu to emulate whatever processor your WP51 version was set
>>> up
>>> for.
>>>
>>> Still don't know what you have against LibreOffice. It's almost
>>> certainly superior to WP51 in every significant way.
>>
>> At least she doesn't have to worry about "Styles." Most people do not
>> need a QuarkXpress or MS Publisher, and that's what LO is trying to
>> be.
>>
>> Just like those expensive commercial programs, anyone who uses LO (or
>> OO) will either have to read and learn a lot of instructions or find a
>>
>> different solution. My solution is TextMaker from SoftMaker, which has
>> a
>> free version for non-commercial use, and which seems to have just
>>
>> about all the features of the paid version. (I have no pecuniary
>> interest in SoftMaker, a German firm.)
>>
>> --doug
>
> Funny but I never had to learn about styles. However they are handier
> than applying individual attributes to common elements. And while
> LibreOffice is quite powerful, it's not Scribus nor Scribus-like by any
> stretch. It's just a modern, feature-rich word processor. That means
> allowing people to use styles when they want to or ignoring them when
> they don't.

 By way of example, flush-right-with-dot-leader is trivial in WP8 (the
 native WP for Linux), impossible in LibreOffice without a "style"
 which is absurdly difficult to create.
>>>
>>> What does that mean, and why would one want to do it?
>>
>> It's often used in tables of contents, with the topic on the left,
>> dots to the right , page number at the far right. And it has
>> other uses. In WP8, it was achieved with a keyboard combo
>> (Alt-Shift-F8 if memory serves, which it probably doesn't). Creating a
>> style in Word, OpenOffice or LibreOffice is, as I said, absurdly
>> complicated, to do a very simple thing.
>>
>> Patrick
>>
>>
> That's just a matter of inserting the "." fill character between the topic
> name and the page number. You can do it manually by entering the topic name,
> tabbing over to the right-aligned page number using "." as the fill
> character.

"Just a matter of" doing that? How do I make "." the fill character
for tabs? It's by no means self evident, because I just went through
every menu looking for it. Came across Format, Paragraph, Tabs, Fill
Character, chose '...', clicked OK, returned to my document,
tabbed and ... nothing. No dots, just blank tabs. So I guess I missed
a non-obvious step.[Libre|Open]Office is one of the least intuitive
programs I have ever used (largely because it follows Word's lead).
Compared with WP, it's total crap.

Patrick


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



Re: remote printing for an USB printer

2014-12-20 Thread Lisi Reisz
On Saturday 20 December 2014 21:03:50 Pierre Frenkiel wrote:
> On Sat, 20 Dec 2014, Brian wrote:
> > . . .
> > This shows you have the android correctly set up for printing.
>
>    not exactly: I said that I didn't have anything to setup: just launching
> the application and wait for 10 seconds.
>    I think that a so mature OS as Debian should provide the same
>    facility.
>    This also shows that the sharing is correctly setup on the server side.

It did.  CUPS just found the printer and used it.  But it has just failed or 
me.  Debian does normally provide the same facility.   In fact, in my 
experience it shouldn't take ten seconds, it should just be there.  I'll see 
if I can get mine working again, and report back.

Lisi


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201412202303.36646.lisi.re...@gmail.com



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Gary Dale

On 20/12/14 03:34 PM, Patrick Wiseman wrote:

On Sat, Dec 20, 2014 at 3:25 PM, Lisi Reisz  wrote:

On Saturday 20 December 2014 20:05:43 Patrick Wiseman wrote:

On Sat, Dec 20, 2014 at 2:30 PM, Gary Dale  wrote:

On 20/12/14 02:15 PM, Doug wrote:

On 12/20/2014 12:17 PM, Gary Dale wrote:

On 17/12/14 11:35 PM, Karen Lewellen wrote:

Who said anything about running windows?
The only windows I have are made of glass lol.
Although a virtual dos machine might be interesting if I find anything
over much  to do  with Linux.
Thanks for the giggle,
Kare

OK, but you can set up a UNIX virtual machine. Worst case would be
needing qemu to emulate whatever processor your WP51 version was set up
for.

Still don't know what you have against LibreOffice. It's almost
certainly superior to WP51 in every significant way.

At least she doesn't have to worry about "Styles." Most people do not
need a QuarkXpress or MS Publisher, and that's what LO is trying to be.

Just like those expensive commercial programs, anyone who uses LO (or
OO) will either have to read and learn a lot of instructions or find a

different solution. My solution is TextMaker from SoftMaker, which has a
free version for non-commercial use, and which seems to have just

about all the features of the paid version. (I have no pecuniary
interest in SoftMaker, a German firm.)

--doug

Funny but I never had to learn about styles. However they are handier
than applying individual attributes to common elements. And while
LibreOffice is quite powerful, it's not Scribus nor Scribus-like by any
stretch. It's just a modern, feature-rich word processor. That means
allowing people to use styles when they want to or ignoring them when
they don't.

By way of example, flush-right-with-dot-leader is trivial in WP8 (the
native WP for Linux), impossible in LibreOffice without a "style"
which is absurdly difficult to create.

What does that mean, and why would one want to do it?

It's often used in tables of contents, with the topic on the left,
dots to the right , page number at the far right. And it has
other uses. In WP8, it was achieved with a keyboard combo
(Alt-Shift-F8 if memory serves, which it probably doesn't). Creating a
style in Word, OpenOffice or LibreOffice is, as I said, absurdly
complicated, to do a very simple thing.

Patrick


That's just a matter of inserting the "." fill character between the 
topic name and the page number. You can do it manually by entering the 
topic name, tabbing over to the right-aligned page number using "." as 
the fill character.


You don't need styles. You just need to format the paragraph that way. 
You can automate it if you want, but probably not worth it if you don't 
have a lot of topics to enter.



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

Archive: https://lists.debian.org/5495f784.8010...@torfree.net



Re: USB drive mounted Read-only; what to do ?

2014-12-20 Thread Bob Proulx
Andrei POPESCU wrote:
> Brian wrote:
> > Renaud OLGIATI wrote:
> > > I plug in a USB pen drive, and launch dd  to copy an iso image.
> > > 
> > > # dd bs=4M if=debian-live-7.6.0-amd64-rescue.iso of=/dev/sdi && sync
> > 
> > Thee is no need to be root to copy the ISO.
> 
> Of course there is no need to be root to copy an ISO file "around", but 
> permission to write directly to the raw device is equivalent to root, so 
> naturally this is not included in the permissions of "normal" users.
> 
> $ ls -l /dev/sda
> brw-rw 1 root disk 8, 0 dec 20 23:16 /dev/sda

But removable media is mounted as part of the "floppy" group not the
"disk" group.

  $ ls -l /dev/sd?
  brw-rw---T 1 root disk   8,  0 Dec  9 13:24 /dev/sda
  brw-rw---T 1 root disk   8, 16 Dec  9 13:24 /dev/sdb
  brw-rw---T 1 root floppy 8, 32 Dec  9 13:24 /dev/sdc

Here /dev/sdc is a usb storage device and it gets set up with the
floppy group.  The console user is also set up with the floppy group
too.  Assuming one of libpam, consolekit, systemd-login0 and so forth.
Therefore the console user doesn't need to be root.  They can write to
the write to it directly.

> From /usr/share/doc/base-passwd/users-and-groups.txt.gz
> disk
> Raw access to disks. Mostly equivalent to root access.

True for non-removable media.  Since it was declared to be a USB pen
drive we can assume it will be in the floppy group.  And this was
confirmed by the poster in another message:

Renaud OLGIATI wrote:
> #   ls -l /dev/sdi
> brw-rw---T 1 root floppy 8, 128 Dec 19 07:59 /dev/sdi

Bob


signature.asc
Description: Digital signature


Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Gary Dale

On 20/12/14 03:35 PM, Doug wrote:

On 12/20/2014 02:30 PM, Gary Dale wrote:

On 20/12/14 02:15 PM, Doug wrote:

On 12/20/2014 12:17 PM, Gary Dale wrote:

On 17/12/14 11:35 PM, Karen Lewellen wrote:

Who said anything about running windows?
The only windows I have are made of glass lol.
Although a virtual dos machine might be interesting if I find 
anything over much  to do  with Linux.

Thanks for the giggle,
Kare


OK, but you can set up a UNIX virtual machine. Worst case would be 
needing qemu to emulate whatever processor your WP51 version was 
set up for.


Still don't know what you have against LibreOffice. It's almost 
certainly superior to WP51 in every significant way.


At least she doesn't have to worry about "Styles."


Funny but I never had to learn about styles. However they are handier 
than applying individual attributes to common elements. And while 
LibreOffice is quite powerful, it's not Scribus nor Scribus-like by 
any stretch. It's just a modern, feature-rich word processor. That 
means allowing people to use styles when they want to or ignoring 
them when they don't.



Not true! You can't even modify an indent without messing with styles. 
Drove me crazy!


--doug

I just tested that claim and it's false. I did the normal thing - opened 
format | paragraph and changed the indent. When I was finished writing 
with that indent, I did the same thing only removing the extra indent.



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

Archive: https://lists.debian.org/5495f34c.1040...@torfree.net



Re: USB drive mounted Read-only; what to do ?

2014-12-20 Thread Andrei POPESCU
On Vi, 19 dec 14, 10:15:32, Brian wrote:
> On Fri 19 Dec 2014 at 05:45:33 -0300, Renaud OLGIATI wrote:
> 
> > I plug in a USB pen drive, and launch dd  to copy an iso image.
> > 
> > # dd bs=4M if=debian-live-7.6.0-amd64-rescue.iso of=/dev/sdi && sync
> 
> Thee is no need to be root to copy the ISO.

Of course there is no need to be root to copy an ISO file "around", but 
permission to write directly to the raw device is equivalent to root, so 
naturally this is not included in the permissions of "normal" users.

$ ls -l /dev/sda
brw-rw 1 root disk 8, 0 dec 20 23:16 /dev/sda

From /usr/share/doc/base-passwd/users-and-groups.txt.gz

disk

Raw access to disks. Mostly equivalent to root access.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: remote printing for an USB printer

2014-12-20 Thread Pierre Frenkiel

On Sat, 20 Dec 2014, Brian wrote:


. . .
This shows you have the android correctly set up for printing.


  not exactly: I said that I didn't have anything to setup: just launching the
  application and wait for 10 seconds.
  I think that a so mature OS as Debian should provide the same
  facility.
  This also shows that the sharing is correctly setup on the server side.

. . .
This shows you do not have the wheezy client correctly set up for
printing.

  very useful! If the client was correctly setup, I sould not need to
  post for help...


"Successfully"? In what way?
Either the job was successful or it wasn't. Which is it? Printing or no
printing?

   I thought I clearly described what happened:
  - I get a paper sheet whose content is what I sent to the printer, but:
  - on the client, the job remains in the queues, and the printer is
marked as "stopped"
  - on the server, the printer queue grows indefinitely, and the printer
spits page after page, until I cancel the job on the client, and all
jobs on the server.

   I don't see an other way to describe more clearly what is happening.


Enable debug logging on client and server; cupsctl(8). Print. Examine logs.


   Ok. I'll see whether this can lead to some explanation


Say what cups version is on the server.

  on the server: 1.7.5-9 (jessie, i386)
  on the client: 1.5.3-5+deb7u4 (wheezy, amd64)

best regards,
--
Pierre Frenkiel


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

Archive: 
https://lists.debian.org/alpine.deb.2.11.1412202126130.11...@pfr2.frenkiel-hure.net



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Doug

On 12/20/2014 02:30 PM, Gary Dale wrote:

On 20/12/14 02:15 PM, Doug wrote:

On 12/20/2014 12:17 PM, Gary Dale wrote:

On 17/12/14 11:35 PM, Karen Lewellen wrote:

Who said anything about running windows?
The only windows I have are made of glass lol.
Although a virtual dos machine might be interesting if I find anything over 
much  to do  with Linux.
Thanks for the giggle,
Kare



OK, but you can set up a UNIX virtual machine. Worst case would be needing qemu 
to emulate whatever processor your WP51 version was set up for.

Still don't know what you have against LibreOffice. It's almost certainly 
superior to WP51 in every significant way.


At least she doesn't have to worry about "Styles."


Funny but I never had to learn about styles. However they are handier than 
applying individual attributes to common elements. And while LibreOffice is 
quite powerful, it's not Scribus nor Scribus-like by any stretch. It's just a 
modern, feature-rich word processor. That means allowing people to use styles 
when they want to or ignoring them when they don't.



Not true! You can't even modify an indent without messing with styles. Drove me 
crazy!

--doug


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

Archive: https://lists.debian.org/5495dd81.5090...@optonline.net



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Patrick Wiseman
On Sat, Dec 20, 2014 at 3:25 PM, Lisi Reisz  wrote:
> On Saturday 20 December 2014 20:05:43 Patrick Wiseman wrote:
>> On Sat, Dec 20, 2014 at 2:30 PM, Gary Dale  wrote:
>> > On 20/12/14 02:15 PM, Doug wrote:
>> >> On 12/20/2014 12:17 PM, Gary Dale wrote:
>> >>> On 17/12/14 11:35 PM, Karen Lewellen wrote:
>>  Who said anything about running windows?
>>  The only windows I have are made of glass lol.
>>  Although a virtual dos machine might be interesting if I find anything
>>  over much  to do  with Linux.
>>  Thanks for the giggle,
>>  Kare
>> >>>
>> >>> OK, but you can set up a UNIX virtual machine. Worst case would be
>> >>> needing qemu to emulate whatever processor your WP51 version was set up
>> >>> for.
>> >>>
>> >>> Still don't know what you have against LibreOffice. It's almost
>> >>> certainly superior to WP51 in every significant way.
>> >>
>> >> At least she doesn't have to worry about "Styles." Most people do not
>> >> need a QuarkXpress or MS Publisher, and that's what LO is trying to be.
>> >>
>> >> Just like those expensive commercial programs, anyone who uses LO (or
>> >> OO) will either have to read and learn a lot of instructions or find a
>> >>
>> >> different solution. My solution is TextMaker from SoftMaker, which has a
>> >> free version for non-commercial use, and which seems to have just
>> >>
>> >> about all the features of the paid version. (I have no pecuniary
>> >> interest in SoftMaker, a German firm.)
>> >>
>> >> --doug
>> >
>> > Funny but I never had to learn about styles. However they are handier
>> > than applying individual attributes to common elements. And while
>> > LibreOffice is quite powerful, it's not Scribus nor Scribus-like by any
>> > stretch. It's just a modern, feature-rich word processor. That means
>> > allowing people to use styles when they want to or ignoring them when
>> > they don't.
>>
>> By way of example, flush-right-with-dot-leader is trivial in WP8 (the
>> native WP for Linux), impossible in LibreOffice without a "style"
>> which is absurdly difficult to create.
>
> What does that mean, and why would one want to do it?

It's often used in tables of contents, with the topic on the left,
dots to the right , page number at the far right. And it has
other uses. In WP8, it was achieved with a keyboard combo
(Alt-Shift-F8 if memory serves, which it probably doesn't). Creating a
style in Word, OpenOffice or LibreOffice is, as I said, absurdly
complicated, to do a very simple thing.

Patrick


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



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Lisi Reisz
On Saturday 20 December 2014 20:05:43 Patrick Wiseman wrote:
> On Sat, Dec 20, 2014 at 2:30 PM, Gary Dale  wrote:
> > On 20/12/14 02:15 PM, Doug wrote:
> >> On 12/20/2014 12:17 PM, Gary Dale wrote:
> >>> On 17/12/14 11:35 PM, Karen Lewellen wrote:
>  Who said anything about running windows?
>  The only windows I have are made of glass lol.
>  Although a virtual dos machine might be interesting if I find anything
>  over much  to do  with Linux.
>  Thanks for the giggle,
>  Kare
> >>>
> >>> OK, but you can set up a UNIX virtual machine. Worst case would be
> >>> needing qemu to emulate whatever processor your WP51 version was set up
> >>> for.
> >>>
> >>> Still don't know what you have against LibreOffice. It's almost
> >>> certainly superior to WP51 in every significant way.
> >>
> >> At least she doesn't have to worry about "Styles." Most people do not
> >> need a QuarkXpress or MS Publisher, and that's what LO is trying to be.
> >>
> >> Just like those expensive commercial programs, anyone who uses LO (or
> >> OO) will either have to read and learn a lot of instructions or find a
> >>
> >> different solution. My solution is TextMaker from SoftMaker, which has a
> >> free version for non-commercial use, and which seems to have just
> >>
> >> about all the features of the paid version. (I have no pecuniary
> >> interest in SoftMaker, a German firm.)
> >>
> >> --doug
> >
> > Funny but I never had to learn about styles. However they are handier
> > than applying individual attributes to common elements. And while
> > LibreOffice is quite powerful, it's not Scribus nor Scribus-like by any
> > stretch. It's just a modern, feature-rich word processor. That means
> > allowing people to use styles when they want to or ignoring them when
> > they don't.
>
> By way of example, flush-right-with-dot-leader is trivial in WP8 (the
> native WP for Linux), impossible in LibreOffice without a "style"
> which is absurdly difficult to create.

What does that mean, and why would one want to do it?

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201412202025.13652.lisi.re...@gmail.com



Re: remote printing for an USB printer

2014-12-20 Thread Brian
On Sat 20 Dec 2014 at 16:25:40 +0100, Pierre Frenkiel wrote:

> I have a HP photosmmart printer connected via USB to my Debian desktop.
> On my android tablet,the "printershare" application found it immedialty,
> without providing it any information (just: "look on the wifi network"). and
> the installation was done in less that 10 seconds.

This shows you have the android correctly set up for printing.
 
> On my wheezy laptop, it's almost a nightmare. I tried all documented methods

This shows you do not have the wheezy client correctly set up for
printing.

> (system-config-printer, http://localhst:631/printers), and
> no one worked. My last attempt was  to add in /etc/cups/cupsd.conf
>  "listen 192.168.1.12"
> That seemed to work, as lpstat -a showed me all the printer
> queues of the server, and I could succesfully print a job, but:

"Successfully"? In what way?
 
>   - on the client, the job remains in the queues, and the printer is
>  marked as "stopped"
>   - on the server, the printer queue grows indefinitely, and the printer
> spit page after page, until I cancel the job on the client, and all
> jobs on the server.

Either the job was successful or it wasn't. Which is it? Printing or no
printing?

> I have exactly the same problem on a second laptop, also running wheezy.

You have both laptops set up the same way.
 
> What can I try now?

Enable debug logging on client and server; cupsctl(8). Print. Examine logs.

Say what cups version is on the server.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141220201814.gk19...@copernicus.demon.co.uk



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Patrick Wiseman
On Sat, Dec 20, 2014 at 2:30 PM, Gary Dale  wrote:
> On 20/12/14 02:15 PM, Doug wrote:
>>
>> On 12/20/2014 12:17 PM, Gary Dale wrote:
>>>
>>> On 17/12/14 11:35 PM, Karen Lewellen wrote:

 Who said anything about running windows?
 The only windows I have are made of glass lol.
 Although a virtual dos machine might be interesting if I find anything
 over much  to do  with Linux.
 Thanks for the giggle,
 Kare


>>> OK, but you can set up a UNIX virtual machine. Worst case would be
>>> needing qemu to emulate whatever processor your WP51 version was set up for.
>>>
>>> Still don't know what you have against LibreOffice. It's almost certainly
>>> superior to WP51 in every significant way.
>>
>>
>> At least she doesn't have to worry about "Styles." Most people do not need
>> a QuarkXpress or MS Publisher, and that's what LO is trying to be.
>>
>> Just like those expensive commercial programs, anyone who uses LO (or OO)
>> will either have to read and learn a lot of instructions or find a
>>
>> different solution. My solution is TextMaker from SoftMaker, which has a
>> free version for non-commercial use, and which seems to have just
>>
>> about all the features of the paid version. (I have no pecuniary interest
>> in SoftMaker, a German firm.)
>>
>> --doug
>
>
> Funny but I never had to learn about styles. However they are handier than
> applying individual attributes to common elements. And while LibreOffice is
> quite powerful, it's not Scribus nor Scribus-like by any stretch. It's just
> a modern, feature-rich word processor. That means allowing people to use
> styles when they want to or ignoring them when they don't.

By way of example, flush-right-with-dot-leader is trivial in WP8 (the
native WP for Linux), impossible in LibreOffice without a "style"
which is absurdly difficult to create.

Patrick


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cajvvksnqh2ghtbxfpzh7j_okubvuk+vlgfen3tgvgozn9-s...@mail.gmail.com



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Gary Dale

On 20/12/14 02:15 PM, Doug wrote:

On 12/20/2014 12:17 PM, Gary Dale wrote:

On 17/12/14 11:35 PM, Karen Lewellen wrote:

Who said anything about running windows?
The only windows I have are made of glass lol.
Although a virtual dos machine might be interesting if I find 
anything over much  to do  with Linux.

Thanks for the giggle,
Kare


OK, but you can set up a UNIX virtual machine. Worst case would be 
needing qemu to emulate whatever processor your WP51 version was set 
up for.


Still don't know what you have against LibreOffice. It's almost 
certainly superior to WP51 in every significant way.


At least she doesn't have to worry about "Styles." Most people do not 
need a QuarkXpress or MS Publisher, and that's what LO is trying to be.


Just like those expensive commercial programs, anyone who uses LO (or 
OO) will either have to read and learn a lot of instructions or find a


different solution. My solution is TextMaker from SoftMaker, which has 
a free version for non-commercial use, and which seems to have just


about all the features of the paid version. (I have no pecuniary 
interest in SoftMaker, a German firm.)


--doug


Funny but I never had to learn about styles. However they are handier 
than applying individual attributes to common elements. And while 
LibreOffice is quite powerful, it's not Scribus nor Scribus-like by any 
stretch. It's just a modern, feature-rich word processor. That means 
allowing people to use styles when they want to or ignoring them when 
they don't.



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

Archive: https://lists.debian.org/5495ce42.7060...@torfree.net



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Doug

On 12/20/2014 12:17 PM, Gary Dale wrote:

On 17/12/14 11:35 PM, Karen Lewellen wrote:

Who said anything about running windows?
The only windows I have are made of glass lol.
Although a virtual dos machine might be interesting if I find anything over 
much  to do  with Linux.
Thanks for the giggle,
Kare



OK, but you can set up a UNIX virtual machine. Worst case would be needing qemu 
to emulate whatever processor your WP51 version was set up for.

Still don't know what you have against LibreOffice. It's almost certainly 
superior to WP51 in every significant way.


At least she doesn't have to worry about "Styles." Most people do not need a 
QuarkXpress or MS Publisher, and that's what LO is trying to be.

Just like those expensive commercial programs, anyone who uses LO (or OO) will 
either have to read and learn a lot of instructions or find a

different solution. My solution is TextMaker from SoftMaker, which has a free 
version for non-commercial use, and which seems to have just

about all the features of the paid version. (I have no pecuniary interest in 
SoftMaker, a German firm.)

--doug

 



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

Archive: https://lists.debian.org/5495cabb.8060...@optonline.net



Re: wordperfect 5.1 for unix, and debian?

2014-12-20 Thread Gary Dale

On 17/12/14 11:35 PM, Karen Lewellen wrote:

Who said anything about running windows?
The only windows I have are made of glass lol.
Although a virtual dos machine might be interesting if I find anything 
over much  to do  with Linux.

Thanks for the giggle,
Kare


OK, but you can set up a UNIX virtual machine. Worst case would be 
needing qemu to emulate whatever processor your WP51 version was set up 
for.


Still don't know what you have against LibreOffice. It's almost 
certainly superior to WP51 in every significant way.



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

Archive: https://lists.debian.org/5495af2d.5050...@torfree.net



remote printing for an USB printer

2014-12-20 Thread Pierre Frenkiel

hi,
I have a HP photosmmart printer connected via USB to my Debian desktop.
On my android tablet,the "printershare" application found it immedialty,
without providing it any information (just: "look on the wifi network"). and
the installation was done in less that 10 seconds.

On my wheezy laptop, it's almost a nightmare. I tried all documented methods
(system-config-printer, http://localhst:631/printers), and
no one worked. My last attempt was  to add in /etc/cups/cupsd.conf
 "listen 192.168.1.12"
That seemed to work, as lpstat -a showed me all the printer
queues of the server, and I could succesfully print a job, but:

  - on the client, the job remains in the queues, and the printer is
 marked as "stopped"
  - on the server, the printer queue grows indefinitely, and the printer
spit page after page, until I cancel the job on the client, and all
jobs on the server.

I have exactly the same problem on a second laptop, also running wheezy.

What can I try now?


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

Archive: 
https://lists.debian.org/alpine.deb.2.11.1412201620070.21...@pfr2.frenkiel-hure.net



Re: disk (and other resource) management of virtual machines

2014-12-20 Thread Mirko Parthey
On Fri, Dec 19, 2014 at 02:19:18PM -0800, Ross Boylan wrote:
> Is there a way to expose host file systems to the guests?  NFS is a
> possibility, but the VM's will be running various services that warn
> not to use NFS.  libvirt doesn't seem to provide the ability to expose
> host file systems directly (as opposed to exposing raw block devices),
> but I'm hoping I have missed something.

http://www.linux-kvm.org/page/9p_virtio
I have no experience with it, so please evaluate it yourself.

> I could run LVM inside the VM's; this would provide somewhat more
> flexibility and disk snapshotting, though I'm not sure how I would
> provide more total space to the VM in this scenario.

To extend the space available to the guest in this scenario,
you need to work layer by layer.
On the host:
- enlarge the logical volume containing the guest image
In the guest sytem:
- enlarge or add a partition containing a physical volume
- pvresize or pvcreate/vgextend to enlarge the volume group
- lvresize -r to enlarge the logical volume and the filesystem;
  or fsadm (same purpose)

> Finally, could anyone clarify the VMs in this libvirt/KVM setup use
> CPU and RAM resources?  If I give a guest machine 4G of RAM does that
> mean that memory is unavailable for other use by the host or other
> guests? virt-manager has configuration for memory and maximum memory,
> suggesting that at least some dynamic growth is possible.  Likewise,
> if the physical machine has 8 cores, could I run several VM's with 8
> cores each?  My suspicion is that CPU's are shareable, but RAM is not,
> but I don't know.

Yes, CPUs are shareable.
How many CPUs should be assigned to each guest depends on the number of
guests and their CPU usage. I would assign all cores to a single
guest only if the load is very light. With higher CPU load, guests
should be assigned enough CPUs to keep all physical CPU cores busy,
and maybe a little more to allow for scheduling flexibility.
Above a certain number of CPUs assigned, you will just increase the
scheduling overhead, but not gain better performance.

RAM is shareable in theory, but current operating systems use up all
available RAM as disk buffers, so some tuning may be necessary.
One possibility is the current memory / maximum memory setting you
mentioned, which needs a guest driver for ballooning.
The guest driver reserves some memory from the guest OS for exclusive
use (the difference max - current).  It doesn't actually use that
memory, but returns it to the host so it can be used elsewhere.
I don't know if this RAM reassignment has been automated yet to change
based on demand.

> Thanks.
> Ross Boylan
> 
> P.S. I don't need to be able to make the changes while the VM's are
> live, though the ability to do so would be handy.

If you can take your VMs offline, there is another option for accessing
the guest filesystems: http://libguestfs.org/

Regards,
Mirko


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141220141352.GA4750@guitar.localdomain