Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 10/08/2013, à 09:01

petitlou60

[Résolu] comment placer la barre de menu en haut en ligne de commande

Bonjour à tous,

J'essaie d'installer lubuntu sur un ordinateur un peu ancien, mais je rencontre un problème très bete
tant que le pilote proprietaire nvidia n'est pas installé le bas de l'ecran est tronqué et je ne vois pas la barre de menu

quand la barre est visible il est trivial de la déplacer en haut après un clic droit
mais la sur le live CD , je voudrais bien mettre la barre en haut pour pouvoir bien tester avant d'installer

Dans que lfichier de configuration se trouve l'emplacement de la barre ?

Merci d'avance pour vos réponses

Cordialement

Dernière modification par petitlou60 (Le 10/08/2013, à 15:09)

Hors ligne

#2 Le 10/08/2013, à 12:47

Skubu

Re : [Résolu] comment placer la barre de menu en haut en ligne de commande

Salut,

La réponse est .

Dans un terminal

nano ~/.config/lxpanel/<Profile Name>

où "<Profile Name>" est à remplacer par le "nom du profil"

# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

# Global section: defines appearance and behavior of this panel.
Global {
    #edge=bottom    # The edge this panel attaches to
    edge=top
    allign=left    # alignment: left/center/right
    margin=0       # margin: margin to the edge of the whole screen
    widthtype=percent   # percent/pixel
    width=100      # width of the panel: The unit used here is according to widthtype.
    height=26      # height of the panel
    transparent=0  # use (pseudo-)transparent background: on=1, off=0
    tintcolor=#000000  # color blended with the backgroud when transparency is used.
    alpha=0    # alpha value used to blend tintcolor with background.
    setdocktype=1   # ask the window manager to treat the panel as a dock.
    setpartialstrut=1  # ask the window manager to reserve the space for the panel and not to cover it with maximized windows
    usefontcolor=1   # use customize colors for the text instead of that defined in system theme.
    fontcolor=#ffffff   # color of text on the panel (Currently this is only supported by clock applet)
    background=1    # use customize image to draw the background of the panel. (cannot be used with transparent)
    backgroundfile=/usr/share/lxpanel/images/background.png  # The image file used.
}


# Configuration of various applets
# Basic syntax:
# Plugin {
#   type=<plugin type>
#   expand=0    (optional, mainly used in "taskbar" and "space" applets.
#                expand=1 will stretch the applet to fill all available spaces)
#   Config {
#     ...
#   }
# }


Plugin {
    type = space
    Config {
        Size=2
    }
}

Plugin {
    type = menu
    Config {
        # image must be set
        image=/usr/share/lxpanel/images/my-computer.png
        # name is optional
        # it may be set to the name of a *.directory file in /usr/share/desktop-directories to get a localised label
        # eg. name=lxde-menu-applications.directory
        name=Label
        # tint may be set to an X11 colour name or a hex value,
        # see http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#gdk-color-parse
        # The default is blue; black disables tinting.
        tint=red
        system {
        }
        separator {
        }
        item {
            command=run
        }
        separator {
        }
        item {
            image=gnome-logout
            command=logout
        }
    }
}

Plugin {
    type = launchbar
    Config {
        Button {
            id=pcmanfm.desktop
        }
        Button {
            id=gnome-terminal.desktop
        }
        Button {
            id=firefox.desktop
        }
    }
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = wincmd
    Config {
        Button1=iconify
        Button2=shade
    }
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = pager
}

Plugin {
    type = space
    Config {
        Size=4
    }
}

Plugin {
    type = taskbar
    expand=1
    Config {
        tooltips=1
        IconsOnly=0
        AcceptSkipPager=1
        ShowIconified=1
        ShowMapped=1
        ShowAllDesks=0
        UseMouseWheel=1
        UseUrgencyHint=1
        FlatButton=0
        MaxTaskWidth=150
        spacing=1
    }
}

Plugin {
    type = netstat
}

Plugin {
    type = cpu
}

Plugin {
    type = tray
}

Plugin {
    type = dclock
    Config {
        ClockFmt=%R
        TooltipFmt=%A %x
        BoldFont=0
    }
}

Il faut changer

edge=bottom

par

edge=top

Puis relancer lxpanel par

killall -USR1 lxpanel

Mais sinon, ce n'est pas le problème décrit ici que tu as ?


Debian / Archlinux | Gnome / KDE

Hors ligne

#3 Le 10/08/2013, à 15:08

petitlou60

Re : [Résolu] comment placer la barre de menu en haut en ligne de commande

Merci beaucoup,

mon problème est résolu
j'ai déjà eu ce problème d'ecran tronqué avec une version 10.x de ubuntu , mais la barre de menu était en haut par défaut
la barre du bas réapparaissait après install du pilote nvidia

Cordialement

Hors ligne