Mooltipass standalone app on fedora

As I wrote in Mooltipass on fedora I acquire recently a Mooltipass.

But I’m in love with Fedora and rpm instead of Debian with apt. Sadly the official repo doesn’t provide standalone app for Fedora.

Thanks to scips I discover alien soft to fix that: it’s job is to create a rpm from a deb for instance.

In our case that doesn’t work due to the fact that we don’t have rpm spec file at debian debootstrapping step.

I don’t have enough experience to build a rpm spec file, but we’re not blocked.

Read More…

Posted in Au quotidien at May 9th, 2017. No Comments.

Mooltipass on fedora

Mooltipass is an hardware solution to store securely passwords. In few words: it’s a Atmega with a screen, a card reader and a scroll wheel to type the password.

I backed that on kickstarter and a more complete description is available on official website

Read More…

Posted in Au quotidien at May 7th, 2017. 1 Comment.

Install ansible

I created a little ansible playbook to install my dev machine. But I need to install… :'( some thing to get ansible work.

So it’s the right way to do it

  • Clone ansible repo into /opt/ansible
  • Chown -R it as your usual user.
  • Install python (2)
  • pip install –upgrade pip

And the following error got the following answers:

  • pyconfig.h missing => python-devel
  • /usr/lib/rpm/redhat/redhat-hardened-cc1 missing => redhat-rpm-config
  • fatal error: openssl/opensslv.h => openssl-devel

After you can continue deps installs for ansible

  • sudo pip install paramiko PyYAML Jinja2 httplib2 six

With a improved/modernized crypto lib

  • rpm -e –nodeps python-crypto; pip install pycrypto

As useful dependency you can add

  • yamllint

You have to run it manually for the moment, but still really useful

 

Thanks to throskam a script is now available on github: https://github.com/lgnap/ansible-bootstrap.

It’s only for Fedora & my user for the moment (pay attention to the little lgnap hardcoded) but it’s not really difficult to adapt it.

Posted in Au quotidien, Linux at January 15th, 2017. No Comments.

Install ‘real’ firefox on Debian 8

Iceweasel is often enough but for some remote debugging the ‘official’ version is required.

Linux mint handles this package in repo. Add the following line into a new file /etc/apt/sources.list.d/linuxmint.list

deb http://packages.linuxmint.com debian import

and follow rest of flow (update, install firefox is the name of package).

This explanation is less less verbose but source is : http://linuxconfig.org/simple-firefox-web-browser-installation-on-debian-8-jessie-linux

Posted in Au quotidien at December 29th, 2015. No Comments.

MPDCron

Alors MPDCron c’est pas vraiment un client, c’est plus un autre deamon qui va vous permettre de monitorer certaines choses à propos de MPD.
En gros il est capable de faire tourner des scripts de votre cru à la détection de certains événements:

  • changement de chanson
  • play/pause/stop
  • changement du volume
  • changement de la playlist en cours
  • le statut actuel de mpd
  • non exhaustif…

Read More…

Posted in Au quotidien at September 14th, 2013. No Comments.

MPDCron init.d script

Comme promis dans l’article de présentation de MPDCron, voiçi le script que vous pourrez mettre dans votre /etc/init.d folder.

N’oubliez pas de le rendre exécutable (chmod +x)  et de l’ajouter au démarrage du système (update-rc.d mpdcron defaults)

 
Read More…

Posted in Au quotidien at September 14th, 2013. 1 Comment.

XRandR (dual screen) on boot/login

source : http://www.jejik.com/articles/2008/10/setting_up_dual_monitors_system-wide_with_xrandr_on_debian_lenny/

find the right config to match your screen config. Mine is :

xrandr –output DP1 –pos 1920×0

And after you can create a file 45custom_xrandr (as root) into folder /etc/X11/Xsession.d with a copy paste of the XRandR needed (no chmod +x needed).

You can reboot, and will work.

 

Posted in Au quotidien at August 20th, 2013. No Comments.