On Tuesday 21 April 2009 17:55:16 Michael Schuerig wrote: > On Tuesday 21 April 2009, Joseph Rawson wrote: > > I am probably going to be writing a similar script for my konsole > > schemas next. It seems that the newer ones look more like actual kde > > configuration files, while the older ones were simple text files. > > Regarding konsole, it seems that I'm unable to set a size for the > > windows. It looks like konsole starts with the size that the last > > window was using. This is undesirable, as if the last terminal has > > been maximized, then next one that appears will also be the same > > size, instead of a preset size. I dug around the configuration the > > best I could, but I couldn't find an option that pertains to this. > > Try the window menu on the far left on each window's title bar. There, > you'll find Advanced > Special Window Settings / Special Application > Settings. In principle, you ought to be able to set the default window > size there (don't ask why this settings is hidden away and apart from > all others). It seems to be working for some people, if I understood > them correctly. It does not work for me, however. Neither does it work > for me to set a default size for Konqueror profiles (or even windows). > Give it a try, YMMV. > Those are kwin settings, and they populate kwinrulesrc. I hadn't thought to use them, as I've rarely had to use that method in kde3. I gave it a try, and they are working for me. Perhaps by the time I work my way to konqueror, I will figure out a way to fix your problem. It seems that kde4-konsolerc has Width and Height options similar to kde3-konsolerc, although in kde4, any change to the size of a konsole window will immediately write the new width and height to the konsolerc file. Before setting kwin to handle those settings, I tried to set those values in konsolerc, and I put the [$i] option on them. This seems to work, but to do this, you have to logout entirely and edit the konsolerc file in a terminal, then log back into the desktop. I think that this is probably the better way to configure this, as it doesn't rely on kwin. After playing around a bit, it seems that the window size is basically a symptom/feature of something more general in how application configuration is being handled in kde4 differently than kde3. At least this is true in konsole, I've not had the chance to play with any other applications yet. It seems that changing certain settings in an instance of the application will correspond to a change in the configuration of the application. For example, I have my konsole looking like an xterm without the scrollbar. So on kde3, I have the menubar, tabbar, and scrollbar hidden by default. I have a shortcut that allows me to toggle the menubar (ctrl-alt-,). In kde3, this is a "per instance" setting, but in kde4, this sets an option in the config file, so that if I reveal the menubar in one instance of konsole, the next instance will display the menubar. Other options seem to be "per instance" in kde4, as they were in kde3, such as changing the font size in a window with the shortcut keys. I still haven't determined if this "paradigm shift" in the way application/instance configuration is handled is specific to konsole, or something more general that applies to more kde applications. I'll be keeping it in mind when I start messing around with other parts of the system. I went ahead and made the script to convert the konsole schemas. This turned out to be more simple than converting the .kcsrc files, as all the options have been handled, except for the Opacity option in the General section. > Michael > > -- > Michael Schuerig > mailto:michael@schuerig.de > http://www.schuerig.de/michael/ -- Thanks: Joseph Rawson
Attachment:
update-konsole-color-scheme-kde-3to4.py
Description: application/python
Attachment:
signature.asc
Description: This is a digitally signed message part.