On 06/29/2013 04:39 PM, Federico Leoni wrote:

> When I wrote "... nor I can get autostart file to work" I meant the
> autostart file (located in 
> /home/effe/.config/lxsession/LubuntuCMP/autostart) doesn't start 
> programs inserted with  @ like on the other file on Lubuntu folder.
> In fact, this is the SAME file copied.

OK, but there are a lot of places for an lxsession autostart file to
exist, so it's necessary to state which one, if you want anyone else to
be able to do anything useful, such as duplicate the issue in order to
resolve it.

The ~/.config/lxsession/*/autostart files are intended for individual
user overrides of, or additions to, the system-wide defaults.  So you
would not really want to use that location for a new session type, which
could be used by many users on one machine.  I think you want to use

  /etc/xdg/lxsession/LubuntuCMP/autostart

or similar.  But IMO anyone creating new sessions for commercial use
which they will then need to support, should already know this :)

> As already told I'm not new to linux but for sure I need to learn
> more. You right, I'm doing it for business purpouse, is for that
> reason I join this group starting to ask for help. If you don't think
> is the right place I'll humbly stop writing here and start asking on
> forums.

As long as the work you do is shared, and made publically available
under appropriate open source licences, for me there's no direct issue
or problem with it being "for business".  However, that
business-oriented goal requires a high level of knowledge, and ability
to offer good in depth technical support to your paying clients.
Getting to that point can take a long time, as well as the willingness
to learn.  I've been using Linux since 1992, running Internet-facing
servers on Linux since 1994 :)

It gets Lubuntu and Linux as a whole a "bad name" when someone promotes
its use in a business environment, businesses believe them and pay for
help getting started, etc. -- and then the Linux promoter cannot support
it fully when the business has critical time-sensitive issues!  My guess
is that you are at least tens of hours of technical work and learning
away from being able to confidently offer the appropriate level of
support for business users for these customized Lubuntu desktops.

So, until then, I would suggest you develop your customizations of the
Lubuntu DE "out in the open", as part of the existing Lubuntu community,
putting the info you learn on a public wiki page as you go, so we can
all benefit from that.  Start out doing it more "for fun" or "to improve
Lubuntu".  There is no need to wait until it is all "perfect" and ready
to be sold or used in a consulting business to clearly document (a) what
you are trying to do, and (b) the pieces of those goals you have already
accomplished and (c) exactly how you got there.

> But let me be clear, I want to understand, I'm not looking for a
> simple solution offered by others.

OK.  man lxsession (oops there isn't one, lxsession --help !), man
lxpanel, man Xsession, man Xsession.options, man dbus-launch, read
/usr/bin/startlubuntu in detail, read the scripts under
/etc/X11/Xsession.d/ and the files under /etc/xdg/ etc. etc.  Read the
relevant specs at http://www.freedesktop.org/wiki/Specifications/ .  The
information you need is already right there on your machine, for the
most part.

> When I'll have achieved a good result)I'll happily share with you, 
> others people (is there a group involved? ) and I create a Wiki,
> trust me.

Just start a wiki page on wiki.ubuntu.com now, and post to lubuntu-users
about it occasionally.  No need to wait for "a good result".  My script
already creates a working additional session type.  Add enhancements to
it, and you'll end up with a good way to repeatable perform the
customizations you think are valuable to others.  Make your improved
script(s) available so others can use them and modify them too.  For
example, I *think* lxpanel might default to looking for system-wide
profiles under /usr/share/lxpanel/profile/* but I am not sure... if you
can make that work, then there is no need for the per user creation of
lxpanel configuration files and directories under ~/.config/lxpanel that
my script currently does.  It's just a quick hack to demonstrate that
setting up a new session type is not *that* complex.

There are others on the lubuntu-users mailing list who have suggested
that making "prettier" desktops for Lubuntu would attract more users.  I
am trying to remember who I talked to about this recently, and failing!
 It's not an area of particular interest to me -- if it works, then I
don't really care whether the panel is at the top or bottom, or what
exact shade of grey or blue things are, etc. etc.  Most of the time, my
desktops are covered by shell windows, Emacs windows, or web browser
windows anyway!  But you are not alone in having an interest in doing
this kind of thing.

Unfortunately, my sense is that so far what usually happens is that
someone creates a pretty desktop that they like, shows it off to their
friends, who are impressed... and that's about as far as it goes.  The
lessons learned, and the scripts used to set up the customizations in a
reliable and repeatble way, are not documented or made public, so there
is little long term value to the Lubuntu community as a whole.  Later
someone else comes along, and does the same thing, learning the same
kinds of lessons all over again.  I think that is a waste.  Maybe this
time it can be different?

Maybe you can aim to have some of your work packaged in a new
lubuntu-settings-extras .deb in time for Lubuntu 14.04 ?

Jonathan


-- 
Mailing list: https://launchpad.net/~lubuntu-comms
Post to     : lubuntu-comms@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-comms
More help   : https://help.launchpad.net/ListHelp

Reply via email to