plasma-runner

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

Plasma applet, which can run typed command :)

I know about one bug in plasma(maybe? if you know, how patch it, please contact me :) ) - if Runner is inserted on panel, it has problems with focus and width. On desktop is all right :D

Sorry for my english, i know it's ugly ;)

TODO:
- replace LineEdit by ComboBox with commands history
- add support for arrow keys on keyboard - up and down (history)
- allow to enter WWW adress without type "http://"
Last changelog:

11 years ago

0.1 - first version
0.11 - new system call for running commands
- KIO support
- patch for compiling on stable KDE 4.0
0.12 - added patch for l10n. Written by Miroslav Suchí½

Alchera

11 years ago

I like this idea but (always a but) the text typed in is the same colour as the background; in other words, I see nothing I type.

Report

malachias

11 years ago

I have the same problem... haven't figured out yet how to fix it

Report

groszd

11 years ago

We definitely need such plasmoid. I would suggest some improvements:
- Make the background color of the command line the system-wide input line background color. Now, when it is the same as the surroundings, on the panel I don't know where to click as no border appears.
- Make the width configurable. This not only matters on the panel (where it uses all the available space, so it uses half of the available space if there is a taskbar) but also on the desktop, where resizing with the plasmoid handle also modifies the height which is pointless. (The dictionary plasmoid does this well.)

Report

artemisfowl2007

11 years ago

Nice plasmoid but what's the use of it? Why not use KRunner?

Report

msuchy

11 years ago

Becouse KRunner is too big for panel.

Report

LordBernhard

11 years ago

Good work! This should definately go into into kdebase! I was really missing this until now..

maybe ask aaron aseigo about this on the panel-devel mailinglist

Report

MOD

leinir

11 years ago

Well, if that is to happen, you'd likely want to do something about the name (or the featureset) as, unless i'm much mistaken, this isn't actually a mini-KRunner... :) You know the searchy-contexty-monster-launcher thing in KDE4 :)

Report

C

dos1

11 years ago

Who said that this plasmoid won't be able to use KRunner runners or something like that? This is very simply first version made after 1 hour: I think it's usable, few people too, so I am happy for that :) But it's always possible to make it better :)

Report

MOD

leinir

11 years ago

That is *exactly* the right answer, well done! ;) i would suggest dropping by the plasma IRC channel on Freenode and talk your options over with the people there - as i understand it, you should find it extremely easy to implement krunner support into this :)

Report

buschmann23

11 years ago

When I try to compile it, i get this error:
Quote:
[ 33%] Generating plasma_applet_runner_automoc.cpp
Generating plasma-runner.moc
Scanning dependencies of target plasma_applet_runner
[ 66%] Building CXX object CMakeFiles/plasma_applet_runner.dir/plasma_applet_runner_automoc.o
[100%] Building CXX object CMakeFiles/plasma_applet_runner.dir/plasma-runner.o
/usr/src/packages/BUILD/plasma-runner-0.1/plasma-runner.cpp: In constructor ‘PlasmaRunner::PlasmaRunner(QObject*, const QVariantList&)’:
/usr/src/packages/BUILD/plasma-runner-0.1/plasma-runner.cpp:16: error: ‘setAspectRatioMode’ was not declared in this scope
/usr/src/packages/BUILD/plasma-runner-0.1/plasma-runner.cpp: In member function ‘void PlasmaRunner::ruuuun()’:
/usr/src/packages/BUILD/plasma-runner-0.1/plasma-runner.cpp:36: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
/usr/src/packages/BUILD/plasma-runner-0.1/plasma-runner.cpp: At global scope:
/usr/src/packages/BUILD/plasma-runner-0.1/plasma-runner.cpp:52: warning: unused parameter ‘option’
make[2]: *** [CMakeFiles/plasma_applet_runner.dir/plasma-runner.o] Fehler 1
make[1]: *** [CMakeFiles/plasma_applet_runner.dir/all] Fehler 2
make: *** [all] Fehler 2


This is on openSUSE 10.3 with KDE 4.0.1, Qt 4.3.3 an GCC 4.2.1

Report

C

dos1

11 years ago

Oh, I think I use property from trunk KDE 4.1 :D

At this moment please comment this line in plasma-runner.cpp:

Line 20:
setAspectRatioMode(Qt::IgnoreAspectRatio); // thanks to tasks plasmoid programmers

In next version I will remove it or I will make two versions - for KDE 4.0 and 4.1 :)

Report

C

dos1

11 years ago

...

I think I'm tired: it is line 16, not 20..

Report

buschmann23

11 years ago

I found it and it works.
So, now you can find my packages for openSUSE 10.2 and newer under
http://software.opensuse.org/search?baseproject=ALL&p=1&q=kde4-plasmoid-runner

Report

C

dos1

11 years ago

Thanks :) I've just added this page to project links :)

Report

smihael

11 years ago

Thing that I really missed!

But unfortunatly
I got cmake errors, but KDE from source compiles fine.


$ cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/
CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/mihael/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
-- Configuring done

Report

C

dos1

11 years ago

I think it's problem with cmake. Try remove CMakeCache.txt file - I have this problem few times with compiling KDE from trunk.

Report

11 years ago

0.1 - first version
0.11 - new system call for running commands
- KIO support
- patch for compiling on stable KDE 4.0
0.12 - added patch for l10n. Written by Miroslav Suchí½

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
0.12
updated Apr 20 2008
added Feb 10 2008
downloads 24h
0
page views 24h 3