Saturday, May 5, 2007

New Konsole lands & kdegames/edu fun

I have moved the new Konsole front-end back to trunk. It wasn't quite ready for the tagging of the first KDE 4 alpha release, and there are a few notable items still to implement ( eg. key bindings editor, composite transparency ) but if you are building KDE 4 from sources, please test.

The past two weeks saw some handy additions, the most useful of which are probably the live tab titles. This allows tab titles to contain a mixture of normal text and dynamic elements which update as you navigate around directories, run different programs or connect to remote computers in the shell. The tab title defaults to a combination of the last part of the path and the running program name, but can be customised either for a specific terminal session or for a particular profile. You can specify separate formats for local activities and remote activities (ie. SSH), and Konsole will switch between them automatically.

I finally got into sorting out Konsole's profile management as well. In KDE 3 times, these were referred to as "Sessions". A profile is a saved terminal setup which can be used as the basis for new tabs or windows. One of the profiles is set as the default and is used when you start a new Konsole. In KDE 3, some terminal options were global and others could be changed in each "session" - and this distinction was slightly arbitrary. In KDE 4, every setting is handled on a per-Profile basis. In addition to the default profile, there are a number of favorite profiles, for which a menu item is displayed in the file menu which creates a new tab with that profile when clicked. In KDE 3, every "session" type had a menu item, which caused problems for sysadmins who had 30 different types for connections to various machines - so the profiles shown on the File menu can now be specified by marking them with a star in the "Manage Profiles" dialog.
One often-requested feature is the ability to preview color schemes. This is implemented in the color scheme page of the dialog used to edit profiles. As you move the mouse over a color scheme, all open terminal displays using the edited profile will be redrawn in that color scheme. Fonts can also be previewed in a similar fashion.
In addition to profiles, a select number of options can be changed for a particular tab as before - such as character encoding, text size, history options, and in the future color scheme as well. Users who need to change the character encoding should now find it easier as Konsole now uses KDE 4's new character encoding menu which divides the encodings up nicely into groups instead of the loooong list which was there before.

The problem with all these dialogs however is that they require use of the mouse, which is really not the point of a terminal, so next on my list of things to do is the ability to control profile options in a completely keyboard orientated fashion.

In non-Konsole news, I saw the kde.dot complaining about excess frames etc. in kdegames and went round and fixed each of the games. This fit and finish work is really pretty easy, so it makes a great way to contribute to KDE if you have not done so before, even if you know little in the way of C++. Along the way I got round to playing quite a few of the games. They are good fun and look great thanks to the new artwork. I also played around with the latest and greatest in the kdeedu module - some of the applications ( kmplot and kalzium to name two ) have changed quite radically from KDE 3 to 4. So even though there is no new desktop shell to be seen in KDE 4.0, much has happened elsewhere.

Cheers to the kdeedu and kdegames teams :)

18 comments:

Rafa said...

As soon as I read your post, I re-built konsole from SVN. The new profile color previews and the live tab titles are very neat! ;)

Fela Winkelmolen said...

But shouldn't the frames problem be solved by the widget style?? Domino for example looks quite "clean" in this regards...

Robert Knight said...

> But shouldn't the frames
> problem be solved by the
> widget style??

It helps, but if a widget style is confronted with five widgets of the same type that all specify that they have a frame around them, it cannot know which ones actually need it and which would look better without.

I am currently using the Gnome-like Cleanlooks style for most of my testing.

Anonymous said...

Wow, nice work you've done on Konsole!

I especially like the live tab names and the merge windows features. And the settings are much cleaner now.

I just noticed a few things during the first few minutes testing:

1. The new tab/remove tab buttons from the tabbar are no longer there. I found them useful (one click less to create a new tab)

2. There no longer is a context menu for a tab like in KDE 3. I find them very useful. Especially the new detach action should be in that context menu, so that it is consistent with Konqueror and Akregator.

3. The "detach view" menu entry should be grayed out when only one tab exists. The "merge windows" menu entry should be grayed out if there is only one Konsole window.

Robert Knight said...

> I especially like the live
> tab names and the merge
> windows features.

Thanks :) - Although 'Merge Windows' is currently not-functional.

Regarding (1) and (2), you should find keyboard shortcuts a much quicker way to create and manage tabs.

Ctrl+Shift+N creates a New tab.
Ctrl+Shift+H detacHes the current tab.

Ctrl+D or exits most shell applications - which closes the tab.

Shift+Left/Right arrows switch between tabs.

Ctrl+Shift+L splits the view left/right, Ctrl+Shift+T splits the view top/bottom. Ctrl+Shift+S cloSes the active view and Ctrl+Shift+O closes the Other views ( ie. all except the active one ).

Shift+Tab moves between views when the split.

I am not sure about the tab context menu yet, but unless there is a disadvantage to the keyboard shortcuts which I have missed, I hadn't intended to re-add the new/remove tab buttons.

Anonymous said...

I would not remove the context menus, but leave them as they were in KDE 3. They help users who use Konsole more casually (not every day) and thus tend to forget keyboard shortcuts or even don't know about the existence of these shortcuts at all (visibility). At the same time, context menus should not disturb advanced users that use the keyboard shortcuts.

Thanks a lot for working on Konsole!

Anonymous said...

I am also for re-adding a new tab button. It was really intuitive for users.

OnlinePharmacy said...

CSAbvG Your blog is great. Articles is interesting!

a good screw with viagra said...

eW1gzO Nice Article.

meridia mexican pharmacy said...

actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.

said...

Wonderful blog.

name said...

Magnific!

chicago architecture walking tour said...

Please write anything else!

culinary tour and new orleans said...

Wonderful blog.

Cris said...

This information is very interesting, I really enjoyed, I would like get more information about this, because is very beautiful, thanks for sharing! costa rica investment opportunities

Isma said...

Hello .. firstly I would like to send greetings to all readers. After this, I recognize the content so interesting about this article. For me personally I liked all the information. I would like to know of cases like this more often. In my personal experience I might mention a book called Generic Viagra in this book that I mentioned have very interesting topics, and also you have much to do with the main theme of this article.

Green Parks said...

Hello.. Firstly I would like to send greetings to all readers. After this, I recognize the content so interesting about this article. For me personally I liked all the information. I would like to know of cases like this more often. In my personal experience I might mention a book called Green Parks Costa Rica in this book that I mentioned have very interesting topics, and also you have much to do with the main theme of this article.

Mobile Application said...

My friend recommended to this blog.... you have some awesome articles shear. keep it up the great work

android application | android web application