Showing posts with label fedora. Show all posts
Showing posts with label fedora. Show all posts

Thursday, 11 October 2012

A few days with Gnome 3.6


A few days ago I decided to upgrade one of my laptops to the current alpha (soon to be beta) of Fedora 18.  There have been a lot of changes to Gnome with the 3.6 release and there have been may critics of these changes.  I actually want to stand-up and say that I am a happy Gnome 3 user, I've used it since way before 3.0 was released and am impressed with some of the changes in 3.6.

Most of the things I like in Gnome 3.6 are subtle changes.  For example I am British but all my laptops come from the US with US keyboard layouts.  Whilst docked I connect a UK keyboard to them.  Gnome 3 supports multiple keyboards but I usually find that after I unlock the screen it has reverted back to the default layout.  Now not only does this not happen but the new settings for it make it easy to set key bindings to switch layouts.

I don't yet know whether this is a Gnome thing or a Fedora thing, but I spend most of my time connected to a work OpenVPN server.  The NetworkManager icon now shows 2 icons, one with WiFi (showing signal) and one showing that I'm connected to a VPN.
These also show on the lock screen.  Speaking of the lock screen, there is now a "swipe-to-unlock" type screen before entering your password.  If you are a heavy keyboard user like me this can easily be cleared by a press of 'enter' or 'escape'.  What I love about this is at a glance it can show me the time, if I am still on the VPN and if I have any notifications.  I can now walk in the room, check this and walk out again if no one is trying to grab my attention instead of unlocking to check this.
Note that the background above is an HP one I found long ago.  I thought it fitted in quite nicely.  When you get past this screen you see a password entry unlock screen.
There have been other improvements that are useful but not in-your-face.  A quick list I have found so far:
  • The printers section of System Settings can now configure the printer correctly
  • The mouse/touchpad settings screen appears to have been re-designed.  It has more settings but all of them appear to be useful
  • By popular demand there is now a "Power off" option by default instead of "Suspend".  Hitting the alt key shows "Suspend" instead so they have been switched.
  • WiFi connections are ordered by strength, not name! (many thanks for fixing that one guys)
Of course there are things I'm not so happy about yet (I haven't had time to try and like them):
  • Maximizing nautilus hides the title bar (not that I use it maximized often)
  • The clock still doesn't support multiple simultaneous timezones yet
These don't yet distract from the overall experience.  If I had to give a proper review I would so far give it 9/10.  Great work Gnome team.

Wednesday, 11 April 2012

Juniper VPN in Fedora

Whilst I am not a fan of Juniper Network Connect in the last few years I have had to connect to several networks that use it.  The biggest problem with it is that it is a combination of Java and a 32bit C library which will not work when executed with a 64bit version of Java.
There are other ways of connecting such as the Mad Scientist script but if you use things like two-factor authentication this will not work.  So I brought together things I have learnt from web postings about getting it to work in Ubuntu and have created these steps.  They work in Fedora 17 and should work in 16 too:

Step 1

We need to install OpenJDK Java, we also need xterm for the root password during installation:
sudo yum install java-1.7.0-openjdk.i686 java-1.7.0-openjdk.x86_64 icedtea-web xterm

Step 2

Now we need to tell Java to execute the Juniper binaries in 32bit mode but everything else in 64bit mode, to do this we first rename the 64bit Java binary:
cd /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/
mv java java.orig

Then create a replacement file called “java” with the following:
#!/bin/bash
if [ $3x = "NCx" ]
then
    /usr/lib/jvm/jre-1.7.0-openjdk/bin/java "$@"
else
    /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java.orig "$@"
fi

Finally make this executable:
sudo chmod +x java

Step 3

Log on to your VPN's website as normal, an xterm session will pop up for your sudo password the first time you use this to install it.