Re: [gentoo-user] Problem with virtual desktops in Plasma (partialy solved)

2019-01-28 Thread Davyd McColl




On January 29, 2019 8:17:53 AM Martin Mokrý  wrote:


Dňa 27. 1. 2019 o 11:07 Martin Mokrý napísal(a):

I tried to create new user, and the problem remained. So it is not
problem in my user configuration.



It´s problem with the Wayland. I tried to run Plasma normaly and it
works! Now how to repair Wayland ...
Thanks for reporting back here - I've been scratching my head about this 
for a while. Of course, I'm not using Wayland.









Re: [gentoo-user] Problem with virtual desktops in Plasma (partialy solved)

2019-01-28 Thread Martin Mokrý

Dňa 27. 1. 2019 o 11:07 Martin Mokrý napísal(a):
I tried to create new user, and the problem remained. So it is not 
problem in my user configuration.



It´s problem with the Wayland. I tried to run Plasma normaly and it 
works! Now how to repair Wayland ...





Re: [gentoo-user] Video database software

2019-01-28 Thread Dale
Andrew Udvare wrote:
>> On 2019-01-28, at 17:54, Dale  wrote:
>>
>> So far, I have installed Griffith and GCStar.  I been googling for
>> others but some either are not in the tree or I already know they won't
>> do one thing I'd like to see.  I'd also like to be able to point it to a
>> directory and let it build the database on its own.  Adding them one at
>> a time manually just isn't feasible at all. 
> Seems like you could import via command line? 
> http://wiki.gcstar.org/en/execution
>
> You can build the database you need locally with something like exiftool or 
> MediaInfo, or even ffmpeg https://stackoverflow.com/a/8191228/374110 . I 
> highly doubt anyone with serious collections is building their database one 
> item at a time.
>> Does anyone know of a software package that will sort a lot of videos by
>> resolution as well as track other things as well?  It could be that what
>> I'd like to have doesn't exist at all.  Then again, maybe I just haven't
>> found it yet.  ;-)
> The closest thing I can think of is Kodi since it's scanner will retrieve all 
> this information and store it in a straightforward database format. You can 
> choose SQLite or MySQL (of course MySQL is definitely the better choice for 
> larger collections). The downside is the scanner is very slow, especially 
> over a network (and not optimised). The only viewer for this data (at the 
> time being) is Kodi itself.
>


Not ignoring.  Just pondering this one.  May take some time for me to
test some stuff here.  ;-) 

Thanks much.

Dale

:-)  :-) 



Re: [gentoo-user] Video database software

2019-01-28 Thread Dale
Jack wrote:
> On 2019.01.28 19:01, Dale wrote:
> [snip.]
>> I'll look into f-spot tho.  It may work well for my camera stuff
>> too.  Who knows.  What package does that come with?  I can't find a
>> f-spot here.  Eix didn't help either. 
> F-spot isn't currently packaged anywhere.  It fell into a period of
> lack of maintenance, and had too many build bugs, so most/all distros
> dropped it.  I didn't want to change, so I started figuring out how to
> build it myself.  My current version continues to work, but I have not
> been able to build a new version in over a year.  I can sometimes
> build it under other distros with more up-to-date dotnet stuff.  If I
> ever find something like a flat-pack version, I'll let you know.  If
> you really want to try, the source is at https://github.com/f-spot/f-spot
>
> Don't underestimate your scripting abilities.  It might take learning
> a bit, but you've done that before :-)   Start with modifying your
> grep line so the path to file and grep result are on a single line,
> you can append them to a big file (one line per video with full path
> to video, the size, and some other (hopefully consistent text).  You
> can import that into a libreoffice spreadsheet.  Even if it's only one
> column to start, you can search/replace to change the static text to a
> comma or something to separate items, then to "text to columns."  Then
> you can sort.  I think LO can handle ~20K rows, but you could always
> move/convert it to LO Base (it's simple database - sort of like
> MS-Access).  Still just use the spreadsheet interface, but underneath,
> it's better able to handle the volume and sorting.
>>
>> Thanks for the idea. 
>>
>> Dale
>>
>>  :-)  :-) 
>
> Jack
>


I knew I'd heard of that before.  I didn't realize it was outdated tho. 

Trust me, my scripting is awful.  I have a script that I use to backup
my /home directory.  I wanted to add a section that will make sure the
external drive is mounted first and stop if it isn't.  I googled, found
some nifty examples.  Sort of makes sense, sort of.  Still no clue how
to make it work for me tho.  lol  So sad. 

Some things I get and can pick up fast.  Some things I can't quite grasp
no matter what I try.  Scripting seems to fall into that last category. 
It's pathetic. 

Dale

:-)  :-) 



Re: [gentoo-user] Video database software

2019-01-28 Thread Laurence Perkins



On Mon, 2019-01-28 at 18:01 -0600, Dale wrote:
> 
> I do currently use exiftool to get the resolution.  One, it is
> accurate
> and true every time.  I've never had it be wrong.  I do it this way: 
> exiftool  | grep size   

Assuming you're using bash as your shell then you're pretty close
already. Make it:
echo ", $(exiftool  | grep size)"

Then you just need to run that over every file and append the output to
a data file for searching.  There are a variety of ways to do that
ranging from using loops in your script to doing abominable things with
spreadsheet programs or other editors, so I leave that choice up to
you.

LMP


Re: [gentoo-user] Video database software

2019-01-28 Thread Dale
Laurence Perkins wrote:
> On Mon, 2019-01-28 at 16:54 -0600, Dale wrote:
>> Howdy,
>>
>> As some know, I've accumulated a lot of videos.  I googled around and
>> found some software but not sure based on what they claim if they
>> will
>> do something I'm looking for.  I installed a couple but not real big
>> on
>> how they work.  One requires me to add videos, one at a time.  I have
>> over 20,000 videos now.  Some are short youtube type videos, some are
>> long videos.  It could take me years to add them all doing it one at
>> a
>> time.  Needless to say, that one didn't last long.  The biggest thing
>> I'm looking for, software that can tell me what videos have a low
>> resolution.  As a example, some videos I downloaded a long time ago
>> have
>> been updated to have higher resolutions.  I may have one that is a
>> 360P,
>> or even less, but I may can locate a new version that is HD or even
>> very
>> HD.  I'd like software that will tell me this sort of info as well as
>> other nifty features as well.  Obviously, I'd like to start with the
>> lower resolution videos first.
>>
>> So far, I have installed Griffith and GCStar.  I been googling for
>> others but some either are not in the tree or I already know they
>> won't
>> do one thing I'd like to see.  I'd also like to be able to point it
>> to a
>> directory and let it build the database on its own.  Adding them one
>> at
>> a time manually just isn't feasible at all. 
>>
>> Does anyone know of a software package that will sort a lot of videos
>> by
>> resolution as well as track other things as well?  It could be that
>> what
>> I'd like to have doesn't exist at all.  Then again, maybe I just
>> haven't
>> found it yet.  ;-)
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-) 
>>
> Digikam might be worth a try.  It does some pretty advanced stuff with
> photos and I think at this point it can do quite a bit of the sorting
> and searching stuff with videos as well.  I've not tried it with videos
> myself though so I can't make any promises.
>
> LMP
>
>


I have and use that for pictures.  Maybe it is something recently added
that I missed.  I'll look into that some more.  Since I already use it,
it would be nice.  I just use it to track what is downloaded and what is
not so I use it as a basic tool.  I used to use gtkam, I think that is
the name.  It got a bug of some sort so I switched to digikam several
years ago. 

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Video database software

2019-01-28 Thread Jack

On 2019.01.28 19:01, Dale wrote:
[snip.]
I'll look into f-spot tho.  It may work well for my camera stuff  
too.  Who knows.  What package does that come with?  I can't find a  
f-spot here.  Eix didn't help either. 
F-spot isn't currently packaged anywhere.  It fell into a period of  
lack of maintenance, and had too many build bugs, so most/all distros  
dropped it.  I didn't want to change, so I started figuring out how to  
build it myself.  My current version continues to work, but I have not  
been able to build a new version in over a year.  I can sometimes build  
it under other distros with more up-to-date dotnet stuff.  If I ever  
find something like a flat-pack version, I'll let you know.  If you  
really want to try, the source is at https://github.com/f-spot/f-spot


Don't underestimate your scripting abilities.  It might take learning a  
bit, but you've done that before :-)   Start with modifying your grep  
line so the path to file and grep result are on a single line, you can  
append them to a big file (one line per video with full path to video,  
the size, and some other (hopefully consistent text).  You can import  
that into a libreoffice spreadsheet.  Even if it's only one column to  
start, you can search/replace to change the static text to a comma or  
something to separate items, then to "text to columns."  Then you can  
sort.  I think LO can handle ~20K rows, but you could always  
move/convert it to LO Base (it's simple database - sort of like  
MS-Access).  Still just use the spreadsheet interface, but underneath,  
it's better able to handle the volume and sorting.


Thanks for the idea. 

Dale

 :-)  :-) 


Jack


Re: [gentoo-user] Video database software

2019-01-28 Thread Dale
Jack wrote:
> On 2019.01.28 17:54, Dale wrote:
>> Howdy,
>>
>> As some know, I've accumulated a lot of videos.  I googled around and
>> found some software but not sure based on what they claim if they will
>> do something I'm looking for.  I installed a couple but not real big on
>> how they work.  One requires me to add videos, one at a time.  I have
>> over 20,000 videos now.  Some are short youtube type videos, some are
>> long videos.  It could take me years to add them all doing it one at a
>> time.  Needless to say, that one didn't last long.  The biggest thing
>> I'm looking for, software that can tell me what videos have a low
>> resolution.  As a example, some videos I downloaded a long time ago have
>> been updated to have higher resolutions.  I may have one that is a 360P,
>> or even less, but I may can locate a new version that is HD or even very
>> HD.  I'd like software that will tell me this sort of info as well as
>> other nifty features as well.  Obviously, I'd like to start with the
>> lower resolution videos first.
>>
>> So far, I have installed Griffith and GCStar.  I been googling for
>> others but some either are not in the tree or I already know they won't
>> do one thing I'd like to see.  I'd also like to be able to point it to a
>> directory and let it build the database on its own.  Adding them one at
>> a time manually just isn't feasible at all. 
>>
>> Does anyone know of a software package that will sort a lot of videos by
>> resolution as well as track other things as well?  It could be that what
>> I'd like to have doesn't exist at all.  Then again, maybe I just haven't
>> found it yet.  ;-)
>>
>> Thanks.
>>
>> Dale
> Hi Dale,
>
> I don't know about any such program.  I use f-spot for managing my
> still photos, and it does deal with videos, although I don't know if
> it would easily allow searching/sorting by things like resolution. 
> Even worse, it is not packaged anywhere I know of, and compiling
> yourself (it's a dotnet project) is not easy, if even possible.
>
> However, as I understand it, you want to create a list/database of all
> your videos, with all or some subset of available metadata, such as
> resolution.  Have you looked whether media-libs/exiftool extracts the
> data you need?  If so, it shouldn't be too hard to craft a tool (I
> happen to be a Perl bigot, but any similar language should be
> reasonably close in the required effort) to either put that info into
> a database (sqlite, mysql, mariadb, postgresql, ) or even just a
> single line per video which could be read into a spreadsheet or
> libreoffice base file.
>
> Jack
>


I do currently use exiftool to get the resolution.  One, it is accurate
and true every time.  I've never had it be wrong.  I do it this way: 
exiftool  | grep size   Thing is, my scripting is basic
and that is overrating my skills.  lol  Generally, my scripting skills
consists of taking commands I use on the command line and putting them
in a text file and making it executable.  Trust me, if my life depended
on writing a true script, I'm a dead duck.  :/ 

I use digkam to manage my camera pictures and the pictures from my deer
cameras. It also will do videos from the trail cameras set to take
videos instead of pics but it seems very basic on videos.  I don't think
it even does a thumbnail for videos.  I wish it would do what I want and
I could just have one database for my camera type stuff and one for my
other video type stuff.  It also just required me to point it to the
directory with my pics when I started using it and it built its database
in just a few minutes.  One could wish but unless I'm missing something,
it doesn't do what I need with videos.  I'll look into f-spot tho.  It
may work well for my camera stuff too.  Who knows.  What package does
that come with?  I can't find a f-spot here.  Eix didn't help either. 

Thanks for the idea. 

Dale

:-)  :-) 



Re: [gentoo-user] Video database software

2019-01-28 Thread Andrew Udvare


> On 2019-01-28, at 17:54, Dale  wrote:
> 
> So far, I have installed Griffith and GCStar.  I been googling for
> others but some either are not in the tree or I already know they won't
> do one thing I'd like to see.  I'd also like to be able to point it to a
> directory and let it build the database on its own.  Adding them one at
> a time manually just isn't feasible at all. 

Seems like you could import via command line? 
http://wiki.gcstar.org/en/execution

You can build the database you need locally with something like exiftool or 
MediaInfo, or even ffmpeg https://stackoverflow.com/a/8191228/374110 . I highly 
doubt anyone with serious collections is building their database one item at a 
time.
> 
> Does anyone know of a software package that will sort a lot of videos by
> resolution as well as track other things as well?  It could be that what
> I'd like to have doesn't exist at all.  Then again, maybe I just haven't
> found it yet.  ;-)

The closest thing I can think of is Kodi since it's scanner will retrieve all 
this information and store it in a straightforward database format. You can 
choose SQLite or MySQL (of course MySQL is definitely the better choice for 
larger collections). The downside is the scanner is very slow, especially over 
a network (and not optimised). The only viewer for this data (at the time 
being) is Kodi itself.

-- 
Andrew


Re: [gentoo-user] Video database software

2019-01-28 Thread Laurence Perkins
On Mon, 2019-01-28 at 16:54 -0600, Dale wrote:
> Howdy,
> 
> As some know, I've accumulated a lot of videos.  I googled around and
> found some software but not sure based on what they claim if they
> will
> do something I'm looking for.  I installed a couple but not real big
> on
> how they work.  One requires me to add videos, one at a time.  I have
> over 20,000 videos now.  Some are short youtube type videos, some are
> long videos.  It could take me years to add them all doing it one at
> a
> time.  Needless to say, that one didn't last long.  The biggest thing
> I'm looking for, software that can tell me what videos have a low
> resolution.  As a example, some videos I downloaded a long time ago
> have
> been updated to have higher resolutions.  I may have one that is a
> 360P,
> or even less, but I may can locate a new version that is HD or even
> very
> HD.  I'd like software that will tell me this sort of info as well as
> other nifty features as well.  Obviously, I'd like to start with the
> lower resolution videos first.
> 
> So far, I have installed Griffith and GCStar.  I been googling for
> others but some either are not in the tree or I already know they
> won't
> do one thing I'd like to see.  I'd also like to be able to point it
> to a
> directory and let it build the database on its own.  Adding them one
> at
> a time manually just isn't feasible at all. 
> 
> Does anyone know of a software package that will sort a lot of videos
> by
> resolution as well as track other things as well?  It could be that
> what
> I'd like to have doesn't exist at all.  Then again, maybe I just
> haven't
> found it yet.  ;-)
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 
> 

Digikam might be worth a try.  It does some pretty advanced stuff with
photos and I think at this point it can do quite a bit of the sorting
and searching stuff with videos as well.  I've not tried it with videos
myself though so I can't make any promises.

LMP



Re: [gentoo-user] Video database software

2019-01-28 Thread Jack

On 2019.01.28 17:54, Dale wrote:

Howdy,

As some know, I've accumulated a lot of videos.  I googled around and
found some software but not sure based on what they claim if they will
do something I'm looking for.  I installed a couple but not real big  
on

how they work.  One requires me to add videos, one at a time.  I have
over 20,000 videos now.  Some are short youtube type videos, some are
long videos.  It could take me years to add them all doing it one at a
time.  Needless to say, that one didn't last long.  The biggest thing
I'm looking for, software that can tell me what videos have a low
resolution.  As a example, some videos I downloaded a long time ago  
have
been updated to have higher resolutions.  I may have one that is a  
360P,
or even less, but I may can locate a new version that is HD or even  
very

HD.  I'd like software that will tell me this sort of info as well as
other nifty features as well.  Obviously, I'd like to start with the
lower resolution videos first.

So far, I have installed Griffith and GCStar.  I been googling for
others but some either are not in the tree or I already know they  
won't
do one thing I'd like to see.  I'd also like to be able to point it  
to a
directory and let it build the database on its own.  Adding them one  
at

a time manually just isn't feasible at all. 

Does anyone know of a software package that will sort a lot of videos  
by
resolution as well as track other things as well?  It could be that  
what
I'd like to have doesn't exist at all.  Then again, maybe I just  
haven't

found it yet.  ;-)

Thanks.

Dale

Hi Dale,

I don't know about any such program.  I use f-spot for managing my  
still photos, and it does deal with videos, although I don't know if it  
would easily allow searching/sorting by things like resolution.  Even  
worse, it is not packaged anywhere I know of, and compiling yourself  
(it's a dotnet project) is not easy, if even possible.


However, as I understand it, you want to create a list/database of all  
your videos, with all or some subset of available metadata, such as  
resolution.  Have you looked whether media-libs/exiftool extracts the  
data you need?  If so, it shouldn't be too hard to craft a tool (I  
happen to be a Perl bigot, but any similar language should be  
reasonably close in the required effort) to either put that info into a  
database (sqlite, mysql, mariadb, postgresql, ) or even just a  
single line per video which could be read into a spreadsheet or  
libreoffice base file.


Jack


[gentoo-user] Video database software

2019-01-28 Thread Dale
Howdy,

As some know, I've accumulated a lot of videos.  I googled around and
found some software but not sure based on what they claim if they will
do something I'm looking for.  I installed a couple but not real big on
how they work.  One requires me to add videos, one at a time.  I have
over 20,000 videos now.  Some are short youtube type videos, some are
long videos.  It could take me years to add them all doing it one at a
time.  Needless to say, that one didn't last long.  The biggest thing
I'm looking for, software that can tell me what videos have a low
resolution.  As a example, some videos I downloaded a long time ago have
been updated to have higher resolutions.  I may have one that is a 360P,
or even less, but I may can locate a new version that is HD or even very
HD.  I'd like software that will tell me this sort of info as well as
other nifty features as well.  Obviously, I'd like to start with the
lower resolution videos first.

So far, I have installed Griffith and GCStar.  I been googling for
others but some either are not in the tree or I already know they won't
do one thing I'd like to see.  I'd also like to be able to point it to a
directory and let it build the database on its own.  Adding them one at
a time manually just isn't feasible at all. 

Does anyone know of a software package that will sort a lot of videos by
resolution as well as track other things as well?  It could be that what
I'd like to have doesn't exist at all.  Then again, maybe I just haven't
found it yet.  ;-)

Thanks.

Dale

:-)  :-) 



[gentoo-user] RAID-1 on secondary disks how?

2019-01-28 Thread Peter Humphrey
Hello list,

(I've been off-line for ten days and I haven't yet caught up with the list. I 
had to send my machine to its maker to have a cooling-system hardware fault 
fixed.)

I've added two SSDs to my workstation, intending to create a RAID-1 array on 
them to store backups (which may be another question when I've got the setup 
right), but I cannot create the array to create LVM.

Each disk has an 80GiB NTFS partition in case I want to install Windows, then 
a 500GiB ext2 partition.

When I run "mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda2 /dev/
sdb2", this is what I get:

# mdadm --stop /dev/md0
mdadm: stopped /dev/md0
# mdadm: /dev/sda2 appears to contain an ext2fs file system
   size=524288000K  mtime=Thu Jan  1 01:00:00 1970
mdadm: /dev/sdb2 appears to contain an ext2fs file system
   size=524288000K  mtime=Thu Jan  1 01:00:00 1970
Continue creating array? y
mdadm: RUN_ARRAY failed: Invalid argument

If I boot from SysRescCD I also get "device /dev/sda2 exists but is not an md 
device." I also had to "mdadm --stop /dev/md127" since that OS calls the first 
array that.

I've tried with a GPT disk header and with an MSDOS one, with similar results. 
Also with /etc/init.d/mdraid not running, with it started on my command and 
with it in the boot runlevel. Each time I changed anything I rebooted before 
trying anything else.

I must be missing something, in spite of following the wiki instructions. Can 
someone help an old duffer out?

-- 
Regards,
Peter.