modification for kde Framework 5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • caritas
    Visitor
    • Nov 2008
    • 7

    modification for kde Framework 5

    next generation of kde ( after kde4 ) is kde framework

    file kde_context_menu need evolution in order to be integrated in dolphin( as konqueror)



    if [ "$KDE_SESSION_VERSION" = "5" ]; then
    KDEBASE=$HOME/.local

    rm -f "$KDEBASE/share/kservices5/ServiceMenus/beyondcompare.desktop"
    mkdir -p $KDEBASE/share/kservices5/ServiceMenus
    ls -d
    DESKTOPFILE_SELECTFILE="$KDEBASE/share/kservices5/ServiceMenus/$DESKTOPFILE_SELECTFILE"
    DESKTOPFILE_SELECTDIR="$KDEBASE/share/kservices5/ServiceMenus/$DESKTOPFILE_SELECTDIR"
    DESKTOPFILE_COMPARETO="$KDEBASE/share/kservices5/ServiceMenus/$DESKTOPFILE_COMPARETO"
    DESKTOPFILE_COMPAREUSING="$KDEBASE/share/kservices5/ServiceMenus/$DESKTOPFILE_COMPAREUSING"
    DESKTOPFILE_EDIT="$KDEBASE/share/kservices5/ServiceMenus/$DESKTOPFILE_EDIT"
    DESKTOPFILE_MERGE="$KDEBASE/share/kservices5/ServiceMenus/$DESKTOPFILE_MERGE"
    DESKTOPFILE_SELECTCENTER="$KDEBASE/share/kservices5/ServiceMenus/$DESKTOPFILE_SELECTCENTER"
    DESKTOPFILE_SYNC="$KDEBASE/share/kservices5/ServiceMenus/$DESKTOPFILE_SYNC"
    TYPE="Type=Service"
    SERVICETYPES="ServiceTypes=KonqPopupMenu/Plugin,"
    elif [ "$KDE_SESSION_VERSION" = "4" ]; then
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    We actually have a GitHub respository for Linux Context menu changes, linked from our Linux KB articles. If you could submit via this interface, it would help keep the code submissions unified. Your help and feedback is greatly appreciated, as keeping on top of Linux context menu changes is tricky.

    https://github.com/ScooterSoftware/BCompare-LinuxMenus
    Aaron P Scooter Software

    Comment

    • caritas
      Visitor
      • Nov 2008
      • 7

      #3
      Hi

      I only see makefile for so and desktop file in github, there is no bash script and the problem is in install script.

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 15997

        #4
        Hello,

        Our install.sh breaks the rm step and install step into two separate for loops. Are you providing psuedocode above that needs modification in order to incorporate, or would you be willing to provide the modified install.sh or a patch, which you can email to [email protected] along with a link back to this forum thread and we can incorporate it.
        Aaron P Scooter Software

        Comment

        • Chris
          Team Scooter
          • Oct 2007
          • 5538

          #5
          Beyond Compare 4.2.5 added KDE 5 context menu support.
          Chris K Scooter Software

          Comment

          Working...