Jonathan,
thanks for your reply.

Well, you have been very direct, I liked it and your clue about learning
lxpanel is what I'm looking for.
I wrote my first post just to let others know what I'm doing, so lack of
some information is normal. 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.

Please Jonathan, let me clarify some things:
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. But let me be clear, I
want to understand, I'm not looking for a simple solution offered by
others.
This is a non standard situation for me, I mean, I started this discussion
based on the feedback of some customers who like different layouts. I'm
ALREADY offering this kind of personalization and I can live without this
mod, trust me, my job will not suffer for it. :)
In fact the greatest part of my job Is based on system recovery and network
management,  including server build and maintenance both Linux and Windows.
I really trust on Linux and for that reason I'll continue questioning and
learning because I want see my job grow in this direction.

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.

Again,  thanks for the very costruttive message was really helpful.

F.

On 06/28/2013 03:14 PM, Federico Leoni wrote:

> Then I created my personal /usr/bin/startlubuntucmp pointing to a
> session folder called LubuntuCMP. Worked, I can set a theme for icons
> and windows editing the desktop.conf file but I can't change the
> position of the panel without modify it on other sessions

You need to man lxpanel :)

By default startlubuntu will set up a DE such that lxpanel is run (via
the autostart file) with the parameters

  lxpanel --profile Lubuntu

If you need a special separate profile for LubuntuCMP, then create one
under ~/.config/lxpanel/LubuntuCMP/

and start up lxpanel with

  lxpanel --profile LubuntuCMP

Then the two profiles are separate, which is what you seem to want.

> nor I can get autostart file to work.

Which exact file, and what exact contents are you putting in that file?
Just saying "It does not work" is really hard to troubleshoot!  Please
provide clear, specific step-by-step instructions to reproduce the
issue, and there is a chance someone can duplicate the issue, and then
help solve the problem for you.

The autostart system is working fine for me... see below.

In general, I think you would benefit a lot from spending some time
learning more about how the whole X system and DE are started up, in
detail, so you are very clear on where to customize what, to achieve the
effects you are looking for.

If you are doing this for business purposes, you need to thoroughly
understand how all this works, well enough to provide good support for
it to your customers.  Based on the questions you are asking, I suspect
that you are not yet ready to do that.

Here is a quick and dirty create-toppanel-session.sh script that sets up
a new session type Lubuntu-toppanel which has the panel on top, and it
is independent of the default Lubuntu session regarding lxpanel
configuration.

Ten lines of shell script (plus comments).  This kind of basic DE
customization is pretty straightforward, as long as you understand what
is happening within X and LXDE reasonably well.

Please now do what I suggested to others before you who have expressed
interest in making "pretty" Lubuntu desktop setups -- work together, as
a team, and document your work clearly on a wiki page as part of the
Lubuntu community.  That way, others can benefit from it, and in future
some of your work stands a chance of being incorporated back into the
official Lubuntu releases.  Otherwise all this prettiness will not
"reach more users" on any worthwhile scale.

Some lines of the script are long and will word-wrap in this email...

Jonathan
-----------------------------------------

#!/bin/bash
# create-toppanel-session.sh -- creates an Lubuntu-toppanel session type
# Author: Jonathan Marsden <jmars...@fastmail.fm>

SUFFIX=${1:-toppanel} # So session will be named is Lubuntu-toppanel by
default, Lubuntu-$1 if $1 supplied

# Creat new xsession .desktop file
sed -e "s/\([Ll]\)ubuntu/\1ubuntu-$SUFFIX/g"
/usr/share/xsessions/Lubuntu.desktop |sudo tee
/usr/share/xsessions/Lubuntu-$SUFFIX.desktop >/dev/null

# Create new script to start session
sed -e "s/-s Lubuntu -e/-s Lubuntu-$SUFFIX -e/" /usr/bin/startlubuntu
|sudo tee /usr/bin/startlubuntu-$SUFFIX >/dev/null
sudo chmod 755 /usr/bin/startlubuntu-$SUFFIX

# Create autostart and desktop.conf files for new lxsession
sudo mkdir -p /etc/xdg/lxsession/Lubuntu-$SUFFIX
sed -e "s/Lubuntu/Lubuntu-$SUFFIX/g"
/etc/xdg/lxsession/Lubuntu/autostart |sudo tee
/etc/xdg/lxsession/Lubuntu-$SUFFIX/autostart >/dev/null
sudo cp -p /etc/xdg/lxsession/Lubuntu/desktop.conf
/etc/xdg/lxsession/Lubuntu-$SUFFIX/desktop.conf

# Create lxpanel profile for new session -- should really be done at
session startup not in this script!
# Note edit to panel file to move panel to top edge of screen.  This is
just an example customization.
[ -d ~/.config/lxpanel/Lubuntu-$SUFFIX/panels ] || mkdir -p
~/.config/lxpanel/Lubuntu-$SUFFIX/panels
[ -f ~/.config/lxpanel/Lubuntu-$SUFFIX/config ] || cp -p
/usr/share/lxpanel/profile/Lubuntu/config
~/.config/lxpanel/Lubuntu-$SUFFIX/config
[ -f ~/.config/lxpanel/Lubuntu-$SUFFIX/panels/panel ] || sed -e
s/edge=bottom/edge=top/ /usr/share/lxpanel/profile/Lubuntu/panels/panel
|tee ~/.config/lxpanel/Lubuntu-$SUFFIX/panels/panel >/dev/null
-- 
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