CairoDock configure

from CairoDock import CairoDock
d=CairoDock().iface

# add CherryTree
d.Add({'type':'Launcher', 'name':'CherryTree', 'command':'cherrytree %f', 'icon':'cherrytree.svg'})

# add Shutter
d.Add({'type':'Launcher', 'name':'Shutter', 'command':'shutter %F', 'icon':'shutter.png'})

# add startcmd
d.Add({'type':'Launcher', 'name':'StartCMD', 'command':'bash /home/ypzhang/shell/startcmd.sh &', 'icon':'activity-log-manager.svg'})

# add chrome
d.Add({'type':'Launcher', 'name':'Chrome', 'command':'/usr/bin/google-chrome-stable %U', 'icon':'google-chrome.png'})

# add vm
d.Add({'type':'Launcher', 'name':'VirtualBox', 'command':'VirtualBox %U', 'icon':'virtualbox.png'})

# add qtcreator
d.Add({'type':'Launcher', 'name':'qtcreator', 'command':'bash -i -c /opt/qt59/bin/qtcreator %F', 'icon':'QtProject-qtcreator.png'})

# add libreoffice
d.Add({'type':'Launcher', 'name':'libreoffice', 'command':'libreoffice %U', 'icon':'libreoffice-startcenter.png'})

你可能感兴趣的:(Linux,环境)