Category archives: Tuxedo
Discussions about Linux, Unix and related technologies
Create your own virtual keyboard with Python
Written by
on
in
Snaking,
Tuxedo.
So at some point I need the voice dictation client to be able to do basic interactions with applications on the desktop (think typing text and the like). So how do I go about doing that? I want to be compatible with Wayland when it shows up, but still work on X (since that's where ...
Listener is Crawling Forward
Written by
on
in
Snaking,
Tuxedo.
I spent the day working on Listener. The bulk of the work was just cleanup, getting TODO items set up, fixing the setup script, etc. The actual task of voice dictation didn't get moved very far (I got a trivial "correct that") event working, but it doesn't actually make anything happen.
I also started ...
GStreamer Level Plugin Monitoring
Written by
on
in
Snaking,
Tuxedo.
So you have an audio stream where you'd like to get a human-friendly readout of the current audio level. You add a level component, but how do you actually get the level messages it generates?
bus.add_signal_watch() bus.connect( 'message', self.on_level )
It really seems that you *should* be able to use element.connect(), but there doesn't seem ...
Nginx Reverse Proxy with Authentication
Written by
on
in
Tuxedo.
So you have an internal device the web-gui of which you want authenticated users to be able to access. You've got nginx running on the front-end server. You're willing to open up a port on the outside firewall, but all access on that port needs to go through your main web-app's permissions. You setup an ...
Found the source of SegFaults on AMD + FreeGLUT
Written by
on
in
Snaking,
Tuxedo.
So the source of the segfaults that I'm seeing on fglrx and FreeGLUT on Kubuntu 14.04 has come to light. It's a known issue with the registration of FreeGLUT and fglrx at-exit handers (at the C level). You can work around it in your own code with PyOpenGL 3.1.0b3+ (which is still pending release) using: ...
Create Dummy ALSA Devices (en mass)
Written by
on
in
Tuxedo.
Since this was a bit of a pain to track down, here's the process, on an Ubuntu Server 12.04 machine, to create many ALSA dummy devices:
$ cat /etc/modprobe.d/alsa-dummy.conf options snd-dummy enable=1,1,1,1,1,1,1,1,1,1,1,1 pcm_devs=4,4,4,4,4,4,4,4,4,4,4,4 fake_buffer=0,0,0,0,0,0,0,0,0,0,0,0 $ modprobe snd-dummy
That sample creates 48 dummy devices (on 12 cards), though that's likely more than you'll ever need. The ...
Ubuntu Configuration for Inspiron 15r Running Hot
Written by
on
in
Tuxedo.
So you have a Dell Ubuntu 14.04 Laptop and it is running way too hot. You can configure it to run at a reasonable level using i8kmon. As with anything heat related, be careful. If you miss-configure the machine you are likely to wind up with a fried machine!
You create a file called /etc/i8kmon.conf and put the ...
FGLRX fail again, now on 12.04
Written by
on
in
Tuxedo.
So I've pretty much given up on the laptop having fglrx running properly, current Ubuntu just doesn't get fglrx, sucks, but okay, I should have stayed on LTS if I wanted a working machine. But now LTS Kubuntu fglrx is hosed after some system update. Every attempt to run any OpenGL program just segfaults (not ...
Is fglrx dead for Ubuntu-current
Written by
on
in
Tuxedo.
So the AMD Proprietary driver (fglrx) for Linux supports "Ubuntu 12.04 and 13.04" (Note: not the current Ubuntu 13.10), and so far every attempt I've made to use them on 13.10 has supported the "not supported" hypothesis (kernel module compilation failures in the latest iteration). But drat-it-all my machine meets the declared software requirements (kernel, ...
Voice Dictation Privilege
Written by
on
in
Snaking,
Tuxedo,
Young Coders.
Apparently I'm blessed with a Voice Dictation friendly accent and tone. I can pretty much use most Voice Dictation systems, including the ones on Android, Dragon Naturally Speaking, and PocketSphinx. The results aren't mind-blowing-ly good, but if it's quiet and I speak clearly and train anything that gets missed, I get reasonable results.
Watching a ...