1. Usability of git-http-backend with self signed SSL certificates

    Why makes it git so hard to use a self signed SSL certificate in conjunction with the https protocol?

    At work we have a server for shared git repositories. For some reasons we can't use the ssh protocoll to acces the repositories so we looked into the git-http-backend. So far so good but we want it encrypted, of course. So we used SSL with our self signed certificate:

    git clone https://git.example.com/public Cloning into 'public'... error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://git.example.com/public/info/refs fatal: HTTP request failed

    Huh? Looking deeper into the problem it turns out that git uses curl for the http(s) transport and curl refuses to work with SSL certificates it cannot verify.

    Ok, that's not a bad thing. To circumvent that you can either set an environment ...

    read more
  2. .inputrc

    A few days ago I found this blog explaining how to improve the tab completion by tinkering with your .inputrc.

    The magic lines are:
    set show-all-if-ambiguous on set completion-ignore-case on set completion-map-case on

    Last two lines make tab-completion ignore case, hyphens, underscores, the first one spares you one tab when more than one match was found. Very neat! I would have never found out, since there wasn't even an .inputrc in my home directory.

    Do you know any other cool .inputrc-tricks?

    read more
  3. Can aptitude show older versions of packages if available in /var/cache/apt/archives?

    Dear Lazyweb,

    is it possible to tell aptitude to show older versions of a package next to the currently available one if it is still present in /var/cache/apt/archives? Like it does when you use unstable and experimental side by side? I know that aptitude does not really support downgrades of packages, but showing those packages directly in aptitude if available in the cache is a lot easier than searching them in the file system and installing them manually, especially if you don't know where they hide.

    read more
  4. How to get a list of manually installed packages (and remove the other ones)

    The Good

    Every other year or so I feel the need to clean up my Debian system and remove the installed packages I'm not interested in anymore. I remember there was a nice aptitude pattern to search for packages which I have manually installed (i.e. which were not installed to satisfy a dependency). Ideally I would then go through the (presumably short) list of packages and remove the ones I don't need any more.

    Since I always forget the aptitude pattern to search for those packages, I google for something like "list of manually installed packages" and find a solution like: aptitude search ‘~i !~M’. Although this solution is not wrong, it is not quite what I was looking for. Sure, it will find you all packages which are installed and not installed to satisfy a dependency, but it also contains packages of priorities: required, important and ...

    read more
  5. No sound with Gnome 3 and pulseaudio?

    Dear Lazyweb,

    I recently switched from KDE to Gnome 3 and I am so far very happy with the decision. One thing that bothers me since then is that the sound does not work when restarting the computer or waking it up from suspend. After a while I figured that a simple sudo killall pulseaudio fixes the problem -- but only until the next reboot. Has anyone a hint what the problem could be/ I found quite a few similar problem descriptions on the internet but with no satisfying solutions so far.

    read more
  6. Speech Recognition Software

    Dear Lazyweb,

    Having broke my elbow last week, I'm experiencing serious trouble typing with only one hand on the computer. I know that there is speech to text software, but I was never really interested in that -- until now of course. Is there any good software available on Linux you can recommend?

    read more

« Page 2 / 16 »