Description:

This plasmoid for KDE 4.3 or later is something like a quicklaunch, but instead of icons you get text buttons. You can assign any command or string of commands to the button as well as a tool tip.

Why text?

Someone may well ask, "Why text buttons when we have pretty icons?". Text has a few of advantages:
- Text is simple, descriptive, and to the point. I use a lot of custom-built or in-house apps at work, so I hate having to remember which tiny blob of pixels on my panel launches which program. So much easier just to have the words right there.
- Text buttons are short and wide; icons are always square in KDE (even if they're not supposed to be!). Shrink your panel down on a small, wide screen (like a netbook) and you will have a hard time clicking a little square icon. But a nice wide text button is easy to click.
- If you're arsty about your desktop, some icons don't go well with some backgrounds/themes/styles. Text is like blue jeans or ketchup: it isn't spectacular but it goes with everything!

KNOWN ISSUES:

- None presently; older issues have been fixed or disappeared with recent versions of KDE.

TODO:
- I'd like to make the font/colors/size customizable, but after conferring with plasma-devel there seem to be some limitations of libplasma in the way. Maybe there's a way around this.
- Maybe drag&drop support for .desktop files, we'll see.
- Maybe add Dock-like functionality (where a launcher only launches one instance of the program, switching to the open instance if there is one) would be a nice option for launchers.
- Other appearance tweaks?

If you want to contribute, get the code on github:

https://github.com/alandmoore/textlaunch-plasmoid

Changelog:

6 years ago

* Version 0.3.3 by vkos (Sep 5, 2010)
- Layout fix in configuration form
* Version 0.3.2 (Feb 19, 2010)
- Fixed a small bug that broke fixed widths after KDE 4.4 upgrade. Let me know if it breaks 4.3 or other.
* Version 0.3.1 (Oct 17, 2009)
- Removed margin around the buttons so they take up less vertical space.
* Version 0.3 (Sep 28, 2009)
- Now uses Plasma Tooltips
- Can set background style to default or translucent (only seems to have an effect when used off-panel)

* Version 0.2.1 (Sep 16, 2009)
- Fixed a small bug that caused icons to display instead of text under certain conditions.

* Version 0.2 (Sep 13, 2009)
- Selection follows your item when moving buttons in the launcher config.
- Launchers can be added without comment (tooltip) text.
- You'll get a warning (and no button will be added) if you don't enter a command or button text for an item.
- NEW FEATURE: You can make the layout horizontal (default) or vertical (ideal for sidebar use)
- NEW FEATURE: You can set the buttons to a fixed width (good for vertical use)

* Version 0.1 (Sep 10, 2009)
- Initial release

6 years ago

herrbatka

I can't use it in kde 4.6.1. After logout script does not start.

Report

6 years ago

admoore

I'm currently using it it kde 4.6.1; can you give me some more details? Do you have the necessary scriptengines installed? What distro?

Report

6 years ago

herrbatka

pclinuxos

the problem showes up when I want to configurate this plasmoid. Everything seems to be ok until i won't log out and log in again. When I leave defaults it works ok.

Report

6 years ago

herrbatka

Ok, I have the same on kubuntu 10.04. Does it require anything besides pyQt4, pyKDE4?

Report

6 years ago

admoore

It shouldn't require anything special; do you have the plasma-scriptengine-python package installed? Do other python plasma applets work?

Also, can you post the output of "plasmoidviewer textlaunch" from a konsole?

Report

6 years ago

herrbatka

"plasmoidviewer(5122)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasmoidviewer(5122)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)"

As I said it works, although It dosen't starts after reboot. I have no idea what is wrong here, other python plasmoids (mpd plasma client) works.

Report

6 years ago

admoore

I'm afraid I don't know what the problem could be. Those errors always come up, whether it works or no.

I'll try on a couple of my other machines, to see if I can get it to fail for me. Otherwise I don't have much hope of debugging it.

Report

6 years ago

herrbatka

The problem was caused by shutup plasmoid. Now it works like charm.

Report

6 years ago

DanaKil

Just what I needed :-)
Thank you

Report

6 years ago

vkos

It's a great plasmoid, but there was one annoying thing for me: if there is a lot of launchers I need using this stupid scroller instead of resizing window (and the other thing about this, that such layouting is just ugly ;-))

So, I corrected UI files to use layouts.
Plasmoid is here: http://slil.ru/29649173.

Thanks for good work!

Report

6 years ago

admoore

Thanks for fixing this! I normally code kde/qt stuff by hand, but I tried designer when I made the dialogs and I couldn't figure out how to make the widget expand.

I just created a github repo for this project, but I am a total git newbie; maybe you can merge your code there? If not I'll try to figure it out when I have some free time.

github is https://github.com/alandmoore/textlaunch-plasmoid

Report

6 years ago

vkos

OK, I created pull request here. So you need just to apply this changing. Commands should be like this

$ git remote add vkos git://github.com/vkos/textlaunch-plasmoid.git
$ git fetch vkos
$ git merge vkos/master
$ git push origin master

But better see http://help.github.com/pull-requests/, because I just try to rewrite the example from that page and I'm git newbie too.

Report

6 years ago

admoore

Cool! Looks like github is having some trouble today, though; Hopefully your request will still be there when it comes back online!

Report

6 years ago

admoore

Looks like github's little crash today lost your request. Can you resubmit it?

Report

6 years ago

vkos

OK, I've submitted it again.

Report

6 years ago

admoore

Thanks again. I merged your code and released a new plasmoid package.

Report

6 years ago

koko2k

I think some enviroment variables get lost.
For example chromium starts in english, when my locale are set to italian.
Also it starts with an ugly gtk style, while i configured another one.

Report

6 years ago

admoore

My tests confirm that some environment variables are not set in whatever environment the plasmoid runs in. I don't know why, but if I get some time I'll look into it.

In the meantime, you can set important variables in the command itself as a workaround, eg.

LANG=it_IT.UTF-8 chromium

Report

7 years ago

koko2k

Great, i'm using it.
But i would like it more if i could add a "tiny blob of pixels" (read, an icon) to left or right of the text.

Report

6 years ago

admoore

I don't know if it can be done with plasma toolbuttons (which is what I'm using for the buttons). They seem to be either icons or text, but not both.

Note also that adding this feature would break everyone's prior configurations, as I discovered when I added icon capabilities to KliqTune. It has to do with the way the launchers are stored.

If I find a way to actually do it, I'll consider it.

Report

6 years ago

koko2k

Understood, but thanks anyway for considering it.

Report

7 years ago

Emerich45

Please, add to this appearance menu:
self.setBackgroundHints(Plasma.Applet.TranslucentBackground)

Translucent Background

Please, use Plasma ToolTipManager.

THX!

Report

7 years ago

admoore

I'll look into it.

Report

7 years ago

admoore

Both will be in 0.3; thanks for the suggestions.

Report

7 years ago

Emerich45

Iam THX your work!

Report

Supporters

Recent Donations

Be the first to donate
Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 80%
80.00 Likes
20 Dislikes

0 Supporters for TextLaunch:

Recent Donations:

Be the first to donate
show all
Details
version
0.3.3
updated Mar 13 2011
added Sep 11 2009
downloads
page views 474
support admoore
For The Product
TextLaunch
5 - 10 - 25 - 50 - 100 - 200 - 500