I would like to share with you, the linux shell commmands for shutdown, restart and logout. You may find these commands handy if your GUI is inaccesible, due to some particular reason, or if you’re a die-hard terminal/TUI fan.
So, the commands are-
saji@saji-laptop:~$ sudo shutdown -h now
saji@saji-laptop:~$ sudo shutdown -r now
saji@saji-laptop:~$ gnome-session-save --gui --logout
N.B: The logout command is for Gnome only.
Hi guys, you might have found it difficult to run I-Bus everytime you want to type in your local language. I for one, use it to type in my mother tongue Malayalam. Also being the admin of the team carrying out Malayalam translations of Ubuntu and related software at Launchpad, I use Malayalam a lot. Also I use Malayalam every now and then, while chatting, simply to surprise my friends, mostly Windows users, and even Ubuntu users who didn’t know that such an option existed. all the more, in Ubuntu 10.04 IBus had the Malayalam input methods in it by default, one just had to enable it by selecting the method of his/her choice. So, it’s very useful for me to get IBus enabled at the start of Ubuntu OS. What triggered the idea for this post was a simple doubt asked by one of my friends, Vijay Narayankutty(who blogs at http://vijaynarayankutty.wordpress.com/), who like many of us is an opensource software lover. Well, he asked me how we can do this automatic startup, then I thought why not post about it, and make it available to everyone who wants to do the same. Ok then, let’s move on to the stuff. 🙂
Steps to be taken-
- Go to System > Preferences > Startup Applications.
- Click the Add button
- In the resulting window(Add startup program), enter anything for the name(e.g.IBus Daemon) and comment section(e.g.IBus Daemon for language input methods), its for your understanding.
In command box, enter the following-
- Click Add to confirm.
You’re geared up now, next time Ubuntu starts up, the IBus daemon is automatically started, hence you can now switch to the language of your choice and start typing with no further delay.
I had been on the lookout for a solution to post highlighted program code on my blog. Finally I found a good solution, which might have been there for a long time, but since I found it only, I have decided to share it with you all. 🙂
To post highlighted code in a wordpress.com blog, use the
Your code goes here.
The TYPE specifies which language your code is in, the languages now supported by wordpress.com blogs are(just replace the TYPE with the name of the language as shown in the list below)-
- matlab (keywords only)
For displaying a PHP page, which contains both html and PHP entities, we have to set to the PHP language with “htmlscript” configuration parameter set to “true”.
What we have to type –
Your code goes here.
I have put some code in the “Your code goes here” section and tada, you get a cool syntax-highlighted code section.
This is an HTML line
echo “This is a PHP line”;
Many other configuration parameters are also available, please visit the following post to read more about it-
Courtesy: The above link ^
Google Doodle turned into Pacman game on its 30th anniversary. Famous video game Pacman turned 30 on Saturday. Pacman’s 30th anniversary has been celebrated by the search engine giant Google.
The Google doodle is the first interactive Pacman game, which users can directly enjoy from Google home page. When you go to Google’s main page you will notice that the logo has been replaced with a game of Pacman. All you do is hit “Insert Coin” and play away. Enjoy yourselves….
PACMAN as Google Doodle
From Google Blog:
PAC-MAN seems like a natural fit for the Google homepage. They’re both deceptively straightforward, carefully hiding their complexity under the hood. There’s a light-hearted, human touch to both of them. And we can only hope you find using Google at least a quarter as enjoyable as eating dots and chasing ghosts. You know, without actually needing any quarters.
This is actually my first post in this blog. I just moved into wordpress from blogger. WordPress seems to be more interesting and flexible than blogger. I have also imported the posts from my previous blog(saji89.blogpsot.com). This’ll now be my official blog. Here you can find my latest discoveries, experimentations, experiences, etc.. mostly relating to Opensource stuff. I’ll soon be into active blogging.
Ubuntu is making a switchover from its ‘Human‘ theme which defined the looks of Ubuntu for the previous 6 years, starting from the time Ubuntu was born. The new style of Ubuntu will be driven by the theme ‘Light‘.
A comprehensive set of guidelines has been devised so as to reflect this change at every place related to the Ubuntu project. The new theme takes effect from the Ubuntu 10.04 LTS, which is slated for its release in April 2010. This new theme will define the looks of Ubuntu in all future releases.
The new style of Ubuntu is inspired by idea of ‘Light’. and Ubuntu aims to be ‘Light’ in all senses. It denotes warmth, clarity, efficiency, lightness on resources, etc..
A display of the changes-
1)New Logo– Aims at reflecting the precision & engineering, that sits at the heart of Ubuntu, but not at the expense of the immediately recognisable circle of friends.
2)Community Logos-New logos have been made for the community sites related to Ubuntu.
3)New GTK Themes– I think this is the most important and a timely change for Ubuntu, that will go a long way in enhancing its popularity among the masses.
The Dark Theme
The Light Theme
4)New Bootspash– The theme change is complete with a new Boot Splash, that is absolutely eye-pleasing.
5)New website design– You can see a major change to the looks of the Ubuntu website-
6)New CD cover– The cd cover of Ubuntu 10.04 (onwards) will sport a new look.
Source:https://wiki.ubuntu.com/Brand and https://wiki.ubuntu.com/Brand2
NB:One thing which I disliked about this new theme is the placement of the Window control(Minimize, Maximize and Close buttons) at the left side of a Window’s title-bar.
I hadn’t tried to understand the working of the GRUB2. One, day when my friend asked me how to make Windows the default entry in his GRUB menu, I didn’t have an answer. I went to the Ubuntu wiki page on GRUB2. Its very comprehensive. Most of the general aspects of the working of GRUB2 is explained in it, including the changes, how to configure the grub.cfg file, etc..
Though not explicitly stated in it, the method to make Windows the default entry was pretty clear from it. Here is how you do it-
2.sudo mv 30_os-prober 10_0s-prober
3.sudo mv 10_linux 20_linux
4.sudo mv 20_memtest86+ 30_memtest86+
I had done a lot of googling in the past to find out a dictionary that I could use in Ubuntu when I’m not connected to the internet. It yielded nothing, atleast not anything that is ready-packaged for Ubuntu.. Few days ago I was just going through the ‘Ubuntu Software center’ to find out any random software that may interest me. Well, I found something that interested me; ‘Artha’.
Artha is a pretty decent dictionary which works with Wordnet 3.0 as its backend which is very comprehensive(atleast for common use, if not more). It has many features like ‘relatives’ of the word, which includes “Synonyms, Antonyms, Derivatives, Similar, Domains, Causes, Kinds(Hyponyms)”. In my experience I found it very good and indeed comprehensive.
The best feature that I liked in it is its HotKey which is Ctrl+Alt+w. This is a very handy feature, you can just select a word in any software and press the Hotkey combination to invoke Artha, its notification/window will then come up with the meaning, as per your settings selection.(I like the Notifiaction feature)
The version of Artha found in Ubuntu 9.10(Karmic) repository is 0.8.0. But, Artha is available in version 1.0.1 for Ubuntu and many other Linux distributions(Update-30/10/2011: and now for Windows too). It has regular expression based search.You can find the download details for the new version for Ubuntu and other Linux distributions, at the following link:
Download Artha 1.0.2
Update-30/10/2011: The latest version is Artha 1.0.2. This version sports the first ever Windows release of Artha dictionary. I had tried using it in Windows too, it works just as fine in Windows as well. So, Windows users cheer up..
As the GNOME-blog applet was faulty in showing the blog post titles, I searched for an alternative tool.. And this search ended up in the BloGTK 2.0 editor.. The official Ubuntu repositories, still have the BloGTK version 1.2, which I couldn’t setup for my blogger.com account, i thensearched for its newer version. The 2.0 version can autodetect the settings for your blog once you enter the URL of your blog, and the service(blogger, livejournal,etc..) used. Hence, the account setup was a cakewalk…
Added to that BloGTK has the feature to show your old blog posts, edit it, re post it,etc… All this from your desktop itself… Isn’t it cool?
You can get the BloGTK 2.0 in your Ubuntu OS, by adding its PPA from-
BloGTK PPA in Launchpad
Please make sure that you’re choosing the correct version of your Ubuntu……..
I just found out the Gnome applet called “gnome-blog 0.9.1”. Its the GNOME web-blogging applet.. It has a very simple interface… The drawback is that the only other options we get are “Bold”, “Italic” text stylizing and adding links…. Anyways I feel that posting to your blog directly from the desktop is quite an useful feature, as we can avoid a hell lot many mouse-clicks, and page visits….
It can intearct with the popular blogging sites such as blogger.com, livejournal.com,etc…
Adding the title feature does not seem to work.. The title is found along with the blog content…. We just have to put up the title manually… Still you may find this tool useful…