Announcement

Collapse
No announcement yet.

Panel Configuration

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Panel Configuration

    Hello everyone

    I am using Kubuntu 12.04 LTS and plasma desktop. I have changed my start menu to classical style and add few more Item to panel as quick launch like Documents, Downloads, Desktop etc. some time when I found that few computers has lost their panel and when restoring it back via add panel -> Default Panel. then a new panel has been added but I need to add again those quick Launch Items and change start menu to classical style.

    Now I want that when I add a default panel those Items should be add automatically. I mean that can I change the Default panel and menu style permanently. if yes then How .... If it possible via script then which files i need to change and with what values

    Please help....

    #2
    KDE TechBase - Creating Panels : http://techbase.kde.org/KDE_System_A...reating_panels

    1. /usr/share/kde4/apps/plasma/layout-templates/org.kde.plasma-desktop.mydefaultPanel/...

    2. /usr/share/kde4/services/plasma-layout-org.kde.plasma-desktop.mydefaultPanel.desktop

    3. Right click the Desktop and pick My Default Panel




    The Kubuntu is using scripts to create the default Plasma desktop:
    Older: http://packages.ubuntu.com/search?ke...ll&section=all
    Current: http://packages.ubuntu.com/search?ke...ll&section=all

    As example: With the Raring the kubuntu-settings-desktop is installing the 00-defaultLayout.js . It has for the panel:
    // ---------------------------------- PANEL --------------------------------- //
    var panel = new Panel("panel");
    panel.location = "bottom";
    launcher = panel.addWidget("launcher");
    launcher.globalShortcut = "Alt+F1"
    panel.addWidget("pager");
    panel.addWidget("tasks");
    panel.addWidget("showdesktop");

    systray = panel.addWidget("systemtray");
    i = 0;
    if (hasBattery) {
    systray.currentConfigGroup = new Array("Applets", ++i);
    systray.writeConfig("plugin", "battery");
    setPluginShortcut(systray);
    }
    systray.currentConfigGroup = new Array("Applets", ++i);
    systray.writeConfig("plugin", "ktp_presence");
    systray.currentConfigGroup = new Array("Applets", ++i);
    systray.writeConfig("plugin", "org.kde.networkmanagement");
    setPluginShortcut(systray);
    systray.currentConfigGroup = new Array("Applets", ++i);
    systray.writeConfig("plugin", "notifier");

    clock = panel.addWidget("digital-clock");
    clock.writeConfig("displayEvents", "false");
    Last edited by Rog132; Oct 17, 2013, 08:35 AM.
    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

    Comment

    Working...
    X