Results 1 to 4 of 4

Thread: kde4 ==>unity-gnome3 style

  1. #1
    Join Date
    Oct 2008
    Location
    mmm
    Beans
    102
    Distro
    Kubuntu 10.04 Lucid Lynx

    kde4 ==>unity-gnome3 style

    here it is (you need of lancelot!)

    http://wstaw.org/m/2011/05/27/UNity.gif



    HOW TO USE :

    Code:
    sudo apt-get install  kubuntu-destkop
    install all the plasma widget

    Code:
    sudo apt-get install plasma-widget*
    load a kde4 session ,


    run on terminal

    Code:
    qdbus org.kde.plasma-desktop /MainApplication showInteractiveConsole

    NOw ALL PANELS MUST BE REMOVED



    then should appear this


    http://nowardev.files.wordpress.com/2011/05/gnome4.jpeg

    copy and paste the code,

    click on the button Execute!


    a gif animated can be found here

    http://nowardev.files.wordpress.com/...-panel-kde.gif

    (that was for gnome2 panels )


    CODE TO GET UNITY STYLE

    Code:
    var panel = new Panel
    if (panelIds.length == 1) {
        // panel.location = 'bottom'
        panel.location = 'top'
    }
    
    panel.height = 25
    
    launcher = panel.addWidget("lancelot_part");
    launcher.writeConfig("iconLocation", "start-here-kde");
    launcher.writeConfig("iconClickActivation", "true");
    launcher.writeConfig("contentsExtenderPosition", "1"); 
    launcher.writeConfig("searchHistory", "firefox");
    launcher.writeConfig("showSearchBox", "true"); 
    launcher.writeConfig("partData", "model=FavoriteApplications&type=list&version=1.0\nmodel=Folder%20applications%3A%2FMultimedia%2F&type=list&version=1.0\nmodel=Devices%2FRemovable&type=list&version=1.0\nmodel=Devices%2FFixed&type=list&version=1.0\nmodel=System&type=list&version=1.0\nmodel=OpenDocuments&type=list&version=1.0"); 
    
    var firefox = panel.addWidget("quicklaunch")
    firefox.writeConfig("iconUrls","file:///usr/share/applications/firefox.desktop")
    
    var dolphin = panel.addWidget("quicklaunch");
    dolphin.writeConfig("iconUrls","file:////usr/share/applications/kde4/dolphin.desktop");
    
    var menubar = panel.addWidget("menubar")
    //menubar.writeConfig("useButtonFormFactor", "false");
    
    //panel.addWidget("panelspacer_internal")
    
    //pager = panel.addWidget("pager");
    //pager.writeConfig("rows", "2");
    
    
    var systemsettings = panel.addWidget("quicklaunch");
    systemsettings.writeConfig("iconUrls","file:////usr/share/applications/kde4/systemsettings.desktop")
    
    var help = panel.addWidget("quicklaunch")
    //qlaunch.writeConfig("iconSize", "24")
    help.writeConfig("iconUrls","file:///usr/share/applications/kde4/Help.desktop")
    
    var systemtray = panel.addWidget("systemtray")
    
    var clock = panel.addWidget("digital-clock");
    clock.writeConfig("showDate", "false");
    clock.writeConfig("showDay", "false");
    clock.writeConfig("showSeconds", "true");
    clock.writeConfig("showYear", "false");
    clock.writeConfig("showShadow", "false");
    //clock.writeConfig("showTimezone", "true");
    clock.writeConfig("plainClockFont", "Serif,12,-1,5,75,0,0,0,0,0");
    clock.writeConfig("useCustomColor", "true");
    clock.writeConfig("plainClockColor", "255,255,255");
    clock.writeConfig("plainClockDrawShadow", "false");
    
    lockout = panel.addWidget("lockout");
    //lockout.writeConfig("showHibernateButton","true");
    lockout.writeConfig("showLogoutButton","true");
    lockout.writeConfig("showLockButton","false");
    lockout.writeConfig("showSleepButton","false");
    lockout.writeConfig("showSwitchUserButton","false");
    
    var panel = new Panel
    if (panelIds.length == 2) {
        // we are the only panel, so set the location for the user panel.location = 'bottom'
        panel.location = 'bottom'
    }
    
    panel.height = 45
    panel.addWidget("showdesktop")
    panel.addWidget("smooth-tasks")
    
    
    pager = panel.addWidget("pager");
    pager.writeConfig("rows", "1");
    
    panel.addWidget("trash")
    //panel.addWidget("smooth-tasks")
    //panel.addWidget("launcher")
    //panel.addWidget("pastebin")
    //panel.addWidget("tasks")
    Last edited by nowardev; May 31st, 2011 at 03:47 PM.

  2. #2
    Join Date
    Apr 2011
    Location
    Honokaa, HI
    Beans
    186
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: kde4 ==>unity-gnome3 style

    Very cool! got try that!
    -Unity Lover-

    Open-Source is a way of LIFE

  3. #3
    Join Date
    Oct 2010
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: kde4 ==>unity-gnome3 style

    And how do i use the code exactly?

  4. #4
    Join Date
    Oct 2008
    Location
    mmm
    Beans
    102
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: kde4 ==>unity-gnome3 style

    well, install

    Code:
    sudo apt-get install  kubuntu-destkop
    install all the plasma widget

    Code:
    sudo apt-get install plasma-widget*
    load a kde4 session ,



    run on terminal

    Code:
    qdbus org.kde.plasma-desktop /MainApplication showInteractiveConsole

    NOw ALL PANELS MUST BE REMOVED



    then should appear this


    http://nowardev.files.wordpress.com/2011/05/gnome4.jpeg

    copy and paste the code,

    click on the button Execute!


    a gif animated can be found here

    http://nowardev.files.wordpress.com/...-panel-kde.gif

    (that was for gnome2 panels )
    Last edited by nowardev; May 31st, 2011 at 03:44 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •