Postings by M. Fioretti

shell pipe "loses" parts of the data, was: help needed to debug Perl script

Hello all, again

(sorry, this is a bit long, but it can't be helped)

in another thread today, I wrote how a Perl script I had been using
for weeks without problems had suddenly started to drive me mad, losing
~80% of the data it was supposed to print.

Basically the script was telling me "I have built a hash with ~26K keys,
and now I am going to print them all, one per line", but instead of ~26k
lines of data, it would only print ~4700.

OT: help needed to debug Perl script


A few weeks ago I quickly put together a Perl script to parse big CSV
files, for a project I am working on (I need to do this several times a
day, always with new data).

Openbox quite messed up on Ubuntu 16.04, need sample config files..

..or so it seems on my own computer, at least.

I used openbox a lot years ago, customizing it with pipe menus and other
stuff as I needed, then migrated to other window managers. This week I
wanted to try it again, so installed openbox, obmenu etc.. but:

the openbox root menu is almost empty, and I haven't found any
*working* way to make it display the same menus of applications that
kde, enlightenment etc...

python script aborts on Ubuntu 16.04: No JSON object could be decoded


I am trying to run this Python script:

<a href="" title=""></a>

to import a collection of bookmarks in a test install, on the SAME
Ubuntu box,
of the the Shaarli bookmark manager
<a href="" title=""></a>

After installing the python-jwt and python-requests modules, the script
starts but fails with the error message below. The behavior does not
change at all if, instead of reading the data to import from a file, I
hardwire them into the script itself one by one, i.e.

perl script prints parts of strings in the wrong order


I am trying to reuse an old perl script I wrote years ago, on an Ubuntu
16.-04LTS x86_64 box.
It behaves in a very odd way now, and I cannot figure out if it is the
code that is not
compatible with current versions of Perl, or if there is something VERY
strange happening
between the script, and the terminal it runs in.

The part of the script that works badly is this:

while (<INPUTFILE>) {
my $LINE = $_;
many lines that "clean up" $LINE, removing certain substrings etc...

@F = split /:/, $LINE;
print "CURL:==> $F[0] ++ $CURLRES{$F[0]} ;;\n";


SOLVED (?): map view missing from digikam in Ubuntu 16.04

Greetings again.

I asked on the digikam list, and the [edited] answer was:

so I installed 5.7 appimage as described here:

<a href="" title=""></a>

and indeed map view works in that version.

map view missing from digikam in Ubuntu 16.04


I have digiKam 4.12.0 and the corresponding kipi plugins installed via
apt-get on an Ubuntu 16.04 x86_64 box. Everything works fine except, as
I only realized today, there is NO map view button in the left sidebar.
When I realized this, I also discovered that there is no
geolocation/geotagging entry anywhere in the menus.

Is anybody experiencing the same thing? Any idea of what may be
the reason, and how to fix it? I will also check on the digikam
mailing list, but I thought I'd check here first, because I
have a feeling that it may be a Ubuntu-specific issue.


urgent advice needed for 100% Ubuntu-compatible desktop


I badly need to buy or assemble a desktop with the
features below, as soon as possible. The help I badly
need is names of hardware components fitting the specs

networking disabled on laptop running ubuntu 16.10


UI have an HP Pavilion g6 running Ubuntu 16.10 alongside
Windows 8.

On Windows, both ethernet and wifi work fine. On Ubuntu, they
worked fine... until a few weeks ago, when they both stopped working
without apparent cause (e.g. sw upgrades).

widget to select wifi networks in Ubuntu 16.04 plasma?


now that the shutdown issue is solved, I am configuring the system.
Right now, I am puzzled by something that is, likely, much dumber
and easier to fix: how do I get, in the plasma taskbar, an icon/widget/
to see which wifi networks are available, and connect to them?

for some silly reason, I can't figure how to find it.


Ubuntu 16.04 LTS cannot shut down


the title says it all. I installed this version of Ubuntu on an HP
Pavilion G6
laptop, and the only thing that doesn't work, and makes Ubuntu unusable
for now,
is the fact that it does NOT shut down.

- "reboot" from the terminal works

"shutdown -n now" from terminal, or "shut down" from the graphical
do not work. They only **completely, completely freeze** the system.

I have **already** searched online for this problem, and all I found are
of reports like this at askubuntu and similar places, with almost zero

what is the reason for THIS spf failure?


I had my SPF/Dkim setup all set, also thanks to help from this list..
until 2/3 days ago.

Access from $mynetworks denied


I have just "inherited" a postfix 2.6.6 server running on a Centos 6
server, whose postconf -n output is pasted below.

Everything seems fine to me (but of course any pointer to security
holes, or possibilities for improvement is welcome!) except one thing.
This server must relay email from only two sources:

a) messages sent through the local webmail interface
b) messages coming from another server with a fixed ip
address,xxx.yyy.www.zzz : these are all notification messages from cron
jobs/shell scripts, for several people

a) is working perfectly, b) isn't.

postfix stopped relaying after client changed IP address


my home computer (CLIENT) has postfix configured to relay all outgoing
email to my actual email SERVER, that is running on a VPS. The current
outputs of postconf -n for both boxes are below.

For reasons not really relevant here, a while ago I had configured the
SERVER to only relay for 2 IP addresses: the one of another VPS I manage,
and the one of my home computer. Everything worked fine until this
morning, when there was a blackout at home. When the ADSL modem restarted,
it got a different IP address from the provider, .

ssh_exchange_identification: Connection closed by remote host


I have accounts on two Centos servers, A and B, each hosted on a remote
VPS by a different provider/datacenter.

Until yesterday night, I could connect without problems via SSH to both
servers from my home Fedora 16 desktop.

Yesterday I completed (fingers crossed) the switch to a different ADSL
provider. From the moment I turned on the modem on the new ADSL line, I
became unable to ssh into server A.

local postfix not working anymore after ISP change


part of the problem described below is caused by/related to the fact that
I am now on a very slow/unreliable connection, and only webmail is
available, so please accept my apologies if I forget something.

I have been running for years now my own email server on a VPS with a
fixed IP,

My home Linux computer (fixed IP) ran postfix setup to relay all outgoing
email to that VPS
relayhost =

All worked fine.

passwd problem with new vps


I am setting up Centos 6 i686 remotely, on a new VPS.

A problem I have is that I cannot set password for new users.

Dual boot doesn't work anymore


A few weeks ago I put an extra hard disk on a friend's computer (who
knows nothing about software of any sort) and installed Ubuntu KK on
it. It was the default system, in dual boot (which worked) with the
Windows install still present on the original drive.

my friend has used Ubuntu since then and is happy with it.

: New linux documentation project for blind users


this is an invitation to read and spread the word (**) about a new
Linux/FOSS documentation project by Tony Baechler: free, CC-licensed
audio tutorials about FOSS specifically aimed at blind computer
users. My full interview with Tony is at
<a href="" title=""></a>

(also because following his guidelines would give great audio
tutorials very useful to **all** FOSS users, not just those with
vision problems)

New linux documentation project for blind users


this is an invitation to read and spread the word (**) about a new
Linux/FOSS documentation project by Tony Baechler: free, CC-licensed
audio tutorials about FOSS specifically aimed at blind computer
users. My full interview with Tony is at
<a href="" title=""></a>

(also because following his guidelines would give great audio
tutorials very useful to **all** FOSS users, not just those with
vision problems)

A family's experience with Ubuntu and autism


here's something to show to anybody saying that Ubuntu (or any other
Free Software, of course) is difficult "because it's different":

<a href="" title=""></a>


About the Ubuntu User Day

On Wed, Jan 13, 2010 23:13:09 PM -0500, Chris Johnston

FIY: I've announced this on my website, in a format which should
appeal to all parents and teachers who use computers but are scared or
bored by "software stuff", and also makes (note the notice in the
website footer) a one page printout to hand out to friends, coworkers,

<a href="" title=""></a>


Ubuntu, a great tool for homeschoolers


here is an interview to a non-geek, homeschooling parent very happy of
his Ubuntu and Edubuntu machines: <a href="" title=""></a>

Marco Fioretti

Is anybody using screentoaster with Fedora 12?


I am running Fedora 12 x86_64 and I have noticed that I cannot use
<a href="" title=""></a>. The java app used to make screencasts starts,
seems to run, but I cannot stop it or control it in any way. For
example, there is a pop-up windows to set the audio: if I try to click
on the button which should authorize the applet to get audio from my
microphone, nothing happens.

Skype misses webcam on FC12 x86_64


I am running Fedora 12 x86_64 with all the updates as of this morning
installed and I also enabled the Skype repository.

If I install skype via yum, it sees and detects correctly the
webcam (/dev/video). When I press "test" I see myself in the skype
window. but there is no way to make it use audio. It lists several
possible audio in/out devices but none works (this is an ASUS card
with an nVidia on-board chipset for video and audio).

If I download and start the static binary of skype 2.1.something from
the Skype website the opposite happens.

Apologies for: Anaconda loses ~100 GByte of disk...

Sorry, I only thought now of doing the easiest and logical thing, that is
opening the computer and look at the drive label.

The drive in the case IS 250GB, so Anaconda did nothing wrong. The reason
why I got confused is that I had two nearly identical spare drives in the
closet, ie same maker, model etc... but only one (the one I didn't pick,
obviouusly) is 350 GB, while I was ABSOLUTELY sure that they were the same

Sorry again for the hassle, and thanks for all the prompt advice :-(


Anaconda loses ~100 GByte of disk when installing Fedora 12, was "Part of hard disk disappeared..."


I have looked a little more into the system I just installed, so now I am
posting the same issue I mentioned in that other thread, but hopefully in
a clearer form.

I had this 350 GByte SATA disk which had Fedora 9 on it, on several
separate partitions filling the whole disk, called /dev/sdaN and mounted


Monday I installed Fedora 12 x86_64 on that disk, accepting all the

Part of hard disk disappeared after installing Fedora 12?


I just put a spare disk I had into the computer and installed Fedora 12
x86_64 on it. Installation went fine (I just told anaconda to install a
basic desktop and accepted all defaults) except that I seem to be missing
some space from the disk.

Thanks for: URL of website doesn't point anymore to Drupal installation

Thanks to all the members of this list who immediately replied, both
here and privately, explaining what the now obvious, stupid problem
was: the domain registration had expired a few hours earlier.

I had inconsciously excluded this possibility because I was *sure* all
payments were OK.

URL of website doesn't point anymore to Drupal installation

sorry for the vague subject, but I couldn't find a better one.

I have the website <a href="" title=""></a> running on a VPS with Drupal
6.10 . This is a multisite Drupal setup: only one installation, with
subdirectories in sites/, and a separate mysql database for each
website. For several reasons, I had setup DNS, drupal and everything
to work without the www prefix on domain names. In other words,
<a href="" title=""></a> is OK, <a href="" title=""></a> was never used.

Everything worked perfectly for months, if not years.