Bug 198958 - krunner does not respect alias definitions
Summary: krunner does not respect alias definitions
Status: RESOLVED DUPLICATE of bug 195392
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-04 23:19 UTC by anton
Modified: 2012-11-17 08:10 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anton 2009-07-04 23:19:45 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Add alias definition to ~/.bashrc file:
alias hello="kwrite"

Then logout/login - all terminal would understand "hello" command and would run kwrite when it is entered.

krunner (alt+f2) would not recognize "hello" command.


Also I think that session manager also does not work with alias definitions. For example, I have the following alias for skype:
alias skype="aoss skype". 

That helps me to avoid the problem with busy /dev/dsp device in skype. After logout/login, skype is started as usual (without aoss prefix), so I have to restart it manually in order to be able to make calls.
Comment 1 Jacopo De Simoi 2010-01-09 12:42:30 UTC
(In reply to comment #0)
> Version:            (using Devel)
> OS:                Linux
> Installed from:    Compiled sources
> 
> Add alias definition to ~/.bashrc file:
> alias hello="kwrite"
> 
> Then logout/login - all terminal would understand "hello" command and would run
> kwrite when it is entered.
> 
> krunner (alt+f2) would not recognize "hello" command.

This would prolly be another nice feature for the shell runner, indeed
 
> Also I think that session manager also does not work with alias definitions.
> For example, I have the following alias for skype:
> alias skype="aoss skype". 

As for such things, you can use kmenuedit to change the command called when using applications names (and not the shell runner)
Comment 2 Luis Zaldivar 2011-02-02 16:19:47 UTC
Still happening on 
$ krunner --version
Qt: 4.7.0
Plataforma de desarrollo de KDE: 4.6.00 (4.6.0)
Interfaz de ejecución de órdenes: 0.1

Just confirming :)
Comment 3 Maarten De Meyer 2012-11-17 08:10:59 UTC

*** This bug has been marked as a duplicate of bug 195392 ***