Re: [gentoo-user] pdf viewer

2015-01-03 Thread the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 03/01/15 08:15, lee wrote:
 Hi,
 
 what do you as PDF viewer?
 
 Most of the time, I was using xpdf, and that doesn't seem to be 
 available in Gentoo.  I compiled it from source and found out that 
 it cannot display PDFs so well and gives error messages about not 
 being able to find fonts.  Pdfpc isn't a good alternative.

I was using evince, now moved to zathura. Both are as slow as hell
though, so I'm open for faster alternatives.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJUp6KvAAoJEK64IL1uI2hayS4H/2odiqBO1wYC9PZchZlxEyFh
PPyXT+aOb9TJJkPyhwgAAuF5DBId6k61e8V1FQo1IyHH3pRv+MP0Q77g0igWeQT0
N2XsXnqzWisSMN6EZD8uu3qRkMkzevM52EfqN3NpJblzNPVaWCFYWdEgyVYCO9u5
ogI843CgUu7XsDBzVl6dmSkvT+jHzZhviVnN0+NFwD/5sCk0ZgCfPJrKBzPZWoKU
EpUyNH0kEcoMZepT8LwV0674fZ6wCbKVLatxpFC3wSTkueG6FPmwZs7anaDbxsOu
QfyEsZl27mkD06X1aqPDk73sFnc8ipwusrE1jy6+Az/ykBB2nTB8Hz8yKSeBEUo=
=DmYi
-END PGP SIGNATURE-



Re: [gentoo-user] pdf viewer

2015-01-03 Thread Mick
On Saturday 03 Jan 2015 08:05:04 the wrote:
 On 03/01/15 08:15, lee wrote:
  Hi,
  
  what do you as PDF viewer?
  
  Most of the time, I was using xpdf, and that doesn't seem to be
  available in Gentoo.  I compiled it from source and found out that
  it cannot display PDFs so well and gives error messages about not
  being able to find fonts.  Pdfpc isn't a good alternative.
 
 I was using evince, now moved to zathura. Both are as slow as hell
 though, so I'm open for faster alternatives.

llpp looks fast and versatile, but I hadn't heard of it until now - thanks 
Zesen.

I'm using mupdf, qpdfview and okular (in this order).

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] pdf viewer

2015-01-03 Thread lee

Thank you all for your answers! :)


Alexander Kapshuk alexander.kaps...@gmail.com writes:

 On Jan 3, 2015 7:15 AM, lee l...@yagibdah.de wrote:

 Hi,

 what do you as PDF viewer?


 mupdf.

mupdf seems to display text only?

llpp seems to work great and really fast, I'll use that for now.

How did you find all these packages?  I used 'emerge --search' and it
didn't show many results for pdf.


-- 
Again we must be afraid of speaking of daemons for fear that daemons
might swallow us.  Finally, this fear has become reasonable.



[gentoo-user] shorewall: which kernel options/modules

2015-01-03 Thread lee
Hi,

does someone exactly know which options/modules are required for
shorewall?  I'm about to do a three-interface configuration, one of the
interfaces being a bridge.  I couldn't find any documentation for recent
kernels and don't like the idea of enabling featuures that aren't
required.


-- 
Again we must be afraid of speaking of daemons for fear that daemons
might swallow us.  Finally, this fear has become reasonable.



Re: [gentoo-user] pdf viewer

2015-01-03 Thread Philip Webb
150103 lee wrote:
 what do you as PDF viewer?
 Most of the time I was using xpdf, which isn't available in Gentoo.

No, it was dropped due to security + other concerns.

I use Mupdf for quick reads from CLI, Firefox viewer for dox on-line
 Okular for serious reading of lengthy dox.  All are satisfactory.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] How to automate an sshfs (fusermount) mounted share

2015-01-03 Thread Harry Putnam
I'm sshfs mounting an solaris zfs file system in the interactive
fashion.

sshfs $USR@HOST:/file/system MOUNTPOINT
 passwd?
 enter passwd RETURN
 
Once mounted I run an rsnapshot backup onto the mounted FS.

Any ideas on how to go about doing this mount automatically (scripted)
will be greatly appreciated.




Re: [gentoo-user] How to automate an sshfs (fusermount) mounted share

2015-01-03 Thread Andrew Savchenko
Hi,

On Sat, 03 Jan 2015 09:23:29 -0500 Harry Putnam wrote:
 I'm sshfs mounting an solaris zfs file system in the interactive
 fashion.
 
 sshfs $USR@HOST:/file/system MOUNTPOINT
  passwd?
  enter passwd RETURN
  
 Once mounted I run an rsnapshot backup onto the mounted FS.
 
 Any ideas on how to go about doing this mount automatically (scripted)
 will be greatly appreciated.

1) Set up your ssh to use keys. Key itself should not be protected
by password (or manual intervention will be needed on each mount).

2) Add sshfs command to your .bash_profile (or whatever login shell
you're using) with check that filesystem is not mounted already,
something like:
  grep -q $MOUNTPOINT || sshfs $USR@HOST:/file/system MOUNTPOINT

Alternatively you may add this to your DE/WM autostart scripts, if
you are using GUI logins only.

Best regards,
Andrew Savchenko


pgpJvFFahiIWL.pgp
Description: PGP signature


Re: [gentoo-user] pdf viewer

2015-01-03 Thread Andrew Savchenko
On Sat, 03 Jan 2015 06:15:05 +0100 lee wrote:
 Hi,
 
 what do you as PDF viewer?
 
 Most of the time, I was using xpdf, and that doesn't seem to be
 available in Gentoo.  I compiled it from source and found out that it
 cannot display PDFs so well and gives error messages about not being
 able to find fonts.  Pdfpc isn't a good alternative.
 
For advanced actions (e.g. pdf notes editing, pdf fields editing,
work with pdf indexes and so on) I use evince.

When I need something simple (e.g. to read pdf books) I use mupdf.
Another bonus of mupdf is unlimited scale of pdf pages (limited
only by available memory). This is really handy when handling huge
pdf pages (e.g. some schemes, graphs) with very small fonts, so
large zoom is required to made them readable; evince can't handle
such issues.

Best regards,
Andrew Savchenko


pgpkt9XrfqNla.pgp
Description: PGP signature


Re: [gentoo-user] How to automate an sshfs (fusermount) mounted share

2015-01-03 Thread Simon Thelen
On 15-01-03 at 18:42, Andrew Savchenko wrote:
 Hi,
 
 On Sat, 03 Jan 2015 09:23:29 -0500 Harry Putnam wrote:
  I'm sshfs mounting an solaris zfs file system in the interactive
  fashion.
  
  sshfs $USR@HOST:/file/system MOUNTPOINT
   passwd?
   enter passwd RETURN
   
  Once mounted I run an rsnapshot backup onto the mounted FS.
  
  Any ideas on how to go about doing this mount automatically (scripted)
  will be greatly appreciated.
 
 1) Set up your ssh to use keys. Key itself should not be protected
 by password (or manual intervention will be needed on each mount).
 
 2) Add sshfs command to your .bash_profile (or whatever login shell
 you're using) with check that filesystem is not mounted already,
 something like:
   grep -q $MOUNTPOINT || sshfs $USR@HOST:/file/system MOUNTPOINT
 
 Alternatively you may add this to your DE/WM autostart scripts, if
 you are using GUI logins only.
Or just add it to /etc/fstab:
user@host:/mountpoint /where/to/mount fuse.sshfs 
rw,exec,async,_netdev,auto,user,idmap=user,transform_symlinks,identityfile=/path/to/ssh/key,allow_other,default_permissions,uid=1000,gid=100
 0 0

Check the manpages for which of those options you want.
ie, you might want to get rid of allow_other etc.


-- 
Simon Thelen



Re: [gentoo-user] pdf viewer

2015-01-03 Thread Andrew Savchenko
On Sat, 03 Jan 2015 16:00:02 +0100 lee wrote:
 mupdf seems to display text only?

No: images, internal references and hyperlinks are also OK.
 
 How did you find all these packages?  I used 'emerge --search' and it
 didn't show many results for pdf.

$ eix -c -C app-text -S pdf|viewer

Best regards,
Andrew Savchenko


pgpJxLhd51IC7.pgp
Description: PGP signature


Re: [gentoo-user] pdf viewer

2015-01-03 Thread Alexander Kapshuk
On Sat, Jan 3, 2015 at 5:00 PM, lee l...@yagibdah.de wrote:


 Thank you all for your answers! :)




 mupdf seems to display text only?

 llpp seems to work great and really fast, I'll use that for now.

 How did you find all these packages?  I used 'emerge --search' and it
 didn't show many results for pdf.


 One way of doing this is:

 qsearch pdf
 equery -q b /usr/bin/qsearch
 app-portage/portage-utils-0.53



Re: [gentoo-user] shorewall: which kernel options/modules

2015-01-03 Thread Peter Humphrey
On Saturday 03 January 2015 16:04:04 lee wrote:

 does someone exactly know which options/modules are required for
 shorewall?  I'm about to do a three-interface configuration, one of the
 interfaces being a bridge.  I couldn't find any documentation for recent
 kernels and don't like the idea of enabling featuures that aren't
 required.

I can't say exactly which modules you need, but I think Shorewall will tell 
you about anything it can't find. At any rate, I remember having to set 
something in the kernel before it would run.

# shorewall check

is your friend.

-- 
Rgds
Peter.




Re: [gentoo-user] How to automate an sshfs (fusermount) mounted share

2015-01-03 Thread Adam Carter
Iirc you may need to initiate a single regular ssh connection so you can
accept the servers key and have it added to the clients known hosts file,
first.


Re: [gentoo-user] shorewall: which kernel options/modules

2015-01-03 Thread lee
Peter Humphrey pe...@prh.myzen.co.uk writes:

 On Saturday 03 January 2015 16:04:04 lee wrote:

 does someone exactly know which options/modules are required for
 shorewall?  I'm about to do a three-interface configuration, one of the
 interfaces being a bridge.  I couldn't find any documentation for recent
 kernels and don't like the idea of enabling featuures that aren't
 required.

 I can't say exactly which modules you need, but I think Shorewall will tell 
 you about anything it can't find. At any rate, I remember having to set 
 something in the kernel before it would run.

 # shorewall check

 is your friend.

Well, it didn't really tell me.  I got to the point where it claimed
that matching support isn't enabled, though it was.  There seem to be
different implementations of the firewall stuff, and I had to enable it
at another place.  These billions of network options seem like quite a
mess ...

Now I probably have enabled a lot of things I don't need.  At least it's
working :)


-- 
Again we must be afraid of speaking of daemons for fear that daemons
might swallow us.  Finally, this fear has become reasonable.