kwin button close minimize on your panel kubuntu 12.04



So you want minimize your screen use ?!

ok le’s put kwin buttons on the panel with kde4.8

just download this http://kde-apps.org/content/show.php/KWin+Button+applet+improved?content=143971

INSTALL DEPENDENCIES

now as usual NOTE IF CMAKE GIVES ERRORS… just install the dev packages … it should be

kdebase-workspace-dev kdelibs5-dev

NOW EXTRACT AND DO THIS IN THE FOLDER …

  mkdir build ; cd build ; cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. ;make ; sudo make install ;  kbuildsycoca4  #cpack ..
 

kate $HOME/.kde/share/config/kwinrc

you should locate [Windows] and make sure there is this stuff

 
 [Windows] 
<del>BorderlessMaximizedWindows=true

Use just add 4 buttons

THIS IS OLD AND THE PACKAGED GENERATED WITH CPACK DOENS’T WORK PROPERLY.
and now create your own debian package with cmake and cpack …

1 extract
2 edit your CMakeLists.txt adding this shit

</del>
<del>SET(MAJOR_VERSION "0")</del>
<del>SET(MINOR_VERSION "5")</del>
<del>SET(PATCH_VERSION "0")</del>

<del>IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")</del>
<del>INCLUDE(InstallRequiredSystemLibraries)</del>

<del>SET(CPACK_SET_DESTDIR "on")</del>
<del>SET(CPACK_PACKAGING_INSTALL_PREFIX "/tmp")</del>
<del>SET(CPACK_GENERATOR "DEB")</del>

<del>SET(CPACK_PACKAGE_DESCRIPTION "Plasmoid to add kwin button on your panel")</del>
<del>SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "kwin button applet is a plasmoid to add kwin buttons on your pannel just add 3 buttons for minimize maximize and close , you can even add the icon button")</del>
<del>SET(CPACK_PACKAGE_VENDOR "Vendor")</del>
<del>SET(CPACK_PACKAGE_CONTACT "Stefan Majewsky Alberto Pajuelo Montes Aliaksandr Stelmachonak")</del>
<del>SET(CPACK_PACKAGE_VERSION_MAJOR "${MAJOR_VERSION}")</del>
<del>SET(CPACK_PACKAGE_VERSION_MINOR "${MINOR_VERSION}")</del>
<del>SET(CPACK_PACKAGE_VERSION_PATCH "${PATCH_VERSION}")</del>
<del>SET(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")</del>
<del>SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")</del>

<del>SET(CPACK_DEBIAN_PACKAGE_DEPENDS " libplasma3 , plasma-desktop ")</del>
<del>SET(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")</del>
<del>SET(CPACK_DEBIAN_PACKAGE_SECTION "kde")</del>
<del>SET(CPACK_DEBIAN_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})</del>

<del>SET(CPACK_COMPONENTS_ALL Libraries ApplicationData)</del>
<del>INCLUDE(CPack)</del>

<del>ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")</del>

<del>


now as usual NOTE IF CMAKE GIVES ERRORS… just install the dev packages … it should be

kdebase-workspace-dev kdelibs5-dev

  mkdir build ; cd build ; cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. ;make ; sudo make install ;  cpack ..</del>
<del> 


NOTE THE PACKAGE GENERATED WILL NOT WORK …
on build folder there is your own package ,… just install it

now upgrade the plasmoid list with

 kbuildsycoca4 


set kwin to show the border only when the windows is not maximized

kate $HOME/.kde/share/config/kwinrc

you should locate [Windows] and make sure there is this stuff

</del>
<del>[Windows]</del>
<del>BorderlessMaximizedWindows=true


Use just add 4 buttons

and set them … close maximize iconfy and of course set them to be visible only when the window is maximize .. right click on the button … settings etc etc …

OS X Launchpad menu on kde4


INSTALL THE 32BIT PACKAGE MADE BY ME

http://dl.dropbox.com/u/4127065/debian%20package/ocelot/Takeoff_0.1.5.deb

that is my package it should work only on kde 4.7 so… if you have 4.6 you suck! 😀 (btw i am on alpha2 that is not reccomended of course for noob 😛 )

CREATE YOUR OWN PACKAGE

sudo apt-get install libqt4-dev kdelibs5-dev libplasma3 cmake build-essential gettext 

then download the source code  extract it and modify the cmakelist.txt file by adding this to the end of the file

SET(MAJOR_VERSION "0")
SET(MINOR_VERSION "1")
SET(PATCH_VERSION "5")

IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
INCLUDE(InstallRequiredSystemLibraries)

SET(CPACK_SET_DESTDIR "on")
SET(CPACK_PACKAGING_INSTALL_PREFIX "/tmp")
SET(CPACK_GENERATOR "DEB")

SET(CPACK_PACKAGE_DESCRIPTION "Takeoff is a full screen menu plasmoid")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Takeoff is a full screen menu inpired in the aspect of Slingshot and the OS X Launchpad menu but adapted to the KDE users in a plasmoid")
SET(CPACK_PACKAGE_VENDOR "Vendor")
SET(CPACK_PACKAGE_CONTACT "developer ")
SET(CPACK_PACKAGE_VERSION_MAJOR "${MAJOR_VERSION}")
SET(CPACK_PACKAGE_VERSION_MINOR "${MINOR_VERSION}")
SET(CPACK_PACKAGE_VERSION_PATCH "${PATCH_VERSION}")
SET(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")

SET(CPACK_DEBIAN_PACKAGE_DEPENDS " libplasma3 , plasma-desktop ")
SET ( CPACK_DEBIAN_PACKAGE_BREAKS "kdebase-workspace-bin (<< 4:4.2.60), kdelibs5-data (<< 4:4.6.80~)"  )
SET(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
SET(CPACK_DEBIAN_PACKAGE_SECTION "kde")
SET(CPACK_DEBIAN_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})

SET(CPACK_COMPONENTS_ALL Libraries ApplicationData)
INCLUDE(CPack)

ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")

NOTE 1 NOW THE VERSION IS 0.1.5 so in the future you have to change that
NOTE 2
This are the dependencies i have not specified the version because that should be enough infact you need libplasma3 that is the new library of kde so…

SET(CPACK_DEBIAN_PACKAGE_DEPENDS ” libplasma3 , plasma-desktop “)

here instead there are the packages that it could break infact libplasma3 is a dependence of this package that break some packages (dpkg -s libplasma3 says so… )

SET ( CPACK_DEBIAN_PACKAGE_BREAKS “kdebase-workspace-bin (<< 4:4.2.60), kdelibs5-data (<< 4:4.6.80~)" )

now

mkdir build ; cd build; cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..

so if you don’t get errors =>

cpack .. 
sudo dpkg -i *.deb

on the folder where there is the deb man… 🙂

browser without browser


i think the best is the konqui plasma script…
right click add widgets

anyway you could try it too… with some limitations…

**tested on kubuntu 11.04

download the plasmoid script here

sudo apt-get install python-lxml

To install:

plasmapkg -i plasma-miniweb-1.0.1.plasmoid

plasmapkg -i plasma-miniweb-1.0.1.plasmoid

To upgrade an existing installation:

plasmapkg -u plasma-miniweb-1.0.1.plasmoid