个人工具

UbuntuHelp:XubuntuPanels

来自Ubuntu中文

跳转至: 导航, 搜索

Introduction

This page provides guidance for restoring and fixing the top and bottom panels when using Xubuntu Desktop Environment. Since disappearing panels occurs often, this page will help restore the panels. Some of this information is available to the user in /usr/share/xfce4/doc/C/xfce4-panel.html. To help the developers find the causes of the panel disappearing, you can file a bug report before restoring the panels. Please try to obtain the appropriate logs as requested in Debugging|Procedures.

Quick Fix

This requires you to log out and log in again.

 
    Alt+F2                           (run window)
    rm -rf ~/.cache/sessions         (delete the Xfce4 saved sessions files for your user)
    Click on "Run"                   (or hit the enter key) 

Now you will log out and log in again. Make sure "Save session for future logins" is not checked. If the Quick Fix fails, please try the next method.

All Panels Disappeared

If the xfce4 panels do not start with your desktop session, use

    Alt+F2                           (run window)
    xfce4-panel                      (command to start panels)
    Click on "Run"                   (or hit the enter key) 

It is not necessary to use gksu / sudo. When you finish your session, be sure to put a check on "Save session for future logins". This will insure you have panels when you restart.

One Panel Disappeared

If there is a single panel or a partial panel, press

    alt+f2                           (run window)
    killall xfce4-panel              (command to kill the panels)
    Click on "Run"                   (or hit the enter key)
    alt+f2                           (run window)
    rm -rf ~/.config/xfce4/panel/    (delete the Xfce4 panel's config files for your user)
    Click on "Run"                   (or hit the enter key)
    alt+f2                           (run window)
    cp -r /etc/xdg/xfce4/panel ~/.config/xfce4/    (copies existing default file)
    Click on "Run"                   (or hit the enter key)
    alt+f2                           (run window)
    xfce4-panel &                    (command to start panels)
    Click on "Run"                   (or hit the enter key) 

When you finish your session, be sure to put a check on "Save session for future logins". This will insure you have panels when you restart.

Any Item Disappeared From The Panel

If only one item disappeared from the panel, try adding it back:

  • right-click the panel
  • left-click "Add New Items..."
  • left-click the item to be added
  • left-click the 'Add' button

The Applications Menu is listed as Xfce Menu. When it is added, you can change the "Button title"; it pre-fills as "Xfce Menu"; change it to "Applications". You can then click 'Close' and the menu is added. Right-click the menu, left-click "Move", and move it to the left side of the screen if you want.