You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

cvk

Beginner

  • "cvk" started this thread

Posts: 5

Location: Cologne, Germany

Occupation: Software Developer

  • Send private message

1

Saturday, March 3rd 2007, 5:41pm

KMenu Button with Caption?

I wonder if it's possible to display a caption next to the KDE menu button, similar to Windows' "Start" without installing kbfx?

Regards
cvk

This post has been edited 1 times, last edit by "cvk" (Mar 3rd 2007, 6:07pm)


2

Saturday, March 3rd 2007, 7:29pm

Nope

You need a kmenu replacement, like kbfx, kickoff or tastymenu.

kmenu only supports a square icon.
Help mee om KDE 3.5.5 in het Nederlands te vertalen

jucato

Trainee

Posts: 155

Location: Philippines

  • Send private message

3

Sunday, March 4th 2007, 2:36am

It's actually possible. But the end effect is not what I would exactly call pretty. What it merely does is to add a text beside the square K Menu icon.

Go to the ~/.kde/share/config/ and open up the kickerrc file in your text editor. Then add these lines

Quoted

[KMenu]
ShowText=true
Text=Launch


Substitute "Launch" for whatever name you want to use. Then restart Kicker by pressing Alt+F2 and entering the following command:

Source code

1
dcop kicker kicker restart


Hope that helps a bit.
OS: Kubuntu 6.06 LTS (Dapper Drake) | KDE 3.5.3
Computer Specs: AMD Sempron 2200 1.5Ghz | VIA KM266 Pro 8235 chipset | nVidia GeForce MX 4000 128MB DDR-RAM 32-bit AGP 8x

cvk

Beginner

  • "cvk" started this thread

Posts: 5

Location: Cologne, Germany

Occupation: Software Developer

  • Send private message

4

Sunday, March 4th 2007, 9:03am

Thanks, it helps a lot.

I agree that the result isn't very pretty, mainly because kicker mysteriously seems to ignore the system's font selection. But hey, at least there's some text now.

jucato

Trainee

Posts: 155

Location: Philippines

  • Send private message

5

Sunday, March 4th 2007, 9:59am

There might be a way to improve that appearance a bit. Right-click on the panel, select Configure Panel, and go to the Appearance options. You can set a button background color or choose from some preset images for the K Menu. Fortunately, this color/image setting affects both the icon and the text.

If you're an artists of sorts, you can make your own background image for the K Menu items. Look at the built-in ones in $KDEDIR/share/apps/kicker/tiles/ directory. Make your own, then put them in $KDEHOME/share/apps/kicker/tiles/ or in $KDEDIR/share/apps/kicker/tiles/ if you want them to be available system-wide.

Hope that helps.
OS: Kubuntu 6.06 LTS (Dapper Drake) | KDE 3.5.3
Computer Specs: AMD Sempron 2200 1.5Ghz | VIA KM266 Pro 8235 chipset | nVidia GeForce MX 4000 128MB DDR-RAM 32-bit AGP 8x

cvk

Beginner

  • "cvk" started this thread

Posts: 5

Location: Cologne, Germany

Occupation: Software Developer

  • Send private message

6

Sunday, March 4th 2007, 1:24pm

That led me to the grand plan of using a bunch of spaces as text to stretch the button and simply draw the caption in a decent font on the background. Needless to say that it didn't exactly work out, because spaces get stripWhiteSpaced and Tabs are displayed as boxes...

Thank you very much for your help, but I think it's time to accept my fate and take a look at tastymenu ;)

This post has been edited 2 times, last edit by "cvk" (Mar 4th 2007, 1:25pm)