Re: [gentoo-user] showing files in numerical order

2016-10-20 Thread J. Roeleveld
On Thursday, October 20, 2016 08:25:22 AM Philip Webb wrote:
> Using Gwenview with KDE 4, the thumbnail view showed images
> in correct numerical order : image1 image2 ... image9 image10 ... .
> With KDE 5, it's gone stupid : image1 image11 image12 ...
> image 19 image2 image20 image21 ...
> 
> Is there a setting anywhere
> to tell it to list files in the proper numerical order ?

Are you sure it was showing them in numerical order? 
And not sorted based on timestamp?

--
Joost



Re: [gentoo-user] showing files in numerical order

2016-10-20 Thread Bertram Scharpf
On Thursday, 20. Oct 2016, 08:25:22 -0400, Philip Webb wrote:
> Using Gwenview with KDE 4, the thumbnail view showed images
> in correct numerical order : image1 image2 ... image9 image10 ... .
> With KDE 5, it's gone stupid : image1 image11 image12 ...
> image 19 image2 image20 image21 ...
> 
> Is there a setting anywhere
> to tell it to list files in the proper numerical order ?

I know it is a smart-arse answer, but it's better for sore
eyes if you rename your files to unique-width numbers.

  $ for f in image* ; do mv $f image_`printf %03d ${f##image}` ; done

(This works for zsh and may need slight changes for bash.)

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] showing files in numerical order

2016-10-20 Thread Neil Bothwick
On Thu, 20 Oct 2016 15:27:34 +0200, Andy Mender wrote:

> You may be surprised, but this is the proper numerical order - the way
> Windows Explorer normally does it.

Ah well, it must be right then!

> Only the 1st digit is taken into account as you noticed.

All digits are taken into account, but not as digits. This is a lexical
sort based on characters, not numbers.

I don't use Gwenview, but if this option was there and then removed, I
would consider that worthy of a bug report.


-- 
Neil Bothwick

Always remember you're unique, just like everyone else.


pgpKkp5oChxwo.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] showing files in numerical order

2016-10-20 Thread Philip Webb
161020 Michael Mol wrote:
> On 20 October 2016 at 14:25, Philip Webb  wrote:
>> Using Gwenview with KDE 4, the thumbnail view showed images
>> in correct numerical order : image1 image2 ... image9 image10 ... .
>> With KDE 5, it's gone stupid : image1 image11 image12 ...
>> image 19 image2 image20 image21 ...
>> Is there a setting anywhere
>> to tell it to list files in the proper numerical order ?
> On Thursday, October 20, 2016 03:27:34 PM Andy Mender wrote:
>> You may be surprised, but this is the proper numerical order,
>> the way Windows Explorer normally does it.

You must be joking (no smile).

>> Only the 1st digit is taken into account as you noticed.
>> Care to try renaming the images to "image_xxx"? 

Yes, I do care ! -- I could insert initial zeros, but it's a lot of work.

> No, it's not the proper numerical order.  Yes, it's the proper sort
> for a sorting algorithm unaware that it's sorting strings
> with numeric components, such as a one examining input
> on a strictly codepoint-by-codepoint or character-by-character basis,
> but that's not the only way to sort.  I'd suggest filing a bug.
> I don't know enough about collations to know
> whether or not localization is supposed to cover numeric sorting,
> but the old behavior was clearly better, from a human UI standpoint.

I'll consider a bug.  My impression of KDE 5 is favorable so far,
so I would expect this is either configurable or an oversight.

Anyone else know more ?

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




Re: [gentoo-user] showing files in numerical order

2016-10-20 Thread Michael Mol
No, it's not the proper numerical order. Yes, it's the proper sort for a 
sorting algorithm unaware that it's sorting strings with numeric components, 
such as a one examining input on a strictly codepoint-by-codepoint or 
character-by-character basis, but that's not the only way to sort.

I'd suggest filing a bug. I don't know enough about collations to know whether 
or not localization is supposed to cover numeric sorting, but the old behavior 
was clearly better, from a human UI standpoint.


On Thursday, October 20, 2016 03:27:34 PM Andy Mender wrote:
> You may be surprised, but this is the proper numerical order - the way
> Windows Explorer
> normally does it. Only the 1st digit is taken into account as you noticed.
> 
> Care to try renaming the images to "image_xxx"? Perhaps that helps.
> 
> Best regards,
> Andy
> 
> On 20 October 2016 at 14:25, Philip Webb  wrote:
> > Using Gwenview with KDE 4, the thumbnail view showed images
> > in correct numerical order : image1 image2 ... image9 image10 ... .
> > With KDE 5, it's gone stupid : image1 image11 image12 ...
> > image 19 image2 image20 image21 ...
> > 
> > Is there a setting anywhere
> > to tell it to list files in the proper numerical order ?
> > 
> > --
> > ,,
> > SUPPORT ___//___,   Philip Webb
> > ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> > TRANSIT`-O--O---'   purslowatchassdotutorontodotca
-- 
:wq

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


Re: [gentoo-user] showing files in numerical order

2016-10-20 Thread Andy Mender
You may be surprised, but this is the proper numerical order - the way
Windows Explorer
normally does it. Only the 1st digit is taken into account as you noticed.

Care to try renaming the images to "image_xxx"? Perhaps that helps.

Best regards,
Andy

On 20 October 2016 at 14:25, Philip Webb  wrote:

> Using Gwenview with KDE 4, the thumbnail view showed images
> in correct numerical order : image1 image2 ... image9 image10 ... .
> With KDE 5, it's gone stupid : image1 image11 image12 ...
> image 19 image2 image20 image21 ...
>
> Is there a setting anywhere
> to tell it to list files in the proper numerical order ?
>
> --
> ,,
> SUPPORT ___//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT`-O--O---'   purslowatchassdotutorontodotca
>
>
>


[gentoo-user] showing files in numerical order

2016-10-20 Thread Philip Webb
Using Gwenview with KDE 4, the thumbnail view showed images
in correct numerical order : image1 image2 ... image9 image10 ... .
With KDE 5, it's gone stupid : image1 image11 image12 ...
image 19 image2 image20 image21 ...

Is there a setting anywhere
to tell it to list files in the proper numerical order ?

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




Re: [gentoo-user] screen tearing with mpv but not mplayer

2016-10-20 Thread Behrouz Khosravi

You could test different video output drivers and also hardware decoding.

If you use deinterlace you can also try to tune it's values.

This my mpv config file:

vo=vdpau:deint=-3,opengl-hq:scale=spline36,xv
hwdec=vdpau
audio-device='alsa/iec958:CARD=SB,DEV=0'
audio-channels=auto

P.S.: Sorry for the many replies. I better should turn on my mind
before posting.

--
Regards
wabe



Thanks for the response. Actually my laptop has a nvidia chip which I 
have tured off and I'm using the intel integrated chip.


I tried testing some options in config file, but it didnt help.

I guess I should stick to mplayer instead of mpv.

Thanks
Behrouz