Tuesday, May 7, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2228  / 1 Year ago, fri, january 20, 2023, 5:19:41

I tried to run dcop, since my yakuake cannot be shown again in my Cinnamon, and I don't want to restart my yakuake. I found that this command can make my yakuake show again:



dcop yakuake DCOPInterface slotToggleState


But I got no luck running it:



$ dcop
No command 'dcop' found, did you mean:
Command 'dtop' from package 'diod' (universe)
Command 'dccp' from package 'dcap' (universe)
Command 'bcop' from package 'compiz-fusion-bcop' (universe)
dcop: command not found


I've tried to search it, but no luck:



$ apt-cache search dcop
courier-filter-perl - purely Perl-based mail filter framework for the Courier MTA
gambas3 - Complete visual development environment for Gambas
grace - XY graphing and plotting tool
jless - A file pager program, similar to more(1) supporting ISO2022
konversation - user friendly Internet Relay Chat (IRC) client for KDE
xgraph - Plotting program, reads stdin, allows interactive zooming


So, in which package dcop application is contained?


More From » command-line

 Answers
4

It's obsolete and has been removed



DCOP the protocol is now being handled by D-Bus, the former dcop command is an old KDE thing.



It's even in the Wikipedia: DCOP page you provided yourself!




DCOP was replaced by D-Bus in KDE Software Compilation 4.



[...]



D-Bus, a message bus system standardized by freedesktop.org, was heavily influenced by the DCOP system and replaces DCOP in KDE Software Compilation 4.




So, have a look at the possibilities the dbus-* commands can do for you.



I think you were looking at a very old or mixed up sources, as Cinnamon is quite new thing while this has been obsoleted since the release of KDE 4 in 2008.



Move to D-Bus



In KDE, to toggle the window state of Yakuake Terminal emulator, do this (verified working):



qdbus org.kde.yakuake /yakuake/window toggleWindowState


How to get this working in Cinnamon? Not sure, as Yakuake is a KDE program and I'm not familiar with non-Qt D-Bus implementations.


[#33165] Friday, January 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
termetalli

Total Points: 326
Total Questions: 127
Total Answers: 110

Location: Sao Tome and Principe
Member since Sat, Sep 12, 2020
4 Years ago
termetalli questions
Sat, Apr 30, 22, 17:54, 2 Years ago
Mon, Dec 6, 21, 05:24, 2 Years ago
Thu, Jun 30, 22, 00:32, 2 Years ago
Mon, Dec 19, 22, 00:15, 1 Year ago
;