Re: Paper size reported in Document Viewer.

2018-09-30 Thread Reco
Hi.

On Sun, Sep 30, 2018 at 10:56:05PM -0700, pe...@easthope.ca wrote:
> Hi,
> 
> Debian 9 with Document Viewer 3.22.1 here.
> 
> Given 
> http://easthope.ca/AIGAbusIconScaled.svg 

8.5/11 = .7727272...

> the file 
> http://easthope.ca/AIGAbusIconScaled.pdf 

pdfinfo AIGAbusIconScaled.pdf says it's 765 x 990 pts.

765/990 = .7727272...

> is obtained by
> rsvg-convert -f pdf AIGAbusIconScaled.svg > AIGAbusIconScaled.pdf .

So rsvg-convert seem to preserve aspect ratio.


> The svg file has attributes 'width="8.5in" height="11in"' in the outermost 
> svg element.

'S' in SVG stands for 'Scalable'. These sizes can be transformed into
anything.


> The PDF is displayed with Document Viewer and there Properties 
> shows "Paper Size 270 x 349 mm".  That is 10.62 x 13.74 inches.

rsvg-convert(1) says that it uses 90dpi by default.

8.5*90 = 765
11*90 = 990

> I don't understand that paper size.  The numbers have no apparent 
> connection to the svg specification or to the PDF file.  

They do. You define aspect ratio in SVG. You define actual size by
specifying (or using default) DPI.

Reco



Paper size reported in Document Viewer.

2018-09-30 Thread peter
Hi,

Debian 9 with Document Viewer 3.22.1 here.

Given 
http://easthope.ca/AIGAbusIconScaled.svg 
the file 
http://easthope.ca/AIGAbusIconScaled.pdf 
is obtained by
rsvg-convert -f pdf AIGAbusIconScaled.svg > AIGAbusIconScaled.pdf .

The svg file has attributes 'width="8.5in" height="11in"' in the outermost svg 
element.
The PDF is displayed with Document Viewer and there Properties 
shows "Paper Size 270 x 349 mm".  That is 10.62 x 13.74 inches.

I don't understand that paper size.  The numbers have no apparent 
connection to the svg specification or to the PDF file.  

Ideas?

Thanks, ... Peter E.
-- 
Message composed and transmitted by software designed to avoid the 
need, overhead and vulnerability of antivirus software.

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202 
http://easthope.ca/Peter.html  Bcc: peter at easthope. ca



is it possible to install previous mplayer

2018-09-30 Thread Li Wei
i've installed jessie
instead of installing jessie's mplayer, can i install wheezy's mplayer?



Re: Decrypting LUKS from initramfs; was: Re: ext2 for /boot ???

2018-09-30 Thread Celejar
On Sun, 30 Sep 2018 20:03:41 +1000
Andrew McGlashan  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> Hi,
> 
> On 30/09/18 16:44, deloptes wrote:
> > Celejar wrote:
> > 
> >> But grub itself and its configuration can't be encrypted, so an 
> >> attacker could still compromise that code / data. IIUC, your
> >> solution basically just implies moving some of the logic
> >> currently in the initramfs into grub.
> > 
> > Yes, this is the point I am making.
> > 
> >> One solution is to run grub from removable media, and preventing 
> >> attackers from getting physical access to it ...
> 
> You can sometimes do remote mounting in something like HP's iLO 
> you could mount a floppy or ISO image and boot it with the image only
> being available from a client machine using iLo.  But it won't work
> for machines without such capability.

I actually do the equivalent using Dell's iDrac - I configure it
(together with the machine's BIOS) to make the system console available
over ssh (using iDrac ssh credentials), and then use that console to
provide the credentials to unlock the system disk. IIUC, the security of
this is equivalent to your method.

Celejar



Re: Scribus has stopped importing PDF files - repost - original thread was hijacked

2018-09-30 Thread SDA
On Wed, Sep 26, 2018 at 02:45:18PM -0400, Gary Dale wrote:
> For the last few days, some Scribus documents I work with have stopped
> accepting PDF files within image frames. Prior to this, they would display a
> preview. Now new image frames that I create show just the file name, but
> some older frames within the document still show the preview.
> 
> When I export the document as a PDF, the frames that just display the file
> name export as empty/blank. The older frame that shows a preview causes the
> export to stop with an error saying it was unable to load the image.
> 
> I'm not sure if this is related to something in the PDFs or not. However it
> is happening on two documents I am working on.

You got an answer - It was suggested to ask on the Scribus forums. Not many 
poeple here are going to be in desktop publishing.

You might have told the poster to stop hijacking threads in your orignal 
post too! He probably didn't no better and it would have helped him amend 
his ways ... Just saying. 



Re: all files moved to lost+found

2018-09-30 Thread Cindy-Sue Causey
On 9/30/18, Beco  wrote:
> On Sun, 30 Sep 2018 at 16:40, bw  wrote:
>
>>
>> 286699 files on a partition with only /home on it sounds a little high?
>>
>>
> Hi BW,
>
> the directory lost+found is also in the /home partition.


Mine's 118,000 THIS time 'round because I've thinned it out over time.
If someone was using /home instead of /src or anything else for
development, it could easily go that high. I've either seen
instructions say to do that or I've seen users writing about problems
that were housed in that directory.

Playing around with npm plants a dot "not hidden" (grin) directory
under that /home hierarchy, too. That can grow in size real quick.
Been there, done that. :)

"Not hidden" dot cache and dot config directories would add up over
time, too, depending on one's style of backup combined with system
stability.

What about that 2TB sized hard drive on a laptop'ish, right? I've seen
where that's not compatible in *some* cases although I'm sure newer
equipment could handle it. I have secondhand, older equipment that all
has an expressed/recommended 1TB size limit, if that much.

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *



Re: all files moved to lost+found

2018-09-30 Thread Beco
On Sun, 30 Sep 2018 at 16:40, bw  wrote:


>
> 286699 files on a partition with only /home on it sounds a little high?
>
>
Hi BW,

the directory lost+found is also in the /home partition.



Beco
-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex&search=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-09-30 Thread Beco
On Sun, 30 Sep 2018 at 14:11, Abdullah Ramazanoğlu  wrote:

> On Sun, 30 Sep 2018 11:09:50 -0300 Beco said:
>
> > Hi everyone,
> >
> > I have a bit of a problem I never faced before and I'm in need of some
> > guidance that may require some patience if to do it right and not lose
> any
> > data.
> >
> > I have a lenovo ideapad 320, and I changed its internal HD to a 2TB
> > seagate, 3 months ago.
> >
> > In the last couple of weeks I got this "small" problem twice:
> >
> > Laptop won't boot saying it couldn't read /home partition. The only
> > partition in the 2TB plus a swap. OS is in a SSD.
> >
> > So, twice I could login as root single mode, run:
> >
> > e2fsck -vy /dev/sda3
> >
> > and boot ok after lots of messages of inodes failing to do their inodes
> > thing.
> >
> > This time was different: I booted the machine and it won't complain, just
> > opened KDE with no icons on it. Blank desktop, with my owl wallpaper.
> >
> > I was worried, moved to tty1, killed the desktop section and then run the
> > same e2fsck above. Again, lots of inodes errors.
> >
> > No badblocks. I also run e2fsck -pckv /dev/sda3 which took 5 hours to
> > finish, and no badblocks.
> >
> > Now, I rebooted it, and still, same empty /home/user
> >
> > I notice on the other hand that there are A LOT of files under
> > /home/lost+found
> > All names are just numbers in the form "#383389933" and so on. Even
> > directories like that.
> >
> > I used "file #339938383" to see what the file is about. I found some PGN
> > images, and I could also identify some of my directories. They seem to be
> > all there. Just the names are crazy, and they are not in /home/user.
> >
> > Now that I never got before.
> >
> > How should I proceed?
> >
> > Is there a command that brings back lost+found files to theis
> > "found-and-not-lost" correct places?
> >
> > Thanks guys.
> >
> > Beco
>
> Hi Beco,
>
> As I understand it you had repeated disk failures and consecutively a
> massive
> file-system corruption.
>
> The files in lost+found are those that are recovered by fsck. There are
> probably unrecovered ones too (lost forever). As for restoring their
> original
> names and directory hierarchy, I don't know if it is possible at all -
> other
> than manually inspecting and renaming/relocating every one of them
> separately.
> I think the best course of action would be dealing with the hardware and FS
> corruption issue first, and then reformatting /home and restoring from
> backups.
>
> --
> Abdullah Ramazanoğlu
>
>
>
Dear Abdullah,

Thanks for your reply. I tend to agree. I am still not sure what CAUSED the
problem in the first place.

If I need to change HD? (I'm not convinced, HD seems ok). Is there any kind
of hardware problem with LENOVO IDEAPAD 320? Maybe... But what?

And the logs... I looked at various logs, no problems, except some minor
drivers that won't read (like wireless and nvidia).
Same old, same old.

Now this, this is my first time. To loose ALL /home?? In the first morning
boot, without warning, just a clean boot and a empty desktop?

What sorcery is that?

Beco





-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex&search=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-09-30 Thread Beco
On Sun, 30 Sep 2018 at 15:25, David Christensen 
wrote:

> On 9/30/18 7:09 AM, Beco wrote:
> > Hi everyone,
> >
> > I have a bit of a problem I never faced before and I'm in need of some
> > guidance that may require some patience if to do it right and not lose
> any
> > data.
> >
> > I have a lenovo ideapad 320, and I changed its internal HD to a 2TB
> > seagate, 3 months ago.
> >
> > In the last couple of weeks I got this "small" problem twice:
> >
> > Laptop won't boot saying it couldn't read /home partition. The only
> > partition in the 2TB plus a swap. OS is in a SSD.
> >
> > So, twice I could login as root single mode, run:
> >
> > e2fsck -vy /dev/sda3
> >
> > and boot ok after lots of messages of inodes failing to do their inodes
> > thing.
> >
> > This time was different: I booted the machine and it won't complain, just
> > opened KDE with no icons on it. Blank desktop, with my owl wallpaper.
> >
> > I was worried, moved to tty1, killed the desktop section and then run the
> > same e2fsck above. Again, lots of inodes errors.
> >
> > No badblocks. I also run e2fsck -pckv /dev/sda3 which took 5 hours to
> > finish, and no badblocks.
> >
> > Now, I rebooted it, and still, same empty /home/user
> >
> > I notice on the other hand that there are A LOT of files under
> > /home/lost+found
> > All names are just numbers in the form "#383389933" and so on. Even
> > directories like that.
> >
> > I used "file #339938383" to see what the file is about. I found some PGN
> > images, and I could also identify some of my directories. They seem to be
> > all there. Just the names are crazy, and they are not in /home/user.
> >
> > Now that I never got before.
> >
> > How should I proceed?
> >
> > Is there a command that brings back lost+found files to theis
> > "found-and-not-lost" correct places?
> >
> > Thanks guys.
> >
> > Beco
>
> Download and run Seagate's diagnostic tool on the 2 TB drive:
>
> https://www.seagate.com/support/downloads/seatools/
>
> (I have been using the bootable CD image for years ("legacy"), but it
> looks like they finally have a bootable USB image.)
>
> Use a camera and take pictures of the various screens.  Transcribe them
> into a reply to this list.
>
>
> Do you have backups?
>
>
> David
>
>
>
>

Thanks David,

I'll give it a try. I just run

e2fsck -pckv /dev/sda3

It lasted 5 hours running. I took a picture, here is the transcript:

286708 inodes used (0.25% of 112926720)
3776 non-contiguous files (1.3%)
84 non-contiguous dir (0%)
ind/dind/tind blocks: 0/0/0
extent depth histogram: 285759/645
67067830 blocks used (14% of 451678229)
0 bad blocks
11 large files

240878 reg files
45498 dir
0 char devs
0 block devs
2 fifos
0 links
319 symbolic links
2 sockets
-
286699 files


--

but if you look /home/user, it is just empty. Ok, I found a couple of
hidden files, like .bashrc, .profile, .config and things inside it. For
example, inside .config there are files like cache, git-config, etc.

Some are missing. My .ssh dir for example, with keys, missing.

Inside /home/lost+found is just madness

A LOT A LOT of #32432432 #2342342 #52343242 #5234234 #4234324
and many dirs:
#123123123/ #5235235234/
etc.

Should I install this software regardless? I mean, I don't want to start
installing things on the HD that I'm supposed to recover somehow.

What could cause this in the first place? Yesterday I turned it off ok,
went to sleep, and today the first boot and nothing on /home.


Regarding backup, I was afraid my last backup was 3 months old. It turns
out I have one just one month old. It is a big loss yet, but well, what can
you do after the fact...

Is it possible that this microcodes updating everyweek turned our computer
into timebombs? My laptop is new, debian was installed 3 months ago,
nothing much here.

I'm writing from my old laptop, 6 years old, debian, still working. The
same configuration I used in the new one. This old is DELL, the new one is
LENOVO.

Original HD was 1TB and no SSD. That was the only modification I made: SSD
with / root, and 2TB HD seagate with /home.

Yesterday I noticed while using google chrome to browse that everything
froze. I needed to go to tty1 (ALT+F1) and kill sddm (systemctl restart
sddm), and then back to ALT+F7 , login again, and all good to use.


Beco



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex&search=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-09-30 Thread David Christensen

On 9/30/18 7:09 AM, Beco wrote:

Hi everyone,

I have a bit of a problem I never faced before and I'm in need of some
guidance that may require some patience if to do it right and not lose any
data.

I have a lenovo ideapad 320, and I changed its internal HD to a 2TB
seagate, 3 months ago.

In the last couple of weeks I got this "small" problem twice:

Laptop won't boot saying it couldn't read /home partition. The only
partition in the 2TB plus a swap. OS is in a SSD.

So, twice I could login as root single mode, run:

e2fsck -vy /dev/sda3

and boot ok after lots of messages of inodes failing to do their inodes
thing.

This time was different: I booted the machine and it won't complain, just
opened KDE with no icons on it. Blank desktop, with my owl wallpaper.

I was worried, moved to tty1, killed the desktop section and then run the
same e2fsck above. Again, lots of inodes errors.

No badblocks. I also run e2fsck -pckv /dev/sda3 which took 5 hours to
finish, and no badblocks.

Now, I rebooted it, and still, same empty /home/user

I notice on the other hand that there are A LOT of files under
/home/lost+found
All names are just numbers in the form "#383389933" and so on. Even
directories like that.

I used "file #339938383" to see what the file is about. I found some PGN
images, and I could also identify some of my directories. They seem to be
all there. Just the names are crazy, and they are not in /home/user.

Now that I never got before.

How should I proceed?

Is there a command that brings back lost+found files to theis
"found-and-not-lost" correct places?

Thanks guys.

Beco


Download and run Seagate's diagnostic tool on the 2 TB drive:

https://www.seagate.com/support/downloads/seatools/

(I have been using the bootable CD image for years ("legacy"), but it 
looks like they finally have a bootable USB image.)


Use a camera and take pictures of the various screens.  Transcribe them 
into a reply to this list.



Do you have backups?


David





Re: Syncing GnuPG between 2 system

2018-09-30 Thread deloptes
Teemu Likonen wrote:

> Encryption requires recipient's public [E] key only. It seems that, in
> addition to encrypting, you are also signing the message. For that you
> need a secret (sub)key that has signing capability [S].

Thank you! It is exactly how it is.



Re: Syncing GnuPG between 2 system

2018-09-30 Thread Teemu Likonen
delop...@gmail.com [2018-09-30 19:39:03+02] wrote:

> Teemu Likonen wrote:
>> No. To encrypt you need recipients' public keys which have an encryption
>> capability [E]. Usually there is an encryption subkey. To decrypt you
>> need the secret key which is associated with the public [E] key that was
>> used to encrypt.
>
> Here is something I do not get - to encrypt I am asked for password -
> I guess it is for my secret key, no?

Encryption requires recipient's public [E] key only. It seems that, in
addition to encrypting, you are also signing the message. For that you
need a secret (sub)key that has signing capability [S].

-- 
/// Teemu Likonen   - .-..    //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///


signature.asc
Description: PGP signature


Re: Syncing GnuPG between 2 system

2018-09-30 Thread deloptes
Teemu Likonen wrote:

> delop...@gmail.com [2018-09-30 01:09:05+02] wrote:
> 
>> A key is associated with identity -> the email. With the sub keys you
>> can add more identities.
> 
> No. OpenPGP key's user id's (name, comment, email) are with the public
> master key, not with subkeys.
> 

OK, sorry for adding the sub there - one couldadd more identities to the key
and sign/encrypt with the key

>> Still to encrypt you need the private key.
> 
> No. To encrypt you need recipients' public keys which have an encryption
> capability [E]. Usually there is an encryption subkey. To decrypt you
> need the secret key which is associated with the public [E] key that was
> used to encrypt.

Here is something I do not get - to encrypt I am asked for password - I
guess it is for my secret key, no?




all files moved to lost+found

2018-09-30 Thread Beco
Hi everyone,

I have a bit of a problem I never faced before and I'm in need of some
guidance that may require some patience if to do it right and not lose any
data.

I have a lenovo ideapad 320, and I changed its internal HD to a 2TB
seagate, 3 months ago.

In the last couple of weeks I got this "small" problem twice:

Laptop won't boot saying it couldn't read /home partition. The only
partition in the 2TB plus a swap. OS is in a SSD.

So, twice I could login as root single mode, run:

e2fsck -vy /dev/sda3

and boot ok after lots of messages of inodes failing to do their inodes
thing.

This time was different: I booted the machine and it won't complain, just
opened KDE with no icons on it. Blank desktop, with my owl wallpaper.

I was worried, moved to tty1, killed the desktop section and then run the
same e2fsck above. Again, lots of inodes errors.

No badblocks. I also run e2fsck -pckv /dev/sda3 which took 5 hours to
finish, and no badblocks.

Now, I rebooted it, and still, same empty /home/user

I notice on the other hand that there are A LOT of files under
/home/lost+found
All names are just numbers in the form "#383389933" and so on. Even
directories like that.

I used "file #339938383" to see what the file is about. I found some PGN
images, and I could also identify some of my directories. They seem to be
all there. Just the names are crazy, and they are not in /home/user.

Now that I never got before.

How should I proceed?

Is there a command that brings back lost+found files to theis
"found-and-not-lost" correct places?

Thanks guys.

Beco


-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex&search=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: Where is xfce.org?

2018-09-30 Thread Andrew McGlashan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256



On 30/09/18 11:06, Dennis Wicks wrote:
> What has happened to xfce.org? It seems to have disappeared and
> left no tracks.

If there is something you need from archive, you might find it here:

https://web.archive.org/web/*/https://xfce.org

Cheers
A.
-BEGIN PGP SIGNATURE-

iHUEAREIAB0WIQTJAoMHtC6YydLfjUOoFmvLt+/i+wUCW7ChgQAKCRCoFmvLt+/i
+2b4AP9BVLm8JQIutdE/3YipSzaVqoiNFEfoSAPXlFAiZ0m9CgEA2s0+k+/THSVr
TMPJ6pMn+1c8kGO+wTyvvC/A+uHcSBI=
=iyRM
-END PGP SIGNATURE-



Re: Where is xfce.org?

2018-09-30 Thread Andrew McGlashan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256



On 30/09/18 11:06, Dennis Wicks wrote:
> What has happened to xfce.org? It seems to have disappeared and
> left no tracks.

# whois xfce.org
Domain Name: XFCE.ORG
Registry Domain ID: D2054147-LROR
Registrar WHOIS Server: whois.networksolutions.com
Registrar URL: http://www.networksolutions.com
Updated Date: 2018-01-12T22:30:17Z
Creation Date: 1998-09-28T04:00:00Z
Registry Expiry Date: 2021-09-27T04:00:00Z

Probably just renewed, and possibly late  ?

Cheers
A.
-BEGIN PGP SIGNATURE-

iHUEAREIAB0WIQTJAoMHtC6YydLfjUOoFmvLt+/i+wUCW7ChRAAKCRCoFmvLt+/i
+7yQAP9vSQ35cxxstCwPGeJOnYRjB3/Exkc7uOk/VIcuPFLPxAD/UT4/tFSPPV24
LW3qFUO8D2T/bWfDf4DjFLZ4+3s9OWA=
=PdPO
-END PGP SIGNATURE-



Re: Decrypting LUKS from initramfs; was: Re: ext2 for /boot ???

2018-09-30 Thread Andrew McGlashan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

On 30/09/18 16:44, deloptes wrote:
> Celejar wrote:
> 
>> But grub itself and its configuration can't be encrypted, so an 
>> attacker could still compromise that code / data. IIUC, your
>> solution basically just implies moving some of the logic
>> currently in the initramfs into grub.
> 
> Yes, this is the point I am making.
> 
>> One solution is to run grub from removable media, and preventing 
>> attackers from getting physical access to it ...

You can sometimes do remote mounting in something like HP's iLO 
you could mount a floppy or ISO image and boot it with the image only
being available from a client machine using iLo.  But it won't work
for machines without such capability.

Cheers
A.
-BEGIN PGP SIGNATURE-

iHUEAREIAB0WIQTJAoMHtC6YydLfjUOoFmvLt+/i+wUCW7CfdgAKCRCoFmvLt+/i
+zdRAQDLYu/z/LeeYe0rEmjRhzOU/K9zFPOWiICf/1elYU1htQEAq8YIRVub6kjb
Kw142B0ig3S0CkEY39l4Jq0IRbipGlY=
=BYHj
-END PGP SIGNATURE-



Re: Syncing GnuPG between 2 system

2018-09-30 Thread Teemu Likonen
delop...@gmail.com [2018-09-30 01:09:05+02] wrote:

> A key is associated with identity -> the email. With the sub keys you
> can add more identities.

No. OpenPGP key's user id's (name, comment, email) are with the public
master key, not with subkeys.

> Still to encrypt you need the private key.

No. To encrypt you need recipients' public keys which have an encryption
capability [E]. Usually there is an encryption subkey. To decrypt you
need the secret key which is associated with the public [E] key that was
used to encrypt.

-- 
/// Teemu Likonen   - .-..    //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///


signature.asc
Description: PGP signature