Unity panels on kde4


MAKE SURE YOU HAVE ICONTASK INSTALLED !

this will add a pannel on the bottom “that is like unity panel” MAKE SURE YOU HAVE REMOVED THE BOTTOM PANEL

copy and paste this code on desktop console (ALT F2 : type ==> desktop console)

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.hiding= 'autohide' //"windowscover" or "windowsbelow" 
}

panel.height = 40
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 quick = panel.addWidget("quickaccess"); 


var icontasks = panel.addWidget("icontasks")
icontasks.writeConfig("groupClick","1")
icontasks.writeConfig("iconScale","49")
icontasks.writeConfig("launcherIcons","false")
icontasks.writeConfig("maxRows","1")
icontasks.writeConfig("mediaButtons","true")
icontasks.writeConfig("middleClick","0")
icontasks.writeConfig("previewSize","200")
icontasks.writeConfig("rotate","false")
icontasks.writeConfig("showOnlyCurrentActivity","true")
icontasks.writeConfig("showOnlyCurrentDesktop","true")
icontasks.writeConfig("showOnlyCurrentScreen","false")
icontasks.writeConfig("showProgress","true")
icontasks.writeConfig("showSeparator","0")
icontasks.writeConfig("sortingStrategy","2")
icontasks.writeConfig("spacing","0")
icontasks.writeConfig("style","2")
icontasks.writeConfig("toolTips","0")
icontasks.writeConfig("unity","true")
//icontasks.writeConfig("Enabled","true")

icontasks.writeConfig("Items","file:///usr/share/applications/firefox.desktop?wmClass=Firefox,file:///usr/share/applications/kde4/kate.desktop?wmClass=Kate,file:///usr/share/applications/kde4/konversation.desktop?wmClass=Konversation,file:////usr/share/applications/kde4/dolphin.desktop?wmClass=Dolphin,file:///usr/share/applications/chromium-browser.desktop?wmClass=Chromium-browser,file:///usr/share/applications/kde4/konsole.desktop?wmClass=Konsole,file:///usr/share/applications/kde4/ksnapshot.desktop?wmClass=Ksnapshot,file:///usr/share/applications/kde4/systemsettings.desktop?wmClass=Systemsettings")


panel.addWidget("showdesktop")
pager = panel.addWidget("pager");
pager.writeGlobalConfig("rows", "2");

panel.addWidget("trash")

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: