Re: index.html

2017-05-01 Thread Tony Baldwin


On 04/30/2017 08:26 PM, Gene Heskett wrote:

Greetings;

Imagine my surprise when I looked at /var/www/html/index.html,
and found that somehow, it was native to a PCLos install I was running
half a decade or more ago!

Now, do we have a script that will rebuild a new index.html for the
defined root of the server, and which WILL access the /var/www/html/gene
directory? This should restore the whole site to http compatibility.

Right now, with out without that file, the subdir "gene" isn't
accessible.  Cannot be found is the message.

Cheers, Gene Heskett



nope. You've got to write or create your own index, unless you install 
something that generates one, such as dokuwiki, or wordpress, or any of 
a myriad of other CMS, (micro)blogging, social networking, or wiki 
platforms, forums or gallerys...the possibilities are nearly endless.


If you just want to list the directories contents, try putting in an 
index.php with something like this in it:





 if($file == "." || $file == ".." || $file == "index.php" || 
$file == "private" || $file == ".htaccess" || $file == "robots.txt" || 
$file == ".index.php.swp" )


 continue;

 echo "$file";

 }

 closedir($dir_handle);
?>





You'll have to have php5 or better installed.
This is essentially how I built http://tonybaldwin.me/pages/
and various other pages on my site, including
http://tonybaldwin.me/images/
 only that has
 $path = "/path/to/www/images/";


style=\"max-width:200px;\">$file
because that dir is full of images, so I have the index show a 
thumbnail, linking to the larger image.



tony

--
http://tonybaldwin.me
all tony, all the time



Re: Secure boot - Uefi installation

2017-04-17 Thread Tony Baldwin



On 04/17/2017 07:21 PM, Mark Fletcher wrote:

On Tue, Apr 18, 2017 at 12:30:47AM +0300, Karagkiaouris Diamantis wrote:

Dear All,

How can i install debian with UEFI support? Is there any simple tutorial?
Also do i have to disable the secure boot and then proceed with uefi
installation?
I have tried but then a message "could not authenticate boot media" emerges
and the boot stop right there.
I am new to debian and i don't want to abandon for this silly reason.

Thank you


Unless things have changed very recently, yes -- you need to disable
secure boot, then you can do an install to UEFI media. I say this with
the caveat that I have used UEFI-aware Debian install media but the only
UEFI install I have actually done was of LFS not Debian.

Debian install media can boot a UEFI-aware machine if secure boot is
disabled. I believe the live images only use MBR boot method, presumably
so they can work on the largest number of machines, even old ones
(UEFI-only machines are only just now emerging)

Mark



I thought UEFI compatible installations was the default now.
I'm pretty sure my hardware is uefi-ized, and it's all working fine.
Then again, I did not install current stable, but rather upgraded to 
Jessie from old stable (wheezy)


tony
--
93 - 93/93
http://tonybaldwin.me
all tony, all the time



Re: Remove topic

2017-03-30 Thread Tony Baldwin

On 03/30/2017 05:21 PM, Brad Rogers wrote:

On Thu, 30 Mar 2017 16:42:58 -0400
Catherine Gramze  wrote:

Hello Catherine,


The Debian mailing lists are publicly available. Perhaps the Debian IRC
chat channels would give you the anonymity you want. I am sorry if this
disclosure of your name has harmed you in any way. You may not have
understood how mailing lists work.


The OP posts the same message here, and to other MLs, every few months.
They must surely know by now that message removal isn't an option.
Furthermore, their repeated requests for message removal do nothing to
enhance anonymity.  Quite the opposite, in fact.


I almost mentioned that in my response, that each new message seems to 
result in their name, once more, becoming publicly visible on the list.



tony

--
http://tonybaldwin.me
all tony, all the time



Re: Remove topic

2017-03-30 Thread Tony Baldwin



On 03/30/2017 04:16 PM, Lounis ILLOURMANE wrote:

Hello,
Can you please remove the topic on this
URL https://lists.debian.org/debian-user/2010/06/msg02062.html
There's my first and family name, some people try to use this
informations to hurt me.
Please help me. Please do not make this message public.

Good regards
Lounis illourmane



But, Lounis, all messages to this list are publicly archived.

--
http://tonybaldwin.me
all tony, all the time



Re: Crashes in Icedove on Stretch

2017-02-15 Thread Tony Baldwin



On 02/15/2017 03:38 PM, David Wright wrote:

On Wed 15 Feb 2017 at 12:50:33 (-0500), Anthony Baldwin wrote:



On 02/15/2017 11:05 AM, David Wright wrote:

On Wed 15 Feb 2017 at 10:49:06 (-0500), Tony Baldwin wrote:


I get random ID crashes, pretty well daily, but no consistently
identifiable cause. It really seems to be occurring very randomly,
I'll just be reading messages when suddenly *pop* it dies like a
soap bubble on a Christmas tree, no error msg, no prior indication
of instability, etc.; Just sudden, random crashing. It generally
comes right back up without issue and functions normally afterwards.
Thankfully, it rarely does it while I'm composing a message, that
would REALLY annoy me, and I would likely have already appeared here
seeking a solution to the problem, but since, so far, it hasn't
caused me any real loss, but rather just minor annoyance, I haven't
mentioned it, until now.


If you compose in an editor like emacs, it auto-saves periodically.
With your email tmpdir set to /var/tmp, these will even survive reboots.



But why would I install an entire VM+OS like E.M.A.C.S. when Icedove
has its own message composer/editor ?
if I wanted to use a different editor I'd be using MUTT with VIM. ;-)


Indeed. But you wrote "Thankfully, it rarely does it while I'm
composing a message". So someone else (we're on a list) might
appreciate the advice. I was under the impression that changing the
composition editor in ID was not immediately obvious. Perhaps I'm
out of date here.


No. you're right. It is not obvious, in fact, I didn't know it could be 
done at all, tbh.

Sorry my attempt at humour was even less obvious, apparently.

Tony

--
http://tonybaldwin.me
all tony, all the time



Re: Crashes in Icedove on Stretch

2017-02-15 Thread Tony Baldwin



On 02/15/2017 10:49 AM, Tony Baldwin wrote:



On 02/15/2017 09:36 AM, Paul van der Vlis wrote:

Hello,

Many peope (not all) have problems because Icedove crashes since an
update last year. Icedove on my laptop with Debian stable crashes random
about one time per week.

I have many customers with Debian stable and oldstable. Most of them
have problems with a crashing Icedove. I have also workstations here
where Icedove has never crashed.

What I want to ask, is what the latest situation is when using Stretch
(testing). I know a few people who are using Stretch and they all told
me they have no problems with a crashing Icedove.

What is your experience?

With regards,
Paul van der Vlis



I get random ID crashes, pretty well daily, but no consistently
identifiable cause. It really seems to be occurring very randomly, I'll
just be reading messages when suddenly *pop* it dies like a soap bubble
on a Christmas tree, no error msg, no prior indication of instability,
etc.; Just sudden, random crashing. It generally comes right back up
without issue and functions normally afterwards. Thankfully, it rarely
does it while I'm composing a message, that would REALLY annoy me, and I
would likely have already appeared here seeking a solution to the
problem, but since, so far, it hasn't caused me any real loss, but
rather just minor annoyance, I haven't mentioned it, until now.

I am using Jessie, Icedove v. 45.6.0 at the moment, on AMD64; My system
is otherwise generally stable (with the exception of occasional
unexplained hiccoughs in the sound system, for which I have sought help
on the list, and which I can resolve with a reboot...again, annoying,
but not a high priority issue).

Tony


Not sure if relevant, but I use ID with imap with a gmx.com account 
(Perhaps this last was obvious?)


--
http://tonybaldwin.me
all tony, all the time



Re: Crashes in Icedove on Stretch

2017-02-15 Thread Tony Baldwin



On 02/15/2017 09:36 AM, Paul van der Vlis wrote:

Hello,

Many peope (not all) have problems because Icedove crashes since an
update last year. Icedove on my laptop with Debian stable crashes random
about one time per week.

I have many customers with Debian stable and oldstable. Most of them
have problems with a crashing Icedove. I have also workstations here
where Icedove has never crashed.

What I want to ask, is what the latest situation is when using Stretch
(testing). I know a few people who are using Stretch and they all told
me they have no problems with a crashing Icedove.

What is your experience?

With regards,
Paul van der Vlis



I get random ID crashes, pretty well daily, but no consistently 
identifiable cause. It really seems to be occurring very randomly, I'll 
just be reading messages when suddenly *pop* it dies like a soap bubble 
on a Christmas tree, no error msg, no prior indication of instability, 
etc.; Just sudden, random crashing. It generally comes right back up 
without issue and functions normally afterwards. Thankfully, it rarely 
does it while I'm composing a message, that would REALLY annoy me, and I 
would likely have already appeared here seeking a solution to the 
problem, but since, so far, it hasn't caused me any real loss, but 
rather just minor annoyance, I haven't mentioned it, until now.


I am using Jessie, Icedove v. 45.6.0 at the moment, on AMD64; My system 
is otherwise generally stable (with the exception of occasional 
unexplained hiccoughs in the sound system, for which I have sought help 
on the list, and which I can resolve with a reboot...again, annoying, 
but not a high priority issue).


Tony
--
http://tonybaldwin.me
all tony, all the time



Re: No. ,,l

2017-02-13 Thread Tony Baldwin

Cat?
My cat once kept #tcl on freenode entertained while I was making a 
sandwich. The channel enjoyed him (Flaquito RIP) so much, when I got 
back on and explained the garbled gibberish, they suggested I go take a 
bath and let him have the computer for a while...


On 02/13/2017 07:27 PM, Imara Ramirez wrote:

Vggbbhb

Sent from my iPad



--
http://tonybaldwin.me
all tony, all the time



Magickally Resolved?: Set resolution options without xrandr

2017-02-05 Thread Tony Baldwin
Oddly, a reboot with no other action on my part... (Ok, I DID C-A-F5 to 
a tty and did Xorg -configure a couple of times, but each time produced 
errors nothing seemingly encouraging at all)

seems to have returned me to my original, beautiful 1680x1050 resolution.
TL;DR: A reboot fixed me...I almost feel I've been jettisoned into 
Windows-Land?!


Tony

On 02/05/2017 09:15 AM, Tony Baldwin wrote:



On 02/04/2017 11:59 PM, Felix Miata wrote:

'lspci -nnk | grep -A6 VGA', and/or 'inxi -c0 -v6 | head -n20


This just gave me errors, however,
lspci | grep -i VGA gave me:
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] BeaverCreek [Radeon HD 6530D]
Xorg log pasted to http://paste.debian.net/912902/


Thanks,
Tony



--
http://tonybaldwin.me
all tony, all the time



Re: Set resolution options without xrandr

2017-02-05 Thread Tony Baldwin



On 02/04/2017 11:59 PM, Felix Miata wrote:

'lspci -nnk | grep -A6 VGA', and/or 'inxi -c0 -v6 | head -n20


This just gave me errors, however,
lspci | grep -i VGA gave me:
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. 
[AMD/ATI] BeaverCreek [Radeon HD 6530D]

Xorg log pasted to http://paste.debian.net/912902/


Thanks,
Tony

--
http://tonybaldwin.me
all tony, all the time



Set resolution options without xrandr

2017-02-04 Thread Tony Baldwin
In the past, of course I'd have dug up /etc/X11/xorg.conf with vi, and 
edited it, but there is no such file on this system (Jessie).
I've been trying to use xrandr, but I'm clearly missing something that 
the instructions I'm finding on superuser isn't giving me.
(http://superuser.com/questions/716795/how-to-adjust-the-screen-resolution-in-debian 
)


The worst thing is that it WAS on the proper resolution, then I had a 
PSU go south, so powered everything (including the monitor) down, while 
I went out to acquire a new PSU, and, upon rebooting after installing 
said new PSU, my screen res has gone from a beautiful 1680 x1050 to 
1280x768 of some such crap, and looks awful, in my opinion.
I didn't do anything to mess with it, so have no idea why it changed., 
and now the actual default for the monitor ( the 1680 x 1050 ) appears 
unavailable to xrandr


Thanks in Advance,
Tony


--
http://tonybaldwin.me
all tony, all the time



Re: "No space left on device" error, but df shows plenty of space

2017-01-31 Thread Tony Baldwin

On 01/31/2017 08:03 AM, Eduardo M KALINOWSKI wrote:

On Ter, 31 Jan 2017, Kynn Jones wrote:

Hi everyone!

When I tried to install `ntp`, there was a "No space left on device"
at the
end of `apt-get`'s output, but `df` shows no shortage of space:


Try 'df -i', you're probably out of inodes.


I guess I should have read your reply before sending one suggesting the 
same precise thing.


Sorry,
Tony

--
http://tonybaldwin.me
all tony, all the time



Re: "No space left on device" error, but df shows plenty of space

2017-01-31 Thread Tony Baldwin



On 01/31/2017 08:01 AM, Kynn Jones wrote:

Hi everyone!

When I tried to install `ntp`, there was a "No space left on device" at
the end of `apt-get`'s output, but `df` shows no shortage of space:

# df
Filesystem 1K-blocks  Used Available Use% Mounted on
/dev/sda5  381993164 206410036 156155956  57% /
udev   10240 0 10240   0% /dev
tmpfs6588000  9676   6578324   1% /run
tmpfs   16469996   108  16469888   1% /dev/shm
tmpfs   5120 4  5116   1% /run/lock
tmpfs   16469996 0  16469996   0% /sys/fs/cgroup
tmpfs3294000 8   3293992   1% /run/user/1000

According to `df`, the maximum percent usage is 57%.

So I tried `dpgk-reconfigure ntp` (as root), and got the same error:

# dpkg-reconfigure ntp
Error: No space left on device
update-rc.d: warning: start and stop actions are no longer
supported; falling back to defaults
Error: No space left on device

How can I troubleshoot this problem further?


try doing
$ df -i
This shows inodes.
I once had a problem where I could no longer write to a disk, because 
all of the inodes were occupied due to not properly rotating some 
log(s). Let us know if that reveals anything seemingly significant.


Tony

--
http://tonybaldwin.me
all tony, all the time



Re: How to not start ssh-agent with XFCE4 desktop (only gpg-agent)?

2017-01-26 Thread Tony Baldwin



On 01/26/2017 03:38 PM, Liam O'Toole wrote:

On 2017-01-26, Teemu Likonen  wrote:

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I have a Debian testing XFCE4 desktop system and use gpg-agent to
manager ssh-agent protocol as well. There is "enable-ssh-support" in
~/.gnupg/gpg-agent.conf file which, among other things, makes
/etc/X11/Xsession.d/90gpg-agent file set variable SSH_AUTH_SOCK so that
/etc/X11/Xsession.d/90x11-common_ssh-agent file _doesn't_ start
ssh-agent.

That works just fine (i.e., ssh-agent is not started) if I start a bare
X session like

$ startx /usr/bin/xfce4-terminal

but if I start a full XFCE4 session (/usr/bin/startxfce4) then something
(but certainly not 90x11-common_ssh-agent) starts "ssh-agent -s" process
and overrides SSH_AUTH_SOCK variable. And that's annoying.

So, does anybody know how to not start ssh-agent with XFCE4 desktop
session?




Call me crazy, but, have you tried turning ssh off in rcconf?

Tony

--
http://tonybaldwin.me
all tony, all the time



Re: Android phone access in Dolphin does not work

2017-01-25 Thread Tony Baldwin



On 01/25/2017 12:58 PM, ken wrote:

On 01/24/2017 02:38 PM, Gary Dale wrote:

I'm running stretch/AMD64 and I'm having extreme problems accessing my
Samsung S5 phone from my Plasma5 desktop.

When I plug the phone in, I get the notification with 2 suggested
actions. They both read "Open with File Manager" but the first one
opens Dolphin with "camera:..." while the second opens Dolphin with
"mtp:..." in the location bar. When I actually try to navigate to the
folder with my photos, I get a notification on the phone telling me a
device is attempting mtp access... When I click "Allow", I get another
notification pop-up on my desktop with the same two options...

When I actually try to access the photos, I frequently get "process
died" or "I/O error" messages, although sometimes I can actually see a
photo (not just the file names) - persistence pays off. Moreover the
phone will lock when connected, even if a file transfer is underway.
This kills the transfer.

To make matters worse, I have photos and videos that I have taken
which show up in the Gallery on the phone and which I can view on the
phone and see when I remove the SD card and read it directly but which
don't show up in Dolphin.

Clearly this is not the way the process is supposed to work. I can
understand the phone requesting a verification for the connection, but
everything on the desktop side seems wrong:
- the two actions should be distinguishable by their description,
- the process shouldn't die and if it does, it should relaunch,
- the connection should block the phone from locking if locking will
stop file transfers,
- there should be a record of the error in a log somewhere. As it is,
all I can find is a lot of systemd journal entries like "Jan 24
14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
did not claim interface 0 before use" which seem to occur before the
device is actually recognized.
- all the photos should show up


It sounds like you want to offload files from your android.  For a few
years now I've been using Software Data Cable to do this, free app, no
cable needed.  Launch the app and it sets up an ftp server on the
phone.  Then from my laptop I log in, navigate, up- and download files.
When done, I shut down the ftp server on the phone.  Easy-squeezy.




Just in case the above doesn't work out for you (and I'm going to look 
into that one, myself), because,  in my experience, this disaster called 
MTP is simply a headache...

I'm going to suggest what I do to access storage on my Motorola Droid II.
Install Dropbox.
Alternatively, if you have access to any remote server running an ftpd, 
AndFTP is an option. I've done both, and currently find the dropbox most 
convenient.


Tony
--
http://tonybaldwin.me
all tony, all the time



Re: hostname drops off between remote sessions

2017-01-23 Thread Tony Baldwin



On 01/23/2017 08:38 AM, Greg Wooledge wrote:

On Sun, Jan 22, 2017 at 12:48:19PM -0500, Tony Baldwin wrote:

I rent a VPS from Contabo, in Germany (as if the location were
relevant), which is still running wheezy.
Lately, when I access it (generally via ssh) the hostname appears to be
changed to (none).


Edit (or create) the file /etc/hostname with the hostname that you want.
Then reboot, or use the command "hostname yourhostname" (as root) to set
the hostname.  (But really, you probably want to reboot, to make sure any
daemons that read the hostname at startup get a valid hostname.)



Thanks, Greg,

Perhaps it is these Daemons that are not doing their job(?), because 
I'll set the hostname (as root with "hostname $myhostname", or editing 
/etc/hostname, I've done both), and on reboot, it returns to (none).
That's what I'm writing about. I've since determined that it does NOT 
change from one ssh session to another, unless I've had to reboot in 
between, so what's happening is the hostname is NOT being set on reboot, 
even when /etc/hostname is still intact with the proper hostname in it.


Tony

--
http://tonybaldwin.me
all tony, all the time



hostname drops off between remote sessions

2017-01-22 Thread Tony Baldwin
I rent a VPS from Contabo, in Germany (as if the location were 
relevant), which is still running wheezy.
Lately, when I access it (generally via ssh) the hostname appears to be 
changed to (none).  I have yet to determine if this is only when I've 
had to remotely restart is from the contabo control panel, or just 
any/every time I log-in again, but it seems kind of random.
I just reset it with hostname $mychosenhostname, and that remains the 
hostname for the duration of my session, but I'll come back another time 
(Like I said, I have yet to rule out or determine whether it's only 
after reboots or not, although I'm beginning to suspect it is.), and it 
will be (none) again, although my /etc/hosts file appears unchanged.

(paste)
127.0.0.1   localhost.localdomain   localhost
127.0.1.1   ip-185-226-238-178.contabo.net  ip-185-226-238-178
178.238.226.185 myownsite.memyownsite
178.238.226.185 mail.myownsite.me   myownsite.me
178.238.226.185 tonybaldwin.me  myownsite.me
178.238.226.185 mail.myownsite.me   myownsite

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# 178.238.226.185 vmi12265.contabo.net vmi12265
178.238.226.185 www.myownsite.memyownsite
(/paste)

It never, for several years, used to do this, it is recent, and to me, 
perplexing behaviour.

When I log in, I want to see
t...@myownsite.me:~$ not tony@(none):~$

Now, I'm reading 
here:https://www.vultr.com/docs/how-to-change-your-hostname-on-debian
That I have to run /etc/init.d/hostname.sh, which I do not ever recall 
having to do in the past to permanently set my hostname, and when I try 
to run that, I get an error about my hostname not being valid

:/etc/init.d# ./hostname.sh start
hostname: the specified hostname is invalid
What's going on here?

Why am I having so much headache with something as simple as setting 
permanently the hostname?
This all started in about the last 60-90 days. Prior to that I do not 
recall ever seeing this oddity.


Thanks,
Tony
--
http://tonybaldwin.me
all tony, all the time



Re: MTP device mount gnome 3

2017-01-21 Thread Tony Baldwin
My experience has been that this whole "MTP" thing, instead of just 
mounting phones like they used to, as a storage device, has been a real 
horror show, I've given up on getting it to work consistently and have 
installed dropbox on my phone and desktop to move stuff back and forth, 
which also has its headaches and limitations, but is consistent, and 
works.. for a while I was just using an ftp client, ANDFTP, to move 
stuff back and forth to a directory on my rented VPS in Germany that I 
had sshfs mounted here at home, which also worked, but was a little more 
klunky, as they say (bit of a kludge?)


Tony

On 01/21/2017 02:00 PM, Vadim Kolchev wrote:

What exactly is meant by a "better hub"? It works ok with all types of
USB flash drives, which are detected properly. It is only MTP device
that is not detected.

2017-01-21 20:57 GMT+02:00 deloptes >:

Vadim Kolchev wrote:

> I really got used to HUB, is there a way to fix it?

get a better hub?




--
http://tonybaldwin.me
all tony, all the time



Re: Cannot autostart apps after boot

2017-01-12 Thread Tony Baldwin

Are these programmes, or services?
if the latter, use rcconf
I wish I could you give you my simple solution for programmes,
but I use openbox, not gnome.

Good luck,
Tony

On 01/12/2017 04:41 PM, Вадим Колчев wrote:

Hello,

Cannot autostart apps after boot. Tried 3 methods:

1) used gnome-tweak-tool and added app to autostart there - no luck;
2) used /etc/rc.local to provide path to app I need to autostart - no luck;
3) used .config/autostart - put myprogram.destop file there - still no luck.

What could I be doing wrong?

Best regards,
Vadim


--
http://tonybaldwin.me
all tony, all the time



Re: Icedove calendar not syncing to google calendar

2017-01-07 Thread Tony Baldwin



On 01/07/2017 08:07 AM, Boyan Penkov wrote:

Hello folks,

I have icedove and the google calendar provider installed.  I have three
calendars: a work one tied to a work google account, and a personal and
one shared with my partner tied to my personal gmail.

Both the work one and the partner one sync fine, my personal one (which
is the oldest, and contains the most events), failes to update with the
following error (pulled off the icedove error console):

Timestamp: 01/06/2017 09:18:47 PM
Error: [calCachedCalendar] replay action failed: null,
uri=googleapi://boyan.pen...@gmail.com/?calendar=boyan.penkov%40gmail.com 
,
result=item.recurrenceInfo is null, op=[xpconnect wrapped calIOperation]
Source File:
file:///usr/lib/icedove/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCachedCalendar.js
Line: 327

Anybody have an perspective on this?  It is killing my use of icedove

Cheers!



Have you installed calendar-google-provider ?

$ aptitude show  calendar-google-provider
Package: calendar-google-provider
State: not installed
Version: 1:45.5.1-1~deb8u1
Priority: optional
Section: mail
Maintainer: Christoph Goehre 
Architecture: all
Uncompressed Size: 568 k
Depends: iceowl-extension (>= 1:45.5.1-1~deb8u1)
Enhances: icedove, iceowl-extension
Description: Google Calendar support for lightning- and iceowl-extension
 This extension adds support for accessing google calendars in Icedove 
via iceowl-extension.


 It's a recommended component if you want to connect Icedove to your 
Google calendar.

Homepage: http://www.mozilla.org/thunderbird/

Tags: role::plugin, use::timekeeping

./tony


--
http://tonybaldwin.me
all tony, all the time



Re: productivity tips

2016-12-31 Thread Tony Baldwin



On 12/31/2016 07:45 PM, Lisi Reisz wrote:

On Sunday 01 January 2017 00:36:42 Cindy-Sue Causey wrote:

Hi.. I can't remember if it was this year or last so we can pretend it
was this year that I stumbled upon the concept of "mindmapping" (mind
mapping). I just ran a quick "apt-cache search" on it and didn't see
much available when you use a single repository for Sid's packages. I
"endure"... some ongoing "circumstances" where that would have been
hugely beneficial for connecting the dots had I learned of the concept
five or six years ago.

No, I'm not using the concept this second, but FreeMind was one I did
specifically test drive a while back. Am not finding it under Sid just
this sec so not sure the where or how from the time I did download it.


https://packages.debian.org/search?keywords=freemind

Jessie and Wheezy.


Best wishes in 2017 to everyone!


May it be a better year than I fear.

Lisi



Or try:
aptitude show calligraflow
and/or check out https://www.calligra.org/flow/
This Calligra/flow used to be Kivio, the Koffice answer to MSorifice's 
Visio thingy.


Tony

--
http://tonybaldwin.me
all tony, all the time



Re: Not Resolved: no sound again!

2016-11-13 Thread Tony Baldwin



On 11/13/2016 02:50 PM, deloptes wrote:

Anthony Baldwin wrote:



Definitely not a new chip...I built this machine in 2010, and It didn't
have such problems with lenny, squeeze, or wheezy, just now with jessie,
probably another thing systemd screwed up? Sorry for top posting but the
gmx web mail isn' t letting me write beneath the message without marking
my response as part of the prior msg to which I am replying.
I'm using webmail from a livecd, because another thing that' s  been
Fscked on this Jessie system is I can never simply reboot, without using a
live cd to check my disk with gparted several times, which I'm doing again
now...Ridiculous...When did "stable" stop meaning "stable" and start
meaning "useless"?



Hi Tony,
there might be many causes for a specific result. It could be that the
kernel supports your audio chip better than your old kernel. To me it looks
like an issue with the configuration - either bios or kernel driver.
Did you have a look in the document - perhaps check the document that
matches your kernel version and heck the driver settings.


I'm sorry, which document?
I didn't understand this path:
Documentation/sound/alsa/powersave.txt
I have no Documentation directory that I can find,
and `locate powersave.txt` shows nothing.


You can eliminate systemd if you boot with init=/lib/sysvinit/init


What do I do, put this somewhere in /boot/grub/grub.cfg, or 
/etc/default/grub

:wq ... doh! I guess that doesn't work in Icedove!

tony




regards




--
http://tonybaldwin.me
all tony, all the time



Re: Resolved: sound disappeared

2016-11-10 Thread Tony Baldwin



On 11/10/2016 04:40 AM, Darac Marjal wrote:

On Wed, Nov 09, 2016 at 05:08:28PM -0500, Anthony Baldwin wrote:

Still getting messages on this: issue resolve, brethren (and sisters,
too!)


I believe the analog to "brethren" is "sistren".


Never heard or saw the word in my life, but I just looked it up,
and, indeed, you are correct!
I guess you CAN learn something new every day!

Thanks for the tip
tony

--
http://tonybaldwin.me
all tony, all the time



Re: Debian repository: no updates for PygreSQL package

2016-11-09 Thread Tony Baldwin



On 11/09/2016 06:59 AM, Loren Dvid wrote:

Hello,
In debian 6.0 and 7.0 the latest stable version of PygreSQL package is 4.0
http://www.pygresql.org/contents/changelog.html
This version is from 2009. The newest stable version is 5.0.2
Why the repository is not being updated?



This is common in the Stable release.
If you want the latest pkgs, you need to use testing (stretch) or 
experimental/unstable (sid)

For some things, you can get newer pkgs from backports:
see https://backports.debian.org/
Or, for some things, sometimes you can get away with installing upstream 
pkgs (from the actual project/developers).
this is what I do for OmegaT, which is important for my work, and it's 
only dependency is a working jre. The current upstream release is 3.06, 
whereas the version in Jessie is still 2.3, which is several years old. 
with some things you really have to be careful about dependency 
conflicts if you try to use upstream pkgs.



see https://www.debian.org/releases/index.en.html

./tony
--
http://tonybaldwin.me
all tony, all the time



Re: sound disappeared

2016-11-08 Thread Tony Baldwin



On 11/08/2016 06:07 PM, Mark Fletcher wrote:

On Tue, Nov 08, 2016 at 02:11:14PM -0500, Anthony Baldwin wrote:

I did
pulseaudio --dump-modules -v > pavumods.txt

and in there, I find:
Name: module-detect
Version: 5.0
Description: Detect available audio hardware and load matching drivers
Author: Lennart Poettering
Usage: just-one=
Load Once: yes
DEPRECATION WARNING: Please use module-udev-detect instead of module-detect!
Path: /usr/lib/pulse-5.0/modules/module-detect

I don't know where/how to acquire and enable module-udev-detect.\
an aptitude search for it shows nothing, I can only assume it comes with
some other pkg.

I also find another warning:
Name: module-combine
Version: 5.0
Description: Compatibility module (module-combine rename)
Author: Colin Guthrie
Load Once: no
DEPRECATION WARNING: Please use module-combine-sink instead of
module-combine!
Path: /usr/lib/pulse-5.0/modules/module-combine

and have the same issue, an aptitude search for module-combine produces no
result.


apt-file search module-combine shows that both module-combine and
module-combine-sink are in the pulseaudio package, so likely already
installed.

apt-file search module-udev and apt-file search module-detect show that
they are also in the pulseaudio package.

apt-file is a really useful tool for answering questions like "what
files are in this package?", "What package is this file in?", and "Where
the hell did this file come from?"


I'll have to remember that (apt-file) for future reference, looks 
really, really useful.

Thanks,
tony
--
http://tonybaldwin.me
all tony, all the time



Re: can't reboot

2016-11-08 Thread Tony Baldwin



On 11/08/2016 02:57 PM, Anthony Baldwin wrote:

I've been hvaving trouble for over a month, I can't boot the same system
twice.
I replaced a hardrive because it was suggested the problem was a hard drive,
but now, with a brand spanking new hard drive, any time Ihave to halt
the system and boot it back up.
 end up waiting an hour for the 2TB disk to be fscked, and then get
dumped to a root terminal.
The last time, 17 days ago, I believe, I managed to get the new HDD to
boot after multiple fsckings with gparted from a live disk, which I'm
about to repeat,
so i can get back into the system I've been building, customizing, and
installing all my favourite dev tools and stuff on for almost 3 weeks
Just now, trying to reboot, the only thing that looked amiss before the
fscking and root prompt,
was something about failure to load kernel modules, whereas on prior
attempts, the only errors I could see
were about corrupted file systems, which would explain all the fscking,
perhaps.
The system fscked itself after the module failure notice, too..
I'm hoping some fskcking will get me back up.
But Aiḿ getting real tired of goint through this stuff everytime I need
to reboot.
What happens when there's a power failure? I have to waste half the next
day doing multiple fsckings?
Preposterous.
I swear I've never had mor e trouble with Debian than I keep having with
Jessie/Systemd.
troubles mounting my android phone, trouble with sound suddenly deciding
not to work, and
complete failure to reboot. It's dismaying ,disheartening, and infuriating.
"Stable" used to mean "rock-solid"If I have to reinstall one more time,
I'm likely to install fedora or something.

Happilly, after 3 fsckings 9(and only sacrificing 1 chicken 0 goats), I 
got her to reboot(and my sound is back on, as already mentioned on that 
particular thread)


--
http://tonybaldwin.me
all tony, all the time



Re: sound disappeared

2016-11-08 Thread Tony Baldwin



On 11/08/2016 02:39 PM, Ric Moore wrote:

On 11/08/2016 01:49 PM, Anthony Baldwin wrote:



On 11/08/2016 01:22 PM, Alberto Luaces wrote:

Tony Baldwin writes:


looks like
Built-in Audio Analog Stereo Line Out (plugged in)
Here's a screen-shot of pavucontrol:

http://tonybaldwin.me/images/pavucontrol110816124906.jpg



Analog Line Out for me as well, so that part could be covered.



what you can see is line above "advanced"moving up and down (okay,
really right and left) with the doom metal I have playing (but can't
hear).

It should be known that I still had sound yesterday after installing
ripperx, for hours, right up to 11 pm last night (looks like I had
installed it around 12pmish, 11 hours earlier), but when I logged in
at 6am this morning I had no sound


Are you by chance using etckeeper?  You could inspect configuration
changes with it.


never even heard of it, had to do aptitude search and show to learn what
it is even.
I suppose it's probably too late (as far as diagnosing this current
problem anyway) to install it now...
perhaps I should install it for future uses.
I hthink I may try and boot to a live system and see what happens as
Lisi suggested,
I'm going to assume some change affected by aptitude activity in the
past 24 hours is most likely to blame, and really hope it's not my
mobo's on-board audio.
I have a spare video card in my desk, but no audio card.
Going through all the hassle of finding one compatible with my hardware
and system is a little more involved then fixing a software issue.
I think just about any PCI sound card should work with Debian, and my
hardware, though, unless I'm mistaken. I have a couple open PCI slots.

I really need to hear my Opeth (Swedish Death Metal!! \m/ ) now, for
workout time, and I'm bummed.


I had a bunch of trouble with my sound system for awhile, running sid. I
had to use alsamixer several times before pulse would behave. I could
boot to my xubuntu partition and had no problems. So, I hold my nose and
spend more time there. :) Ric




I got the system back up! and am listening to Opeth again now(meaning, 
yes, that I HAVE SOUND BACK)! still no idea why I'd lost it, though.


./tony
bash: ./tony: No such file or directory

But I'm right here! honest!
bash: ./but: No such file or directory

--
http://tonybaldwin.me
all tony, all the time



Re: sound disappeared

2016-11-08 Thread Tony Baldwin



On 11/08/2016 12:06 PM, Alberto Luaces wrote:

Anthony Baldwin writes:


On 11/08/2016 11:04 AM, Tony Baldwin wrote:

Yesterday, I was listening to music with mocp, and watching videos on YT
Without issue, and today, for no apparent reason, I've lost all sound.
I can't hear modp, smplayer, vlc, youtube, nothing.
I checked alsamixer and pavucontrol, nothing is muted.


Someone is going to ask, so:
yes, the speakers are plugged in and appropriately powered.
I am right now listening to music from my phone using the same
speakers, plugged into the phone.
They were plugged into the mobo's onboard audio before I unplugged
them from there and plugged them into my phone.
Nothing has changed on the hardware since I was last listening to sound.
I haven't made any relevant/significant software changes either.
I've also tried to plug some earbuds into the on-board audio, and can't
hear anything through those, either. so the problem can't be the
speakers.



It happens to me that after a reboot the output of PulseAudio is being
redirected to a digital output, which I cannot hear.  Unplugging and
plugging again my speakers makes the thing discover again the analog
output and solves the issue, but I see you have already plugged and
unplugged several speakers.

I would nevertheless inspect pavucontrol to see which output is active.


looks like
Built-in Audio Analog Stereo Line Out (plugged in)
Here's a screen-shot of pavucontrol:

http://tonybaldwin.me/images/pavucontrol110816124906.jpg

what you can  see is line above  "advanced"moving up and down (okay, 
really right and left) with the doom metal I have playing (but can't hear).


It should be known that I still had sound yesterday after installing 
ripperx, for hours, right up to 11 pm last night (looks like I had 
installed it around 12pmish, 11 hours earlier), but when I logged in at 
6am this morning I had no sound



Thanks,
Tony

--
http://tonybaldwin.me
all tony, all the time



Re: sound disappeared

2016-11-08 Thread Tony Baldwin



On 11/08/2016 11:17 AM, Anthony Baldwin wrote:



On 11/08/2016 11:04 AM, Tony Baldwin wrote:

Yesterday, I was listening to music with mocp, and watching videos on YT
Without issue, and today, for no apparent reason, I've lost all sound.
I can't hear modp, smplayer, vlc, youtube, nothing.
I checked alsamixer and pavucontrol, nothing is muted.


Someone is going to ask, so:
yes, the speakers are plugged in and appropriately powered.
I am right now listening to music from my phone using the same speakers,
plugged into the phone.
They were plugged into the mobo's onboard audio before I unplugged them
from there and plugged them into my phone.
Nothing has changed on the hardware since I was last listening to sound.
I haven't made any relevant/significant software changes either.
I've also tried to plu some earbuds into the on-board audio, and can't
hear anything through those, either. so the problem can't be the speakers.



What happened?


Okay, I take it back, I must have installed something yesterday but do 
not recall what.

all I get for yesterday from /var/log/aptitude is this

[INSTALL] pidgin-skype-common:amd64
===

Log complete.
Aptitude 0.6.11: log report
Sun, Nov  6 2016 12:07:26 -0500

IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.

Will install 1 packages, and remove 0 packages.
483 kB of disk space will be used
===

[HOLD, DEPENDENCIES] libavcodec57:amd64
[HOLD, DEPENDENCIES] libavdevice57:amd64
[HOLD, DEPENDENCIES] libavfilter6:amd64
[HOLD, DEPENDENCIES] libavformat57:amd64
[HOLD, DEPENDENCIES] libavresample3:amd64
[HOLD, DEPENDENCIES] libavutil55:amd64
[HOLD, DEPENDENCIES] libbind9-90:amd64
[HOLD, DEPENDENCIES] libcurl3:amd64
[HOLD, DEPENDENCIES] libcurl3-gnutls:amd64
[HOLD, DEPENDENCIES] libdns100:amd64
[HOLD, DEPENDENCIES] libisc95:amd64
[HOLD, DEPENDENCIES] libisccc90:amd64
[HOLD, DEPENDENCIES] libisccfg90:amd64
[HOLD, DEPENDENCIES] liblwres90:amd64
[HOLD, DEPENDENCIES] libpostproc54:amd64
[HOLD, DEPENDENCIES] libswresample2:amd64
[HOLD, DEPENDENCIES] libswscale4:amd64
[HOLD] bind9-host:amd64
[HOLD] curl:amd64
[HOLD] dnsutils:amd64
[HOLD] ffmpeg:amd64
[HOLD] google-chrome-stable:amd64
[HOLD] host:amd64
[HOLD] libdns-export100:amd64
[HOLD] libirs-export91:amd64
[HOLD] libisc-export95:amd64
[HOLD] libisccfg-export90:amd64
aptitude

I removed pidgin-skype-common, and there's been no change.

Tony



TIA
Tony




--
http://tonybaldwin.me
all tony, all the time



sound disappeared

2016-11-08 Thread Tony Baldwin
Yesterday, I was listening to music with mocp, and watching videos on YT 
Without issue, and today, for no apparent reason, I've lost all sound.

I can't hear modp, smplayer, vlc, youtube, nothing.
I checked alsamixer and pavucontrol, nothing is muted.

What happened?

TIA
Tony
--
http://tonybaldwin.me
all tony, all the time



Re: Installing Gutenprint

2016-11-06 Thread Tony Baldwin



On 11/06/2016 06:41 AM, Lisi Reisz wrote:

On Saturday 22 October 2016 20:51:28 Stefan Monnier wrote:

I am an 86 year old Photoshop Guru and having trouble printing from PS
in OS 10.12.
So I found Gutenprint and downloaded the latest version for my Epson
4880. But what do I do now?


First things first: install Debian.


Sorry:  coming to this late.  Hopefully you have already solved it.

If you don't want to install Debian, and not everyone does, then you need to
ask the support list for whatever OS you are using.  It is obviously not
Debian.

Lisi



Once you have Debian installed, it is (or should be) as simple as 
opening a terminal and typing

sudo aptitude install printer-driver-gutenprint
and aptitude will take care of it from there.
(and people say linux is hard...good luck if you stick with a 
proprietary os, I haven't used a MAC since OSX was brand new,

but I don't remember anything being this simple.

./Tony

--
http://tonybaldwin.me
all tony, all the time



Resolved: No ffmpeg?, howto convert/extract audio from webmd ,write to ogg?

2016-11-04 Thread Tony Baldwin



On 11/04/2016 11:31 PM, Michael J. Ford wrote:

It's also in debian testing:

mford@voyager:~$ apt list | grep ^ffmpeg/
ffmpeg/testing,now 7:3.1.5-1 amd64 [installed]

On Mon, 2016-10-31 at 22:47 +0100, sp113438 wrote:

On Mon, 31 Oct 2016 17:35:49 -0400
Tony Baldwin <tonybald...@gmx.com> wrote:


There seems to be no plain ffmpeg in the jessie repos.




I do have ffmpeg, perhaps from jessie backports.


I thought I marked this thread resolved days ago.
I got it from backports, all set now.

Thanks,
Tony

--
http://tonybaldwin.me
all tony, all the time



No ffmpeg?, howto convert/extract audio from webmd ,write to ogg?

2016-10-31 Thread Tony Baldwin

There seems to be no plain ffmpeg in the jessie repos.

Terminal output quote

$ aptitude search ffmpeg
p   cmus-plugin-ffmpeg 
  - lightweight ncurses audio player (FFmpeg plugin) 

p   ffmpeg2theora 
  - Theora video encoder using ffmpeg 

p   ffmpegthumbnailer 
  - fast and lightweight video thumbnailer 

p   ffmpegthumbnailer-dbg 
  - debugging informations for ffmpegthumbnailer 

p   ffmpegthumbs 
  - video thumbnail generator using ffmpeg 

p   gmerlin-encoders-ffmpeg 
  - ffmpeg encoders for Gmerlin 

p   libffmpegthumbnailer-dev 
  - development files for ffmpegthumbnailer 

p   libffmpegthumbnailer4 
  - shared library for ffmpegthumbnailer 

p   libtaoframework-ffmpeg-cil-dev 
  - Tao CLI binding for FFmpeg - development files 

p   libtaoframework-ffmpeg0.4-cil 
  - Tao CLI binding for FFmpeg 

p   libxine2-ffmpeg 
  - MPEG-related plugins for libxine2





Perhaps I should just grab the upstream pkg ,directly and 
compile/install however necessary?


I have a .webmd file from which I'd like to extract audio and write it 
to an .ogg or .flac file, but I'm a little lost without my old friend 
.ffmpeg


Any suggestions will be appreciated.
I did the requisite googling, and all I find for what I want to do are 
instructions for how to do it in Ubuntu with ffmpeg.



--
http://tonybaldwin.me
all tony, all the time



Re: Icedove crashes after recent update

2016-10-12 Thread Tony Baldwin



On 10/12/2016 08:55 AM, Mario Pereyra wrote:

I'm also having the same problem for about the same mentioned time, but
I use Debian wheezy & gnome

No report of error, no log, ... no information, only the application
disappear.



similar experience.
Seems to occur randomly here, like when I delete something or mark it 
read/unread, or move something to another folder, and other  generally 
trivial operations.


tony
--
http://tonybaldwin.me
all tony, all the time



Re: My bash script is missing something - what?

2016-10-10 Thread Tony Baldwin




 Forwarded Message 
Subject: Re: My bash script is missing something - what?
To: Richard Owlett 
References: <57fb8f79.9010...@cloud85.net>
From: Anthony Baldwin 
Message-ID: <3e26c189-eab5-d400-c3c7-5cc1d7321...@gmx.com>
Date: Mon, 10 Oct 2016 13:06:59 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 
Icedove/45.2.0

MIME-Version: 1.0
In-Reply-To: <57fb8f79.9010...@cloud85.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit



On 10/10/2016 08:54 AM, Richard Owlett wrote:

I have a trivial bash script named test.sh which has been marked as
executable.
Its contents are:

#!/bin/bash
cat /etc/debian_version
mount | grep 'on / '

In a terminal I type:

test.sh

The response is:
bash: test.sh: command not found

I'm using Squeeze with Gnome2 as DE.
What's wrong?
TIA



Is it in your $PATH? (i.e in ~/bin, if that is added to your path, or in 
/usr/local/bin, or /usr/bin, etc. I put all my bash (or tcl or python or 
ruby or perl)scripts  in /home/me/bin, which I have added to my $PATH
If the script is not in your path, you will have to cd to the directory 
it is in and do

$ ./test.sh
with that ./

I think you got that answer already,
but, as a side note (just a thought):
you could make this a one-liner, and even make an alias for it in your 
.bashrc,

like
# frp for find root partition
alias  frp = cat /etc/debian_version && mount | grep 'on / '
Then you could simply type frp and get the info you want.
close your terminal and start a new one to use the alias once it's added 
to the .bashrc file, of course)








--
http://www.baldwinlinguas.com
translations, localization,
multilingual web development
EN, ES, FR, PT



Re: url redirected in chrome/chromium, but working fine, according to ping/traceroute, lynx, w3m, iceweasel.

2016-10-09 Thread Tony Baldwin

On 10/09/2016 11:54 AM, claude juif wrote:
Are you logged in with a google account on that chrome/chromium ? By 
the way, how did you install them ?


I WAS logged into my google account when I had the problem,  in fact, 
but eventually determined that when I logged out, I could load the 
proper page for the url, oddly.
I installed chromium with aptitude, google-chrome-stable by downloading 
google's .deb pkg and doing sudo dpkg -i $said-google-pkg.deb


To resume :
On your debian computer, only for this website, you get redirect to 
ads only with chrome/chromium ?


That is correct, Iceweasel, w3m, lynx and e-links all load the proper 
page/site.
Chrome and dolphin on my android phone do fine, as well, but apparently 
chrome on iOS (what my brother was using when he found the problem), 
does not.


I would try these :

purge chromium and chrome.
Install chromium and go to your website. (do not log in before).

The only things i can think of is broken extension. I've never see 
this happening, it's really strange. If that happens on windows i 
would have say, search for malware and delete them.




2016-10-09 15:00 GMT+02:00 Tony Baldwin <tonybald...@gmx.com 
<mailto:tonybald...@gmx.com>>:




On 10/09/2016 07:36 AM, Richard Hector wrote:

On 10/10/16 00:28, Tony Baldwin wrote:



But we're getting a bit off-topic :-)

Richard


Indeed we are, but I thank you for humoring my curiosity.
Thanks,

Tony
-- 
http://tonybaldwin.me

all tony, all the time





--
http://tonybaldwin.me
all tony, all the time



Re: url redirected in chrome/chromium, but working fine, according to ping/traceroute, lynx, w3m, iceweasel.

2016-10-09 Thread Tony Baldwin



On 10/09/2016 07:36 AM, Richard Hector wrote:

On 10/10/16 00:28, Tony Baldwin wrote:




But we're getting a bit off-topic :-)

Richard



Indeed we are, but I thank you for humoring my curiosity.
Thanks,
Tony
--
http://tonybaldwin.me
all tony, all the time



Re: url redirected in chrome/chromium, but working fine, according to ping/traceroute, lynx, w3m, iceweasel.

2016-10-09 Thread Tony Baldwin



On 10/09/2016 07:23 AM, Richard Hector wrote:

On 10/10/16 00:20, Tony Baldwin wrote:

What country is .me? here in th US, of course, it could be the State of
Maine.


Montenegro, apparently. According to a quick web search ;-)

Richard



Thanks, I was curious, couldn't think of anything, all the Ms I could 
think of were thins like Maroc, Moçambique, Macao, and the like, where 
.ma, .mc, .mo, or some such think would make more sense.
I kind of think Montenegro should be .Mn, really (or that for the US 
stat of  Minnesota).

Tony

--
http://tonybaldwin.me
all tony, all the time



Re: url redirected in chrome/chromium, but working fine, according to ping/traceroute, lynx, w3m, iceweasel.

2016-10-09 Thread Tony Baldwin



On 10/09/2016 07:11 AM, Richard Hector wrote:

On 08/10/16 07:00, Tony Baldwin wrote:

I have a little business card website up for my big brother's media
consulting side-business at http://playomatic.myownsite.me.
Now, at the moment, if I try to load it in Google-Chrome-Stable, I'm
getting redirected to a yahoo! search for "create web",
If I try to load it in the floss chromium, I get a spammy landing page,


This is probably a long shot ... is it a recent chrome/chromium? It
seems to work fine for me in jessie.

Just wondering if it sees a url that doesn't start with www, and ends
with a slightly unusual '.me', and tries to 'autocorrect'. But .me is a
country code TLD, not one of the new ones as I first thought, so it
shouldn't be that.



my chromium is Version 53.0.2785.113 Built on 8.5, running on Debian 8.5 
(64-bit)
and my chrome is google's latest stable install within this past week, 
two weeks at most . Version53.02785.143 (64-bit)


What country is .me? here in th US, of course, it could be the State of 
Maine.


Tony


--
http://tonybaldwin.me
all tony, all the time



Re: url redirected in chrome/chromium, but working fine, according to ping/traceroute, lynx, w3m, iceweasel.

2016-10-08 Thread Tony Baldwin



On 10/08/2016 11:28 AM, claude juif wrote:


2016-10-08 3:53 GMT+02:00 Anthony Baldwin <baldwinling...@gmx.com
<mailto:baldwinling...@gmx.com>>:



On 10/07/2016 06:42 PM, david...@freevolt.org
<mailto:david...@freevolt.org> wrote:

On Fri, 7 Oct 2016, Tony Baldwin wrote:

I have a little business card website up for my big
brother's media
consulting side-business at http://playomatic.myownsite.me.
Now, at the moment, if I try to load it in
Google-Chrome-Stable, I'm
getting redirected to a yahoo! search for "create web",
If I try to load it in the floss chromium, I get a spammy
landing page,
But in all of Iceweasel, lynx, w3m, elinks it loads fine,
and nothing
has changed on my server (no redirect added to my vhost by
an intruder
or any such thing), also neither ping nor traceroute seem to
indicate
anything untoward or fishy.
The only thing I haven't tried is Epiphany, Konqueror,
Safari, or IE.
Oddly, it seems to work fine in chrome on my android phone,
though.

How can I determine what's interfering with this page
loading in some
browsers, and not others? or what's redirecting my traffic,
and how I
can stop it or prevent future re-occurrence?


This problem sounds bizarre to me.

One less-than-obvious conceivable factor that occurs to me is that
some webmail interfaces (looking at you, gmx.com
<http://gmx.com>) will point urls in
email text at creepy redirects (presumably so that your email
provider
can log what you read).


But I'm typing the url directly into the browser, and not clicking
on a link in an e-mail.
Also, when I sign out of chrome/chromium-sync, it works fine again.
so yeah, definitely something very odd going on.


For example, a link labeled

 http://playomatic.myownsite.me <http://playomatic.myownsite.me>

will point to

 
https://deref-gmx.com/mail/client/[Some-Alpha-Numeric-Code]/dereferrer/?redirectUrl=http%3A%2F%2Fplayomatic.myownsite.me

<https://deref-gmx.com/mail/client/%5BSome-Alpha-Numeric-Code%5D/dereferrer/?redirectUrl=http%3A%2F%2Fplayomatic.myownsite.me>


If one of those redirects happens to be broken, through no fault of
yours, then following such links in emails might result in
unexpected
behaviour not unlike what you are seeing.

A shot in the dark, for what its worth.



As soon as I type in the url, it goes to 
http://bridge.sf.admarketplace.net/bounce?click_id=1475940640200100010_width=1680_height=1050_width=624_height=860_top=5_left=33_iframe=0
whereas traceroute shows it going to my modem-> a local hub-> Comcast's 
DNS server in Boston, then to New York, then jumping to Frankfurt -> 
Munich, then the server I rent from Contabo which is in Munich, afaik.


Thanks,
Tony




--
http://tonybaldwin.me
all tony, all the time



Re: url redirected in chrome/chromium, but working fine, according to ping/traceroute, lynx, w3m, iceweasel.

2016-10-08 Thread Tony Baldwin



On 10/08/2016 11:28 AM, claude juif wrote:


2016-10-08 3:53 GMT+02:00 Anthony Baldwin <baldwinling...@gmx.com
<mailto:baldwinling...@gmx.com>>:



On 10/07/2016 06:42 PM, david...@freevolt.org
<mailto:david...@freevolt.org> wrote:

On Fri, 7 Oct 2016, Tony Baldwin wrote:

I have a little business card website up for my big
brother's media
consulting side-business at http://playomatic.myownsite.me.
Now, at the moment, if I try to load it in
Google-Chrome-Stable, I'm
getting redirected to a yahoo! search for "create web",
If I try to load it in the floss chromium, I get a spammy
landing page,
But in all of Iceweasel, lynx, w3m, elinks it loads fine,
and nothing
has changed on my server (no redirect added to my vhost by
an intruder
or any such thing), also neither ping nor traceroute seem to
indicate
anything untoward or fishy.
The only thing I haven't tried is Epiphany, Konqueror,
Safari, or IE.
Oddly, it seems to work fine in chrome on my android phone,
though.

How can I determine what's interfering with this page
loading in some
browsers, and not others? or what's redirecting my traffic,
and how I
can stop it or prevent future re-occurrence?


This problem sounds bizarre to me.

One less-than-obvious conceivable factor that occurs to me is that
some webmail interfaces (looking at you, gmx.com
<http://gmx.com>) will point urls in
email text at creepy redirects (presumably so that your email
provider
can log what you read).


But I'm typing the url directly into the browser, and not clicking
on a link in an e-mail.
Also, when I sign out of chrome/chromium-sync, it works fine again.
so yeah, definitely something very odd going on.


For example, a link labeled

 http://playomatic.myownsite.me <http://playomatic.myownsite.me>

will point to

 
https://deref-gmx.com/mail/client/[Some-Alpha-Numeric-Code]/dereferrer/?redirectUrl=http%3A%2F%2Fplayomatic.myownsite.me

<https://deref-gmx.com/mail/client/%5BSome-Alpha-Numeric-Code%5D/dereferrer/?redirectUrl=http%3A%2F%2Fplayomatic.myownsite.me>


If one of those redirects happens to be broken, through no fault of
yours, then following such links in emails might result in
unexpected
behaviour not unlike what you are seeing.

A shot in the dark, for what its worth.



Can you use the chrome developper tools to see what's going on ? (Press
the F12 key while chrome is open) Select the network tab, and type the
url in your address bar.
The network panel should show you what happens


That doesn't seem to tell me anything traceroute doesn't, except 
trqacerout doesn't get redirect to a Yahoo! search like chrome does,
but nothing I see there seems ot clarify WHY or HOW it's getting 
redirected, it's just showing me that it IS being led though some 
circolocuitous route to where it should not.








--
http://www.baldwinlinguas.com
translations, localization,
multilingual web development
EN, ES, FR, PT




--
http://tonybaldwin.me
all tony, all the time



Re: mc using nano when vim.tiny is my default editor?

2016-10-07 Thread Tony Baldwin

On 10/07/2016 05:58 PM, Adrian Bunk wrote:

export EDITOR=vim.tin
I've learned recently whil using this to configure $PATH, Tat this is 
going to set it for the current session only.

How can I make it permanent?

thanks,

Tony

--
http://tonybaldwin.me
all tony, all the time



Re: mc using nano when vim.tiny is my default editor?

2016-10-07 Thread Tony Baldwin

On 10/07/2016 05:38 PM, Adrian Bunk wrote:

On Fri, Oct 07, 2016 at 05:23:00PM -0400, Tony Baldwin wrote:

Why is mc using nano when vim.tiny is set as my editor upon
update-alternatives --config editor?, and, of course, mc is set to NOT use
mcedit, its internal editor

What does "echo $EDITOR" say in your shell?


tony@deathstar:~/.config/mc$ echo $EDITOR

tony@deathstar:~/.config/mc$


Apparently nothing, but when I do update-alternatives to set it, It 
shows that vim.tiny is currently the chosen default (visudo uses it)

How do I set $EDITOR if not with update-alternatives?


The update-alternatives setting is only used when EDITOR is not set.


tony

cu
Adrian




--
http://tonybaldwin.me
all tony, all the time



mc using nano when vim.tiny is my default editor?

2016-10-07 Thread Tony Baldwin
Why is mc using nano when vim.tiny is set as my editor upon 
update-alternatives --config editor?, and, of course, mc is set to NOT 
use mcedit, its internal editor


tony
--
http://tonybaldwin.me
all tony, all the time



url redirected in chrome/chromium, but working fine, according to ping/traceroute, lynx, w3m, iceweasel.

2016-10-07 Thread Tony Baldwin
I have a little business card website up for my big brother's media 
consulting side-business at http://playomatic.myownsite.me.
Now, at the moment, if I try to load it in Google-Chrome-Stable, I'm 
getting redirected to a yahoo! search for "create web",

If I try to load it in the floss chromium, I get a spammy landing page,
But in all of Iceweasel, lynx, w3m, elinks it loads fine, and nothing 
has changed on my server (no redirect added to my vhost by an intruder 
or any such thing), also neither ping nor traceroute seem to indicate 
anything untoward or fishy.

The only thing I haven't tried is Epiphany, Konqueror, Safari, or IE.
Oddly, it seems to work fine in chrome on my android phone, though.

How can I determine what's interfering with this page loading in some 
browsers, and not others? or what's redirecting my traffic, and how I 
can stop it or prevent future re-occurrence?


tia
tony

--
http://tonybaldwin.me
all tony, all the time



Re: A psgmlx that plays nice with emacs24?

2016-09-27 Thread Tony Baldwin





On 09/27/2016 05:19 PM, Brian wrote:

On Tue 27 Sep 2016 at 16:35:44 -0400, Bob Bernstein wrote:


I think (hope) the subject says it all.


It does: it says - I cannot be bothered to explain in any way what I
want. But I am relying on everyone to read my mind and realise how
important this is to me. Guesses are accepted as responses.


Then perhaps my first reaction won't be as inflammatory as I'd initially 
thought.

MY first thought was,"
Emacs?! People still use the crusty old thing?
Perhaps he consider dumping that monstrosity and joining the rest of us 
in the 21st Century, and upgrade to a modern OS with a proper editor, 
such as Debian 8/Jessie with Vim!"


:-p
Ok...Getting my coat now...




./tony
--
http://tonybaldwin.me
all tony, all the time



Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Tony Baldwin

On 09/22/2016 10:15 AM, Tixy wrote:

On Thu, 2016-09-22 at 09:11 -0400, Greg Wooledge wrote:

On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote:

But I don't understand the concept of "user configuration" for a DM.
Wouldn't that be like a user configuring /etc/issue, the login

prompt

or /etc/motd ?


By user configuration, I mean "which files can the user edit, without
superuser privileges, to alter the behavior of the program".


Are you perhaps talking about which file,
like .xsession, .xsessionrc, .Xsession, .xinitrc, etc gets executed
when you login through the DM?


Yes, precisely this question.  What can an end user, who uses one of
the various display managers and desktop environments in Debian, do
to configure their own environment?


I edit ~/.xsessionrc to have a single line:

. /home/tixy/.profile

Which makes X sessions include the same profile as standard login
shells.

And my .profile has (or I added?)

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi



Thank you, Tixy,

This worked perfectly.
I created the .xsessionrc file (didn't previously have one),
and found that my .proile already had the needed part in it (possibly 
because I'd already added the same to my .bashrc  ?)
Logged out and back in, and now my keybinding are working to fire off my 
scripts. such as this one, which I fire off qwith the print screen key:


#!/bin/bash

filedate=$(date +%m%d%y%H%M%S)

cd /home/tony/pix/screenshots

scrot $filedate.jpg

gthumb $filedate.jpg

exit

just snapped this: http://tonybaldwin.me/images/092216112353.jpg

Tony


--
http://tonybaldwin.me
all tony, all the time



Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Tony Baldwin

On 09/21/2016 10:01 AM, Greg Wooledge wrote:

On Wed, Sep 21, 2016 at 09:43:15AM -0400, Tony Baldwin wrote:

I have various scripts in $HOME/bin, many of which I have put in my
.config/openbox/rc.xml so I can fire them off with a keybinding combo, like

How do you login?  With a display manager?  Which one?


it seems that I am using lightdm.



when I press W-b, and some others I get this:
Failed to execute child process (no such file or directory)

And you believe it's because of a PATH mismatch.  OK.  I don't have
experience with whichever desktop or window manager this is.


This is why my subject included a call-out to openbox users
(not that I don't appreciate others trying to help).



But the script IS in  ~/bin/
$ which bid
/home/tony/bin/bid
and that dir IS in my $PATH:
$ echo $PATH
/home/tony/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

Now here's the real issue: this is the PATH variable of some interactive
shell.  But your window manager (or whatever is reacting to your key
events) may have a *different* PATH.


That suddenly occurred to me, that my shell is using the path set in the 
.bashrc, but openbox may not; but these things used to work fine, so I 
can't figure out what changed to make it any different now.


For example, it is possible that your wm has some PATH determined by
the files that are read upon login, and then you launch a terminal
from your wm, and the terminal launches a shell, and the shell reads
~/.bashrc or whatever, and ~/.bashrc changes the PATH of the shell
so that your commands work.

But the poor wm is still stuck with the PATH that it got when you logged
in, which presumably does not read ~/.bashrc or any other shell dot files.

That's why you have to understand whichever login method you use, and
how to configure it.

I have a dream that one day, Debian developers will wake the hell up
and document these things.  (I've been too lazy so far to dedicate a
few hours/days to installing and removing display managers and desktop
environments in order to reverse engineer each combination and try to
figure out what dot files they use.  But the thought has crossed my
mind.  That's how blightedly BAD the situation is.)



--
http://tonybaldwin.me
all tony, all the time



Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Tony Baldwin

Greetings, friends,

I have various scripts in $HOME/bin, many of which I have put in my 
.config/openbox/rc.xml so I can fire them off with a keybinding combo, like


  

  true
  bid

bid
  



(This particular one does cat ~/Documents/bid  | xclip -selection c)
bid.txt being a template letter for bidding on translation projects.
I use this to quickly copy the file and then paste it into an e-mail,
then do any relevant edits.
I'my lazy and like to automate things as much as possible where I can 
slap a few keys (Alt-m brings up icedove, Ctrl N to compose a new 
message, then W-b/Ctrl-v to copy and paste my bid template),
These things used to work perfectly in Wheezy, and even in a previous 
Jessie installation, but working in a new Jessie installation,

when I press W-b, and some others I get this:
Failed to execute child process (no such file or directory)
But the script IS in  ~/bin/
$ which bid
/home/tony/bin/bid
and that dir IS in my $PATH:
$ echo $PATH
/home/tony/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
and it IS executable:
$ ls -la bin/ | grep bid
-rwxr-xr-x   1 tony tony 142 Oct  4  2012 bid
I can execute these scripts from a terminal without any problem but not 
via the shortcuts in my rc.xml, nor with grun (shortcut W-r brings that 
up fine), nor with dmenu (W-p also working fine)

, and other stuff
Shortuts for stuff in /bin/ or /usr/bin/ (such as for icedove and 
iceweasel) seem to work fine, I can lock my screen (W-x engages slock); 
it's just my own scripts and stuff in ~/bin that are giving me trouble..


Why?

tia,
tony



--
http://tonybaldwin.me
all tony, all the time



Re: anyone having problems with python on debian testing

2016-09-19 Thread Tony Baldwin

On 09/19/2016 05:36 PM, emetib wrote:

well thank you then ric.  glad it's not after hours or i would be doing the 
same thing.

no, i just noticed it today, and i can run the script on my other virtual 
machines without issue.  it's just the debian testing that is the problem.

whether i am calling -- python3 script or python script, or python3 >>> or python 
>>> and typing them in it's not working how it should.  wasted a weekend thinking that i 
had messed up my code.

so i was just wondering if others were having problems.  i'm starting to think 
that it's gcc version for python that is giving me problems.  yet i'm not that 
smart to figure it out.



my python scripts seem to be functioning fine.
even ones that use guis (tkinter)

--
http://tonybaldwin.me
all tony, all the time



Re: WordPress on Debian

2016-09-19 Thread Tony Baldwin

On 09/19/2016 12:26 PM, Miles Fidelman wrote:

On 9/19/16 12:20 PM, Tony Baldwin wrote:


I have always downloaded the latest from wordpress, created a DB  on
my server and basically manually installed the upstream pkg (which I
know is often discouraged here, but if you do it Our Way (ie. the
Debian Way,
aka the Right Way for most stuff), and then ask any questions on
#wordpress on freenode, they get all nasty (I've been banned from the
channel for life!)
I make a new user on the server for each new WP site, and then install
their WP in /home/$user/www . much simpler than having bits of it all
over the machine.
I do the same with dokuwiki installations and other CMS or site
platforms, too, installing from upstream.



That's what I do as well.  For complex software (e.g., WordPress,
Drupal, mailing list managers), I always end up downloading the latest
tarball, unpacking it, and then ./config; make; make test; make
install.  It all just works so much better than relying on out-of-date
packages.

If I want to get ambitious, and keep track of things via the package
manager, I use checkinstall.

Miles Fidelman




I like stuff in git repos (like hubzilla, gnu/social, etc) or with its 
own built-in updating mechanism, like WP has (dokuwiki has a plugin for 
that) to facilitate updating stuff.
At home (as opposed to my remote servers) I tend to install only Debian 
pkgs, except for OmegaT my most used work application, which always 
install from upstream (ours is often 2 years behind the latest),

and I wish they'd put it on github, or gitorious, or similar.


--
http://tonybaldwin.me
all tony, all the time



Re: WordPress on Debian

2016-09-19 Thread Tony Baldwin
I have always downloaded the latest from wordpress, created a DB  on my 
server and basically manually installed the upstream pkg (which I know 
is often discouraged here, but if you do it Our Way (ie. the Debian Way,
aka the Right Way for most stuff), and then ask any questions on 
#wordpress on freenode, they get all nasty (I've been banned from the 
channel for life!)
I make a new user on the server for each new WP site, and then install 
their WP in /home/$user/www . much simpler than having bits of it all 
over the machine.
I do the same with dokuwiki installations and other CMS or site 
platforms, too, installing from upstream.


tony
http://tonybaldwin.me
all tony, all the time

On 09/19/2016 12:11 PM, Kent West wrote:

There's a lot of conflicting documentation out there for installing
WordPress on Debian, so I thought I'd come to you folks, who generally
have a lot of wisdom and knowledge in all things Debian.

This will wind up being more a theoretical discussion than a specific
question of how-to, I'm afraid

Understand I'm pretty much a novice when it comes to Apache2 and
WordPress and MySQL, etc (and to web stuff in general).

It seems that some docs indicate that the WordPress (WP) should put part
of its installation in /srv, and part in /usr/lib, and part in /var/lib,
and part in /var/www, etc.

On a philosophical/theoretical level, I want all my web-facing stuff on
a single partition, preferably /home (as in /home/web), so that visitors
to the site have no ability to tinker on the other partitions. Why would
the HFS recommend that user-accessible files be on system partitions
instead of on "safer" partitions?

Am I thinking wrongly?

I don't really even know enough to ask the right questions, but I'm
hoping this might stir some conversations that lead me to asking the
right questions. When I try to put my WP stuff on /home/web, I get
confused about what goes where (because of the conflicting
documentation, and not knowing what the various parts of
Apaceh2/WP/mysql do),, and I get varying levels of success (but mostly
failure) depending on what I try.

Thanks for any insight!

--
Kent West <*)))><
http://kentwest.blogspot.com
Praise Yah! \o/




--
http://tonybaldwin.me
all tony, all the time



Re: change password prompt

2016-09-19 Thread Tony Baldwin

On 09/19/2016 11:21 AM, Reco wrote:

Defaults passprompt_override,passprompt="ENTER NUCLEAR LAUNCH CODE:"


Thanks, this was exactly what I needed!
and I'll use visudo, of course.

Tony

--
http://tonybaldwin.me
all tony, all the time



Re: change password prompt

2016-09-19 Thread Tony Baldwin

On 09/19/2016 10:25 AM, Reco wrote:

Hi.

On Mon, Sep 19, 2016 at 09:59:03AM -0400, Tony Baldwin wrote:

I had, on a prior machine, changed the password prompt for sudo by adding
something (it was "ENTER NUCLEAR LAUNCH CODE:" in fact) to the sudoers file,
but at the moment I can not recall what/how I did it, but I'd like to do it
again.
Anyone?


sudoers(5) says that you should change 'passprompt_override' setting.

Reco

I'm trying, but failing to find an example of how to use that, like the 
precise syntax to use.

The man page doesn't give any example, so it's not clear how to use it.

Thanks,
Tony


--
http://tonybaldwin.me
all tony, all the time



Re: random I/O errors

2016-09-19 Thread Tony Baldwin

On 09/19/2016 09:57 AM, Dan Ritter wrote:

On Mon, Sep 19, 2016 at 09:27:43AM -0400, Tony Baldwin wrote:

On 09/19/2016 09:07 AM, Dan Ritter wrote:

Go make a backup of everything you care about, today. Copy to a
new disk, check it, then disconnect and label your backup.

After that, go look at /var/log/dmesg for error messages; copy them
and show them to us.

-dsr-

I don't have a new disk on hand at the moment; I have ordered a new hdd, but
it won't be here until Friday, it's a seagate 2TB SCSI drive, I will likely
install Jessie on it when it arrives, and rsync my /home to it from this
drive I'm using now.

Last night I reinstalled on one of the existing drives, and rsynced over my
/home/ from the other.

This one seems to be working okay at the moment, but I'm afraid to reboot
until the other drive arrives.

right now dmesg | grep error gives me:

[   15.709107] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[   16.793678] r8169 :04:00.0: Direct firmware load failed with error -2

Dunno if that helps, the r8169 has something to do with the network card,
unless I'm mistaken.

You are correct, but you grepped for errors instead of actually
looking.

1. make a backup before you do other things. Don't do anything
with this system until you have made the backup.

2. go look in dmesg yourself.

3. when someone offers you advice on a mailing list, continue
the conversation on the mailing list so that other people can
(a) assist
and
(b) learn


-dsr-
Sorry about the prior, off-list reply, DSR, I just keep forgetting to 
list reply (old age, and a brain tumor).
I don't have anywhere to put a backup at the moment except by copying 
stuff to both of these old, failing drives and praying they don't buy 
the farm until the new one arrives on Friday, so I'm using this system, 
I have no other machine, and I have work that must be done, today 
(freelancer with deadlines to meet).
Looking through dmesg, piped to less, and searching for  "error", 
"fail", or even "mount" I don't find anything seemingly any more 
relevant, as far as I can tell, than the errors I already posted above, 
unless any of this is useful (does all seem to have something to do with 
the hdds in the case, but doesn't seem to mention any errors or failures):

 ata5: SATA link down (SStatus 0 SControl 300)
[2.175831] ata3: SATA link down (SStatus 0 SControl 300)
[2.347800] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[2.347838] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[2.348619] ata4.00: ATA-8: ST1500DL003-9VT16L, CC3C, max UDMA/133
[2.348625] ata4.00: 2930277168 sectors, multi 16: LBA48 NCQ (depth 
31/32)

[2.349495] ata4.00: configured for UDMA/133
[2.349554] ata6.00: ATAPI: HL-DT-ST DVD+/-RW GSA-H73N, B103, max 
UDMA/100
[2.349743] scsi 3:0:0:0: Direct-Access ATA ST1500DL003-9VT1 CC3C 
PQ: 0 ANSI: 5

[2.351653] ata6.00: configured for UDMA/100
[2.353753] scsi 5:0:0:0: CD-ROMHL-DT-ST DVD+-RW GSA-H73N 
B103 PQ: 0 ANSI: 5
[2.358569] sd 1:0:0:0: [sda] 2930277168 512-byte logical blocks: 
(1.50 TB/1.36 TiB)

[2.358664] sd 1:0:0:0: [sda] Write Protect is off
[2.358667] sd 3:0:0:0: [sdb] 2930277168 512-byte logical blocks: 
(1.50 TB/1.36 TiB)

[2.358671] sd 3:0:0:0: [sdb] 4096-byte physical blocks
[2.358675] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[2.358711] sd 1:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA

[2.358780] sd 3:0:0:0: [sdb] Write Protect is off
[2.358785] sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[2.358804] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA

[2.366117] sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
[2.366123] cdrom: Uniform CD-ROM driver Revision: 3.20
[2.366384] sr 5:0:0:0: Attached scsi CD-ROM sr0
[2.367053] sd 1:0:0:0: Attached scsi generic sg0 type 0
[2.367218] sd 3:0:0:0: Attached scsi generic sg1 type 0
[2.367281] sr 5:0:0:0: Attached scsi generic sg2 type 5
[2.392615]  sdb: sdb1 sdb2 < sdb5 sdb6 >
[2.393650] sd 3:0:0:0: [sdb] Attached SCSI disk
[2.412696]  sda: sda1 sda2 < sda5 sda6 >
[2.413893] sd 1:0:0:0: [sda] Attached SCSI disk


--
http://tonybaldwin.me
all tony, all the time



change password prompt

2016-09-19 Thread Tony Baldwin
I had, on a prior machine, changed the password prompt for sudo by 
adding something (it was "ENTER NUCLEAR LAUNCH CODE:" in fact) to the 
sudoers file, but at the moment I can not recall what/how I did it, but 
I'd like to do it again.

Anyone?

TIA
Tony


--
http://tonybaldwin.me
all tony, all the time



random I/O errors

2016-09-18 Thread Tony Baldwin
Yesterday I was getting random I/O errors for stuff as simple as clear 
(to clear a terminal),
and I got one for halt, even (I manually shut the machine off, and 
rebooted) haven't seen the problem since then but things are sluggish 
and weird.

Is this a warning I should heed?
This is on a brand new (3 days) Jessie (8.5) install on an hdd that 
previously had a Win7 installation and a large storage partition which I 
was having difficulty mounting on another jessie install on another hdd 
in this same machine.
I put /home on it's own partition and rsynced the /home from the other 
jessie install, and now that one (the older one) won't boot without 
going to emergency mode and fscking the disk (haven't even begun to 
diagnose that,but I'm beginning to worry that both hdds are either done, 
or about to be.


tia,
Tony

--
http://tonybaldwin.me
all tony, all the time



Re: update-alternatives, list alternatives?

2016-09-16 Thread Tony Baldwin

On 09/16/2016 06:19 PM, Liam O'Toole wrote:

On 2016-09-16, Tony Baldwin <tonybald...@gmx.com> wrote:

On 09/16/2016 10:52 AM, The Wanderer wrote:

(Is there a particular reason you replied to me privately, rather than
to the mailing list?)


I should probably mention that I'm using chromium as my browser;
getting firefox or iceweasel to use icedove is like falling off a log
it's so easy. I had it working on the Jessie on an hdd that just died
on me (thankfully not until I'd downloaded and made an install disk
to install on the other hdd, which I'm using now.) But in my old age,
I can't remember for the life of me how I did it. I don't believe it
was with update-alternatives. I think I edited some config file
somewhere, but for the life of me, I can't recall where.


A quick bit of Googling finds a discussion of a similar subject from a
few years back:

http://forums.bodhilinux.com/index.php?/topic/3063-solved-chromium-mailto-link-doesnt-open-on-thunderbird-xdg-email/


I haven't the slightest idea where to find
settings panel >default applications >email
As the forum thread doesn't say what settings panel where.
And I can't find anything in chrome://settings that corresponds to mail
or default applications.
nor is there anything in my systemmenu under settings for default
applications.
Perhaps the forum user was referring to something in the default wm
(mate or something?) which I don't use.
I'm using openbox with the fbpanel.


openbox doesn't have a GUI for setting up the association you want.
Instead, go to the file ~/.config/mimeapps.list (creating it if
necessary) and add the following:

[Added Associations]
x-scheme-handler/mailto=icedove.desktop

See the documentation[1] for more details.

1:
https://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.1.html



I did this, and restarted openbox, and still get a terminal with mutt 
when I click a mailto: in chromium, but thanks for this,

I believe it's how I got it working on my prior jessie installation,
no idea why it isn't working on this one.

--
http://tonybaldwin.me
all tony, all the time



Re: update-alternatives, list alternatives?

2016-09-16 Thread Tony Baldwin

On 09/16/2016 06:20 PM, Ric Moore wrote:

On 09/16/2016 10:56 AM, Tony Baldwin wrote:


But in my old age, I can't remember for the life of me how I did it.
I don't believe it was with update-alternatives.
I think I edited some config file somewhere, but for the life of me, I
can't recall where.


Crank up Settings Manager and edit your desires with "Preferred
Applications". Ric




What is this settings manager of which you speak?
I can't seem to locate any such pkg on my system

LLAP
tony

--
http://tonybaldwin.me
all tony, all the time



Re: update-alternatives, list alternatives?

2016-09-16 Thread Tony Baldwin

On 09/16/2016 10:52 AM, The Wanderer wrote:

(Is there a particular reason you replied to me privately, rather than
to the mailing list?)


I should probably mention that I'm using chromium as my browser;
getting firefox or iceweasel to use icedove is like falling off a log
it's so easy. I had it working on the Jessie on an hdd that just died
on me (thankfully not until I'd downloaded and made an install disk
to install on the other hdd, which I'm using now.) But in my old age,
I can't remember for the life of me how I did it. I don't believe it
was with update-alternatives. I think I edited some config file
somewhere, but for the life of me, I can't recall where.


A quick bit of Googling finds a discussion of a similar subject from a
few years back:

http://forums.bodhilinux.com/index.php?/topic/3063-solved-chromium-mailto-link-doesnt-open-on-thunderbird-xdg-email/


I haven't the slightest idea where to find
settings panel >default applications >email
As the forum thread doesn't say what settings panel where.
And I can't find anything in chrome://settings that corresponds to mail 
or default applications.
nor is there anything in my systemmenu under settings for default 
applications.
Perhaps the forum user was referring to something in the default wm 
(mate or something?) which I don't use.

I'm using openbox with the fbpanel.



I'm not sure this is the _only_ way to do it, or necessarily the best,
but someone did report it worked for them.




--
http://tonybaldwin.me
all tony, all the time



Re: update-alternatives, list alternatives?

2016-09-16 Thread Tony Baldwin

On 09/16/2016 10:29 AM, The Wanderer wrote:

On 2016-09-16 at 10:10, Tony Baldwin wrote:


I'm having another headache...

I want to make Icedove the default mail client.
I had this done on the last Jessie system I had (on a now defunct hdd).
But I can't recall how I did it, if it was with update-alternative or
some other means..
And something that's been bothering me for a while is:
I can't seem to find or figure out how to list all the alternatives I
can manage with update-alternatives.
I mean, I can get a list for a particular item, like x-www-browser or
editor, but I want a list of all those possible things to update
(x-www-browser, editor, etc.)
Is there such a list somewhere?


From the man page,

update-alternatives --get-selections

looks like it should do what you want, at least as far as alternative
groups currently present on the system. (Naturally, because any package
can add a new link group - or the administrator can do it manually, if
desired - nothing can provide a list of every possible link group which
could exist.)

I don't see any obvious sign of a generic "mail client" link group
listed there, though.



My apologies to the Wanderer, who will now be seeing this twice, as I 
mistakenly replied to him off-list... (keep forgetting to use reply-list)


Indeed:
# update-alternatives --get-selections | grep mail
mailx  auto /usr/bin/bsd-mailx

but also:
# update-alternatives --config mailx
There is only one alternative in link group mailx (providing 
/usr/bin/mailx): /usr/bin/bsd-mailx

Nothing to configure.


it seems it won't let me set a mail client

I should probably mention that I'm using chromium as my browser; getting 
firefox or iceweasel to use icedove is like falling off a log it's so easy.
I had it working on the Jessie on an hdd that just died on me 
(thankfully not until I'd downloaded and made an install disk to install 
on the other hdd, which I'm using now.)

But in my old age, I can't remember for the life of me how I did it.
I don't believe it was with update-alternatives.
I think I edited some config file somewhere, but for the life of me, I 
can't recall where.


thanks,
Tony


--
http://tonybaldwin.me
all tony, all the time



update-alternatives, list alternatives?

2016-09-16 Thread Tony Baldwin

I'm having another headache...

I want to make Icedove the default mail client.
I had this done on the last Jessie system I had (on a now defunct hdd).
But I can't recall how I did it, if it was with update-alternative or 
some other means..

And something that's been bothering me for a while is:
I can't seem to find or figure out how to list all the alternatives I 
can manage with update-alternatives.
I mean, I can get a list for a particular item, like x-www-browser or 
editor, but I want a list of all those possible things to update 
(x-www-browser, editor, etc.)

Is there such a list somewhere?
Thanks,
Tony

--
http://tonybaldwin.me
all tony, all the time



permanently add dir to $PATH

2016-09-16 Thread Tony Baldwin
as mentioned, I'm working with a new Jessie installation and having a 
coupl headaches, the first had to do with getting a kernel module to 
load on boot (already wrote to the list about it.)


The other problem is trying to permanently add $HOME/bin to the $PATH.

I have in .bash_profile
PATH=$PATH:$HOME/bin
export PATH

But every time I boot I have to manually add it again.

Any and all assistance appreciated in advance.

Thanks.
LLAP
Tony


--
http://tonybaldwin.me
all tony, all the time



load module on boot?

2016-09-16 Thread Tony Baldwin

Greetings, friends,
so something went wrong with my old Debian installation and it won't 
boot (dumps to emergency mode every time).
Consequently, I installed Jessie on the other hdd (that had win7), and 
I'm having a couple of minor troubles:
First, I need the snd-mixer-oss module to load on boot. I can load it 
manually once I'm already booted with

sudo modprobe snd-mixer-oss
, but I want it to be automatic so I don't have to do this.
googling got me two solutions, neither of which is working.
The first was to create an /etc/modules-load.d/modules.conf and  add a 
line like this:

alias sound-service-0-0 snd-mixer-oss


The other was to create alsa.conf in the same dir with:
# ALSA portion
   alias char-major-116 snd
   alias snd-card-0 snd-ali5451
   # module options should go here

   # OSS/Free portion
   alias char-major-14 soundcore
   alias sound-slot-0 snd-card-0

   # card #1
   alias sound-service-0-0 snd-mixer-oss
   alias sound-service-0-1 snd-seq-oss
   alias sound-service-0-3 snd-pcm-oss
   alias sound-service-0-8 snd-seq-oss
   alias sound-service-0-12 snd-pcm-oss

Neither of these solutions seems to have made any difference.
I also looked for this module in rcconf, but it's not in there.
I'll ask about the other problem in another msg to keep two distinct 
threads.


Any and all assistance appreciated in advance.

LLAP,
Tony

--
http://tonybaldwin.me
all tony, all the time



Re: internet connectivity from Comcast

2016-09-15 Thread Tony Baldwin

On 09/15/2016 12:17 PM, David Wright wrote:

On Wed 14 Sep 2016 at 20:05:50 (-0400), Felix Miata wrote:

Alan McConnell composed on 2016-09-14 17:11 (UTC-0400):


My final problem is: how to get my Jessie to get on line.  I don't think this is
anything anyone here can help me with, since I live in a retirement community
which has a huge contract with Comcast.


Is it a cable account, or is it a DSL account? Appropriate help from
here, should you choose to accept any, depends on your answer.


I called a tech person here, and he gave me
a username and password which got me, and keeps me, online . . . but only for 
the
Windoze side.  I gotta do some exploring to see if I can make this work with 
Jessie.


Luckily[1], I'm not a Comcast subscriber, so I cannot speak to this
from experience. Maybe something following can spur you into finding
a path to a solution.

ISTR that some cablecos provide both a router (aka firewall and
possibly a switch) and a modem in the same box, like DSL providers
typically do. DSL providers normally require a login process with
username and password. OTOH, cable providers typically do not
require login, depending instead on the unique MAC address of the
cable modem.


I always assumed that cable companies relied on the fact that you're
at the other "end" of a piece of wire that comes into their building.
When lightning takes out my modem, I shall just buy another of a
type approved by Cox. They'll discover the MAC when I connect it.
(I hate combined modem/routers.)

Obviously some others take a belt and braces approach, perhaps
because a multiple service is being supplied to a ?building(s) over
which they feel they have less control. We get the typical residential
service of one wire/service/bill. If you want to steal the service,
you need to get climbing.


I'm using comcast/xfinity cable internet, with no issues and have for 
some years
I have always just been able to boot a debian system while connected to 
their modem and id automagically detects and configures the connection, 
no problem. If you do any torrenting you've got to use an encrypted 
pipe, or comcast will throttle you, but otherwise no problems.


./tony


--
http://tonybaldwin.me
all tony, all the time



Re: mount problems Please Help! Can't sshfs mount remote debian server, mount local 2nd hdd, nothing...

2016-09-11 Thread Tony Baldwin

On 09/11/2016 08:59 AM, Eike Lantzsch wrote:

On Sonntag, 11. September 2016 08:12:24 PYT Anthony Baldwin wrote:

On 09/11/2016 06:37 AM, Anthony Baldwin wrote:

On 09/10/2016 07:57 PM, Anthony Baldwin wrote:

On 09/10/2016 03:34 PM, Anthony Baldwin wrote:

On 09/10/2016 03:28 PM, Tony Baldwin wrote:

On 09/10/2016 03:07 PM, Nicolas George wrote:

Le quintidi 25 fructidor, an CCXXIV, Anthony Baldwin a écrit :

I apologize, but, I've never quite figured out what to do with dmesg,
or what to look for in its output, etc..
it really just confuses me...
I saw this: 15.690807] EXT3-fs (sda1): warning: checktime reached,
running
e2fsck is recommended
[   15.722318] EXT3-fs (sda1): using internal journal


Looking for places that talk about the device causing problems would
be a
good start. Your problems are on /dev/sdb, so why do you bother with
lines
about /dev/sda?


and tried to e2fsk /dev/sdb2


And yet again you did not read part of my previous mail, the one about
using
Linux's fsck on microsoft's filesystems.


I have no knowlege of what a windows equivalent to fsck would be.
I hardly use that system.
I only even installed it, because for a brief while I was doing some
work for the State (I work freelance from home) that required windows
only software (my contacts with the state didn't even know what
gnu/linux is), and it had to be run on bare metal, not in a virtual
environment.
Thankfully, I am no longer doing that work.
That system is so slow, stupid and crippled that it's maddening!


I let windows do it's auto-repair thingy, and when I booted back to
Debian, things looked like maybe they were back to normal. I was able to
do:
$ ls -li
total 12
1349304 drwxr-xr-x 2 root root 4096 Sep  5 13:55 myown
1357617 drwxr-xr-x 2 root root 4096 Jul 10  2015 win7
1357619 drwxr-xr-x 2 root root 4096 Jul 10  2015 winhome

Then I tried do mount them again, and got the I/O error,
and they're back to doing this:
$ ls -li
ls: cannot access winhome: Input/output error
ls: cannot access win7: Input/output error
total 4
1349304 drwxr-xr-x 2 root root 4096 Sep  5 13:55 myown

  ? d? ? ??   ?? win7
  ? d? ? ??   ?? winhome

I don't get it...


This can't have anything to do with "the microsoft version of fsck",
because the windows disk (which is actually split into two partitions,
one with the win7 system, and one that's just storage) is running fine
when I boot it (for a crippled OS, anyway), and mounting the storage
partition fine, too.
PLus, I'm having trouble sshfs mounting a remote server running Debian,
which worked fine days ago, now when I try it I get the same I/O errors,
and wierd inode issues I'm getting with this local hdd.


To confirm.
I booted back to windows and did a chkdsk (I'm assuming this is the
nearest thing to a Windows approximation of fsck) for both C:// (the
win7 system and /dev/sdb2) and D:// (storage, /dev/sdb3), and still
cannot mount either partition on this drive when I come back to my
Debian system.
The disk itself is fine, the problem is with the debian system somewhere.
Oh, and I have been able to sshfs mount my remote server again, btw

]$ dmesg | grep sdb
[3.098300] sd 5:0:0:0: [sdb] 2930277168 512-byte logical blocks:
(1.50 TB/1.36 TiB)
[3.098341] sd 5:0:0:0: [sdb] Write Protect is off
[3.098343] sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[3.098360] sd 5:0:0:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[3.132979]  sdb: sdb1 sdb2 sdb3
[3.133999] sd 5:0:0:0: [sdb] Attached SCSI disk


./Tony


sorry should have read:
df -h *and* df -hi



neither seems to indicate any problem:
]$ df -h
Filesystem  Size  Used Avail Use% Mounted on
/dev/sda128G   16G   11G  61% /
udev 10M 0   10M   0% /dev
tmpfs   3.2G  9.4M  3.2G   1% /run
tmpfs   7.9G   23M  7.9G   1% /dev/shm
tmpfs   5.0M  4.0K  5.0M   1% /run/lock
tmpfs   7.9G 0  7.9G   0% /sys/fs/cgroup
/dev/sda6   1.3T  589G  663G  48% /home
tmpfs   1.6G  8.0K  1.6G   1% /run/user/1000
[504][tony.deathstar: /home/tony]$ df -hi
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda11.8M  514K  1.3M   29% /
udev 2.0M   453  2.0M1% /dev
tmpfs2.0M   776  2.0M1% /run
tmpfs2.0M33  2.0M1% /dev/shm
tmpfs2.0M 5  2.0M1% /run/lock
tmpfs2.0M11  2.0M1% /sys/fs/cgroup
/dev/sda6 84M  1.2M   83M2% /home
tmpfs2.0M15  2.0M1% /run/user/1000
I was able to load a Trisquel mini liveCD up and mount that hdd from 
that system, and recover some of the most important stuff by rsyncing it 
back to the hdd my Jessie is on.
Still, I'd like to understand and amend the problem and be able to mount 
this disk like I used to on the Jessie system.
Since both Windows and Trisquel can mount and access is, the problem 
must be somewhere here in Jessi

Resolved: no sound?

2016-09-11 Thread Tony Baldwin

On 09/10/2016 08:07 PM, Anthony Baldwin wrote:

On 09/10/2016 06:24 PM, deloptes wrote:

Anthony Baldwin wrote:


On 09/10/2016 12:35 PM, Tony Baldwin wrote:

Suddenly I have no sound.
Dunno why. I did just two days ago, when I was happily listening to
Opeth.

Pulseaudio is running:
ps aux | grep pulseaudio
tony  2340  0.5  0.0 370052  6788 ?S

I have verified that there is no hardware problem.
I plugged the speakers into a phone and they worked fine.
Also, this machine has a 2nd hdd with win7 and I booted that and sound
worked fine, so there appears to be no problem with the sound card or
the speakers.
Still stumped

./tony


I would check if pulseaudio has the proper input/output devices correctly
configured (and unmuted)

I couldn't figure out how to do this (no man page for pulseaudio-utils),
but eventually found something in th lxmenu for Audio->Pulseaudio Volume
Contol, and found that analog output was muted.
I Unmuted it and was startled by the glorious sound of YOB (doom metal),
I had inadvertently left playing earlier in an instance of mocp I'd
totally forgotten in a minimized terminal.




Also check in alsamixer if something relevant is muted.

This "Suddenly I have no sound" means what exactly: listening and it
stopped
or you rebooted and it was not there anymore?

regards






forgot to mark this resolved...done now
Tony
--
http://tonybaldwin.me
all tony, all the time



Re: mount problems

2016-09-10 Thread Tony Baldwin

On 09/10/2016 03:07 PM, Nicolas George wrote:

Le quintidi 25 fructidor, an CCXXIV, Anthony Baldwin a écrit :

I apologize, but, I've never quite figured out what to do with dmesg,
or what to look for in its output, etc..
it really just confuses me...
I saw this: 15.690807] EXT3-fs (sda1): warning: checktime reached, running
e2fsck is recommended
[   15.722318] EXT3-fs (sda1): using internal journal


Looking for places that talk about the device causing problems would be a
good start. Your problems are on /dev/sdb, so why do you bother with lines
about /dev/sda?


and tried to e2fsk /dev/sdb2


And yet again you did not read part of my previous mail, the one about using
Linux's fsck on microsoft's filesystems.

I have no time to waste writing mails that will not be read. Good luck.

Regards,




from dmesg | grep sdb
3.472220]  sdb: sdb1 sdb2 sdb3
[3.472955] sd 5:0:0:0: [sdb] Attached SCSI disk
[  118.344330] EXT4-fs (sdb1): recovery complete
[  118.344542] EXT4-fs (sdb1): mounted filesystem with ordered data 
mode. Opts: (null)



--
http://tonybaldwin.me
all tony, all the time



Re: mount problems

2016-09-10 Thread Tony Baldwin

On 09/10/2016 01:53 PM, Nicolas George wrote:

Le quintidi 25 fructidor, an CCXXIV, Tony Baldwin a écrit :

ls: cannot access winhome: Input/output error
ls: cannot access myown: Permission denied
ls: cannot access win7: Input/output error


If you are lucky, fsck (or the windows equivalent) will fix this.

If you are less lucky, you need to prepare for a trip to the hard drive
dealer.

The output of dmesg will tell you more.

Regards,


perhaps some of this will be useful?
# fdisk -l

Disk /dev/sda: 1.4 TiB, 1500301910016 bytes, 2930277168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0009ff62

Device Boot  StartEndSectors  Size Id Type
/dev/sda1 2048   58593279   58591232   28G 83 Linux
/dev/sda2 58595326 2930276351 2871681026  1.3T  5 Extended
/dev/sda5   286536 2930276351   62498816 29.8G 82 Linux swap / 
Solaris

/dev/sda6 58595328 286535 2809182208  1.3T 83 Linux

Partition 3 does not start on physical sector boundary.


Partition table entries are not in disk order.
Disk /dev/sdb: 1.4 TiB, 1500301910016 bytes, 2930277168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0007b3d9

Device Boot StartEndSectorsSize Id Type
/dev/sdb1204840980474096000  2G 83 Linux
/dev/sdb2  *  4098048  824020991  819922944391G  7 HPFS/NTFS/exFAT
/dev/sdb3   824020992 2930272255 2106251264 1004.3G  7 HPFS/NTFS/exFAT
And when I try to fsck (perhaps I'm doing it wrong?) nothing happens but 
this:

# sudo fsck /dev/sdb2
fsck from util-linux 2.25.2
root@deathstar:/media# sudo fsck -y /dev/sdb2
fsck from util-linux 2.25.2
root@deathstar:/media# man fsck
root@deathstar:/media# man fsck
root@deathstar:/media# sudo fsck -y /dev/sdb3
fsck from util-linux 2.25.2

I can't help but think if I could remove the bad inodes in /media at the 
mount points I'd be back in business.

I do have these partitions listed in /etc/fstab:
# new lines, should be auto rw for me tony
#UUID=6B3B505F1763BB9B  /media/winhome  ntfs-3g 
exec,rw,permissions,auto,user,uid=1000,gid=1000 0 0
#UUID=BAE47010E46FCCE7B /media/win7 ntfs-3g 
exec,rw,permissions,auto,user,uid=1000,gid=1000 0 0



--
http://tonybaldwin.me
all tony, all the time



mount problems

2016-09-10 Thread Tony Baldwin
Suddenly I can't mount my 2nd hdd, it's been fine, but after a reboot 
today, I get  I/O  errors trying to mount the two partitions on it with 
this script:

#!/bin/bash

if [ $(whoami) != "root" ]; then
echo "must be root, bitch"
exit
else
mount /media/win7
mount /media/winhome
echo "mounted, sir."
fi
ls /media/winhome/
ls /media/win7/
exit

Which worked flawlessly not long ago,
although, I have to say recently I've been able to simply mount these 
partitions in pcmanfm

Definitely something weird going on:
[501][tony.deathstar: media]$ ls -la
ls: cannot access winhome: Input/output error
ls: cannot access myown: Permission denied
ls: cannot access win7: Input/output error
total 16
drwxr-xr-x  7 root root 4096 Sep  5 13:55 .
drwxr-xr-x 24 root root 4096 Jul  9  2015 ..
drwxr-xr-x  2 root root 4096 Oct 13  2012 cardreader
d?  ? ??   ?? myown
drwx--  3 tony root 4096 Sep 10 13:04 tony
d?  ? ??   ?? win7
d?  ? ??   ?? winhome
[502][tony.deathstar: media]$ su

How can I remove these corrupted inodes and redo my mounting stuff?
I do recall there is a way to make it so I can delete them, when I had 
troubles with bad inodes on a server due to improper use of logrotate 
allowing my server to become overloaded with empty logs that were bad 
inodes, but I do not recall what that method is.


Thanks,
Tony
--
http://tonybaldwin.me
all tony, all the time



no sound?

2016-09-10 Thread Tony Baldwin

Suddenly I have no sound.
Dunno why. I did just two days ago, when I was happily listening to Opeth.

Pulseaudio is running:
ps aux | grep pulseaudio
tony  2340  0.5  0.0 370052  6788 ?S/usr/bin/pulseaudio --start
tony  2402  0.0  0.0   4324   104 ?S12:24   0:00 /bin/sh 
/usr/bin/start-pulseaudio-x11
tony  3116  0.0  0.0  12720   964 pts/0S+   12:28   0:00 grep 
pulseaudio


This is on Jessie,
Speakers are properly plugged in, etc.
I'm stumped.
./tony
--
http://tonybaldwin.me
all tony, all the time



Re: mount MTP phone

2016-09-05 Thread Tony Baldwin

On 09/05/2016 11:09 AM, Nicolas George wrote:

Le decadi 20 fructidor, an CCXXIV, Curt Howland a écrit :

I've never been able to mount any MTP phone to Linux. Different
phones, different Android versions, different Linux installations,
nada.


I have. With FUSE and gvfs, something like (the computer where I did it and
kept notes is current shut down):

gvfs-mount 'mtp://[usb:001,002]'

You need to have gvfs-fuse already running, then it appears under
/run/users/$UID/gvfs/.

libmtp has a few tools to manipulate MTP devices without mounting them, but
they have 0 documentation. Furthermore, MTP it awfully slow at startup for
some tasks, so individual commands without a process to keep the library
open will give awful results. I have started working on a tool with a
script-friendly FTP-like interface, but not got very far yet due to other
more pressing projects.

Regards,



Something has changed since yesterday (IN which I installeed jmtpfs).
Now when I do ls usb, I see this:
Bus 005 Device 012: ID 22b8:2ea4 Motorola PCS
I'm also seeing possibly relevant (I don't know) stuff in dmesg, such as 
this:
[quote][75390.506984] hub 5-0:1.0: port 5 disabled by hub (EMI?), 
re-enabling...

[75390.507000] usb 5-5: USB disconnect, device number 8
[75406.588441] usb 5-5: new high-speed USB device number 9 using ehci_hcd
[75406.722345] usb 5-5: New USB device found, idVendor=22b8, idProduct=2ea6
[75406.722360] usb 5-5: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3

[75406.722368] usb 5-5: Product: XT1254
[75406.722374] usb 5-5: Manufacturer: motorola
[75406.722379] usb 5-5: SerialNumber: ZY2234TGKZ
[81479.602219] usb 5-5: USB disconnect, device number 9
[81479.876441] usb 5-5: new high-speed USB device number 10 using ehci_hcd
[81480.010291] usb 5-5: New USB device found, idVendor=22b8, idProduct=2ea6
[81480.010305] usb 5-5: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3

[81480.010314] usb 5-5: Product: XT1254
[81480.010319] usb 5-5: Manufacturer: motorola
[81480.010325] usb 5-5: SerialNumber: ZY2234TGKZ
[81483.946880] usb 5-5: USB disconnect, device number 10
[81484.220444] usb 5-5: new high-speed USB device number 11 using ehci_hcd
[81484.354763] usb 5-5: New USB device found, idVendor=22b8, idProduct=2ea6
[81484.354778] usb 5-5: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3

[81484.354786] usb 5-5: Product: XT1254
[81484.354792] usb 5-5: Manufacturer: motorola
[81484.354797] usb 5-5: SerialNumber: ZY2234TGKZ
[81484.399977] usb 5-5: USB disconnect, device number 11
[81508.968204] usb 5-5: new high-speed USB device number 12 using ehci_hcd
[81509.102613] usb 5-5: New USB device found, idVendor=22b8, idProduct=2ea4
[81509.102627] usb 5-5: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3

[81509.102635] usb 5-5: Product: XT1254
[81509.102641] usb 5-5: Manufacturer: motorola
[81509.102647] usb 5-5: SerialNumber: ZY2234TGKZ
[/quote]


is your work in a github repo, sourceforge project, or similar, where 
others could have a look, and, perhaps, contribute, Nicolas?


--
http://tonybaldwin.me
all tony, all the time



Resolved: update-alternatives failure to set/config x-www-browser

2016-09-05 Thread Tony Baldwin

On 09/05/2016 08:39 AM, Christian Seiler wrote:

Hi,

Am 5. September 2016 14:31:45 MESZ, schrieb Tony Baldwin <tonybald...@gmx.com>:

I have done
sudo update-alternatives --config x-www-browser about 50 times in this
past week, and chosen chromium-browser as my goto/default, but links

>from icedove keep opening in iceweasel, no matter what.

???

Most GUI applications don't use x-www-browser (which is what 
update-alternatives controls) but either the xdg mime association system or 
mailcap. For icedove it's the former.

In your case, running

xdg-mime default chromium.desktop x-scheme-handler/http
x-scheme-handler/https text/html

as a the user for which this should be set should do the trick.

This did, indeed, do the trick!
Thanks!
./tony



Regards,
Christian




--
http://tonybaldwin.me
all tony, all the time



update-alternatives failure to set/config x-www-browser

2016-09-05 Thread Tony Baldwin

I have done
sudo update-alternatives --config x-www-browser about 50 times in this 
past week, and chosen chromium-browser as my goto/default, but links 
from icedove keep opening in iceweasel, no matter what.

???

Thanks,
Tony

--
http://tonybaldwin.me
all tony, all the time



Re: mount MTP phone

2016-09-05 Thread Tony Baldwin

On 09/05/2016 06:50 AM, Dan Purgert wrote:

Tony Baldwin wrote:

I'm at a loss, friends:
I have a phone (Motorola Droid Turbo), which functions as an MTP device,
and auto-mounts on Win7, but not on Debian 8.
[snip]
I don't know what else to do to try and diagnose or resolve the matter.
Anyone?


Is the phone set to "USB for Charge Only"?  Mine ~always~ resets to
that, and I have to change it every time I plug it in and want to use it
as a USB drive.



Mine is definitely set to connect as an MTP device.

Thanks,
Tony

--
http://tonybaldwin.me
all tony, all the time



Re: mount MTP phone

2016-09-04 Thread Tony Baldwin

On 09/04/2016 09:35 PM, Carl Fink wrote:

On Sun, Sep 04, 2016 at 09:30:38PM -0400, Tony Baldwin wrote:

On 09/04/2016 09:22 PM, Carl Fink wrote:

On 09/04/2016 09:13 PM, Tony Baldwin wrote:

I'm at a loss, friends:
I have a phone (Motorola Droid Turbo), which functions as an MTP
device, and auto-mounts on Win7, but not on Debian 8.
AFAIK, I have all the requisite MTP packages installed .
When I plug it in, lsusb doesn't show it at all, however.
I don't know what else to do to try and diagnose or resolve the matter.
Anyone?
I'm running Jessie on AMD64

Have you looked at /var/log/syslog for the relevant period?


Sorry Carl, you're getting this twice now (it's been a while since I was
active on lists, I've forgotten how to behave), but

I confess, I had not, until now.

Seems I get a bunch of this:

Sep  4 21:23:47 deathstar kernel: [26533.020450] hub 10-0:1.0: unable to
enumerate USB device on port 1


Could be hardware. Have you tried the simplest test of all: plugging the
phone into a different USB port?

Can other computers detect it?

Is the phone unlocked? My own phone is only detected if I unlock it either
before plugging it in, or after doing so.


I've tried two USB ports, three charger chords, screen locked/unlocked.
rebooting both machines in various combos/orders..
The only thing I haven't done is sacrifice a goat first.
./tony

--
http://tonybaldwin.me
all tony, all the time



Re: mount MTP phone

2016-09-04 Thread Tony Baldwin

On 09/04/2016 09:22 PM, Carl Fink wrote:

On 09/04/2016 09:13 PM, Tony Baldwin wrote:

I'm at a loss, friends:
I have a phone (Motorola Droid Turbo), which functions as an MTP 
device, and auto-mounts on Win7, but not on Debian 8.

AFAIK, I have all the requisite MTP packages installed .
When I plug it in, lsusb doesn't show it at all, however.
I don't know what else to do to try and diagnose or resolve the matter.
Anyone?
I'm running Jessie on AMD64

Have you looked at /var/log/syslog for the relevant period?


Sorry Carl, you're getting this twice now (it's been a while since I was 
active on lists, I've forgotten how to behave), but


I confess, I had not, until now.

Seems I get a bunch of this:

Sep  4 21:23:47 deathstar kernel: [26533.020450] hub 10-0:1.0: unable to 
enumerate USB device on port 1




--
http://tonybaldwin.me
all tony, all the time



mount MTP phone

2016-09-04 Thread Tony Baldwin

I'm at a loss, friends:
I have a phone (Motorola Droid Turbo), which functions as an MTP device, 
and auto-mounts on Win7, but not on Debian 8.

AFAIK, I have all the requisite MTP packages installed .
When I plug it in, lsusb doesn't show it at all, however.
I don't know what else to do to try and diagnose or resolve the matter.
Anyone?
I'm running Jessie on AMD64

--
http://tonybaldwin.me
all tony, all the time



Re: Disable server so it does not start on reboot (even after upgrade)?

2015-01-14 Thread Tony Baldwin
On Tue, Jan 13, 2015 at 11:49:38PM +0200, Andrei POPESCU wrote:
 On Vi, 09 ian 15, 15:02:34, Xavi wrote:
  First I do:
  
  sudo update-rc.d -f apache2 remove
  
  and then, to assert the rc.d links are not recreated, 
  I recreate them stopped in all runlevels:
  
  sudo update-rc.d apache2 stop 80 0 1 2 3 4 5 6 .
 
 Or one could just use 'disable'.

Couldn't you just turn apache2 off in rcconf?
Or did I miss something in this thread?

./tony
--
http://tonybaldwin.me


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150114134739.ga27...@myownsite.me



Re: mutt can't send mail (Interrupted system call)

2014-08-01 Thread Tony Baldwin
On Thu, Jul 31, 2014 at 06:09:12PM -0600, Bob Proulx wrote:
 Brian wrote:
  Tony Baldwin wrote:
   I have copied the muttrc for this account to
   http://tonyb.myownsite.me/pages/muttrc.txt (password removed, of course).
   Same muttrc on both the server and desktop.
   mutt works perfectly with both accounts from the server, not from the
   desktop.
 
 Same version of mutt on both machines?  Or different versions of mutt?
 If different which version is in which place?
 
   For this reason, I don't think the rc file is significant, since it
   works on one machine fine, but what the heck...worth a shot.
 
 I haven't heard that this was solved for you yet.  Has it been?  I
 have been away from the computer for a week.
 
  At the very least it allows us to see that the line
  
set smtp_url = 
  smtp://to...@myownsite.me:passwordh...@mail.myownsite.me:25
  
  looks sensible and correct.
 
 Hmm...  The doc on smtp_url says:
 
   3.265. smtp_url
 
   Type: string
   Default: (empty)
 
   Defines the SMTP smarthost where sent messages should relayed for delivery.
   This should take the form of an SMTP URL, e.g.:
 
   smtp[s]://[user[:pass]@]host[:port]
 
   where [...] denotes an optional part. Setting this variable overrides the
   value of the $sendmail variable.
 
 But the above has two '@' parts in it.  If you tell me that the
 username is to...@myownsite.me then I will ask how is the parser
 supposed to know this and not split it at the first '@' sign?  Maybe
 that is the problem.  Note that I haven't ever used smtp_url before.
 

Can't be the problem, because the exact same .muttrc is working on my
remote server (which I'm using now to send this message).

 
  You have an account with gmx.com; a mail sent to that account with the
  line above unaltered might be expected to be recorded in postfix's logs.
  Is it?
I' ll have to look at the remainder of your suggestions later.
Pressed for time at the moment.

Thanks for your input.

Tony

-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140801155017.ga23...@myownsite.me



Re: vps supporting debian dist-upgrade.

2014-07-28 Thread Tony Baldwin
On Mon, Jul 28, 2014 at 10:07:06PM +0300, Alexandros Prekates wrote:
 My vps provider informed (after me having trouble upgrading to wheezy)
 that such upgrades are unsupported and the suggest to switch to a new
 server.
 
 My question is if that kind of support is really difficult to find , or
 is it inhereted in the technology used for virtualization so i could
 easily find it elsewhere.
 
 Could the community help me giving me some guide what to check for in
 searching for that king of support.
 
 aprekates
 

I'm hosting stuff at contabo.com and have full control of my server.
I upgraded it from squeeze to wheezy, etc.
I don't see how such a thing can be unsupported if you have shell
access. If you don't have shell access, your hosting provider sucks.

tony
-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140729001853.ga10...@myownsite.me



Re: FWIW: script vs. configurtion file

2014-07-23 Thread Tony Baldwin
On Wed, Jul 23, 2014 at 03:46:56PM +0900, Joel Rees wrote:
 Programming is a field of mathematics. Mathematically speaking, limiting a
 language to a declarative syntax does not mean that the language ceases to
 be a language.

I would argue that programming is linguistics (being a linguist, myself,
and a professional translator), but I would also argue that math is
language (a symbolic means of representing our perception of reality).

tony
-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140723074038.ga27...@myownsite.me



Re: mutt can't send mail (Interrupted system call)

2014-07-22 Thread Tony Baldwin
On Mon, Jul 21, 2014 at 02:33:50PM +0100, Brian wrote:
 On Sun 20 Jul 2014 at 16:08:25 +0200, Tony Baldwin wrote:
 
  On Sun, Jul 20, 2014 at 12:55:09PM +, Curt wrote:
   
   I understood that he is using Mutt's native smtp support and the default
   exim configuration, which only handles local mail, I believe.
   
   Maybe an attempt to send mail to a remote location with Mutt from
   the command line would result in some useful warning/error messages.
  
  I did that, now, and got no error msgs (but got a bounce message in mail
  declaring that mail to remote domains was not supported...this being
  without my .muttrc, when mailing with my .muttrc, I get that interrupted
  system call error).
 
 I'm persuaded by Curt and what you write to believe that your smtp
 transport is provided by mutt and not exim. Furthermore, you say that
 your desktop and myownsite.me have identical mutts and mutt configs.
 Wouldn't this imply the problem on the desktop lies outside mutt and
 in some other machine configuration?
 

Probably the biggest differences is the myownsite.me has postfix/dovecot
and the desktop has exim, but I don't know if mutt is using exim or
postfix anyway, as mentioned. I think it's just the native support on both.

 There is probably a good reason for you to use mutt's native smtp
 support but you could consider using exim to sidestep the issue.

How would I change from one to the other?

tony
-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140722110539.ga16...@myownsite.me



Re: mutt can't send mail (Interrupted system call)

2014-07-22 Thread Tony Baldwin
On Tue, Jul 22, 2014 at 12:38:10PM +, Curt wrote:
 On 2014-07-22, Tony Baldwin to...@myownsite.me wrote:
 
  There is probably a good reason for you to use mutt's native smtp
  support but you could consider using exim to sidestep the issue.
 
  How would I change from one to the other?
 
 
 I'm all for sidestepping your issue if only I knew what the heck your
 issue was.

Ultimately, that's what I'd like to determine, but have so far not been
able to. The error is too vague (Interrupted System Call), and all the
googling and duckgoing and ixquicking has produced nothing useful.

 
 To reconfigure exim4, you would issue the following command:
 
 dpkg-reconfigure exim4-config
 
 then answer the questions correctly.
 
 ;-)
 
 
 (for gmx? probably a setup similar to gmail as per this wiki (smarthost):
 https://wiki.debian.org/GmailAndExim4)
 
 Of course, you'd have to tell mutt to hand off the mail locally rather
 than contacting the remote smtp server itself.

-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140722125721.ga18...@myownsite.me



Re: mutt can't send mail (Interrupted system call)

2014-07-22 Thread Tony Baldwin
On Tue, Jul 22, 2014 at 06:50:54PM +0100, Brian wrote:
 On Tue 22 Jul 2014 at 13:50:13 +, Curt wrote:
 
  On 2014-07-22, Tony Baldwin to...@myownsite.me wrote:
  
   Ultimately, that's what I'd like to determine, but have so far not been
   able to. The error is too vague (Interrupted System Call), and all the
   googling and duckgoing and ixquicking has produced nothing useful.
  
  
  We need to see your config.
 
 Thirded. (Because the request has been made twice already).
 
 I'm loath to move someone on to exim if there is a fixable mutt config.
 Not that there is any wrong with exim but if mutt is using 'smtp_url'
 the OP must have a reason for it.

Okay, but keep in mind, I have mutt on two machines, my desktop, and my
server. Both are running wheezy, and both are using the same muttrc
files (I have two because I use it with two different accounts, using
mutt -F otherconfig to access the second account).

I have copied the muttrc for this account to
http://tonyb.myownsite.me/pages/muttrc.txt (password removed, of course).
Same muttrc on both the server and desktop.
mutt works perfectly with both accounts from the server, not from the
desktop.
For this reason, I don't think the rc file is significant, since it
works on one machine fine, but what the heck...worth a shot.

Tony
-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140722204130.ga25...@myownsite.me



Re: mutt can't send mail (Interrupted system call)

2014-07-20 Thread Tony Baldwin
On Sun, Jul 20, 2014 at 12:55:55PM +0100, Brian wrote:
 On Sun 20 Jul 2014 at 02:06:31 +0200, Tony Baldwin wrote:
 
  On Fri, Jul 18, 2014 at 03:45:27PM +0100, Brian wrote:
   
   Assuming a valid username is tony, mainlog should show a record of
   
  mail -s TEST tony@localhost
   
   being sent.
  
  Yeah, it does.
  But that doesn't tell me anything about why mutt is faiilng.
  It shows me that mail works for local users.
 
 Does 'mail' also work with remote users? Does mutt work with local and
 remote users? Can we rule out a problem with exim?

I can not use 'mail' to send to remote users, now.
mutt isn't working with local or remote, but even sending to a local
user, it's got to go through the remote SMTP server, no? and that's the
problem, at least, somewhere in getting mail to/through a remote SMTP
server (and I've ruled out problem at the remote SMTP server end,
definitely at my end).
 
 Move any mutt config files in $HOME out of the way. You've not altered
 any in /etc?

User mutt without my .muttrc?
Ah, okay, I did that, and I CAN mail to a local user,
but mailing to a remote user without my rc file does not work:
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  to...@myownsite.me
  Mailing to remote domains not supported


tony
-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140720140318.ga24...@myownsite.me



Re: mutt can't send mail (Interrupted system call)

2014-07-20 Thread Tony Baldwin
On Sun, Jul 20, 2014 at 12:55:09PM +, Curt wrote:
 On 2014-07-20, Brian a...@cityscape.co.uk wrote:
  
  Yeah, it does.
  But that doesn't tell me anything about why mutt is faiilng.
  It shows me that mail works for local users.
 
  Does 'mail' also work with remote users? Does mutt work with local and
  remote users? Can we rule out a problem with exim?
 
 I understood that he is using Mutt's native smtp support and the default
 exim configuration, which only handles local mail, I believe.
 
 Maybe an attempt to send mail to a remote location with Mutt from
 the command line would result in some useful warning/error messages.

I did that, now, and got no error msgs (but got a bounce message in mail
declaring that mail to remote domains was not supported...this being
without my .muttrc, when mailing with my .muttrc, I get that interrupted
system call error).

 
  Move any mutt config files in $HOME out of the way. You've not altered
  any in /etc?
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/slrnlsnf1d.21v.cu...@einstein.electron.org
 

-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140720140825.gb24...@myownsite.me



Re: mutt can't send mail (Interrupted system call)

2014-07-19 Thread Tony Baldwin
On Fri, Jul 18, 2014 at 03:45:27PM +0100, Brian wrote:
 On Fri 18 Jul 2014 at 15:26:50 +0200, Tony Baldwin wrote:
 
  /var/log/exim4/mainlog shows nothing I deem useful.
  Lots of stuff like:
  2014-07-18 07:53:14 Start queue run: pid=13117
  2014-07-18 07:53:14 End queue run: pid=13117
  2014-07-18 08:23:14 Start queue run: pid=14426
  2014-07-18 08:23:14 End queue run: pid=14426
 
 This shows exim behaving normally.
  
  /var/log/mail.{log,warn,info,error} are all empty, and the older files
  (mail.*.1) show nothing since Nov 5 of last year.
 
 Exim doesn't use these files.
 
  So, the logs aren't proving particularly helpful.
 
 Assuming a valid username is tony, mainlog should show a record of
 
mail -s TEST tony@localhost
 
 being sent.

Yeah, it does.
But that doesn't tell me anything about why mutt is faiilng.
It shows me that mail works for local users.

tony
-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/2014072631.ga7...@myownsite.me



Re: mutt can't send mail (Interrupted system call)

2014-07-18 Thread Tony Baldwin
On Thu, Jul 17, 2014 at 08:52:15PM -0600, Bob Proulx wrote:
 Tony Baldwin wrote:
  What else can I do to diagnose this issue and/or, of course, resolve it?
 
 I think this must be something other than mutt.  In your description
 you didn't mention how you were sending email and therefore I know you
 weren't looking at that part of things.  I suspect it is in the MTA
 side of things.
 
 Of course these days many people are using IMAP to read messages and
 often using SMTP on the submission port with SASL or various for
 sending mail.  Hard to say what you are using.

Well I know almost nothing about gmx's SMTP server, other than the
requisite knowledge to send mail through it from a MUA, which I can do
from icedove and mutt (but not mutt here, currently. Can with mutt on
my remote server).
My remote server (myownsite.me, from which I am sending this mail)
has postfix and dovecot, but clearly, the problem is on my local machine
(and affecting mutt, but not icedove).

 
 If you have not customized it then you are using /usr/sbin/sendmail
 and the message is handed off to your system MTA for delivery.  If so
 then the system MTA will log all of these actions to the system log.
 Please look in /var/log/mail.log (Postfix logs there) or possibly
 other location and see what it says.  I forget where Exim logs to and
 exim4 is the default MTA unless you select another.  A common thing
 for me to do is to run tail -f /var/log/mail.log in one terminal
 window while sending mail in another terminal window.

yes, not customized, exim4 installed, so I assume that's sending the
mail

 
 Run mailq and see what mailq says.  

If I run that as a regular user, I just get
exim: permission denied.
If I run it as root, no message appears. I don't know what, if anything,
it is doing in that case.

 If the message is undeliverable
 but still in the queue the reason will be shown there.  Most messages
 will queue for five days (configurable, maximal_queue_lifetime = 5d
 for postfix) until it times out.  At that point it will generate a
 bounce message back to the sender.
 
 A side note but a useful SMTP debug tool is swaks.  It will show the
 SMTP handshake and is a useful debug tool.
 
 Bob



-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140718131409.gb19...@myownsite.me



Re: mutt can't send mail (Interrupted system call)

2014-07-18 Thread Tony Baldwin
On Fri, Jul 18, 2014 at 03:14:09PM +0200, Tony Baldwin wrote:
 On Thu, Jul 17, 2014 at 08:52:15PM -0600, Bob Proulx wrote:
  If you have not customized it then you are using /usr/sbin/sendmail
  and the message is handed off to your system MTA for delivery.  If so
  then the system MTA will log all of these actions to the system log.
  Please look in /var/log/mail.log (Postfix logs there) or possibly
  other location and see what it says.  I forget where Exim logs to and
  exim4 is the default MTA unless you select another.  A common thing
  for me to do is to run tail -f /var/log/mail.log in one terminal
  window while sending mail in another terminal window.
 
 yes, not customized, exim4 installed, so I assume that's sending the
 mail

/var/log/exim4/mainlog shows nothing I deem useful.
Lots of stuff like:
2014-07-18 07:53:14 Start queue run: pid=13117
2014-07-18 07:53:14 End queue run: pid=13117
2014-07-18 08:23:14 Start queue run: pid=14426
2014-07-18 08:23:14 End queue run: pid=14426

/var/log/mail.{log,warn,info,error} are all empty, and the older files
(mail.*.1) show nothing since Nov 5 of last year.

So, the logs aren't proving particularly helpful.

Tony
-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140718132650.gc19...@myownsite.me



Re: mutt can't send mail (Interrupted system call)

2014-07-17 Thread Tony Baldwin
On Thu, Jul 17, 2014 at 11:41:20PM +0200, Anthony Baldwin wrote:
 Hi,
 I am unable to send mail with mutt from my home desktop, either through
 one of my own domains (this one, myownsite.me), or through gmx.com's SMTP
 server.
 Furthermore, I can send through both with mutt when I login into the
 myownsite server (hosted in Germany by contabo.com) just fine.
 So, I have determined that the problem must be with mutt, here, not with
 either SMTP server.
 I can receive mail just fine from both servers on either machine.
 I did some searching (duckgoing, ixquicking, etc.), and all I could come
 up with was to clear the header cache and check the rc files.
 Well, I vimdiffed the rc files from the remote server and here, and there
 were absolutely no difference (indeed, I did not expect there to be any,
 since I scp-ed them from here to there and haven't altered them since),
 and I deleted the header cache here, and still no joy.
 I can not send mail with mutt from home (sending this with squirrelmail on
 the remote server in my browser, at the moment).
 What else can I do to diagnose this issue and/or, of course, resolve it?

Oh, I should probably have mentioned that both machines, the home
desktop and the remote server, are running Wheezy, both updated about a
week ago. Mutt seems to have stopped sending shortly after this last
update.

tony
-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140717223237.ga6...@myownsite.me



Re: OT: programming languages

2014-06-30 Thread Tony Baldwin
On Sun, Jun 29, 2014 at 12:40:28PM -0400, Miles Fidelman wrote:
 Joe wrote:
 On Sun, 29 Jun 2014 15:46:58 +0100
 Tom Furie t...@furie.org.uk wrote:
 
 On Sat, Jun 28, 2014 at 11:41:57PM -0400, Steve Litt wrote:
 
 Programming belongs on any Linux list, especially since a lot of
 times you need to code to get things done. Dare you to configure
 dwm without coding.
 However, there is a difference between discussing code in the context
 of a solution to a problem and discussing coding and langauges in
 general.
 
 Indeed, but the name of the list is 'debian-user', not 'Debian': it's
 about us, not about the OS. A subject is off-topic here if it is [likely
 to be] of no concern to Debian users, not merely if it is not specific
 to the Debian operating system.
 
 Debian users might well be interested in better ways to administer and
 configure their Debian systems, even when such methods are not
 applicable *only* to Debian.
 
 
 So please... get of your high horse.
 
 Miles Fidelman


So, are we going to discuss languages? Or just discussion the relevance
of such discussion on the list?

Personally, I like tcl, bash, and ruby for scripting stuff (bash is a
no-brainer of course), although I've only started to play with ruby
recently.
I really have no perl fu at all.
A lot of stuff other folks do with perl, I end up doing with
bash/sed/awk.
I started playing with tcl about 7 or 8 years ago, and found it was
really easy to learn and make useful stuff with fairly quickly.
I don't understand why it isn't more popular (although it IS widely
used, just not sexy for the hipster kids, who apparently do like ruby,
and stuff like haskell, or whatever).

tony
-- 
http://www.myownsite.me
web design, development  hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140630214733.GA5395@localhost.localdomain



Re: Synaptic messed up

2014-06-26 Thread Tony Baldwin
On Wed, Jun 25, 2014 at 11:16:56PM -0400, Maureen L Thomas wrote:
 
 On 06/25/2014 09:21 PM, Tony Baldwin wrote:
 On Wed, Jun 25, 2014 at 08:18:41PM -0400, Maureen L Thomas wrote:
 I had an orange triangle show up where the upstate square usually
 shows.  I clicked on it and got the following messages.
 
 Error message:
 
 Fetch failed: W:Failed to fetch 
 ftp://debian.cites.illinois.edu/pub/debian/dists/wheezy/updates/main/source/Sources
 Unable to fetch file, server said 'Failed to open file. '
 
 , W:Failed to fetch 
 ftp://debian.cites.illinois.edu/pub/debian/dists/wheezy/updates/contrib/source/Sources
 Unable to fetch file, server said 'Failed to open file. '
 
 , E:Some index files failed to download. They have been ignored, or
 old ones used instead.
 
 
 
 
 I opened synaptic and received the following:
 
 
 E: The value 'stable-updates' is invalid for APT::Default-Release as
 such a release is not available in the sources
 
 E: _cache-open() failed, please report.
 
 
 
 
   I have no idea what the problem is.  It doesn't matter which of the
 U.S. sites I pick I get the same messages.  I deleted synaptic and
 re-installed it from the apt-get command line but it is still there.
 Although today I did get a security update that worked just fine.
 
   Any thoughts on what I should do to fix this?
 The errors tell us what the problem is.
 stable-updates is an invalid value for APT::Default-Release
 Probably somewhere in our /etc/apt/source.list you have
 stable-updates where you should really have
 wheezy-updates.
 
 Do us a favour and paste in the content of your /etc/apt/source.list
 
 Tony
 https://tonybaldwin.info
 Here is the content of sources.list.save
 
 
 deb http://security.debian.org/ wheezy/updates main contrib
 deb-src http://debian.cc.lehigh.edu/debian/ wheezy/updates main contrib
 
 # wheezy-updates, previously known as 'volatile'
 # A network mirror was not selected during install.  The following entries
 # are provided as examples, but you should amend them as appropriate
 # for your mirror of choice.
 #
 # deb http://ftp.debian.org/debian/ wheezy-updates main contrib
 deb http://http.us.debian.org/debian/ wheezy contrib non-free main
 deb http://ftp.de.debian.org/debian wheezy-backports main non-free
 deb-src http://ftp.de.debian.org/debian wheezy-backports main non-free
 deb http://debian.cc.lehigh.edu/debian/ wheezy-updates main
 deb-src http://debian.cc.lehigh.edu/debian/ wheezy-updates main
 # deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib

You replied directly to me, and not the list.
I do not see stable-updates in here, but this is a back-up file from
when the sources.list was last edited. It's still possible that it was
edited and somewhere has stable-updates in it.

Tony

-- 
http://www.myownsite.me
web design, development and hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140626121319.ga13...@myownsite.me



Re: Synaptic messed up

2014-06-26 Thread Tony Baldwin
On Thu, Jun 26, 2014 at 04:59:30PM -0400, Maureen L Thomas wrote:
 
 On 06/26/2014 08:13 AM, Tony Baldwin wrote:
 On Wed, Jun 25, 2014 at 11:16:56PM -0400, Maureen L Thomas wrote:
 On 06/25/2014 09:21 PM, Tony Baldwin wrote:
 On Wed, Jun 25, 2014 at 08:18:41PM -0400, Maureen L Thomas wrote:
 I had an orange triangle show up where the upstate square usually
 shows.  I clicked on it and got the following messages.
 
 Error message:
 
 Fetch failed: W:Failed to fetch 
 ftp://debian.cites.illinois.edu/pub/debian/dists/wheezy/updates/main/source/Sources
 Unable to fetch file, server said 'Failed to open file. '
 
 , W:Failed to fetch 
 ftp://debian.cites.illinois.edu/pub/debian/dists/wheezy/updates/contrib/source/Sources
 Unable to fetch file, server said 'Failed to open file. '
 
 , E:Some index files failed to download. They have been ignored, or
 old ones used instead.
 
 
 
 
 I opened synaptic and received the following:
 
 
 E: The value 'stable-updates' is invalid for APT::Default-Release as
 such a release is not available in the sources
 
 E: _cache-open() failed, please report.
 
 
 
 
 I do not see stable-updates in here, but this is a back-up file from
 when the sources.list was last edited. It's still possible that it was
 edited and somewhere has stable-updates in it.
 
 Tony
 
 
 How do I find out what is suppose to be there or how do I fix it?  I
 have basic knowledge of the command line so if someone would tell me
 how to fix it I will attempt to do so.

Just anywhere you see stable-updates, change it to wheezy-updates.

If you use vim, you can just do
:%s/stable-updates/wheezy-updates/g

Tony

-- 
http://www.myownsite.me
web design, development  hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140627005559.GA22831@localhost.localdomain



Re: Synaptic messed up

2014-06-25 Thread Tony Baldwin
On Wed, Jun 25, 2014 at 08:18:41PM -0400, Maureen L Thomas wrote:
 I had an orange triangle show up where the upstate square usually
 shows.  I clicked on it and got the following messages.
 
 Error message:
 
 Fetch failed: W:Failed to fetch 
 ftp://debian.cites.illinois.edu/pub/debian/dists/wheezy/updates/main/source/Sources
 Unable to fetch file, server said 'Failed to open file. '
 
 , W:Failed to fetch 
 ftp://debian.cites.illinois.edu/pub/debian/dists/wheezy/updates/contrib/source/Sources
 Unable to fetch file, server said 'Failed to open file. '
 
 , E:Some index files failed to download. They have been ignored, or
 old ones used instead.
 
 
 
 
 I opened synaptic and received the following:
 
 
 E: The value 'stable-updates' is invalid for APT::Default-Release as
 such a release is not available in the sources
 
 E: _cache-open() failed, please report.
 
 
 
 
  I have no idea what the problem is.  It doesn't matter which of the
 U.S. sites I pick I get the same messages.  I deleted synaptic and
 re-installed it from the apt-get command line but it is still there.
 Although today I did get a security update that worked just fine.
 
  Any thoughts on what I should do to fix this?

The errors tell us what the problem is.
stable-updates is an invalid value for APT::Default-Release
Probably somewhere in our /etc/apt/source.list you have
stable-updates where you should really have
wheezy-updates.

Do us a favour and paste in the content of your /etc/apt/source.list

Tony
https://tonybaldwin.info
-- 
http://www.myownsite.me
web design, development  hosting


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140626012126.GA10559@localhost.localdomain



Re: package recommendation for daily journal

2014-06-04 Thread Tony Baldwin
On Wed, Jun 04, 2014 at 01:47:47PM +, Curt wrote:
 On 2014-06-04, Tazman Deville tazmande...@gmx.com wrote:
 
  Here is a bash script for writing and managing a personal log,
  by Tony, who is also on this list.
  I'm surprised he didn't mention it himself.
  https://github.com/tonybaldwin/mylog
 
  read -p Shall we have a look in your a browser now? (y/n): 
 
 Shouldn't that be either your (browser) or a (browser)?
 
Just pushed a correction to the github.
thanks
Tony
-- 
https://tonybaldwin.info
art, music, software by me, tony
3F330C6E


signature.asc
Description: Digital signature


Re: fastest linux distro

2014-05-31 Thread Tony Baldwin
On Fri, May 30, 2014 at 02:09:53PM -0400, Steve Litt wrote:
 On Fri, 30 May 2014 10:38:50 +0200
 Gian Uberto Lauri sa...@eng.it  wrote:
 
  David Dušanić writes:
  
Ok, we have to be even more correct on this, even JWM is just a
window manager.
  
  One may agree with the precision of your classification.
  
  Or the same one may increase confusion by (rightfully) asserting that
  depending on user skills and habits, a WM and shell may be all the
  desktop environment a user needs, especially when she already has
  (or can create easily) all the inter-program communication required.
 
 And in addition to everything you just said, the WM/DE distinction
 isn't binary, it's a spectrum. At one end is KDE, where everything's
 provided and interconnected. At the other is something like JWM, which
 pretty much just manages windows.

Sawfish and openbox, even metacity would fit in this last just manages
windows category, and, in fact, don't even include a panel, which I
think JWM has by default. (although, clearly, any of a variety of panels
can be added. I sometimes use fbpanel with openbox, but often run it
with nothing but a little conky to show CPU/RAM NETUP/DOWN TIME/DATE).
Some of these were essentially created to be the WM of a particular DE,
or can be swapped in. Metacity was initially the gnome wm, afaik, for
instance.
I've never done it, but I imagine one could run the KDE's WM, or XFWM,
or others alone (without the DE stuff).

 
 If I stretch, I could even make an assertion that a DE is a document
 telling what software to install and how to use it within your
 environment. For instance, there are tray and panel type things you can
 add to your OpenBox. The document could tell how to install
 suckless-tools and then add dmenu_run as a hotkeyed option for quicker
 running of programs.

I do this on my openbox.
I have Mod+p open dmenu to launch stuff.

tony
-- 
https://tonybaldwin.info
art, music, software by me, tony
3F330C6E


signature.asc
Description: Digital signature


Re: Sawfish and Openbox: was fastest linux distro

2014-05-31 Thread Tony Baldwin
On Sat, May 31, 2014 at 12:59:06PM -0400, Steve Litt wrote:
 On Sat, 31 May 2014 08:51:13 -0400
 Tony Baldwin t...@tonybaldwin.info wrote:
 
  Sawfish and openbox, even metacity would fit in this last just
  manages windows category, and, in fact, don't even include a panel,
  which I think JWM has by default. 
 
 You're just the person I need to talk to, Tony. Right now I've switched
 over from Xfce to Openbox, and like it. Except for one thing: the fonts
 look a whole lot worse on Openbox, and I have very bad vision, so this
 isn't aesthetics: It affects the speed at which I work. Do you know of
 a way to make fonts on Openbox look like the ones on Xfce?

I don't see a difference, although Openbox does manage fonts differently
to my knowledge.
They should be anti-aliased and all that.
You can select default fonts and stuff in the rc.xml file or with obconf 
(graphical openbox configuration tool). You can choose the font, set size, etc.
Maybe take a look at this thread on the #! forum:
http://crunchbang.org/forums/viewtopic.php?pid=176320
(Crunchbang, #!, is a little distro that is basically Debian with Openbox as 
default WM).

 
 Now, about Sawfish...
 
 I just tried Sawfish last night, and was unable to get past the black
 screen. Left click, right click, middle click did nothing. I tried
 various keys, they did nothing. I think once I can configure the thing
 with hotkeys, I can own it, but I can't even get that far. How do you
 begin operating Sawfish?

Hmmmmiddle click should give you a menu, at least, 
from which you should be able to find the keybindings configuration tool 
and see the default bindings.
I haven't used it in a good long while, and don't currently have it installed.
Find documentation on their wiki: http://sawfish.wikia.com/wiki/Main_Page

tony
-- 
https://tonybaldwin.info
all tony, all day long...


signature.asc
Description: Digital signature


Re: fastest linux distro

2014-05-30 Thread Tony Baldwin
On Fri, May 30, 2014 at 08:49:01AM +0300, Andrei POPESCU wrote:
 On Jo, 29 mai 14, 23:07:40, Gour wrote:
  Ralf Mardorf ralf.mard...@alice-dsl.net writes:
  
   A tiling WM isn't a DE.
  
  Can you tell me what is missing?
 
 - file manager
 - text editor
 - image viewer
 - terminal emulator
 - etc.
 
 (just have a look through the dependencies of lxde and lxde-core)
 
 Basically a bunch of tools for everyday use. Of course, one might argue 
 that you can install these separately, but most people don't actually 
 care enough to select from the 10-20 alternatives for *each*.

This is where I differ from most people.
To me, FLOSS is about freedom to make my own choices.
I don't want a distro or DE to choose my packages.
I install a WM, then choose the editor, terminal, etc., that I want.

tony
-- 
https://tonybaldwin.info
art, music, software by me, tony
3F330C6E


signature.asc
Description: Digital signature


Re: fastest linux distro

2014-05-30 Thread Tony Baldwin
On Fri, May 30, 2014 at 06:50:22AM +0200, Gour wrote:
 Ralf Mardorf ralf.mard...@alice-dsl.net writes:
 
  If so, then still resizing and moving windows by the mouse is missing,
 
 This is also possible...
 
  assumed even this isn't missing, then it's not a tiling WM anymore.
 
 ...but not to the extent that tiling does not work.
 
 Moreover, every Tiling WM I was using so far had the ability to 'float'
 windows which is required/useful for programs like Gimp, so it seems to
 be that your definition of either DE or WM is lacking a bit. ;)

I would say you've misunderstood something.
A window manager manages windows.
This is what sawfish, openbox, wmii, tritium, and various other packages
do. They manage windows, and that's it.
That's why I like to use openbox. It manages windows and otherwise stays
out of my way/doesn't make decisions for me or hold my hand.
A Desktop Environment is a whole suite of tools for managing a desktop
experience. It usually includes a window manager (sometimes
interchangeable, like, you can use openbox, a wm with xfce, lxde, kde,
etc.), as well as various other programs (as mentioned, editor, terminal
emulator, often multimedia software, office software, etc., i.e., a lot
of handholding or making decisions for the user).
Tiling has nothing to do with the definition of a DE or WM.
-- 
https://tonybaldwin.info
art, music, software by me, tony
3F330C6E


signature.asc
Description: Digital signature


  1   2   3   4   5   >