resizing PDF files with Ghostscript

2023-09-16 Thread Greg Marks
I am trying to use Ghostscript to resize PDF files to letter page size,
but on certain files the output is not the correct size.  As an example:

   $wget https://gmarks.org/abrams_anh_pardo.pdf

   $pdfinfo abrams_anh_pardo.pdf 
   ...
   Page size:  539 x 737 pts
   ...

   $gs -o resized_file.pdf -sDEVICE=pdfwrite -dFIXEDMEDIA -dPDFFitPage 
-dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dBATCH -dSAFER 
abrams_anh_pardo.pdf

   $pdfinfo resized_file.pdf 
   ...
   Page size:  579.224 x 792 pts
   ...

Despite the flags -dDEVICEWIDTHPOINTS=612 and -dDEVICEHEIGHTPOINTS=792,
the page size of the output file is 579.224 x 792 pts instead of 612 x
792 pts.  (Interestingly, Ghostscript did change the page size, just
not to the correct dimensions.)  As some printers will refuse to print
files that aren't 612 x 792, I'd like to be able to convert such files
correctly.  How does one do that with Ghostscript?

Incidentally, the command

   $pdfjam --outfile resized_file.pdf --paper letter abrams_anh_pardo.pdf

does produce the correct output; however, on certain PDF files, pdfjam
yields output files with blank pages, so I'd like to be able to use
Ghostscript as an alternative.

Best regards,
Greg Marks


signature.asc
Description: PGP signature


Re: sata driver compataility Q

2023-09-16 Thread David Christensen

On 9/15/23 19:37, gene heskett wrote:

On 9/15/23 20:12, David Christensen wrote:

On 9/15/23 15:04, gene heskett wrote:

On 9/15/23 17:35, David Christensen wrote:

On 9/15/23 12:28, gene heskett wrote:

I've just ordered some stuff to rebuild or expand my Raid setup.
This 16 port sata-III pci-e card:

along with a bigger drive cage, cables and such and some gigastone 
2T drives to make a raid big enough to run amanda. And maybe put a 
new card in front of my 2T /home raid10.


Is everything going into one chassis?  Have you considered an 
external drive chassis?


Got one of those coming too. Small possibility it will fit it the 
bottom of this huge and old tiger direct tower.  Because the radiator 
for the 6 core i5 is too tall, it hasn't had a side cover on it in 
years. If not, theres a 3 3.5" cage at the bottom of the stack I can 
stuff  with 2 SSD's per bay slot. A hidey place, front cover is 
solid, but cooling might be a problem. If worse comes to worse I 
could shoe-goo a 120x15 to the side of the cage.



This is what I meant:

 https://www.pc-pitstop.com/16-bay-25inch-sas-sata-jbod-tower


Call me cheap, my choice is diy assembly, SS stampings you put together, 
all drive brackets and a dozen cables and a 5 drive power splitter, $30.

Less than 5% of the price of that nice looking box.



Fair enough.


Searching the mailing list archive, it appears that you have an Asus 
PRIME Z370-A II motherboard (?):



https://www.asus.com/motherboards-components/motherboards/prime/prime-z370-a-ii/


And, an Intel Core i5 processor (?).  Which model?


How many GB of OS and apps do you have?  Home directory?  Bulk data? 
Amanda backups?  VM's?  Other?



While researching this thread, I came across an HBA that may interest 
both of us:



https://www.amazon.com/dp/B09L3GLCL9


4x the bandwidth (3.94 GB/s), 8 more SATA ports (24 total), and $42.31 
higher price ($117.30).  I would prefer this card for the bandwidth 
alone, and I never know when I might need those extra ports to 
temporarily connect a bunch of disks from other machines.



If your goal is maximum capacity at minimum cost, HDD's have larger 
capacity, lower bandwidth, and lower cost per TB than SSD's -- per bay, 
per drive, and per port.  Port multiplication makes sense with HDD's.



For file server and backup server roles, I use ZFS with HDD primary 
storage devices and full bandwidth HBA.  Read performance, write 
performance, and capacity utilization can be improved with ZFS 
compression, read performance can be improved with an SSD cache vdev 
(virtual device; e.g. partition), and write performance can be improved 
with SSD intent log vdev (mirror of partitions).  For the backup server 
role, capacity utilization can be improved with ZFS deduplication and an 
SSD dedup vdev (mirror of partitions).



Regardless of what you do with HBA's, I would connect the six SSD's to 
the six motherboard SATA III ports.



A fresh install of  Debian stable or old-stable should solve the storage 
I/O stuttering problems you are experiencing.  (That motherboard has 
dual M.2 ports.  Installing Debian onto an M.2 PCIE 3.0 x4 SSD would be 
very nice.)



David



Re: Debian Trixie and Anker PowerExpand 6 in 1 k.o.

2023-09-16 Thread Andy Smith
Hello,

On Sat, Sep 16, 2023 at 03:40:17PM +0200, Gabriele M. wrote:
> I'm using Mobian Trixie and after the two last kernel update my external usb
> c adapter https://www.amazon.it/dp/B08CKXNJZS?psc=1 stopped to work :\
> 
> Maybe somebody removed the support to this device :\ how could I fix it?

I'd revert the kernel package to the last one where it worked and
then use reportbug on the linux-image-whatever package to report the
regression between the two versions that I now know.

The Debian kernel team then might have some advice or ask you to do
a bisection to find out exactly which change made it break for you.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Debian Trixie and Anker PowerExpand 6 in 1 k.o.

2023-09-16 Thread Gabriele M.

Hi guys,

I'm using Mobian Trixie and after the two last kernel update my external 
usb c adapter https://www.amazon.it/dp/B08CKXNJZS?psc=1 stopped to work :\


Maybe somebody removed the support to this device :\ how could I fix it?

Regards.

Gabriele



Snapdragon

2023-09-16 Thread Mario Garcia
Buenas tardes

adquirir una laptop con la finalidad de instalar debian pero aun no lo
logró
quisiera saber si es compatible


 procesador Snapdragon (TM) 7c Gen 2 @ 2.55 GHz   2.55 GHz
4gb ram
64 ssd


saludos


Re: trying to make gkerelln show motherbord temp and voltages

2023-09-16 Thread gene heskett

On 9/16/23 14:55, Phil Wyett wrote:

On Sat, 2023-09-16 at 08:17 -0400, gene heskett wrote:

Greetings all;

gkrellm has traditionally used mbmon to collect the motherboard data
for
temps and voltages that it can display. Bub mbmon won't run because
it
can't find the monitor util for this mid-range asus mobo. Complains
because it cannot find a via-686 thing, which sounds a bit dated to
me.

I just spent around 3 hours with synaptic looking for likely suspects
w/o any hits.

Asus z-370 mobo, i5 flavor full 32G memory

Any suggestions??

Thanks all;

Cheers, Gene Heskett.


Hi,

Would more up to date packages like 'lm-sensors' and/or 'dmidecode'
possible give you the data you are looking for? Any additional
information on the data you require and how it would be used would be
advantageous.

Regards

Phil


Both of those are the newest versions according to apt.
Thanks Phll


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: trying to make gkerelln show motherbord temp and voltages

2023-09-16 Thread gene heskett

On 9/16/23 14:25, Phil Wyett wrote:

On Sat, 2023-09-16 at 08:17 -0400, gene heskett wrote:

Greetings all;

gkrellm has traditionally used mbmon to collect the motherboard data
for
temps and voltages that it can display. Bub mbmon won't run because
it
can't find the monitor util for this mid-range asus mobo. Complains
because it cannot find a via-686 thing, which sounds a bit dated to
me.

I just spent around 3 hours with synaptic looking for likely suspects
w/o any hits.

Asus z-370 mobo, i5 flavor full 32G memory

Any suggestions??

Thanks all;

Cheers, Gene Heskett.


Hi,

Could you state which version of Debian you are running when making a
request. This will help people immensely.


Already have, uptodate aa of this morning bookworm.



Regards

Phil



Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: trying to make gkerelln show motherbord temp and voltages

2023-09-16 Thread gene heskett

On 9/16/23 11:39, Phil Wyett wrote:

On Sat, 2023-09-16 at 08:17 -0400, gene heskett wrote:

Greetings all;

gkrellm has traditionally used mbmon to collect the motherboard data
for
temps and voltages that it can display. Bub mbmon won't run because
it
can't find the monitor util for this mid-range asus mobo. Complains
because it cannot find a via-686 thing, which sounds a bit dated to
me.

I just spent around 3 hours with synaptic looking for likely suspects
w/o any hits.

Asus z-370 mobo, i5 flavor full 32G memory

Any suggestions??

Thanks all;

Cheers, Gene Heskett.


Hi,

Can you more specific on the Asus motherboard, as there are many Z370
variants.


So I noticed when I went looking for a newer bios.

Asus Z-370-A II.haven't put it in yet.


Any logs/output of issues?


No mention of it in any log I've found.


Regards

Phil


Thanks Phil.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: trying to make gkerelln show motherbord temp and voltages

2023-09-16 Thread Phil Wyett
On Sat, 2023-09-16 at 08:17 -0400, gene heskett wrote:
> Greetings all;
> 
> gkrellm has traditionally used mbmon to collect the motherboard data
> for 
> temps and voltages that it can display. Bub mbmon won't run because
> it 
> can't find the monitor util for this mid-range asus mobo. Complains 
> because it cannot find a via-686 thing, which sounds a bit dated to
> me.
> 
> I just spent around 3 hours with synaptic looking for likely suspects
> w/o any hits.
> 
> Asus z-370 mobo, i5 flavor full 32G memory
> 
> Any suggestions??
> 
> Thanks all;
> 
> Cheers, Gene Heskett.

Hi,

Would more up to date packages like 'lm-sensors' and/or 'dmidecode'
possible give you the data you are looking for? Any additional
information on the data you require and how it would be used would be
advantageous.

Regards

Phil

-- 
Playing the game for the games sake.

* Debian Maintainer

Web:

* Debian Wiki: https://wiki.debian.org/PhilWyett
* Website: https://kathenas.org

Social:

* Twitter: kathenasorg
* Instagram: kathenasorg




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


Re: trying to make gkerelln show motherbord temp and voltages

2023-09-16 Thread Phil Wyett
On Sat, 2023-09-16 at 08:17 -0400, gene heskett wrote:
> Greetings all;
> 
> gkrellm has traditionally used mbmon to collect the motherboard data
> for 
> temps and voltages that it can display. Bub mbmon won't run because
> it 
> can't find the monitor util for this mid-range asus mobo. Complains 
> because it cannot find a via-686 thing, which sounds a bit dated to
> me.
> 
> I just spent around 3 hours with synaptic looking for likely suspects
> w/o any hits.
> 
> Asus z-370 mobo, i5 flavor full 32G memory
> 
> Any suggestions??
> 
> Thanks all;
> 
> Cheers, Gene Heskett.

Hi,

Could you state which version of Debian you are running when making a
request. This will help people immensely.

Regards

Phil

-- 
Playing the game for the games sake.

* Debian Maintainer

Web:

* Debian Wiki: https://wiki.debian.org/PhilWyett
* Website: https://kathenas.org

Social:

* Twitter: kathenasorg
* Instagram: kathenasorg




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


Re: trying to make gkerelln show motherbord temp and voltages

2023-09-16 Thread Phil Wyett
On Sat, 2023-09-16 at 08:17 -0400, gene heskett wrote:
> Greetings all;
> 
> gkrellm has traditionally used mbmon to collect the motherboard data
> for 
> temps and voltages that it can display. Bub mbmon won't run because
> it 
> can't find the monitor util for this mid-range asus mobo. Complains 
> because it cannot find a via-686 thing, which sounds a bit dated to
> me.
> 
> I just spent around 3 hours with synaptic looking for likely suspects
> w/o any hits.
> 
> Asus z-370 mobo, i5 flavor full 32G memory
> 
> Any suggestions??
> 
> Thanks all;
> 
> Cheers, Gene Heskett.

Hi,

Can you more specific on the Asus motherboard, as there are many Z370
variants.

Any logs/output of issues?

Regards

Phil

-- 
Playing the game for the games sake.

* Debian Maintainer

Web:

* Debian Wiki: https://wiki.debian.org/PhilWyett
* Website: https://kathenas.org

Social:

* Twitter: kathenasorg
* Instagram: kathenasorg




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


trying to make gkerelln show motherbord temp and voltages

2023-09-16 Thread gene heskett

Greetings all;

gkrellm has traditionally used mbmon to collect the motherboard data for 
temps and voltages that it can display. Bub mbmon won't run because it 
can't find the monitor util for this mid-range asus mobo. Complains 
because it cannot find a via-686 thing, which sounds a bit dated to me.


I just spent around 3 hours with synaptic looking for likely suspects 
w/o any hits.


Asus z-370 mobo, i5 flavor full 32G memory

Any suggestions??

Thanks all;

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: sata driver compataility Q

2023-09-16 Thread songbird
gene heskett wrote:
> On 9/16/23 06:07, songbird wrote:
>> gene heskett wrote:
>> ...
>>> This setup worked instantly under buster and bullseye, but takes from 30
>>> secs to 5 minutes to open a write requestor window asking where to put
>>> the download I clicked on under bookworrm.
>> 
>>trace the first part of the process and see what is
>> taking so long.
>
> I'd love to, but how do you trace a mouse click?  All the 
> "alphabet-trace" utils I know are cli only. Probably my fault, but...

  replace the /usr/bin/ by a script which traces 
the  in question...  or if it is X related there
are probably ways of tracing X.

  it might be a desktop, greeter or a window manager 
binary of some type but you should eventually be able 
to figure out what is going on.


  songbird



Re: sata driver compataility Q

2023-09-16 Thread gene heskett

On 9/16/23 06:07, songbird wrote:

gene heskett wrote:
...

This setup worked instantly under buster and bullseye, but takes from 30
secs to 5 minutes to open a write requestor window asking where to put
the download I clicked on under bookworrm.


   trace the first part of the process and see what is
taking so long.


I'd love to, but how do you trace a mouse click?  All the 
"alphabet-trace" utils I know are cli only. Probably my fault, but...



   songbird

.


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: sata driver compataility Q

2023-09-16 Thread songbird
gene heskett wrote:
...
> This setup worked instantly under buster and bullseye, but takes from 30 
> secs to 5 minutes to open a write requestor window asking where to put 
> the download I clicked on under bookworrm.

  trace the first part of the process and see what is 
taking so long.


  songbird