LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs > trevorparsons
User Name
Password

Notices



Rate this Entry

Three keys, two weather forecasts

Posted 08-10-2008 at 02:48 PM by trevorparsons

Back when the Met Office used to provide the weather forecast in a nice simple page that looked good in the Links text-based web browser, I had an alias set up in my .bashrc so that pressing 'w' and 'enter' on my keyboard would cause links to run and open the page for the South East England forecast. Lightning fast, I knew whether to pack my Gore-Tex in my pannier.

Nowadays the Met Office's forecast page comes up a useless mess in links.

Never mind. Today I worked out how to press a similarly lazy key combination to bring up the forecast -- no, actually two forecasts -- in a graphical web browser.

Run konqueror. Bring up the Met Office forecast. Press control-t to get a new tab. Bring up the Metcheck forecast. Go to Settings, Configure View Profiles. Type in a new profile name 'weather'. Tick the two tick boxes (save urls and open maximised) and save. Now when konqueror is called with the view profile 'weather', it'll bring up those two forecasts for me.

Now to set up a hotkey to do that. Start the K Menu Editor (available by right clicking on the K Menu button). Make a new item, call it 'weather forecasts' or something. Put 'kfmclient openProfile weather' in the command field. Click the button that says 'None' to the right of the words 'Current shortcut key:'. Press a suitable combination of keys (mine is control-alt-w). Save your changes (File, Save) and exit. Test.

Admittedly it takes about 15 seconds for konqueror to start and load up the pages, as compared to less than a second for links. Then again, I get two forecasts and some charts. That's progress.
Posted in Uncategorized
Views 518 Comments 0
« Prev     Main     Next »

  



All times are GMT -5. The time now is 11:59 AM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration