[Slackbuilds-users] Fwd: bug on openbox package
pc_warner at yahoo.com
Sat Jul 5 21:20:20 UTC 2008
Yes, the stock openbox.desktop file from the kdebase package should execute openbox-session. However, the problem is more than that. The new kdm doesn't seem to make use of the .desktop files under /usr/share/xsessions/, which is where Openbox puts them by default. Thus, in order for the Slackware 12.1 Openbox slackBuild to work properly with KDM, the openbox*.desktop files under there must either be moved or have a corresponding symlink in /usr/share/apps/kdm/sessions/ (the latter is probably better in case someone is using something other than kdm). The default location was fine in the kdm in Slackware 12.0.
So, yes, you can say that it is a kdm problem and not a problem with the slackBuild per se, but it is a problem that can easily be fixed by a couple of minor changes to the slackBuild. It is a little more complicated if you want to avoid overwriting the stock openbox.desktop file from kdebase, but it is still very feasible.
To preserve the stock openbox.desktop session you would want the new one to be named openbox-session.desktop with a Name value of Openbox-Session or something similar (so you would have to sed the file). The new kdm doesn't appear to list session options unless there is a corresponding xinitrc file so you would need the xinitrc file with a corresponding name (xinitrc.openbox-session). You could also have a corresponding xinitrc.openbox file (that would just execute openbox instead of openbox-session on the last line) so that the stock openbox.desktop file could be used. This would provide the most natural (ie what the openbox developers intended) setup, and it would avoid overwriting stock Slackware files.
I could quickly modify the slackBuild and send it to you if you would like. It might be an easier way to see the solution I am proposing.
--- On Sat, 7/5/08, Chess Griffin <chess at chessgriffin.com> wrote:
> From: Chess Griffin <chess at chessgriffin.com>
> Subject: Re: [Slackbuilds-users] Fwd: bug on openbox package
> To: "SlackBuilds.org Users List" <slackbuilds-users at slackbuilds.org>
> Date: Saturday, July 5, 2008, 11:39 AM
> On Wed, Jun 25, 2008 at 2:38 AM, Phillip Warner
> <pc_warner at yahoo.com> wrote:
> > Actually, after I thought about this for a second the
> solution is simple.
> > The openbox.desktop file that is in question is
> actually a part of the
> > kdebase package. It doesn't get used until there
> is a xinitrc file for
> > openbox available. The openbox slackBuild has the
> xinitrc's for openbox
> > (session), openbox-KDE, and openbox-GNOME, and the
> corresponding .desktop
> > files are in
> > /usr/share/xsessions/openbox*. This seemed to work
> fine in Slackware 12.0,
> > but I don't think KDM in Slackware 12.1 looks
> there anymore. As a result
> > only the stock openbox.desktop file (under
> > /usr/share/apps/kdm/sessions from the kdebase package)
> is used.
> > The solution is to either move or symlink the created
> .desktop files under
> > /usr/share/xsessions/
> > so that they are in
> > /usr/share/apps/kdm/sessions/
> > If you don't want the stock .desktop file to be
> overwritten (this is ideal),
> > you should rename the new openbox.desktop file to
> > and change the "Name" field to something
> like Openbox-Session. The
> > slackBuild README should then inform the user to use
> Openbox-Session if they
> > want to use the autostart file.
> > Hopefully this clears everything up.
> > --phil
> Ok, I think I'm pretty much back in the saddle again.
> I've read through this thread a couple of times and I
> don't use KDM or
> have any KDE packages installed, so I might need some
> clarification of
> the issue and possible solution. The thing that jumps out
> at me,
> though, is that I'm not sure this is an issue with the
> SlackBuild. From what I gather, it seems to be a
> kdebase/KDM issue.
> Is that correct? In other words, is the problem that the
> openbox.desktop file that ships with KDM should exec
> and not openbox?
> Chess Griffin
> GPG Public Key: 0x0C7558C3
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> Archives -
> FAQ - http://slackbuilds.org/faq/
More information about the SlackBuilds-users