Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Deutsches Forum (German) Diskussionsforum
  • Search

[gelöst] Projektnamen in K3B per DBUS

Unterhaltung über Gentoo und andere Themen: Alles was nicht in ein Support-Forum gehört.
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
l3u
Advocate
Advocate
User avatar
Posts: 2619
Joined: Wed Jan 26, 2005 3:12 pm
Location: Konradsreuth (Germany)
Contact:
Contact l3u
Website

[gelöst] Projektnamen in K3B per DBUS

  • Quote

Post by l3u » Fri Feb 21, 2014 1:52 pm

Ist es möglich, den Namen eines K3B-Projektes per Kommandozeile oder DBUS-Aufruf zu setzen?

Ich kann ja per

Code: Select all

k3b --data /pfad/zu/daten
automatisch ein neues Datenprojekt starten und Dateien hinzufügen. Der Projektname wird dann aber entweder automatisch gesetzt oder es bleibt beim -Standard-Namen. Geht das auch irgendwie per Script?

Per qdbus kann man ja in einer mir nicht ganz begreiflichen Art und Weise irgendwie K3B ansprechen:

Code: Select all

$ qdbus org.k3b.k3b
/
/KBookmarkManager
/KBookmarkManager/k3b
/KBookmarkManager/kfilePlaces
/KIO
/KIO/Scheduler
/MainApplication
/k3b
/k3b/MainWindow_1
/k3b/MainWindow_1/actions
/k3b/MainWindow_1/actions/file_open
/k3b/MainWindow_1/actions/file_open_recent
/k3b/MainWindow_1/actions/file_save
/k3b/MainWindow_1/actions/file_save_as
/k3b/MainWindow_1/actions/file_close
/k3b/MainWindow_1/actions/file_quit
/k3b/MainWindow_1/actions/options_show_statusbar
/k3b/MainWindow_1/actions/options_configure
/k3b/MainWindow_1/actions/help_show_tip
/k3b/MainWindow_1/actions/options_configure_keybinding
/k3b/MainWindow_1/actions/options_configure_toolbars
/k3b/MainWindow_1/actions/options_show_menubar
Vielen Dank für jede Hilfe :-)
Last edited by l3u on Tue Feb 25, 2014 11:35 am, edited 1 time in total.
Top
l3u
Advocate
Advocate
User avatar
Posts: 2619
Joined: Wed Jan 26, 2005 3:12 pm
Location: Konradsreuth (Germany)
Contact:
Contact l3u
Website

  • Quote

Post by l3u » Tue Feb 25, 2014 11:34 am

Also es geht schon über DBUS, aber nicht mit Version 2.0.2. Scheinbar läuft die K3B-Entwicklung „in kognito“ weiter. Die aktuelle git-master-Version kann es mit

Code: Select all

qdbus org.k3b.k3b /projects/0 setVolumeID "XYZ"
Top
l3u
Advocate
Advocate
User avatar
Posts: 2619
Joined: Wed Jan 26, 2005 3:12 pm
Location: Konradsreuth (Germany)
Contact:
Contact l3u
Website

  • Quote

Post by l3u » Sat Mar 01, 2014 5:34 pm

Falls es jemanden interessiert: Kurz nachdem ich Bug #502284 geschrieben habe, hat tatsächlich ein Entwickler k3b 2.0.2_p20140225 in den Portage-Baum geschickt, so dass man die DBUS-Sache jetzt auch mit der „normalen“ Portage-Version machen kann.
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Diskussionsforum”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic