Google Summer of Code 2012 – Fedora JBoss Spin

So yesterday I found out that I got accepted into the Google Summer of Code program. It’s really exciting news for me, being enthusiastic about free software and open source, and also because I’ll be getting money to contribute to a project that I’ve been hoping to get more involved with anyway.  I’ll be working with the Fedora project, to help with the packaging of JBoss software, and eventually I’ll create a JBoss spin, which will include JBoss Application Server 7, JBoss Tools for Eclipse, and JBoss Forge. I’m currently doing exams in university, so my activity on this will be limited until they’re finished. Then the hard work begins! I look forward to learning from all of the talented people who are already involved in the Fedora community. For more info on what I’ll be doing, the proposal is available on the wiki. I’ll update here with any interesting progress!

Adjust screen brightness on fedora 16 – try this if it’s not working

Just in case this can help anyone on the fedora planet or other, who doesn’t visit fedoraforum.org or ask.fedoraproject.org very often. Admittedly I don’t visit there very often myself. A quick search in bugzilla shows some possibly related bugs.

If you don’t seem to be able to alter the screen brightness in fedora, either with the Fn keys, or through the gnome-control-center, try reinstalling bash. I rarely have the screen brightness on full on my laptop, so when I couldn’t change it on f16, it was ever so slightly annoying! I honestly wouldn’t know what to file a bug report against, so I started searching. First stop was that shiny new ask.fedoraproject.org instance, which led me to forums.fedoraforum.org/showthread.php?t=272500
So with the Fn keys not working, which had always worked previously; and the slider in the screen settings in gnome-control-center having no effect, doing a simple

sudo yum reinstall bash

was the answer.

Update:

It’s listed in the ‘Common F16 Bugs’ here:

https://fedoraproject.org/wiki/Common_F16_bugs#Bash_entry_in_.2Fetc.2Fshells_disappears_after_update

Add applications to autostart on login, in GNOME 3

Since I started using GNOME 3 a while back, one feature that I’ve wanted to see is an option to have certain programs start up when I login. Unfortunately I haven’t had time to look into this until now, and  a quick look in the release notes pointed me in the right direction. There are two ways of doing this; neither of which I find very obvious, and both do essentially the same thing. The easiest way is by using gnome-session-properties. Unfortunately, this is something that the shell in GNOME 3 doesn’t seem to know much about. Entering it in the search bar in the shell doesn’t provide anything useful, apart from a wikipedia or google search possibility. To open the dialog, we must either open a terminal and enter gnome-session-properties, or hit the trusty Alt+F2 and enter it there. At this point, I would like to point out that the Alt+F2 command launcher now has tab auto-completion (I’m not sure if that was a feature before or not, but I’ve only noticed it now)!

Screenshot of 'startup applications preferences' in Fedora 15

As you can see, this presents us with the familiar Startup Applications Preferences dialog, where we can add/remove applications to our hearts content! As you can see from the screenshot, the first application I added was RSIBreak. This is a handy little utility to help prevent Repetitive Strain Injury.

The alternative way to add something to startup on login is to manually create the.desktop files in ~/.config/autostart. Some examples can be found in /usr/share/applications.

frustrations with netflix and DRM

Today I signed up for that 30 day free trial period that netflix have going on. I was quite excited about it, and it was really one of those moments where I thought ‘I hope this works well, if so, then I’d be happy to pay after the free trial!’ – this isn’t a mindset I’m often in, admittedly.

The signup process was going swimmingly, until it asked for the payment details. I was presented with 2 choices: Credit card or paypal. I chose paypal, since I my credit card will expire soon, and I won’t be renewing it, since the account is in Ireland, and I currently live in Canada. Unfortunately, clicking on the paypal option wasn’t very helpful, since netflix turns out to be one of those silly companies that requires all paypal accounts to be set up with credit cards. This is something that really annoys me, let’s rewind a little to see why more clearly. So, remember I was provided with 2 payment options, credit card or paypal? That seemed reasonable at first glance: not everyone is eligible for a credit card, but you can have a paypal account with just a bank account, eliminating the need for a credit card for online payments (this is the most advantageous reason for providing paypal as a payment option, in my opinion). Requiring paypal accounts to be linked to a credit card, isn’t providing any option at all really, since now you must have a credit card to use netflix.

After a slight hesitation, I caved. I entered the details for the paypal account which is linked to my irish credit card (as opposed to the other one which is linked to my canadian bank account). I figured that even though my canadian bank won’t issue me a credit card, I might be able to find something that will work, if I end up liking the service provided by netflix.

After signing up, I was asked some questions and I ticked some boxes. I assume this was to provide me with more personalised recommendations. After that, I was brought to (what I assume was) the main netflix interface. I spent about a minute or two rating stuff I had already seen, and clicking ‘not interested’ in other stuff that I hope never to subject my senses to.
Eventually I saw something that I wanted to watch, a movie that I hadn’t seen in years, but which recently came up in conversation, and I had planned on watching in the near future. Clicking ‘play’ brought me to a nightmarish screen, one that I had hoped I wouldn’t be seeing. It was a message informing me that netflix requires either Microsoft Windows or Mac OS to play. This was the end of the road for me, so I quickly cancelled my account and moved on in frustration.

A little digging afterwards, told me that the reason netflix doesn’t have a GNU/Linux compatible client, is because of DRM. Of course, if I had known this in advance, I would have steered well clear. Most importantly because I think DRM is just wrong and unnecessary, but also because, as everyone knows, DRM doesn’t work.