Kategorien
All

tsclient no more in Ubuntu Oneiric 11.10

If you have to connect to Windows machines from time to time and have been an Ubuntu user like me, you most probably have been using tsclient to connect to it. But what I missed during the upgrade a couple of weeks ago was the fact that the previous Ubuntu standard tsclient has been removed. AFAIU because it’s not developed anymore and won’t get an upgrade to GTK3. Well, those reasons are all right, but the GNOME client can’t do shit, it’s utterly useless in my eyes. After a search on google I finally found the replacement for it: Remmina. Does what I need it to do, looks good and is included in Ubuntu. I just don’t understand why it isn’t automatically installed, like tsclient was before. If Ubuntu sees the need to remove a software, I think it would be good for users if they would replace it with something new, especially since it already exists in Ubuntu. They saw the need for a good RDP client in Ubuntu before, why not now?

What do you think of this post?
  • Awesome (3)
  • Interesting (6)
  • Useful (2)
  • Boring (0)
  • Sucks (0)
Kategorien
All

Just read: «Night of the Living Trekkies»

During my vacation I read the first two books Game of Thrones (magnificent! I loved it! Now I finally can watch the TV show. :-)) and two Pratchetts, but Game of Thrones and Pratchett are known enough as it is. Something that I bet isn’t as widely known is the first book I read during my vacation: «Night of the Living Trekkies» by Kevin David Anderson and Sam Stall.  It’s a mixture of Star Trek (from the fans point of view in the current time) and the zombie genre, which I’m really new to. Without knowing much about zombie movies and books, it seems to be the typical story, mixed in with a bunch of guys at a Star Trek convention, trying to survive. I like those parody books and it is especially fun to find it mixed into another genre. An example of the books style, I want to show you two things. The first is the disclaimer at the beginning:

Image at the beginning of the book

ATTENTION ALL STARFLEET PERSONNEL

The following text is an original work of fiction/horror/parody. Night of the Living Trekkies is not sponsored by, affiliated with, or endorsed by the owners of the Star Trek® brand. Any personnel claiming otherwise will be sentenced to one year of hard labor in the penal colony of Rura Penthe.

And the second thing is this image you can find also at the beginning of the book here on the right. Those two things were enough for me to buy this book and if you like Star Trek or maybe Zombies, you should too! 🙂

What do you think of this post?
  • Awesome (2)
  • Interesting (1)
  • Useful (0)
  • Boring (0)
  • Sucks (0)
Kategorien
All

Netvault 8 & Ubuntu 10.04 64bit

Today I had to add a new server to our backup. It was the first 64bit installation of Ubuntu (10.04 LTS), because all the other virtual machines were still running 32bit. (Why? I cannot remember.) The backup system is a Netvault from BakBone, running on a Ubuntu 08.04 LTS 32bit.

Two things I discovered today, that might be important for some of you:

  • Even though you normally don’t do that, I had the installation script in a path that contained a space. The install script is sadly badly enough written that it didn’t work with that. But that is easily corrected.
  • The second problem is that without deeper knowledge on that topic it seems as if the 64bit client package from Netvault contains 32bit binaries. So the installation fails because some 32bit libraries are missing. Running getlibs revealed that the following packages need to be installed prior to installing netvault, because the install scripts already calls them: ia32-libs lib32bz2-1.0 lib32nss-mdns lib32z1 lib32ncurses5 lib32asound2
    I’m not sure if they are all needed, but it works now without any problems.
What do you think of this post?
  • Awesome (3)
  • Interesting (0)
  • Useful (3)
  • Boring (0)
  • Sucks (0)
Kategorien
All

Reaction Buttons: Cache plugin support

I released a new version of my wordpress plugin Reaction Buttons. Next to some internal changes related to cookies (which where a bit problematic in the last versions), there is now an option to let Reaction Buttons work better with performance or cache plugins. It simply calls a function to refresh the page cache of the page where a button was clicked. For now only W3 Total Cache is supported, but if you want me to add support for another cache addon, open a thread in the wordpress forums. I’ll try to add it into the next version as soon as I got time for the plugin again. If you want it faster, please help me and search the documentation of the plugin for a function to clear the cache (best for a specific page) or check with their developers.

And as always: Please don’t forget to vote for it on the wordpress plugin page. Thanks! 🙂

What do you think of this post?
  • Awesome (10)
  • Interesting (5)
  • Useful (5)
  • Boring (3)
  • Sucks (4)
Kategorien
All

A lot of new features in v1.1 of the Reaction Buttons!

After a long quiet time around the WordPress plugin Reaction Buttons, I took some time today to integrate changes I got from another user and check up on feature requests that I got over the past month. The result is version 1.1 with a lot of new features:

  • added reaction_buttons_click_count($post_id) to include number of reactions per post in own themes. Returns the accumulated number of clicks of the specified post.
  • added the possibility to only allow only one vote per post. (Thanks Vlad for most of the code!)
  • added the option to show a javascript popup if you try to vote twice. (Thanks Vlad for the idea and most of the code!)
  • added the option to show the results only after the user voted.

It might be neccessary to modify your CSS if you don’t use the integrated stylesheet. Hope you like the new features and update without problems. As always, I’m happy about good ratings on wordpress.org! 🙂

Download: Reaction Buttons

What do you think of this post?
  • Awesome (14)
  • Interesting (11)
  • Useful (12)
  • Boring (3)
  • Sucks (2)
Kategorien
All

Ubuntu, Apparmor and moved home dirs

I got a new HDD recently and linked /home to a new partition mounted on /data/, /data/home/. Just like I did a dozen times before. Now a realized, that my pdf viewer evince (and surely some other programs) aren’t working anymore. Evince crashes with this error message:

(evince:22792): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
(evince:22792): Gtk-WARNING **: Attempting to read the recently used resources file at `/home/lenfers/.recently-used.xbel', but the parser failed: Datei »/home/lenfers/.recently-used.xbel« konnte nicht geöffnet werden: Permission denied.
** (evince:22792): WARNING **: Error creating last_settings file: Fehler beim Öffnen der Datei »/home/lenfers/.gnome2/evince/last_settings«: No such file or directory

As I found out, that is caused by AppArmor, a surely useful innovation to secure your computer, but new enough that I haven’t took the time to get to know it. AppArmor is activated by default on Ubunut 10.04 (and IIRC 9.10 and maybe 9.04 as well) and restricts access of programs on certain files. Due to the change of my home directory, evince tried to access files which for AppArmor are in /data/home/lenfers/ and consequently disallowed access to them.

The solution to this is easy, after I found it: Make your new location for home directories known to AppArmor: Add the path of your home direcories to the HOMEDIRs var in  /etc/apparmor.d/tunables/home. Now the line looks like that for me:

@{HOMEDIRS}=/home/ /data/home/

Now back to work. 🙂

What do you think of this post?
  • Awesome (6)
  • Interesting (3)
  • Useful (8)
  • Boring (4)
  • Sucks (1)
Kategorien
All

Reaction Buttons and WordPress 3

Just made small changes to Reaction Buttons and tested them on a WordPress3 rc3 blog. New features will be in version 1.1.

Download the current version directly through the plugins menu or from wordpress.org.

What do you think of this post?
  • Awesome (7)
  • Interesting (6)
  • Useful (3)
  • Boring (2)
  • Sucks (3)
Kategorien
All

VDR hack: Stream video with synced audio

VDR streams very well with the streamdev-plugin, but only unicast http streams. That is usually no problem, because even 3 streams aren’t nearly too much for a normal 100Mbit home network and I wouldn’t need any more at home. But with the world cup starting tomorrow me and Karin are going to watch some games that aren’t that interesting to us at the computer while doing other stuff. We did this before, but the downside is that we never got the http stream really synchronized and nothing is more annoying than the same audio stream with a one second delay in one room. (Our solution was to mute one stream, but thats not a real solution because one of us always has to have a asynchronous audio to the video signal.)

My hack I will be using for the world cup the next four weeks is the following: I described how to stream the world cup at your office for all your colleagues a few days ago. I will do that at home too, and then just play that stream, in which the video and the audio are really in sync, at least for my ear. I have to play the stream, because the VDR still has control over the DVB devices and VLC couldn’t open them. And the VLC on my VDR is quite ancient, since I’m using an older version of c’t-vdr.

So, on one computer I start VLC with the following options (all in one line):

cvlc  http://vdr:3000/S19.2E-1-1101-28106  ":sout=#rtp{dst=226.42.42.42,port=5004,mux=ts}"

You can get the URL for each channel from your vdr at http://vdr:3000/channels.html.

And on all the computers that are supposed to view the stream, VLC has to be started with the following command:

vlc rtp://@226.42.42.42:5004/

Sure there is now a slightly higher delay (two streams), but I don’t mind those three seconds when we can watch the games with synced audio. You can get a bit more information about streaming in my world cup streaming post and a lot more in the VLC streaming documentation.

What do you think of this post?
  • Awesome (1)
  • Interesting (5)
  • Useful (4)
  • Boring (1)
  • Sucks (0)
Kategorien
All

Just read: Wil Wheatons «Dancing Barefoot»

After having read Wil Wheatons «Just a geek» (about which I wrote a week ago), I thought I’ll also read Wils first book «Dancing Barefoot». If you liked Just a geek, I bet you won’t be disappointed by its predecessor. But to be honest I liked Just a geek more, it felt more personal and told Wils story. Also there are a few (two?) stories told in both books. But I found especially the story about „WILLIAM FUCKING SHATNER“ interesting, because I couldn’t understand in Just a geek why Wil is calling him that. Dancing Barefoot tells the associated story.

Oh and from a geeks point of view I found the license quite curious: Creative Commons – Deed Attribution-Noncommercial-No Derivative Works Kudos to that! 🙂

http://creativecommons.org/licenses/by-nd-nc/1.0/http://creativecommons.org/licenses/by-nd-nc/1.0/
What do you think of this post?
  • Awesome (1)
  • Interesting (4)
  • Useful (2)
  • Boring (1)
  • Sucks (1)
Kategorien
All

Exclude categories in Reaction Buttons

I found some time to check my todo list for reaction buttons and found an old entry about the possibility to exclude posts from a certain category from displaying the Reaction Buttons. Well, now that entry is gone. 🙂 Grab the new version through the plugin interface within wordpress or download it from wordpress.org.

What do you think of this post?
  • Awesome (2)
  • Interesting (0)
  • Useful (1)
  • Boring (0)
  • Sucks (0)