Adding a Konsole Session
Michael Hirsch
mdhirsch at gmail.com
Tue Jun 23 16:33:57 UTC 2009
On Tue, Jun 23, 2009 at 10:25 AM, Michael Hirsch<mdhirsch at gmail.com> wrote:
> On Mon, Jun 22, 2009 at 7:32 PM, Tim Johnson<tim at johnsons-web.com> wrote:
>> Greetings:
>> Is it possible to add a konsole session to the
>> konsole->Session Menu?
>>
>> Example: In addition to
>>
>> MC, root MC, shell, python - it would be great to add Mutt and some
>> less-well-known interpreters. Links to relevant discussions are
>> welcome.
>
> I've never tried that. But I've created scripts that can open konsole
> and run custom code in it using dcop. Then I create K-Menu items of
> those scripts to create menus of custom konsoles. But I don't know
> how to modify the Konsole menu itself.
But looking at it, it seems pretty easy. You just add new .desktop
files to /usr/share/apps/konsole which provides them to all users, or
if you only want them for yourself, add them to
~/.kde/share/apps/konsole/.
I've tested this with KDE 3.5. God knows how it works in KDE 4.x, but
I bet it is something simliar. I added a mylinux.desktop file to
~/.kde/share/apps/konsole/ and it showed up in the menu of a new
konsole. Strangely, the Name field in the file didn't affect how it
showed up, but the Comment field did. That seems backwards, to me.
Michael
More information about the kubuntu-users
mailing list