Bug 198958

Summary: krunner does not respect alias definitions
Product: [Plasma] krunner Reporter: anton <benderamp>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: adaptee, de.meyer.maarten, finex, luis.zaldivar, wilderkde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***