MùPùF.org

Linux, Programming and Octopodes

--- *Projects* (website in development: svn r299)--- » PPassKeeper » ArduIDE

MuPuF's tech blog MuPuF's tech blog subscribe

Technology

Showing articles in category: (See all)

Technology

An arduino-based frontend to my audio-player (CMus)An arduino-based frontend to my audio-player (CMus)

in Technology
Tags: arduinomusicresearch

CMus is so far my favourite audio player. It is gapless, powerful, scriptable and console-based.

The latter is both an advantage and an inconvenient. Indeed, when procrastinating by browsing the web, I often find myself willing to watch flash-based videos. So, I need to find what console runs CMus to stop the music. I usually launch it in the first console of yakuake, a quake-like terminal for KDE, but stopping the music requires multiples actions.

I could have used KDE's global keyboard accelerators to send a pause/unpause request to CMus, but I'm far more geeky than that. Instead, I decided to build a remote control to physically add a physical giant button.

While this idea was appealing for the sake of it, I wasn't fully satisfied. So long for just sending commands, what about receiving data from the computer too? What about displaying visual information to a screen too?

See the video and read more

Published June 14, 2011 by read more
0

Thinkpad: How to use the Fn+F7 hot key on xrandr-compliant graphic drivers!Thinkpad: How to use the Fn+F7 hot key on xrandr-compliant graphic drivers!

in Technology
Tags: technologythinkpadtutorial

Today, after my exams, I went to the project room my school has, plugged my laptop on the 24" screen and typed the usual :

$ xrandr --output VGA-1 --auto
$ xrandr --output LVDS-1 --off

This is way better than using NVIDIA's utilities (it is portable) but yet, it is so boring to write the same thing on and on...

As I had a couple of hours to spare, I have decided to use the laptop hotkeys to switch between the screens (LVDS --> VGA and VGA--> LVDS).

To fulfill this goal, I have used the daemon acpid and made a bash script to detect implement the logic of the switch.

Published Feb. 11, 2010 by read more
0