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

[SOLVED] how to use lancelot?

Tags: None
(comma "," separated)
User avatar
Brandybuck
KDE Developer
Posts
203
Karma
0
OS

[SOLVED] how to use lancelot?

Fri Jan 09, 2009 6:31 pm
I must be dumb or something, because I can't get lancelot to work right. I get a pretty little plasma icon, but that's it. For several weeks now I thought lancelot just wasn't ready yet. I would click, double-click, alt-click and nothing would happen. Soft click does nothing, hard forceful click with much screaming and shouting does nothing. It's just an icon doing nothing.

Then I discover a few minutes ago, that if I run "lancelot" from the commandline *first*, then use the applet, it works. Huh? Is this a bug, or am I just not groking the utter coolness of lancelot? Thanks.

Last edited by Brandybuck on Sun Jan 11, 2009 8:12 pm, edited 1 time in total.


Don't look back! (Or you might see the giants whose shoulders we stand on)
User avatar
sayakb
Administrator
Posts
1973
Karma
12
OS

RE: how to use lancelot?

Fri Jan 09, 2009 6:40 pm
Works for me absolutely fine upon mere adding to the panel. Seems like a distro specific problem to me.


User avatar
Brandybuck
KDE Developer
Posts
203
Karma
0
OS

RE: how to use lancelot?

Fri Jan 09, 2009 6:50 pm
LinuxIsInnovation wrote:Seems like a distro specific problem to me.


I built from svn. So apparently there's extra configuration involved besides just building, installing and adding it to the desktop. I guess I need to add "lancelot" command to a startup script. I hate guessing, is there documentation anywhere?


Don't look back! (Or you might see the giants whose shoulders we stand on)
User avatar
sayakb
Administrator
Posts
1973
Karma
12
OS

RE: how to use lancelot?

Fri Jan 09, 2009 9:41 pm
Cant seem to find much here: http://lancelot.fomentgroup.org/docs

Plus, I didn't compile but I use the one shipped with kubuntu repositories, so I don't have much idea. Though adding it to the ~/.kde/Autostart should work out good.


User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS

RE: how to use lancelot?

Fri Jan 09, 2009 11:02 pm
Here is a list of all the files I can find that appear related to lancelot on my system. I installed it from an opensuse rpm, but maybe it can give you some hints:

/usr/bin/lancelot
/usr/include/lancelot
/usr/include/lancelot/Global.h
/usr/include/lancelot/lancelot.h
/usr/include/lancelot/lancelot_export.h
/usr/include/lancelot/layouts
/usr/include/lancelot/layouts/CardLayout.h
/usr/include/lancelot/layouts/ColumnLayout.h
/usr/include/lancelot/models
/usr/include/lancelot/models/ActionListViewModels.h
/usr/include/lancelot/models/PassagewayViewModels.h
/usr/include/lancelot/widgets
/usr/include/lancelot/widgets/ActionListView.h
/usr/include/lancelot/widgets/BasicWidget.h
/usr/include/lancelot/widgets/ExtenderButton.h
/usr/include/lancelot/widgets/HoverIcon.h
/usr/include/lancelot/widgets/Panel.h
/usr/include/lancelot/widgets/PassagewayView.h
/usr/include/lancelot/widgets/ResizeBordersPanel.h
/usr/include/lancelot/widgets/Widget.h
/usr/include/lancelot/widgets/WidgetPositioner.h

/usr/lib64/kde4/plasma_applet_lancelot_launcher.so
/usr/lib64/kde4/plasma_applet_lancelot_part.so

/usr/lib64/liblancelot.so
/usr/lib64/liblancelot.so.0
/usr/lib64/liblancelot.so.0.5.0

/usr/share/dbus-1/services/org.kde.lancelot.service

Various icons

Various theme files

/usr/share/kde4/services/plasma-applet-lancelot-launcher.desktop
/usr/share/kde4/services/plasma-applet-lancelot-part.desktop

/usr/share/mime/packages/lancelotpart-mime.xml


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: how to use lancelot?

Sat Jan 10, 2009 1:29 am
Lancelot is a Plasma applet, so therefore has been moved to the Plasma forum :-)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

RE: how to use lancelot?

Sat Jan 10, 2009 8:07 am
Hi, that's what the FAQ section at the site is for ;)
http://lancelot.fomentgroup.org/faq#menu-doesnt-open

The main problem is that D-Bus can search only in one directory for service files, and when you install KDE from SVN into some other prefix than /usr (or, to be more precise, in different prefix than that of D-Bus), it installs the service file in the prefix you have specified (which is the right thing to do), but then your system's D-Bus can not find it.

So, for a quick solution, do:
Code: Select all
# cp `kde4-config --prefix`/share/dbus-1/services/*lancelot* /usr/share/dbus-1/services/


Since this is very irritating, I'm thinking of starting L manually (on applet initialization) instead of using D-Bus services, but, then, what is the point of D-Bus service mechanism...

Last edited by ivan on Sat Jan 10, 2009 8:13 am, edited 1 time in total.


Image
User avatar
Brandybuck
KDE Developer
Posts
203
Karma
0
OS

RE: how to use lancelot?

Sat Jan 10, 2009 6:30 pm
Thanks, I'll give that a shot. I suspect it might even fix a few problems I've been seeing with other components.


Don't look back! (Or you might see the giants whose shoulders we stand on)
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

RE: how to use lancelot?

Sun Jan 11, 2009 11:57 am
If it worked, just put a [SOLVED] tag in the topic title. Cheerio!


Image


Bookmarks



Who is online

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