Re: Adding metadata tags to wav files

2017-06-11 Thread Gener Badenas
Have you tried using Kid3?  Doc says it supports wav file.  Not CLI program
though.

On Sun, Jun 11, 2017 at 1:34 AM, Rodolfo Medina 
wrote:

> I successfully add metadata tags (album, artist, title, genre...) to mp3
> files
> using ffmpeg:
>
>  $ ffmpeg -i input.mp3 -c copy -metadata title="Yesterday" output.mp3
>
> .  When I do the same with wav format, the tags are then properly shown by
> ffmpeg itself, but they aren't by common media players.  Has anyone ever
> experimented that, with ffmpeg or other tools?
>
> Thanks,
>
> Rodolfo
>
>


-- 
My Java Blog 


Re: Truncating MPGs or MP4s

2016-07-04 Thread Gener Badenas
On Sat, Jul 2, 2016 at 10:33 PM, brian  wrote:

>
> Hi folks,
>
> There seem to be a number of video editing programs available, at
> least according to Synaptic's lists.
>
> I have a very simple need - I've got a LOT of VHS tapes to convert
> before my last VCR dies. I have it all sorted except for one thing - I
> have to play the tapes real time, so I leave them running. This means
> the resulting files will have a chunk of 'dead space' at the end of
> them if I'm not there when the video content finishes.
>
> I just need to remove that dead space - doesn't matter to me whether I
> do that on the MPG or after conversion to the MP4. I don't need all
> the bells and whistles that most video programs are likely to have, I
> just need to be able to see the video and then mark a point after
> which everything will be deleted - in other words, a very SIMPLE video
> editor.
>
> Amy recommendations, please? 64-bit Debian testing, XFCE desktop,
> plenty of CPU and RAM available.
>

I would use any video player to check which are the dead sport and just use
ffmpeg and just copy option to not loose quality on re-encoding.  Otherwise
openshot or cinerella for gui



>
> Thanks,
>
>


-- 
C o
d
i
n
g



Re: mouse pointer speed is too high

2016-07-04 Thread Gener Badenas
On Tue, Jul 5, 2016 at 12:44 AM, Bob  wrote:

> Hello list,
>
> I have added Logitech M235 wireless mouse to my debian box. The mouse is
> detected but pointer speed is too high.
>
> [xinput --list] shows the detected mouse
>
> ~~~
>
> ⎡ Virtual core pointerid=2[master pointer  (3)]
> ⎜   ↳ Virtual core XTEST pointer  id=4[slave  pointer (2)]
> ⎜   ↳ SynPS/2 Synaptics TouchPad   id=13[slave  pointer (2)]
> ⎜   ↳ Logitech Wireless Mouseid=9[slave  pointer (2)]
> ~~~
>
> But (xinput --set-prop 'Logitech Wireless Mouse' 'Device Accel Constant
> Deceleration' 2) says
>
> property 'Device Accel Constant Deceleration' doesn't exist, you need to
> specify its type and format
>
> Default property as seen by xset is
>
> 
> #xset q | grep -A 1 Pointer
> Pointer Control:
>   acceleration:  2/1threshold:  4
> ~
>

Try "xset m 1 1"
You can also try fractions for param values to slow it down further


>
> Also tried various combination with xset without any luck :-(
>
> How can I then normalize the pointer speed ?
>
>
> ~~~
> #xinput --list-props 9
>
> Device 'Logitech Wireless Mouse':
> Device Enabled (138):1
> Coordinate Transformation Matrix (140):1.00, 0.00,
> 0.00, 0.00, 1.00, 0.00, 0.00, 0.00, 1.00
> libinput Accel Speed (275):0.00
> libinput Accel Speed Default (276):0.00
> libinput Accel Profiles Available (277):1, 1
> libinput Accel Profile Enabled (278):1, 0
> libinput Accel Profile Enabled Default (279):1, 0
> libinput Natural Scrolling Enabled (280):0
> libinput Natural Scrolling Enabled Default (281):0
> libinput Send Events Modes Available (259):1, 0
> libinput Send Events Mode Enabled (260):0, 0
> libinput Send Events Mode Enabled Default (261):0, 0
> libinput Left Handed Enabled (282):0
> libinput Left Handed Enabled Default (283):0
> libinput Scroll Methods Available (284):0, 0, 1
> libinput Scroll Method Enabled (285):0, 0, 0
> libinput Scroll Method Enabled Default (286):0, 0, 0
> libinput Button Scrolling Button (287):2
> libinput Button Scrolling Button Default (288):274
> libinput Middle Emulation Enabled (289):0
> libinput Middle Emulation Enabled Default (290):0
> Device Node (262):"/dev/input/event14"
> Device Product ID (263):1133, 16469
> libinput Drag Lock Buttons (291):
> libinput Horizonal Scroll Enabled (264):1
>
> regards,
> Bob
>
>
>


-- 
C o
d
i
n
g



Re: aptitude again

2016-06-30 Thread Gener Badenas
On Fri, Jul 1, 2016 at 12:34 AM, Lisi Reisz  wrote:

> aptitude upgrade is now removing things.  I ought, of course, to have
> typed safe-upgrade, but I thought only full-upgrade was supposed to
> remove anything.
>
>
Seems automatic to remove packages no longer needed.


> Am I dealing with root-kit or malware of some kind??
>
> Lisi
>
>


-- 
C o
d
i

n g



Re: Sound problem : on tablet Z3735 with bytcrrt5640

2016-06-29 Thread Gener Badenas
On Wed, Jun 29, 2016 at 5:55 PM, Michael Lange  wrote:

> Hi,
>
> On Tue, 28 Jun 2016 19:22:34 +0200
> F ProTablet10  wrote:
>
> > Hello everyone,
> >
> > I spent my tablet HP Pro Tablet 10 EE G1 Debian .
> > I managed to pass ( in pain ;-)) boot efi32 problem.
> >
> >
> > I followed the following tutorial because the characteristics of my
> > tablet are
> > very close.
> > https://wiki.debian.org/InstallingDebianOn/Asus/T100TA
> >
> > By impossible to operate against the sound.
> >
> > Can anyone help me?
>
> probably it's the same problem as described here:
> https://bugzilla.kernel.org/show_bug.cgi?id=117141
> and here:
> http://mailman.alsa-project.org/pipermail/alsa-devel/2016-April/107299.html
>
> I am having the same issue with a Lenovo Ideapad 100s , seems like all we
> can do for now is wait until the people from Intel come along with a fix.
>


But Intel now is out of the game of producing mobile socs.  they may not
fix this at all


>
> Regards
>
> Michael
>
>
> .-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.
>
> "Evil does seek to maintain power by suppressing the truth."
> "Or by misleading the innocent."
> -- Spock and McCoy, "And The Children Shall Lead",
>stardate 5029.5.
>
>


-- 
Code

code 


Re: Warning Linux Mint Website Hacked and ISOs replaced with Backdoored Operating System

2016-02-22 Thread Gener Badenas
On Tue, Feb 23, 2016 at 3:23 AM, Thomas Schmitt  wrote:

> Hi,
>
> > http://thehackernews.com/2016/02/linux-mint-hack.html
>
> A virus of 1.5 GiB size.
>
> Does anybody know a download URL for such an infected ISO image ?
> (I am curious whether they used my software or mkisofs or something
> unusual.)
>

Will people downloading the linix mint from torrent be affected?


>
> Have a nice day :)
>
> Thomas
>
>


-- 
Code , code , code
, and code 


Re: Debian security: need recipe for blocking root ssh access AND all ssh password access

2016-02-22 Thread Gener Badenas
On Wed, Feb 17, 2016 at 10:08 PM, Tom Browder  wrote:

> I have several remote Debian 7 servers and would like to secure it in
> the following manner:
>
> 1. root will not be allowed any external access (access is only via a
> user becoming root while logged in)
>
> 2. after initial setup, no ssh access will be allowed via a password
>
> I have seen much documentation on securing such a host, but I don't
> want to be an expert--I just need a recipe.
>

You need to open /etc/ssh/sshd_config and the right settings are obvious
from there.  But I would suggest you setup a key pair login and test it
before applying these changes. Otherwise you might be locked out.  But you
might be able to VNC to it just in case.



>
> Many thanks.
>
> Best regards,
>
> -Tom
>
>


-- 
Code , code , code
, and code 


Re: I need help

2016-02-18 Thread Gener Badenas
On Wed, Feb 17, 2016 at 9:37 PM, Adam Wilson <mox...@riseup.net> wrote:

> On Wed, 17 Feb 2016 15:51:58 +0800 Gener Badenas
> <gener.ong.bade...@gmail.com> wrote:
>
> > On Thu, Feb 11, 2016 at 8:01 AM, Ghaith Etaiwi
> > <ghaiththebes...@gmail.com> wrote:
> >
> > > Hello, I'm starting in linux I used Ubuntu and didn't like it and I
> > > have read that many people that used Debian had a better
> > > experience, I have a MacBook Pro 4GB ram/ 500HDD/Intel HD 3000/ i5
> > > 2nd generation, can it run Debian?. Also, I want to know what
> > > version of Debian to download, I saw something about DVD1, DVD2...
> > >
> >
> > You can always choose net install so it is minimal.  Then you can
> > download everything else.  I assume internet is fast in your location.
>
> Depends on what you consider to be 'fast'. Is 120K/s fast?
>

That is true, speed is relative to a person's tolerance.




-- 
Java <http://javadevnotes.com/java-float-to-int> and Groovy
<http://grails.asia/groovy-array-length>


Re: I need help

2016-02-16 Thread Gener Badenas
On Thu, Feb 11, 2016 at 8:01 AM, Ghaith Etaiwi 
wrote:

> Hello, I'm starting in linux I used Ubuntu and didn't like it and I have
> read that many people that used Debian had a better experience, I have a
> MacBook Pro 4GB ram/ 500HDD/Intel HD 3000/ i5 2nd generation, can it run
> Debian?. Also, I want to know what version of Debian to download, I saw
> something about DVD1, DVD2...
>

You can always choose net install so it is minimal.  Then you can download
everything else.  I assume internet is fast in your location.


> etc which one should I get and whats the difference between them?
>



-- 
Java  and Groovy



Re: is twitter useful for debian?

2015-12-28 Thread Gener Badenas
On Mon, Dec 28, 2015 at 7:48 PM, Michael Fothergill <
michael.fotherg...@googlemail.com> wrote:

>
> ​Dear Folks,
>
> I don't use twitter much.   But I noticed that debian is on twitter ie The
> Debian Project  @debian.  ​
>
> What benefit is there in that?
>

Could be useful for announcements


>
> I tried tweeting a bit on twitter but I did not get much response.  So I
> got bored with it.
>
> Some exchanges on twitter can be interesting but with the 140 character
> limit it would not be easy to discuss bugs etc.
>
> Apparently 71% of postings on twitter are ignored.  That is not very
> interactive.
>
> Comments appreciated.
>
> Regards
>
> Michael Fothergill
>
>
>
>
>
>
>
>
>
>
>
>
>
>


-- 
Java  and Groovy



Re: Need a calculator that knows about coulombs

2015-12-27 Thread Gener Badenas
On Wed, Dec 23, 2015 at 9:09 AM, Gene Heskett  wrote:

> Greetings all;
>
> Do we have such a beast?
>
> Thanks.
>
>
There might be some projects in github that does this.


> 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)
> Some mill pix are at:
> Genes Web page 
>
>


-- 
Java  and Groovy



Re: My web site is back

2015-12-08 Thread Gener Badenas
On Wed, Dec 9, 2015 at 5:50 AM, Stephen Powell  wrote:

> On Tue, 08 Dec 2015 12:36:44 -0500 (EST), Martin Read wrote:
> > On 08/12/15 16:58, Darac Marjal wrote:
> >>
> >> To which, the venerable W3C replied "Cool URIs don't change":
> >> http://www.w3.org/Provider/Style/URI.html
> >
> > Your criticism is invalid, given that the action that has clearly been
> > taken here is "change my URIs so that in future they're under a domain I
> > control instead of a domain someone *else* controls".
> >
> > (Also, given the behaviour of search engines, "Pretty much the only good
> > reason for a document to disappear from the Web is that the company
> > which owned the domain name went out of business or can no longer afford
> > to keep the server running." is a beautiful theoretical principle with
> > no grounding in practicality.)
>
> Actually, I didn't change my web site name for either reason.  I changed it
> because my ISP decided to discontinue their web hosting service.  (Or maybe
> they just decided to discontinue their *free* web hosting service provided
> to *home* users of their cable modem internet connectivity.  They may still
> provide a *for charge* web hosting service to their *business* customers.
> I wouldn't know.)  In any case, they "pulled the plug" on me.  I now pay
> for a web hosting service that I used to get free.  But I will admit that
>

How much is the hosting now and with whom?


> the new URL is more "cool" than the old one.  :-)
>
>


-- 
Java  and Groovy



Re: [OT] Soliciting Advice on e-mail and web-hosting providers

2015-12-08 Thread Gener Badenas
On Sat, Nov 28, 2015 at 10:49 PM, Stephen Powell 
wrote:

> I currently get my internet connectivity, e-mail service, and web-hosting
> service from the same provider.  I recently complained to my ISP about
> backscatter SPAM I was getting from other people's infected machines
> that were sending out SPAM to invalid e-mail addresses and spoofing me
> as the sender.  (See https://en.wikipedia.org/wiki/Email_spoofing and
> https://en.wikipedia.org/wiki/Backscatter_(email) for good articles about
> these subjects.)  Their response was to suspend my e-mail access and delete
> my web site!
>
> I finally got my e-mail access back, but my web site is still down.
> This experience has convinced me that tying my e-mail and web-hosting
> to my ISP is a bad idea.  The two extra services are free to subscribers
> to their internet access service, but I don't want problems in one area
> to adversely affect the other areas.  Clearly that is not the case now.
>
> So I am looking for a good e-mail provider and a good web-hosting provider.
> For the e-mail service I want a provider that has good protection against
> backscatter SPAM, provides a web-based e-mail client, and does not force
> me to view tons of ads in order to get to their web-mail client.  I want
> all transmission of credentials, particularly passwords, passed between
> the client and the server, to be encrypted, not sent across the network
> in clear text, where a sniffer operating in promiscuous mode could
> intercept
> them.  I also want the e-mail provider to work well with Debian mailing
> lists.  (I have heard, for example, that when gmail users post to a list
> to which they are subscribed they do not receive copies of their own
> posts.)
>
> For web-hosting, I am looking for one which allows me to upload and
> download
> web pages and other files to my site via SSL-encrypted FTP, whether
> implicit
> or explicit SSL I don't care, so that passwords sent across the internet
> cannot be intercepted by a sniffer.
>
> Obviously, low cost is important too.  I'm not a business.  My web site is
> providing a public service for free.  There are no ads on my web site, and
> there is no money coming in to pay for the web hosting.  Another important
> consideration is that I don't want the service provider, e-mail or
> web-hosting,
> selling information about me to anyone.
>
>
For Email, I recommend MXRoute.  This is their main website
https://mxroute.com/ but you may check promotion on below links

http://lowendbox.com/blog/mxroute-e-mail-hosting-starting-at-5year-with-2gb-storage-in-dallas-usa/
http://www.lowendtalk.com/discussion/69302/mxroute-email-hosting-black-friday-special/p1

They have good reputation among sysadmin people down at lowendbox and
lowendtalk.  Price is cheap at as low as $5 per year.

For webhosting, what if you use VPS instead?  You can control security
yourself and maybe install as minimal configuration as can be. If your site
is fairly static, maybe just install nginx and ssh, and don't put anymore
other service. I recommend Prometeus and BuyVM, also popular at
LowEndBox/LowEndTalk for low cost yet good quality service.  Packages can
be as low as $15/year

https://www.prometeus.net/billing/cart.php?gid=7
http://buyvm.net/



> So, does anyone wish to share their experiences, good or bad?  Is there
> anyone
> you wish to recommend?  Is there anyone you want to warn me to stay away
> from?
> All opinions are welcome.
>
>


-- 
Java  and Groovy



Re: [OT] Soliciting Advice on e-mail and web-hosting providers

2015-12-08 Thread Gener Badenas
On Sun, Dec 6, 2015 at 5:57 PM, Gene Heskett  wrote:

> On Sunday 06 December 2015 03:47:55 Joe wrote:
>
> > On Sat, 5 Dec 2015 18:24:22 -0500 (EST)
> >
> > Stephen Powell  wrote:
> > > On Sat, 28 Nov 2015 10:15:08 -0500 (EST), mister s jones wrote:
> > > > On Saturday, November 28, 2015 09:49:47 Stephen Powell wrote:
> > > >> So, does anyone wish to share their experiences, good or bad?  Is
> > > >> there anyone you wish to recommend?  Is there anyone you want to
> > > >> warn me to stay away from? All opinions are welcome.
> > > >
> > > > I personally have been here for years and I like them
> > > >
> > > >   http://debian-hosting.info/
> > > >
> > > >  Prices are reasonable and service has been great.
> > >
> > > I checked out their web site, and they seem like a good outfit.  But
> > > I must admit, I'm totally lost.  Allow me to explain.
> > >
> > > My old web site was pure HTML.  No ASP, no PHP, no SQL.  It's just
> > > pure information, with some links for downloading files.  I'm not a
> > > business trying to set up a web site so that customers can order
> > > stuff from me. I just want to publish free information for the
> > > public.  It's mostly tech stuff about Debian.
> > >
> > > When I created my old web site, All I did to manage it was use FTP
> > > to upload and download files.  By convention, the home page was
> > > "index.htm".  Any other pages could be linked to from that page.
> > > The only thing that I would like to change is to use SSL-encrypted
> > > FTP, so that my password won't be sent over the network in clear
> > > text.  I must admit that I don't understand this brave new world of
> > > web hosting.  Looking at debian-hosting's web site, I'm totally lost
> > > as to how I would mangage my account.  What I'm looking for is
> > > something similar to what I had before.  Is there anything like that
> > > out there?  Or can I manage a debian-hosting account that way?
> >
> > Apart from the SSL bit, which is a specific question-answer issue,
> > there should be no trouble doing things the old way. I have a site
> > serving some PCB-specific information which is pure HTML, not a script
> > in sight at either end of proceedings. The pages are generated by a
> > script from standard gEDA symbol and footprint files, but here at
> > home, and the HTML is uploaded traditionally.
>
> Its not that hard to setup your own server right at home if you have a
> machine running 24/7 which 4 of the 5 on my local net do.  Just don't
> put it on port 80 because the ISP's block that for incoming in order to
> force you to put it on their machines.  The web site in the sig, is in
> fact on /this/ machine.  No fancy scripts, just apache2.  That port is
> the only port my router, running DD-WRT, forwards to any local
> address/machine, and its running in a login-less username sandbox and
> has been for quite a few years with zero security issues.  Nearly a
> decade in fact.
>

Yes if you already have existing servers running 24/7 and dedicated public
IP, then no additional cost.  But if no existing server at home, renting a
service is cheaper.


>
> The downside is the slower up-link speed when you look at a pix or
> download something. Be my guest as the present traffic is only about 10%
> of my data cap.
>
> The upside is no commercials except the front age pix of me & the missus,
> but now we are a decade & change older. And I am about 50 lbs lighter in
> deference to being a DM-II.
>
> 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)
> Genes Web page 
>
>


-- 
Java  and Groovy



Re: Do I need to do fstrim on Jessie?

2015-11-24 Thread Gener Badenas
On Mon, Nov 23, 2015 at 7:54 PM, Sven Hartge <s...@svenhartge.de> wrote:

> Gener Badenas <gener.ong.bade...@gmail.com> wrote:
>
> > I am currently using Ubuntu as my operating system.  I have an Asus
> > laptop where I replaced the disk with an SSD one for performance. I
> > read before that I need to do fstrim regularly so that performance
> > will not degrade.
>
> > I am currently planning to try Debian Jessie in the near future. If I
> > switch to Debian, do I need to still have a batch cron job to do the
> > fstrim regularly?  Or is newer version of the OS can handle that out
> > of the box?
>
> Either you add "discard" as a mount option to your fstab or you crate a
> cronjob to run "fstrim -a -v".
>
>
Thank you, I will try the discard on fstab. It's new to me and seems cleaner


> Grüße,
> Sven.
>
> --
> Sigmentation fault. Core dumped.
>
>


-- 
Programming Rocks! <http://grails.asia/groovy-list-tutorial-and-examples>


Do I need to do fstrim on Jessie?

2015-11-22 Thread Gener Badenas
I am currently using Ubuntu as my operating system.  I have an Asus laptop
where I replaced the disk with an SSD one for performance. I read before
that I need to do fstrim regularly so that performance will not degrade.

I am currently planning to try Debian Jessie in the near future. If I
switch to Debian, do I need to still have a batch cron job to do the fstrim
regularly?  Or is newer version of the OS can handle that out of the box?

Thank you
Gener

-- 
Programming Rocks! 


Re: Video-UNfriendly browsers?

2015-10-11 Thread Gener Badenas
On Sun, Oct 11, 2015 at 12:07 AM, brian  wrote:

>
> My wife and I live out in the wilds of Maine, and the only internet
> service we can get is satellite, which means a maximum of 250 MB total
> up and down per day. That allowance gets drained away by these damned
> autoplay videos on various news sites. Pat is using Wheezy, I'm using
> Jessie - short of going back to Lynx, does anyone have any
> recommendations for a browser which can be configured NOT to autostart
> videos? I'm not talking just on YouTube or similar sites - there are a
> zillion extensions to do that for Firefox, but they don't work on
> other sites, e.g. the New York Times.
>

For Chrome, you can go to plugin section and select 'Let me choose when to
run plugin content'. For Firefox it seems not consistent, hit or miss.


>
> Thanks,
>
> Brian.
>
>


-- 
Programming Rocks!