LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-07-2008, 11:39 AM   #1
andrems
LQ Newbie
 
Registered: Apr 2006
Location: Porto Alegre, Brazil
Distribution: Arch Linux
Posts: 28

Rep: Reputation: 15
Opening "Application Launcher" from command line -- KDE 4.1


Hello there, I'm using Arch Linux with KDE 4.1.1 and I'm trying to set up keyboard shortcuts outside KDE's broken shortcuts manager.
I'm using xbindkeys for things like volume up/down/mute, multimedia things and opening apps and wmctrl for toggling the desktop view on/off.

I wanted to set a shortcut to open the Application Launcher (that K menu) at the bottom left with no sucess.

In KDE 3.x, I found ppl using
Code:
dcop kicker kicker showKMenu
But when I try this, I get a "call failed", maybe because DCOP has been replaced by D-Bus in KDE 4.

Any suggestions? Maybe an dbus-send equivalent to that dcop command.


Thanks in advance!
 
Old 09-08-2008, 08:36 AM   #2
andrems
LQ Newbie
 
Registered: Apr 2006
Location: Porto Alegre, Brazil
Distribution: Arch Linux
Posts: 28

Original Poster
Rep: Reputation: 15
From dbus-monitor I caught this while pressing Alt + F1 (which is the default shortcut for launching the application lanucher)

signal sender=:1.2 -> dest=(null destination) path=/KdedGlobalAccel; interface=org.kde.KdedGlobalAccel; member=invokeAction
array [
string "plasma"
string "Activate Application Launcher Widget"
string "Plasma Workspace"
string "Application Launcher"
]
int64 7471196
signal sender=:1.2 -> dest=(null destination) path=/modules/kdedglobalaccel; interface=org.kde.KdedGlobalAccel; member=invokeAction
array [
string "plasma"
string "Activate Application Launcher Widget"
string "Plasma Workspace"
string "Application Launcher"
]
int64 7471196


So I tried

# dbus-send --type=signal /KdedGlobalAccel org.kde.kded.KdedGlobalAccel.invokeAction array:string:"plasma","Activate Application Launcher Widget","Plasma Workspace","Application Launcher"

The dbus-monitor showed

signal sender=:1.251 -> dest=(null destination) path=/KdedGlobalAccel; interface=org.kde.kded.KdedGlobalAccel; member=invokeAction
array [
string "plasma"
string "Activate Application Launcher Widget"
string "Plasma Workspace"
string "Application Launcher"
]


But no App launcher popup...

What am I missing? Any ideas?

Last edited by andrems; 09-08-2008 at 02:20 PM. Reason: Update...
 
Old 09-09-2008, 03:49 AM   #3
newtech2008
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
like volume up/down/mute

I'm using xbindkeys for things like volume up/down/mute, multimedia things and opening apps and wmctrl for toggling the desktop view on/off.
 
Old 09-09-2008, 05:56 AM   #4
andrems
LQ Newbie
 
Registered: Apr 2006
Location: Porto Alegre, Brazil
Distribution: Arch Linux
Posts: 28

Original Poster
Rep: Reputation: 15
Not sure if you're answering me or just repeating like in your other posts...

Anyway, I fixed that by directly editing the plasma-appletsrc file at ~/.kde4/share/config

Last edited by andrems; 09-09-2008 at 06:01 AM.
 
  


Reply

Tags
application, dbus, kde4, kicker, launcher


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cc1: error: unrecognized command line option "-mapcs-32" vengat Linux - Hardware 0 04-29-2008 02:18 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
cdrecord command-line parentheses "(" ")" coolingtower Linux - Software 1 10-28-2005 11:49 AM
KDE Line Completion in "Run Command" Riddick Linux - Software 1 09-17-2005 05:26 AM
Configure "X" for KDE- From the command line. DeltroX Mandriva 0 11-28-2004 05:34 PM


All times are GMT -5. The time now is 09:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration