Re: [gentoo-user] managing local IP's
On February 24, 2017 12:55:26 AM GMT+01:00, the...@sys-concept.com wrote: >I have two networks connected over VPN > >1st Network has 3-box (only one active) >2nd Remote Network has 4-boxes (only two active at any given time) > >All boxes are configure to run: Hylafax, Asterisk (but only one at a >time act as a server). > >Various external devises like Sipur, Audiocodes has to be configure (IP >change) to register to Asterisk server; if I switch a box that acts as >a >server, I need to login to each device and change the IP. > >Hylafax is relatively simple to switch, but "yajhfc" that view the >faxes >has to have an IP changed. >Audiocodes - is a nightmare to change IP. >Local Asterisk registers with Remote Network over VPN so IP's need to >change as well. > >Is there an easier way to mange it? Have the active server add a 2nd IP to its network interface and configure the clients to use that IP. When switching to a different server (making a different one active), move that 2nd IP to the new active server. This is how most active/passive failovers actually work. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] Cleanify a Firefox Profile - how?
On Fri, Feb 24, 2017 at 03:04:59AM +0100, meino.cra...@gmx.de wrote > ...and what mozilla says is all what they want me to know. Or with > other words: Are these really all places, where user tracking and > such is stored? Flash cookies and Supercookies are also there? Mozilla can only tell you what they do. "Flash cookies" are stored by Adobe Flash in 2 subdirectories in your home directory. I.e. .adobe and .macromedia (Note the leading dot). In the past, I used to... rm -rf ~/.adobe ~/.macromedia touch ~/.adobe touch ~/.macromedia This would create zero-byte files, and Flash could not create subdirectories with the same name. I ran into 1 or 2 sites that refused to work if I did this. I don't have Flash on my main desktop anymore, so no more worry about it. "Supercookies" are additional data added to your HTTP headers by your ISP after it leaves your computer, and Firefox can't do anything about it. https://www.eff.org/deeplinks/2014/11/verizon-x-uidh -- Walter DnesI don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Cleanify a Firefox Profile - how?
On Thu, Feb 23, 2017 at 8:04 PM,wrote: > > ...and what mozilla says is all what they want me to know. > Or with other words: Are these really all places, where user > tracking and such is stored? Flash cookies and Supercookies > are also there? > > Cheers > Meino > Mozilla is certainly not the one who would be trying to hide information from you. Yes, your profile should be all of the persistent data that Firefox stores, though your system configuration (much of which can be accessed via Javascript) will still uniquely identify your device. Flash may have it's own special location. Try "about:cache" in the title bar (cache timing attacks could also uniquely identify you). However, from what I could find, all browser data seems to be tied to a profile (paths will have the random string describing the profile somewhere in it). You can't fight supercookies except with Tor and sometimes HTTPS as it is your ISP modifying the data you send to servers. Personally this should be illegal, but they have more money than anyone it affects. R0b0t1.
Re: [gentoo-user] Cleanify a Firefox Profile - how?
Walter Dnes[17-02-24 02:10]: > On Thu, Feb 23, 2017 at 04:20:39AM +0100, meino.cra...@gmx.de wrote > > Hi, > > > > to install a profile I made and tested with my Firefox on another > > computer *) I want to "cleanify" that Profile to wipe all data left > > bu using this surfing. > > See > https://support.mozilla.org/t5/Install-and-Update/Profiles-Where-Firefox-stores-your-bookmarks-passwords-and-other/ta-p/4608 > for a listing of what files store what in your profile. You can delete > ones you don't want. Firefox will create a new default replacement next > time you start. > > ***IMPORTANT*** > > 1) you must ***NOT*** be running Firefox against that profile when you > do the deletions. Otherwise it will restore from crash-backup and/or > memory when it exits. > > 2) You ***MUST*** first open Firefox with that profile and then close it > "properly" with either "File ==> Quit" or the {CTRL}{Q} keyboard > shortcut. Firefox has a "crash-recovery" option that allows it to > resume a session if it is killed externally, e.g. "killall firefox". > > -- > Walter Dnes > I don't run "desktop environments"; I run useful applications > Hi Walter, thanks a lot for the informations!!:) ...and what mozilla says is all what they want me to know. Or with other words: Are these really all places, where user tracking and such is stored? Flash cookies and Supercookies are also there? Cheers Meino
[gentoo-user] make boot console maintain a hi-res thru-out boot
One of my vbox gentoo vms, on boot, comes up on the grub screen in a nice hi-res console. Very early in the boot procedure that hi-res console collapses into a standard console resoltion and stays there from then on. It is possible to set things so that one maintains a hi-res console all the time... Correct? If so, I'd like to know what needs to be set. I have followed up reading about this subject in gentoo documents, one source says you cannot make any driver selections in kernel setup at: Device drivers -> Graphics support -> Framebuffer Devices -> Make no selections of drivers here There are choices within the address above that look like the kind of thing you'd check but the guide I was reading said any choices there would block KMS which could get settings at:. Device drivers -> Graphics support -> Console display driver support ---> Frame buffer console sup. is default selected an [*]Frame Buffer console sup is default selected cannot be changed (on kernel-4.9.10) ditto for: [*]map the conosle tor primary disp device There are several more there but these two may be the place: []initial number of console screen columns []initial number of console screen rows There isn't much else there... things like scrollback size [...] and initil console size So are these settings what control KMS console sizing? For example if you weree to set something like 140 and 60 for columns and rows... would then have a console that size Or is it the settings in /etc/defalt/grub where their are a couple of options about geometry? Both maybe?
[gentoo-user] managing local IP's
I have two networks connected over VPN 1st Network has 3-box (only one active) 2nd Remote Network has 4-boxes (only two active at any given time) All boxes are configure to run: Hylafax, Asterisk (but only one at a time act as a server). Various external devises like Sipur, Audiocodes has to be configure (IP change) to register to Asterisk server; if I switch a box that acts as a server, I need to login to each device and change the IP. Hylafax is relatively simple to switch, but "yajhfc" that view the faxes has to have an IP changed. Audiocodes - is a nightmare to change IP. Local Asterisk registers with Remote Network over VPN so IP's need to change as well. Is there an easier way to mange it? -- Thelma
Re: [gentoo-user] SSH rekeying straight after authentication
On Thursday 23 Feb 2017 22:18:25 Stroller wrote: > > On 23 Feb 2017, at 20:10, Mickwrote: > > > > I am trying to understand why an ssh server keeps dropping the connection > > when using openssh on Linux straight after a successful authentication, > > but it works fine with Filezilla in MSWindows. > > > > The connection initially appears to succeed like so: > > > > debug2: service_accept: ssh-userauth > > debug1: SSH2_MSG_SERVICE_ACCEPT received > > Are both clients using SSH2? And the same cyphers? > > Stroller. Yes and yes, thanks Stroller. The problem seems to be related to the client using HPN and the server not. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: SSH rekeying straight after authentication
On Thursday 23 Feb 2017 20:10:05 Mick wrote: > I am trying to understand why an ssh server keeps dropping the connection > when using openssh on Linux straight after a successful authentication, but > it works fine with Filezilla in MSWindows. > > The connection initially appears to succeed like so: > > debug2: service_accept: ssh-userauth > debug1: SSH2_MSG_SERVICE_ACCEPT received > debug3: send packet: type 50 > debug3: receive packet: type 51 > debug1: Authentications that can continue: password > debug3: start over, passed a different list password > debug3: preferred publickey,keyboard-interactive,password > debug3: authmethod_lookup password > debug3: remaining preferred: ,keyboard-interactive,password > debug3: authmethod_is_enabled password > debug1: Next authentication method: password > user_name@server_name.com's password: > debug3: send packet: type 50 > debug2: we sent a password packet, wait for reply > debug3: receive packet: type 52 > debug1: Single to Multithread CTR cipher swap - client request > debug1: Authentication succeeded (password). > Authenticated to server_name.com ([123.456.78.9]:22). > > > Then it starts renegotiating keys and it eventually fails: > > debug1: Final hpn_buffer_size = 2097152 > debug1: HPN Disabled: 0, HPN Buffer Size: 2097152 > debug1: channel 0: new [client-session] > debug1: Enabled Dynamic Window Scaling > debug3: ssh_session2_open: channel_new: 0 > debug2: channel 0: send open > debug3: ssh_packet_send2: rekex triggered > debug1: enqueue packet: 90 > debug3: send packet: type 20 > debug1: SSH2_MSG_KEXINIT sent > debug1: Entering interactive session. > debug1: pledge: network > debug1: rekeying in progress > debug1: rekeying in progress > debug3: receive packet: type 20 > debug1: SSH2_MSG_KEXINIT received > debug1: AUTH STATE IS 1 > debug2: local client KEXINIT proposal > debug2: KEX algorithms: curve25519-sha...@libssh.org,diffie-hellman-group- > exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sh > a1 debug2: host key algorithms: > ssh-rsa-cert-...@openssh.com,rsa-sha2-512,rsa- > sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-...@openssh.com,ecdsa-sha2-nistp3 > 84- > cert-...@openssh.com,ecdsa-sha2-nistp521-cert-...@openssh.com,ssh-ed25519- > cert-...@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2- > nistp521,ssh-ed25519 > debug2: ciphers ctos: chacha20-poly1...@openssh.com,aes256- > g...@openssh.com,aes128-...@openssh.com,aes256-ctr,aes128-ctr,3des-cbc > debug2: ciphers stoc: chacha20-poly1...@openssh.com,aes256- > g...@openssh.com,aes128-...@openssh.com,aes256-ctr,aes128-ctr,3des-cbc > debug2: MACs ctos: hmac-sha2-512-...@openssh.com,hmac-sha2-256- > e...@openssh.com,umac-128-...@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac- > ripemd160,hmac-sha1 > debug2: MACs stoc: hmac-sha2-512-...@openssh.com,hmac-sha2-256- > e...@openssh.com,umac-128-...@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac- > ripemd160,hmac-sha1 > debug2: compression ctos: none,z...@openssh.com,zlib > debug2: compression stoc: none,z...@openssh.com,zlib > debug2: languages ctos: > debug2: languages stoc: > debug2: first_kex_follows 0 > debug2: reserved 0 > debug2: peer server KEXINIT proposal > debug2: KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2- > nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange- > sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,rsa1024-sha1 > debug2: host key algorithms: ssh-rsa > debug2: ciphers ctos: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192- > cbc,aes128-cbc,blowfish-ctr,blowfish-cbc,cast128- > cbc,arcfour256,arcfour128,3des-ctr,3des-cbc > debug2: ciphers stoc: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192- > cbc,aes128-cbc,blowfish-ctr,blowfish-cbc,cast128- > cbc,arcfour256,arcfour128,3des-ctr,3des-cbc > debug2: MACs ctos: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac- > md5,hmac-md5-96,hmac-ripemd160,umac...@openssh.com > debug2: MACs stoc: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac- > md5,hmac-md5-96,hmac-ripemd160,umac...@openssh.com > debug2: compression ctos: z...@openssh.com,zlib,none > debug2: compression stoc: z...@openssh.com,zlib,none > debug2: languages ctos: > debug2: languages stoc: > debug2: first_kex_follows 0 > debug2: reserved 0 > debug1: kex: algorithm: diffie-hellman-group-exchange-sha256 > debug1: kex: host key algorithm: ssh-rsa > debug1: REQUESTED ENC.NAME is 'aes256-ctr' > debug1: kex: server->client cipher: aes256-ctr MAC: hmac-sha2-512 > compression: none > debug1: REQUESTED ENC.NAME is 'aes256-ctr' > debug1: kex: client->server cipher: aes256-ctr MAC: hmac-sha2-512 > compression: none > debug3: send packet: type 34 > debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent > debug1: rekeying in progress > debug1: rekeying in progress > debug3: receive packet: type 31 > debug1: got SSH2_MSG_KEX_DH_GEX_GROUP > debug2: bits set: 4105/8192 > debug3: send packet: type 32 > debug1: SSH2_MSG_KEX_DH_GEX_INIT sent >
[gentoo-user] Cross-compiling for an unstable architecture.
Hello, So apparently I am single-handedly attempting to stabilize arm64 (at least, it feels that way). Per the "Gentoo on Alternative Architectures" subforum (https://forums.gentoo.org/viewforum-f-32.html) two users have gotten almost everything working, in some cases having to resort to building packages not in @system on-device. Ideally I want to be able to build every package I make use of from my desktop but in some cases this will involve bug reports to the projects to see if they will change their build process. However it's gotten to the point where not even building on-device works. I'm experiencing breakage in a lot of core packages that may or may not be related to portage. What is the best way to ask for help? The users on the forums and IRC do not seem to really know how to go about solving some of the problems or do not have the time, and I'm not sure it's polite to open up a bunch of bug reports on https://bugs.gentoo.org. What seems to complicate this is solving some of the issues looks like it will take knowledge only the developers of the corresponding software have. R0b0t1.
Re: [gentoo-user] SSH rekeying straight after authentication
> On 23 Feb 2017, at 20:10, Mickwrote: > > I am trying to understand why an ssh server keeps dropping the connection > when > using openssh on Linux straight after a successful authentication, but it > works fine with Filezilla in MSWindows. > > The connection initially appears to succeed like so: > > debug2: service_accept: ssh-userauth > debug1: SSH2_MSG_SERVICE_ACCEPT received Are both clients using SSH2? And the same cyphers? Stroller.
Re: [gentoo-user] compressing pdf file
> On 22 Feb 2017, at 22:12, k...@aspodata.se wrote: > > Thelma: >> I have scaned pdf file (88-page) 23MB in size (downloaded this way). >> Trying to reduce the size of the file I [...] > > Why don't you extract the images with pdfimages from the pdf and > compress them with xv or convert (imagemagic) and maybe gimp can > comress them also. Don't know how to get them back into a pdf though. +1 I do this regularly. Documents scanned with the Google Drive application on my phone store jpeg images in a PDF (if you OCR in Google Drive or Docs it adds text). Extracting from PDFs produced by my solicitor's document system results in some weird bitmaps with inverted colours, but I assume these are the exception rather than the rule. I would love to hear about it if anyone else has similar problems. If you have jpeg, bmp, tiff &/or png images then Gimp's "save for web" feature is wonderful. You can also enhance images by using the "colour levels" tool first - select the white pipette and click on the whitest area of the paper, then select the black pipette and click on the thickest part of the blackest printer letter character. Stroller.
[gentoo-user] SSH rekeying straight after authentication
I am trying to understand why an ssh server keeps dropping the connection when using openssh on Linux straight after a successful authentication, but it works fine with Filezilla in MSWindows. The connection initially appears to succeed like so: debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: password debug3: start over, passed a different list password debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup password debug3: remaining preferred: ,keyboard-interactive,password debug3: authmethod_is_enabled password debug1: Next authentication method: password user_name@server_name.com's password: debug3: send packet: type 50 debug2: we sent a password packet, wait for reply debug3: receive packet: type 52 debug1: Single to Multithread CTR cipher swap - client request debug1: Authentication succeeded (password). Authenticated to server_name.com ([123.456.78.9]:22). Then it starts renegotiating keys and it eventually fails: debug1: Final hpn_buffer_size = 2097152 debug1: HPN Disabled: 0, HPN Buffer Size: 2097152 debug1: channel 0: new [client-session] debug1: Enabled Dynamic Window Scaling debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug3: ssh_packet_send2: rekex triggered debug1: enqueue packet: 90 debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug1: Entering interactive session. debug1: pledge: network debug1: rekeying in progress debug1: rekeying in progress debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug1: AUTH STATE IS 1 debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha...@libssh.org,diffie-hellman-group- exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1 debug2: host key algorithms: ssh-rsa-cert-...@openssh.com,rsa-sha2-512,rsa- sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-...@openssh.com,ecdsa-sha2-nistp384- cert-...@openssh.com,ecdsa-sha2-nistp521-cert-...@openssh.com,ssh-ed25519- cert-...@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2- nistp521,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1...@openssh.com,aes256- g...@openssh.com,aes128-...@openssh.com,aes256-ctr,aes128-ctr,3des-cbc debug2: ciphers stoc: chacha20-poly1...@openssh.com,aes256- g...@openssh.com,aes128-...@openssh.com,aes256-ctr,aes128-ctr,3des-cbc debug2: MACs ctos: hmac-sha2-512-...@openssh.com,hmac-sha2-256- e...@openssh.com,umac-128-...@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac- ripemd160,hmac-sha1 debug2: MACs stoc: hmac-sha2-512-...@openssh.com,hmac-sha2-256- e...@openssh.com,umac-128-...@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac- ripemd160,hmac-sha1 debug2: compression ctos: none,z...@openssh.com,zlib debug2: compression stoc: none,z...@openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2- nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange- sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,rsa1024-sha1 debug2: host key algorithms: ssh-rsa debug2: ciphers ctos: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192- cbc,aes128-cbc,blowfish-ctr,blowfish-cbc,cast128- cbc,arcfour256,arcfour128,3des-ctr,3des-cbc debug2: ciphers stoc: aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192- cbc,aes128-cbc,blowfish-ctr,blowfish-cbc,cast128- cbc,arcfour256,arcfour128,3des-ctr,3des-cbc debug2: MACs ctos: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac- md5,hmac-md5-96,hmac-ripemd160,umac...@openssh.com debug2: MACs stoc: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96,hmac- md5,hmac-md5-96,hmac-ripemd160,umac...@openssh.com debug2: compression ctos: z...@openssh.com,zlib,none debug2: compression stoc: z...@openssh.com,zlib,none debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: diffie-hellman-group-exchange-sha256 debug1: kex: host key algorithm: ssh-rsa debug1: REQUESTED ENC.NAME is 'aes256-ctr' debug1: kex: server->client cipher: aes256-ctr MAC: hmac-sha2-512 compression: none debug1: REQUESTED ENC.NAME is 'aes256-ctr' debug1: kex: client->server cipher: aes256-ctr MAC: hmac-sha2-512 compression: none debug3: send packet: type 34 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent debug1: rekeying in progress debug1: rekeying in progress debug3: receive packet: type 31 debug1: got SSH2_MSG_KEX_DH_GEX_GROUP debug2: bits set: 4105/8192 debug3: send packet: type 32 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: rekeying in progress debug1: rekeying in progress debug3: receive packet: type 33 debug1: got SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: ssh-rsa SHA256:x0KsPBfGU/sP6+Yx1NhCoEDzF5w/IQ/6vxjuVEfPso debug2: verify_host_key: server host key
Re: [gentoo-user] Cleanify a Firefox Profile - how?
On Thu, Feb 23, 2017 at 04:20:39AM +0100, meino.cra...@gmx.de wrote > Hi, > > to install a profile I made and tested with my Firefox on another > computer *) I want to "cleanify" that Profile to wipe all data left > bu using this surfing. See https://support.mozilla.org/t5/Install-and-Update/Profiles-Where-Firefox-stores-your-bookmarks-passwords-and-other/ta-p/4608 for a listing of what files store what in your profile. You can delete ones you don't want. Firefox will create a new default replacement next time you start. ***IMPORTANT*** 1) you must ***NOT*** be running Firefox against that profile when you do the deletions. Otherwise it will restore from crash-backup and/or memory when it exits. 2) You ***MUST*** first open Firefox with that profile and then close it "properly" with either "File ==> Quit" or the {CTRL}{Q} keyboard shortcut. Firefox has a "crash-recovery" option that allows it to resume a session if it is killed externally, e.g. "killall firefox". -- Walter DnesI don't run "desktop environments"; I run useful applications
Re: [gentoo-user] net-libs/gnutls-3.3.26, compile fail
Hi, Please open bug when you have such issues. In this case: """ autogen /var/tmp/portage/net-libs/gnutls-3.3.26/work/gnutls-3.3.26/src/p11tool-args.def Throw without catch before boot: Aborting. Throw without catch before boot: Aborting. Throw without catch before boot: Aborting. make[2]: [Makefile:2182: psktool-args.stamp] Aborted (ignored) touch psktool-args.stamp make[2]: [Makefile:2194: cli-args.stamp] Aborted (ignored) touch cli-args.stamp """ Probably something ether wrong with autogen or something in the base system lost integrity. Try to run: # revdep-rebuild Then: # gcc-config -l Make sure the right profile is selected, usually 1. Try to emerge autogen: # emerge --oneshot autogen Then try again, if not working, please open a bug and attach the build.log of recent attempt. Regards, Alon On 23 February 2017 at 17:34,wrote: > I get a lot: > > No such file or directory > > when compiling, should I just wait a week or there anyone who knows > why ? > > Also tried removing all USE flags, same result. > > Regards, > /Karl Hammar > > --- > Aspö Data > Lilla Aspö 148 > S-742 94 Östhammar > Sweden > +46 173 140 57 > >
[gentoo-user] net-libs/gnutls-3.3.26, compile fail
I get a lot: No such file or directory when compiling, should I just wait a week or there anyone who knows why ? Also tried removing all USE flags, same result. Regards, /Karl Hammar --- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57 gnutls.tgz Description: gnutls.tgz
[gentoo-user] Re: compressing pdf file
"J. Roeleveld" writes: > On February 22, 2017 11:12:01 PM GMT+01:00, k...@aspodata.se wrote: >>Thelma: >>> I have scaned pdf file (88-page) 23MB in size (downloaded this way). >>> Trying to reduce the size of the file I [...] >> >>Why don't you extract the images with pdfimages from the pdf and >>compress them with xv or convert (imagemagic) and maybe gimp can >>comress them also. Don't know how to get them back into a pdf though. >> >>Regards, >>/Karl Hammar > > If I remember correctly, you can merge images into a PDF using convert: > # convert image1.jpg image2.jpg output.pdf > > I use this technique when I find some images need turning or resorting after > scanning bigger documents. When going through that route, it is my experience that img2pdf does a much better job than imagemagick because it deals with the .jpg compression losslessly. -- Alberto
Re: [gentoo-user] compressing pdf file
On February 22, 2017 11:12:01 PM GMT+01:00, k...@aspodata.se wrote: >Thelma: >> I have scaned pdf file (88-page) 23MB in size (downloaded this way). >> Trying to reduce the size of the file I [...] > >Why don't you extract the images with pdfimages from the pdf and >compress them with xv or convert (imagemagic) and maybe gimp can >comress them also. Don't know how to get them back into a pdf though. > >Regards, >/Karl Hammar > >--- >Aspö Data >Lilla Aspö 148 >S-742 94 Östhammar >Sweden >+46 173 140 57 If I remember correctly, you can merge images into a PDF using convert: # convert image1.jpg image2.jpg output.pdf I use this technique when I find some images need turning or resorting after scanning bigger documents. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] compressing pdf file
On Wed, 22 Feb 2017 14:38:33 -0700, the...@sys-concept.com wrote: > I have scaned pdf file (88-page) 23MB in size (downloaded this way). > Trying to reduce the size of the file I use some on-line web-page and it > did a good job. PFD file went from 23MB to 13MB looking at both files > there is not difference in quality. > > I was trying to duplicate the result via linux command linux command > line using "convert" "gs" etc, I can not even come close. I haven't used it for a while, but qpdf has tools for examining, extracting and compressing data in PDFs. Comparing elements of the two PDFs should gives you a good idea of what was done. That level of compression was most likely achieved by using more lossy compression on images. -- Neil Bothwick User-friendly: (adj.) trivialized, slow, incapable, and boring. pgpAAjHhjxiOq.pgp Description: OpenPGP digital signature