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.

technoshaun

Beginner

  • "technoshaun" started this thread

Posts: 43

Location: Houston Area, TX

Occupation: IT

  • Send private message

1

Friday, August 25th 2006, 9:57am

Hacking KDE Start Icon

I made some progress playing around to to see what Linspire did (and how) to allow for a Launch button like they use. Its nothing more than a code hack (they did something to the Kmenu code. I'll explain momentarily.)

We all know the files ~/share/icons/[THEME_NAME]/[SIZE]/apps/kmenu.png and go.png define the Kmenu start Icon. However in KDE its a square this image is put. In Normal size its uses 32 X 32 Pixel images. The kicker height I believe is 48 pixels. What Linspire did was expand the length of the kmenu to a rectangle. (For example 83 X 32 L X H.) They then made the image go the edges. KDE doesn't do that, it places a small border around the icon. Because of this KDE doesnt use the exact icon size for the kicker display. Instead it goes to the next available smaller size. There it reads go.png and/or kmenu.png files for it to display on kicker.

Okay I had to do a lot of playing around to figure this out but it was worth it.

Linspire modified the source code for kmenu to allow for the extra width. I am unsure if it was auto adjustable. However, I doubt it was. Rather, Linspire most likely had a set of fixed button sizes ready. Several color schemes and styles for the end user to select. They most likely had modified KDE themes with their kmenu.png and go.png files in place of the originals.

I am also of the belief that they changed the default sizes for tiny, small, normal and large in the panel. Regardless it worked and created a better look. Unlike KBFX, Linspire's button goes flush to the left on the panel and I'm pretty sure it didn't take any more resources to utilize.

KBFX gets a bit hoggish for what it is and I noticed a marked increase in startup time. Performance also lagged severely and I had problems with several functions. Besides the program really isn't ready for primetime, after some bugs get fixed even more annoying bugs would appear. In my opinion KBFX is a work in progress.

If you look at the new KDE menu demo that SuSE is distributing with 10.2 here you will notice that the SuSE start button is simular to Linspire's (at least in size and placement.) I have no idea if this is "Kickoff" (the code name for the new SuSE KDE start menu) doing that or if SuSE is doing something else. I am going to assume its "Kickoff" simply because of the association between the button and the menu. "Kickoff" will probably have to be modified and recompiled before it will work on any other distribution besides SuSE. Hopefully we will see kickoff make its way into KDE 4.

So what Linspire did was nothing more than a simple hack to the KMenu code
It isn't about it being free, rather its about the freedom it brings.

2

Monday, November 6th 2006, 4:28pm

Hi Shaun,

Do you have any experience in hacking Xandros???

I'm wanting to replace their shutdown/logoff screen back to the kde konqi dragon on the moon pic and buttons...

Any help?

thanks

Jayne

technoshaun

Beginner

  • "technoshaun" started this thread

Posts: 43

Location: Houston Area, TX

Occupation: IT

  • Send private message

3

Tuesday, November 7th 2006, 10:40pm

Please be a bit more specific. Do you mean the login splash for KDE or the System Boot spashes?

--Shaun
It isn't about it being free, rather its about the freedom it brings.

4

Tuesday, November 7th 2006, 11:44pm

I'm meaning the LOGOUT/ SHUTDOWN/ RESTART button... not the startup!

At the moment, in xandros v4, I have a blue xandros rectangular screen about 3" long x 2" high with 3 blue buttons - log out, shut down, restart. The desktop decolourises to gray and darker whilst I am making my choice of which button to choose...

KDE has a different log out screen - a rectangle (portrait size rather than landscape) with a dragon (Konqi) reclining on the moon. The log out, shut down and restart buttons are in various colours (I think - can't quote as don't have it!!)

I have KDE version 3.4.2 installed with xandros.

I am wanting to get the KDE shutdown/logout/restart image/buttons instead of the xandros one.

Can you help please?

thanks

technoshaun

Beginner

  • "technoshaun" started this thread

Posts: 43

Location: Houston Area, TX

Occupation: IT

  • Send private message

5

Thursday, November 23rd 2006, 4:13am

Sorry

I have no experience with Xandros but it has to be some configuration file some where. Have you gone to the Xandros forum and asked there?

--Shaun
It isn't about it being free, rather its about the freedom it brings.

6

Thursday, November 23rd 2006, 11:25am

RE: Sorry

Quoted

Originally posted by technoshaun
Have you gone to the Xandros forum and asked there?

--Shaun


...Yep... they sent me here :P

I think it's got to be some configuration file too - the actual konqi image is residing there in the folders, but the Xandros have made their own screen/buttons etc.... Ah wel, thanks for giving it some thought!

Have a great day :)