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

command shell && activity

0

Votes
0
0
Tags: None
(comma "," separated)
Manuel Canga
Registered Member
Posts
5
Karma
0
OS

command shell && activity

Sun Oct 28, 2012 6:10 pm
A new Idea ;D

A command to manage activities from shell. E.g:
kde4-activity --active: retrive active activity.
kde4-activity --open education: put active education as actived activity
kde4-activity --close education: close education activity
kde4-activity --delete education: delete education activity
kde4-activity --list: list activities
.....


---
I'm sorry my English but I'm Spanish.
Minio
Registered Member
Posts
177
Karma
1
OS

Re: command shell && activity

Sun Oct 28, 2012 6:35 pm
There are already methods for all of these on dbus bus org.kde.kactivitymanagerd.
If you really need simple command-line tool, writing wrapper script should be rather easy.


Best regards
Mirosław Zalewski
Manuel Canga
Registered Member
Posts
5
Karma
0
OS

Re: command shell && activity

Sun Oct 28, 2012 6:45 pm
Minio wrote:There are already methods for all of these on dbus bus org.kde.kactivitymanagerd.
If you really need simple command-line tool, writing wrapper script should be rather easy.


Yes, thank you!!!.

Code: Select all
qdbus org.kde.kactivitymanagerd /ActivityManager ActivityName `qdbus org.kde.kactivitymanagerd /ActivityManager CurrentActivity`


I don't know it.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]