Thursday, September 8, 2011

Changing the Primary Display in GNOME 3

I recently ran into a problem with GNOME 3 and my external monitor. GNOME 3 defaulted to displaying notifications and the activities overlay on what I consider to be my secondary monitor.

Investigating the graphical display configuration tools I was unable to find an option to change this. Luckily xrandr supports the setting of the primary display and GNOME 3 appears to take heed of it. To change primary display:
  1. Run xrandr to list available displays.
  2. Run xrandr --output <display> --primary to set the primary display.
In Fedora 15 the xrandr command is provided by the xorg-x11-server-utils package.

Update: Another viable solution has been posted in the comments. Unlike the one I have posted above it does not need to be done every time you log in. I am not sure how it performs in the event that you disconnect/reconnect the monitor or dock/undock the laptop frequently.

Tuesday, June 14, 2011

Fedora 15 makes /media a tmpfs

The /media directory is defined in the Filesystem Hierarchy Standard as containing subdirectories "which are used as mount points for removeable media such as floppy disks, cdroms and zip disks".

Some people, myself included, have been known to use this location to mount more semi-permanent media such as additional hard drives or even network shares below this location. I fully recognise that this was always folly of me, but hey - for a long time it worked.

As of Fedora 15 the /media directory has become a tmpfs by default. This means that among other things it is wiped on reboot. Any devices still plugged in will of course be detected when the system starts and their mounts will re-appear in the directory.

What this means for those of us who have been abusing this area of the filesystem is that our mounts have 'disappeared' since the first reboot after the upgrade.

Simply issuing umount /media as root is enough to temporarily return your mounts to their previous state so that you can move the data to a less controversial location.

Wednesday, June 8, 2011

An Introduction to Amazon Web Services, Post-presentation Reflections.

Today I was lucky enough to attend a presentation given by Simone Brunozzi (@simon) who works for Amazon Web Services (AWS). The slides from the presentation are available on slideshare but I thought I would take the time to quickly reflect on a few key points that I took away from it.

Who needs Venture Capital?

The biggest thing I took away from today was that AWS presents an amazing opportunity for small startups to get off the ground without necessarily needing to acquire large amounts of venture capital. Even when venture capital is being sought the value proposition is much more attractive to potential sources of funding than a traditional proposal. Using AWS the funding required can scale appropriately along with the success (or failure) of the venture itself rather than requiring a large outlay up front.

Indistinguishable Experience for End Users

While the list of large, well known, companies using AWS to support their web presence is quite long how many of their users realize the services they use are backed by it? For the most part, ignoring the recent well publicized outage, the user experience of a correctly defined AWS setup is completely indistinguishable to end users from that of a traditionally hosted site. In some instances it may even be better thanks to the use of services like CloudFront!

Everyone has a Unique or Unsolvable Problem

Based on the under currents of some of the questions posed in today's session it seems that many in IT, at least locally here in Australia, still believe that their organisation is somehow unique. Indeed in many cases this may in some small way be true. The problem is that this line of thinking is the precursor to the argument that an organisation's problems cannot possibly be solved by generically designed platform or framework of the day X.

This isn't an attitude unique to today's attendees by any means, and I don't particularly hold it against them either. There are obvious risks attached to a change in platform mix for any established organisation. That said I couldn't help but wonder, given the previous point regarding how invisible AWS is from an end user experience perspective, how many of these same organisations already have competitors leveraging the efficiencies of the cloud and they aren't even aware of it.

Security of Platform

A common thread of concern in the Question and Answer session was what I will refer to as security of platform. That is to ask the question "what is to stop AWS yanking my site at will". The answer unfortunately appears to be "trust us, we wont - it's not in our interests". The only real test of this that has come to light was with regards to WikiLeaks and in that particular case the site was indeed taken off AWS.

Amazon argue that the reason WikiLeaks was removed from AWS was in fact due to the fact that they were clearly not the owners of the content they were serving and thus violated the Terms of Service. Whether or not this is the case it seems that business users are still very much concerned about the ramifications of building their IT infrastructure on top of a platform that can, at least technically, be pulled out from under them at a moments notice.

Along a similar line there is concern that currently there is no Australian region for almost any services provided by AWS. As a result jurisdiction over data stored by Australian companies using these services ultimately resides with foreign governments. For many organizations this is simply unpalatable and often in fact impossible due to legislative requirements.

Unfortunately given Australia's small population and the small number of regions currently available in AWS it seems unlikely that this will be changing any time soon.

Monday, May 16, 2011

Give your desktop a new look with the elementary icon theme

This post migrated from http://blogs.fedoraproject.org/wp/sgordon/2011/04/03/give-your-desktop-a-new-look-with-the-elementary-icon-theme/

Looking to give your desktop a new look? Try the elementary icon theme. These icons are available in the default Fedora repository for F14. As such they can be installed by issuing the following yum command:
 
# yum install elementary-icon-theme
 
To activate the icon theme Gnome users should:
  1. Access System -> Preferences -> Appearance.
  2. With the current overall theme selected click Customize.
  3. Select the Icons tab on the Customize Theme dialog box.
  4. Select elementary or elementary-monochrome from the list provided.
  5. Click Close on both dialog boxes to apply and save the changes.
The instructions for users of other desktop environments such as KDE, XFCE or LXDE will differ. Consult the documentation for your desktop environment of choice if you are unable to find the appropriate settings.

linux.conf.au wrap-up

This post has been migrated from http://blogs.fedoraproject.org/wp/sgordon/2011/02/08/linux-conf-au-wrap-up/

As I mentioned in my previous post last week I attended linux.conf.au which was this year held in 2011. I thought I might do a quick wrap-up linking not only the presentation I made at the Cloud Mini-conf but also some other presentations I attended during the week which might be of interest to other Fedora users.

A colleague and I presented a talk called Deltacloud - Abstracting for Freedom providing an introduction to Deltacloud and the Aeolus Project. The video from the talk is available online as are the slides.  Some specific talks I feel might be relevant or of interest to Fedora users are linked below:
There are of course plenty of other presentations that took place during the week. The videos for these are being made available at http://linuxconfau.blip.tv.