This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Add install application to application launcher

115

Votes
128
13
Tags: plasma plasma plasma
(comma "," separated)
ofir
Registered Member
Posts
12
Karma
0
After a fresh install I try to install all needed applications on the first boot.

However, many times I forget some. It would be great if when I try to search for the application that is not yet installed in application launcher, it will display me an option to install this application (along with the "search web for ..." option that is already displayed).

I made a simple mock-up explaining the idea:
Image

This idea is similar to the one already implemented in the terminal, ie, if amarok is not installed and you run `amarok` in the terminal, a message will be displayed saying that you can run a command to install amarok:
The program 'amarok' is currently not installed. You can install it by typing:
sudo apt-get install amarok
bash: amarok: command not found
Mamonetti
Registered Member
Posts
88
Karma
0
OS
AFAIK that completely depends on your distro, not on kde itself. This message comes from (k)ubuntu guys, and probably won't appear on other distros.

Anyway this idea that you comment may be implemented by providing some kind of interface, to call an external configuration application when the app is not found. By default you only should get an error message, but if "somewhere" your distro includes such a plugin (we can call it installer plugin) you should get a chance to seach for this app, using a concrete method depending on your distro (on (k)ubuntu maybe that may launch a search over apt list for this program, and show the results in another custom/reduced window, including only the install/search-related stuff).

Regards
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
I think packagekit could handle this. I already know that Ubuntu and openSUSE (and perhaps others) already have this for the commandline. If you type a command and the package that provides it is not installed but is available, it will tell you what package to install and what line to install it. This probably uses the "provides" property of packages, which I would guess packagekit also supports.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
MirzaD
Registered Member
Posts
86
Karma
0
OS
That could be easily implemented, on debian based distros for shure..


PS...
This reminds me about my frustration about graphical package manager that are not able to implement simple thing like:
apt-get upgrade --fix-missing
dpkg --configure -a
sudo apt-get -f install ..and so on, so many times you get such simple massages from cli that i simply can't understand why aren't they implemented...


sorry for offtopic
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
MirzaD wrote:
This reminds me about my frustration about graphical package manager that are not able to implement simple thing like:
apt-get upgrade --fix-missing


The openSUSE Yast application installer has a "verify installed packages", or something along those lines, to check for missing dependencies.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
aseigo
KDE Developer
Posts
124
Karma
2
the shortest path to this would probably be to:

* write a runner that queries kpackagekit if the app isn\'t found by querying KService

* port kickoff to use runners for its searches.


aseigo, proud to be a member of KDE forums since 2008-Oct.
yoda
Registered Member
Posts
23
Karma
0
OS
This is silly, if application louncher doesn't show your program you start your package manager (gui or cli) and install it, don't make another microsoft windows where everything is dummies-proof, focus on bigger things ;)
envalin
Registered Member
Posts
146
Karma
-1
OS
This idea rocks. Why has this never been done before?
User avatar
Moult
Global Moderator
Posts
663
Karma
2
OS
Don't quite know how this is going to work. As a Gentoo user I wouldn't expect it to automatically open Konsole, set all my useflags, keyword, etc.


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
envalin
Registered Member
Posts
146
Karma
-1
OS
I would assume it would only work if you have KPackage Kit installed, or if other distros decided to link up the kicker to pacman or whatever else they might use.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
aseigo wrote:the shortest path to this would probably be to:

* write a runner that queries kpackagekit if the app isn\'t found by querying KService

* port kickoff to use runners for its searches.


So the second point is done, someone just needs to write a runner. There's a similar idea here: viewtopic.php?f=83&t=83056&p=134159


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
xax200
Registered Member
Posts
37
Karma
0
I like this idea, and especially like the integrating it with an external program finder utility. It would be nice to integrate with ubuntu's software app, as they have a lot of software from various repositories.
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
KDE already supports a standard package-management tool called packagekit. They aren't going to implement this just for specific distributions like ubuntu, if it is implemented at all it will be using a more general tool like packagekit.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
Gallaecio
KDE Developer
Posts
116
Karma
0
OS
Could be implemented on Shaman (another KDE package manager), in the future.
User avatar
alno
Registered Member
Posts
6
Karma
0
OS
I have a very simple implementation using PackageKit, maybe it will be useful:

http://github.com/alno/plasma-runner-appinstall


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]