Announcement

Collapse
No announcement yet.

Service Menus with Dolphin

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Service Menus with Dolphin

    About Dolphin:

    Dolphin File manager
    http://enzosworld.gmxhome.de/
    Dolphin is a file manager for KDE focusing on usability.

    Dolphin is not intended to be a competitor to Konqueror: Konqueror acts as universal viewer being able to show HTML pages, text documents, directories and a lot more, whereas Dolphin focuses on being only a file manager. This approach allows to optimize the user interface for the task of file management.

    The KDE 3 version of Dolphin is in beta stage, but provides already most features for daily usage. Currently Dolphin gets ported for KDE 4.0.

    The final version 1.0 of Dolphin for KDE 3 was originally planned for end of December 2006. In November Dolphin got a lot of support from Aaron J. Seigo and it has been decided to port Dolphin to KDE 4 as soon as possible. As there are not enough resources to maintain a KDE 3 version in parallel, the last release of Dolphin for KDE 3 has been 0.8.


    D3lphin 0.9:

    As mentioned on the roadmap, no official maintenance release for KDE 3 will be released anymore. But the good news is that Marcel Juhnke decided to do further bugfixing for the KDE 3 version of Dolphin and also included features like a second sidebar. As this is no official release, this project is named D3lphin and can be downloaded at marrat.homelinux.org. Please don't submit any bug reports for D3lphin to the KDE bug database and contact Marcel directly instead.

    Using Konqueror's Service Menus in the Dolphin

    You can use Konqueror servicemenus in the Dolphin (some of them). You only need to link/copy Konqueror service menus (.desktop files) from Konqueror servicemenu folder to the Dolphin servicemenu folder:

    KDE 3.5.X

    System wide (for all users) service menus:
    Konqueror: /usr/share/apps/konqueror/servicemenus/
    Dolphin: /usr/share/apps/dolphin/servicemenus/
    D3lphin: /usr/share/apps/d3lphin/servicemenus/

    Home folder (for a user) service menus:
    Konqueror: ~/.kde/share/apps/konqueror/servicemenus/
    Dolphin: ~/.kde/share/apps/dolphin/servicemenus/
    D3lphin: ~/.kde/share/apps/d3lphin/servicemenus/


    KDE 4

    From Bug 156476: dolphin should have action/service menus like konqueror has
    http://bugs.kde.org/show_bug.cgi?id=156476

    ------- Additional Comment #6 From David Faure 2008-01-24 13:48 -------
    Dolphin and konqueror (in kde4) support the exact same servicemenus. However the syntax is indeed NOT
    the kde3 syntax. Well, the syntax is pretty much the same but the location where to install the desktop files has changed.
    kdesdk/scripts/qt4/Porting mentions the changes:

    Servicemenus for konqueror and dolphin have moved to services/ServiceMenus/.
    To port kde3 servicemenus you need to:
    -> change installation rule so that it installs to ${SERVICES_INSTALL_DIR}/ServiceMenus
    -> add KonqPopupMenu/Plugin to the ServiceTypes line
    Development/Tutorials/Creating Konqueror Service Menus
    http://techbase.kde.org/Development/..._Service_Menus
    Where the Servicemenus Live

    Servicemenus are defined using .desktop files, which are the same kind of files that are used to create entries in the K Menu or on the KDE desktop. These servicemenu files are found in $KDEHOME/share/services/ServiceMenus, the directory KDE was installed to or any directory listed in the $KDEDIRS environment variable.

    In the case of my home machine that means that servicemenu files can be found in the following places:

    /opt/kde4/share/services/ServiceMenus/
    /usr/share/services/ServiceMenus/
    /home/aaron/.kde4/share/services/ServiceMenus/

    Kubuntu Intrepid Ibex (alpha 2) , KDE 4.1 (beta 2). Konsole command tells:
    Code:
     kde4-config --path services
    /home/rog/.kde/share/kde4/services/:/usr/share/kde4/services/
    that is

    System wide (for all users) service menus:
    /usr/share/kde4/services/ServiceMenus

    Home folder (for a user) service menus:
    /home/<USER>/.kde/share/kde4/services/ServiceMenus

    <USER> is your username !

    Specific folder actions
    Kubuntu forums topic: https://www.kubuntuforums.net/showth...folder-actions


    Service Menu Editor

    > KDE-Apps.org
    Depends on: KDE 4.x

    Description:
    KDE Service Menu Editor is a simple way of editing the right-click menus that you see when using Dolphin. It has simple but flexible way of selecting the "mime types" (type of file) that the menu should appear on. Then adding the menu is as simple as typing a name and the command to be run.

    Example
    Topic: Using Dolphin to batch process images like Konqueror?
    http://kubuntuforums.net/forums/inde...opic=3087984.0

    Easy way to make symlinks: Symlink by Click. Another way is simply copy desktop files.


    Some servicemenus might need a bit tuning. Kubicle tells:
    There are a few problems with servicemenus in dolphin (d3lphin), but the rootactions servicemenu can be 'tinkered with' to work better with dolphin:
    More: http://kubuntuforums.net/forums/inde...97261#msg97261

    Kubicle's Root Actions Servicemenu
    http://www.kde-apps.org/content/show...?content=48411
    Root Actions servicemenu is a replacement/alternative for the default Edit-as-root servicemenu in kubuntu.

    ----Notes for Dolphin users-------------------------------------------
    The service menu should work on KDE4 dolphin, though you might wish to edit rootactionsfolders.desktop and replace 'konqueror' with 'dolphin'

    KDE3 dolphin (d3lphin) has a few issues with servicemenus, so I've included a d3lphin friendly version of the menu in the download.

    New Service Menus for Dolphin

    From Creating Konqueror Service Menus
    http://developer.kde.org/documentati...vicemenus.html
    Introduction

    In KDE-speak a "servicemenu" is a special entry that appears in Konqueror's context menu depending on the file(s) that are selected. You may have seen them in action without even knowing it. For instance, if you have the KDE file archive utility "ark" installed you will see a menu entry to "Extract here..." whenever you right click on a tarball or zip file. The option to "Extract here..." is a servicemenu.

    Creating new servicemenus is very simple, requiring nothing more than an idea and a text editor. You don't have to be a programmer or a KDE wizard to make them.
    Background:
    theread told in the Topic: Preview enlargement in Dolphin
    http://kubuntuforums.net/forums/inde...opic=3088673.0
    Another useful facility missing from Dolphin is the right click menu with the move to: and the copy to: options on it. As far as I can see in Dolphin the only way to do it is to open the to and from directories and drag the file across, which is a pain if you have a lot open on the desktop at the time.
    Here is simple servicemenu for Dolphin. It will copy/move files to the destination folder (you choose destination folder from KDialog directory tree)

    Make text file copy_move_to.desktop file:
    Code:
    [Desktop Entry]
    ServiceTypes=all/allfiles,inode/directory
    Actions=CopyTo;MoveTo
    Encoding=UTF-8
    X-KDE-Submenu=Copy and Move To
    
    [Desktop Action CopyTo]
    Name=Copy To
    Icon=folder_man
    Exec=cp %U `kdialog --getexistingdirectory ~/`
    
    [Desktop Action MoveTo]
    Name=Move To
    Icon=folder_red_open
    Exec=mv %U `kdialog --getexistingdirectory ~/`
    Drop it to the /usr/share/apps/dolphin/servicemenus/ or /usr/share/apps/d3lphin/servicemenus/. That's it !


    Links:

    Topic: GtoK: .desktop files
    http://kubuntuforums.net/forums/inde...opic=3093180.0

    Dolphin File manager
    http://enzosworld.gmxhome.de/

    Topic: Using Dolphin to batch process images like Konqueror?
    http://kubuntuforums.net/forums/inde...opic=3087984.0

    Topic: Dolphin crashes
    http://kubuntuforums.net/forums/inde...opic=3086993.0

    Root Actions Servicemenu
    http://www.kde-apps.org/content/show...?content=48411

    Creating Konqueror Service Menus
    http://developer.kde.org/documentati...vicemenus.html

    Shell Scripting with KDE dialogs
    http://developer.kde.org/documentati...dialog/t1.html

    Topic: Disable Trash / KGPG Default Setting / Context Menu
    http://kubuntuforums.net/forums/inde...opic=3090842.0


    Previews:
    Attached Files
    Last edited by Rog131; Mar 22, 2014, 10:20 AM.
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    #2
    Re: Service Menus with Dolphin

    This is an interesting workaround for D3lphin's shortcomings. Thanks for the howto. Let's see if we can get it inside Kubuntu by default for Hardy, IF we still have D3lphin enabled by default there.
    Jucato&#39;s Data Core

    Comment


      #3
      Re: Service Menus with Dolphin

      Pack With Ark

      Link to Topic: Rar not working
      http://kubuntuforums.net/forums/inde...opic=3089986.0


      Dolphin don't have Konquerors "Compress As" menu. Simple way to add it to the Dolphin:

      Make "ark_pack.desktop" text file. Put there:
      Code:
      [Desktop Entry]
      ServiceTypes=all/allfiles,inode/directory
      Actions=Rar;Zip;7z
      Encoding=UTF-8
      X-KDE-Submenu=Pack With Ark
      
      [Desktop Action Rar]
      Name=Rar
      Icon=kimproxyoffline
      Exec=ark --add-to %U %U.rar 
      
      [Desktop Action Zip]
      Name=Zip
      Icon=knewstuff
      Exec=ark --add-to %U %U.zip
      
      [Desktop Action 7z]
      Name=7z
      Icon=kimproxyonline
      Exec=ark --add-to %U %U.7z
      Drop it to the /usr/share/apps/dolphin/servicemenus/ (or /usr/share/apps/d3lphin/servicemenus/).

      You need Ark, rar, zip and p7zip-full.

      Package: ark
      Description: graphical archiving tool for KDE
      Ark is a graphical program for managing various archive formats within the
      KDE environment. Archives can be viewed, extracted, created and modified
      from within Ark.
      .
      The program can handle various formats such as tar, gzip, bzip2, zip, rar and
      lha (if appropriate command-line programs are installed).
      .
      Ark can work closely with Konqueror in the KDE environment to handle archives,
      if you install the Konqueror Integration plugin available in the konq-plugins
      package.
      Package: rar
      Description: Archiver for .rar files
      This is the RAR archiver from Eugene Roshal. It supports multiple volume
      archives and damage protection. It can also create SFX-archives. There are
      versions which run on DOS, Windows (3.1x,95,NT), FreeBSD, BSDI.
      .
      This program is shareware and you must register it after 40 days of use.
      .
      Homepage: http://www.rarlabs.com/
      Package: zip
      Description: Archiver for .zip files
      This is InfoZIP's zip program. It produces files that are fully
      compatible with the popular PKZIP program; however, the command line
      options are not identical. In other words, the end result is the same,
      but the methods differ. :-)
      .
      This version supports encryption.
      Package: p7zip-full
      Description: 7z and 7za file archivers with high compression ratio
      p7zip is the Unix port of 7-Zip, a file archiver that archives with
      very high compression ratios.
      .
      p7zip-full provides:
      - /usr/bin/7za
      a standalone version of the 7-zip tool that handles 7z archives
      (implementation of the LZMA compression algorithm) and some other
      formats.
      - /usr/bin/7z
      not only does it handle 7z but also ZIP, Zip64, CAB, RAR, ARJ,
      GZIP, BZIP2, TAR, CPIO, RPM, ISO and DEB archives. 7z compression
      is 30-50% better than ZIP compression.
      .
      p7zip provides 7zr, a light version of 7za.
      .
      Homepage: http://p7zip.sourceforge.net/

      Note
      This is quick & dirty. It works but...
      - There is no name query: foo.foo -> foo.foo.rar
      - Multiple files will be named as foo1, foo2, foo3 -> foo3.rar


      Attached Files
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: Service Menus with Dolphin

        Add the whole path including file name into clipboard (klipper)

        Links to the Topic: Dolphin Media Name
        http://kubuntuforums.net/forums/inde...opic=3090789.0


        Make dklipper.desktop text file and drop it to the /usr/share/apps/d3lphin/servicemenus/ (or /usr/share/apps/dolphin/servicemenus/)

        dklipper.desktop:
        Code:
        [Desktop Entry]
        ServiceTypes=all/allfiles,inode/directory
        Actions=DKlipper;
        Encoding=UTF-8
        Type=Application
        
        [Desktop Action DKlipper]
        Type=Application
        Name=DKlipper
        Icon=attach
        Exec=dcop klipper klipper setClipboardContents %U

        With the KDE 4 same service menu (/usr/share/kde4/services/ServiceMenus):

        to_klipper.desktop
        Code:
        [Desktop Entry]
        Type=Service
        ServiceTypes=KonqPopupMenu/Plugin
        MimeType=all/all;
        Actions=ToKlipper;
        X-KDE-Priority=TopLevel
        X-KDE-Submenu=OneLiners
        
        [Desktop Action ToKlipper]
        Name=To Klipper
        Icon=klipper
        Exec=qdbus org.kde.klipper /klipper org.kde.klipper.klipper.setClipboardContents "%U"

        Link:
        Copying data to the clipboard from the command line under KDE
        http://ftp.traduc.org/doc-vf/gazette.../104/104F.html


        Right click file (or folder) > Actions > DKlipper and:

        Preview Dolphin/Klipper
        Attached Files
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Service Menus with Dolphin

          Symlinks by Click

          KDE 3.5

          By Symlink wiki:
          In computing, a symbolic link (often shortened to symlink and also known as a soft link) consists of a special type of file that serves as a reference to another file or directory. Unix-like operating systems in particular often feature symbolic links.

          With this context menu you can symlink files or folders to the another folder.

          1) Make symlink.desktop:
          Code:
          [Desktop Entry]
          ServiceTypes=all/allfiles,inode/directory
          Actions=Symlink;RootSymlink;
          Encoding=UTF-8
          X-KDE-Submenu=Symlinks by Click
          
          [Desktop Action Symlink]
          Type=Application
          Name=Symlink
          Icon=rebuild
          Exec=ln -s %U `kdialog --getexistingdirectory ~/` 
          
          [Desktop Action RootSymlink]
          Type=Application
          Name=RootSymlink
          Icon=bt
          Exec=kdesu "ln -s" "%U" `kdialog --getexistingdirectory /`
          2) Drop it in to the /usr/share/apps/d3lphin/servicemenus/(or /usr/share/apps/dolphin/servicemenus/. Location depends Dolphin version)

          3) Start linking.


          KDE 4

          Kubuntu Intrepid Ibex (pre-alpha); KDE 4.1 (beta 2)

          1) Making text file symlink.desktop:
          Code:
          [Desktop Entry]
          Type=Service
          X-KDE-ServiceTypes=KonqPopupMenu/Plugin,all/all
          Actions=Symlink;RootSymlink;
          X-KDE-Submenu=Symlinks by Click
          
          [Desktop Action Symlink]
          Type=Application
          Name=Symlink
          Icon=edit-redo
          Exec=ln -s %U `kdialog --getexistingdirectory ~/` 
          
          [Desktop Action RootSymlink]
          Type=Application
          Name=RootSymlink
          Icon=edit-undo
          Exec=kdesudo "ln -s" "%U" `kdialog --getexistingdirectory /`

          2) Dropping symlink.desktop to the /usr/share/kde4/services/ServiceMenus or ~/.kde/share/kde4/services/ServiceMenus/

          3) Linking:
          Attached Files
          Before you edit, BACKUP !

          Why there are dead links ?
          1. Thread: Please explain how to access old kubuntu forum posts
          2. Thread: Lost Information

          Comment


            #6
            Re: Service Menus with Dolphin

            Ark (KDE 3.5 package) with the KDE 4

            This is linking to the Topic: KDE4 and Ark

            Using Kubuntu Gutsy Gibbon - Pure KDE4 desktop: Topic: KDE4: Clean installation with live CD


            1) Installing: Ark

            Package ark
            Recommends: ncompress, unzip, zoo, bzip2, p7zip-full
            Suggests: khelpcenter, rar, unrar/unrar-free
            Installing ark +:
            ncompress (4.2.4.0-2)
            p7zip-full (4.51~dfsg.1-1)
            rar (1:3.7b1-2)
            unrar (1:3.7.3-1.1)
            unrar-free (1:0.0.1+cvs20070515-1)
            unzip (5.52-10ubuntu1)
            zoo (2.10-19)

            2) Making text files:

            ark35_compress.desktop
            Code:
            [Desktop Entry]
            Type=Service
            X-KDE-ServiceTypes=KonqPopupMenu/Plugin,all/all
            Actions=compressHere
            
            [Desktop Action compressHere]
            Name=Compress Here
            Exec=/usr/bin/ark --add-to %u %u.tar.gz
            Icon=ark

            ark35_extract.desktop
            Code:
            [Desktop Entry]
            Type=Service
            X-KDE-ServiceTypes=KonqPopupMenu/Plugin
            MimeType=application/*;
            Actions=extractHere
            
            [Desktop Action extractHere]
            Name=Extract Here
            Exec=/usr/bin/ark --extract-to %d %u
            Icon=ark

            ark35_extract_subdir.desktop
            Code:
            [Desktop Entry]
            Type=Service
            X-KDE-ServiceTypes=KonqPopupMenu/Plugin
            MimeType=application/*;
            Actions=ExtractSubdir
            
            [Desktop Action ExtractSubdir]
            Name=Extract to subdirectory
            Icon=ark
            Exec=/usr/bin/ark -caption "%c" %i %m --guess-name --extract-to "%d" "%u"

            3) Dropping .desktop files to the /usr/lib/kde4/share/kde4/services/ServiceMenus


            4) Testing - Compress Here:



            Working.


            Extract Here - working


            BUT Extract to subdirectory



            Mime type / file extension problem ?
            service.tar.gz => working but service.txt.tar.gz is not acceptable.

            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment


              #7
              Re: Service Menus with Dolphin

              @Rog -- is the "extract here" error caused by the /sda6/temp directory that already exists? Maybe it is refusing to write over the existing /temp.

              Comment


                #8
                Re: Service Menus with Dolphin

                is the "extract here" error caused by the /sda/temp directory that already exists?
                No, that will give a warning:



                It could be wildcards in the mimetype:
                Code:
                MimeType=application/*;
                With KDE 3.5 that is:
                Code:
                X-KDE-ServiceTypes=application/x-gzip,application/x-lha,application/x-tar...
                but that doesn't work with the KDE 4 (at the moment).

                Tested also with:
                Code:
                MimeType=application/x-gzip,application/x-lha,application/x-tar...
                Before you edit, BACKUP !

                Why there are dead links ?
                1. Thread: Please explain how to access old kubuntu forum posts
                2. Thread: Lost Information

                Comment


                  #9
                  Re: Service Menus with Dolphin

                  MediaInfo

                  This is linking to the Mediainfo application on Linux

                  Update (Intrepid + Jaunty)
                  Mediainfo and the mediainfo servicemenu can be found from the PPA repositories > Package name contains: mediainfo


                  1) Making text file mediainfo.desktop:
                  Code:
                  [Desktop Entry]
                  ServiceTypes=audio/*,video/*,application/vnd.rn-realmedia
                  Actions=mediainfo;
                  Encoding=UTF-8
                  Type=Application
                  
                  [Desktop Action mediainfo]
                  Type=Application
                  Name=MediaInfo
                  Icon=video
                  Exec=mediainfo -f "%U" > .mediainfotemp.txt && kdialog --textbox .mediainfotemp.txt 640 480 && rm -f .mediainfotemp.txt
                  2) Dropping it in to the /usr/share/apps/d3lphin/servicemenus/.

                  3) Testing:
                  Attached Files
                  Before you edit, BACKUP !

                  Why there are dead links ?
                  1. Thread: Please explain how to access old kubuntu forum posts
                  2. Thread: Lost Information

                  Comment


                    #10
                    Re: Service Menus with Dolphin

                    Service menus Kubuntu Intrepid Ibex (pre-alpha), KDE 4.1 (Beta 2).


                    This is linking: Any first impressions on KDE 4.1 beta for Kubuntu?


                    This is using ark; version: 4:3.5.9-0ubuntu3


                    Adding Compress Here, Extract Here and Extract to subdirectory service menus:

                    1) Making text files:

                    myark_compress.desktop
                    Code:
                    [Desktop Entry]
                    Type=Service
                    X-KDE-ServiceTypes=KonqPopupMenu/Plugin,all/all
                    Actions=compressHere
                    
                    [Desktop Action compressHere]
                    Name=Compress Here
                    Exec=ark --add-to %u %u.tar.gz
                    Icon=ark
                    myark_extract.desktop
                    Code:
                    [Desktop Entry]
                    Type=Service
                    X-KDE-ServiceTypes=KonqPopupMenu/Plugin
                    MimeType=application/*;
                    Actions=extractHere
                    
                    [Desktop Action extractHere]
                    Name=Extract Here
                    Exec=ark --extract-to %d %u
                    Icon=ark
                    myark_extract_subdir.desktop
                    Code:
                    [Desktop Entry]
                    Type=Service
                    X-KDE-ServiceTypes=KonqPopupMenu/Plugin
                    MimeType=application/*;
                    Actions=ExtractSubdir
                    
                    [Desktop Action ExtractSubdir]
                    Name=Extract to subdirectory
                    Icon=ark
                    Exec=ark -caption "%c" %i %m --guess-name --extract-to "%d" "%u"

                    2) Dropping them in the /usr/share/kde4/services


                    3) Testing...
                    Attached Files
                    Before you edit, BACKUP !

                    Why there are dead links ?
                    1. Thread: Please explain how to access old kubuntu forum posts
                    2. Thread: Lost Information

                    Comment


                      #11
                      Re: Service Menus with Dolphin

                      Service menu KArchiver

                      This is linking: KDE Ark 4.1 Beta 2


                      karchiver (repositories)
                      work with compressed files
                      With kArchiver, you can create and manipulate tar.gz, tar.bz2, zip, rar...
                      archives just with your mouse. You can add files, remove (with undo/redo),
                      view one or more files thanks to its multiselection window.

                      You can also convert files between various archive formats, for example a
                      tar.bz2 to a zip, or even create multi-platform self-extracting archives!

                      KArchiver has some wizards that will help you in compiling and
                      installing softwares through an interface, and in applying patches. It has
                      an archive "browser", that displays archives in the current directory,
                      a search tool (to quickly find all archives) and an automatic
                      splitter/unsplitter to make a file fit on a floppy or inside an email.
                      kArchiver has been made to be intuitive and powerful!
                      > KArchiver KDE-Apps.org

                      > KArchiver freshmeat


                      Command:
                      Code:
                      karchiver --help
                      tells:
                      Options:
                      -x, --extract <directory> Extract to the specified directory
                      --xe, --extractgui Extract and choose directory in a dialog box
                      --xh, --extracthere Extract to current directory
                      --xa, --extractarchdir Extract to the directory where the archive is
                      -c, --compress Make a .tar.gz archive from these files
                      --nd, --withoutdcop disable DCOP. Some functions may not work!!
                      --nw, --withoutwizard disable the configuration wizard
                      --prefered <compressor_extension> Set the default compressor when right-clicking a file.Enter one of these extensions: tar, tar.gz, tar.bz2, zip, rar, lha, gz, bz2

                      1) Making text file karchiver.desktop:
                      Code:
                      [Desktop Entry]
                      Type=Service
                      X-KDE-ServiceTypes=KonqPopupMenu/Plugin,all/all
                      Actions=CompressHere;ExtractHere;ExtractWhere;
                      X-KDE-Submenu=KArchiver
                      
                      [Desktop Action CompressHere]
                      Type=Application
                      Name=Compress Here
                      Exec=karchiver -c %U
                      Icon=archive-insert
                      
                      [Desktop Action ExtractHere]
                      Type=Application
                      Name=Extract Here
                      Exec=karchiver --xa %u
                      Icon=archive-extract
                      
                      [Desktop Action ExtractWhere]
                      Type=Application
                      Name=Extract to Where
                      Icon=archive-insert-directory
                      Exec=karchiver --xe %u

                      2) Dropping it in the /usr/share/kde4/services


                      3) Testing notes

                      - There is not "Extract to subdirectory". There is "Extract to Where" - karchiver will ask where to extract.
                      - When compressing more that one file, karchiver will ask archive name, extension (name.zip, name.tar.gz ...) and where to save archive (Browse).

                      Attached Files
                      Before you edit, BACKUP !

                      Why there are dead links ?
                      1. Thread: Please explain how to access old kubuntu forum posts
                      2. Thread: Lost Information

                      Comment


                        #12
                        Re: Service Menus with Dolphin

                        Removing without Shift + Delete


                        This is linking to the Topic: add delete to right click menu and to the Topic: Disabling the trash...


                        Note / warning
                        I don't use this and i don't recommend to use this :-X !


                        KDE 3.5

                        Making a remove.desktop file:
                        Code:
                        [Desktop Entry]
                        ServiceTypes=all/allfiles,inode/directory
                        Actions=remove;
                        Encoding=UTF-8
                        Type=Application
                        
                        [Desktop Action remove]
                        Type=Application
                        Name=Remove
                        Icon=button_cancel
                        Exec=rm -f "%U"
                        Dropping .desktop file to the /usr/share/apps/d3lphin/servicemenus/


                        man rm tells:
                        RM(1) User Commands RM(1)

                        NAME
                        rm - remove files or directories

                        SYNOPSIS
                        rm [OPTION]... FILE...

                        DESCRIPTION
                        This manual page documents the GNU version of rm. rm removes each
                        specified file. By default, it does not remove directories.

                        If a file is unwritable, the standard input is a tty, and the -f or
                        --force option is not given, rm prompts the user for whether to remove
                        the file. If the response is not affirmative, the file is skipped.

                        OPTIONS

                        -f, --force
                        ignore nonexistent files, never prompt

                        KDE 4

                        Making a .desktop file (delete.desktop):
                        Code:
                        [Desktop Entry]
                        Type=Service
                        ServiceTypes=KonqPopupMenu/Plugin
                        MimeType=all/allfiles;inode/directory;
                        Actions=remove;
                        Encoding=UTF-8
                        X-KDE-Priority=TopLevel
                        
                        [Desktop Action remove]
                        Type=Application
                        Name=Delete
                        Icon=edit-delete
                        Exec=rm -f "%U"
                        and dropping it to the ~/.kde/share/kde4/services/ServiceMenus/

                        Attached Files
                        Before you edit, BACKUP !

                        Why there are dead links ?
                        1. Thread: Please explain how to access old kubuntu forum posts
                        2. Thread: Lost Information

                        Comment


                          #13
                          Re: Service Menus with Dolphin

                          When I first installed KDE4 and ran Dolphin, the Action/Service Menus were the first things that I noticed were missing. I did not like how Konquer wanted to be the solve all solution to File Management, Media Player, Web Browser, etc... But, the one thing that made handling management of large amounts of files was partly (a big part) to do with the Service Menus. The quest was on to make them work in Dolphin. That led me here.

                          While most of the information here helped, it is not complete and unfortunately there isn't much help elsewhere. So instead of naming who gave what good info and just adding mine, I will start from the top so that it is all in one place for the next person with the same problem. Before I begin I would like to thank everyone here for the help (you will probably see some of your info below ).

                          Please note, this guide is for Kubuntu 8.10.

                          Service Menu files are named:

                          <service>.desktop

                          where <service> is a whatever the author wants to name the file and is
                          not seen in Dolphin. These files are located in various directories:

                          System wide (for all users) service menus:
                          • Konqueror: /usr/share/apps/konqueror/servicemenus
                          • Dolphin: /usr/share/kde4/services/ServiceMenus


                          Home folder (for a user) service menus:
                          • Konqueror: ~/.kde/share/apps/konqueror/servicemenus
                          • Dolphin: ~/.kde/share/kde4/services/ServiceMenus


                          The location of the 'services' portion can be found by using the following command
                          (only really needed if you are using a different distro or version of Kubuntu):

                          bash$ kde4-config --path services

                          Desktop files:

                          The desktop file format for Dolphin is the same as for Konqueror except for two additional
                          lines (below is a comparison):



                          Konqueror
                          Dolphin


                          [Desktop Entry]

                          Encoding=UTF-8
                          ServiceTypes=all/allfiles
                          Actions=Rename

                          [Desktop Entry]
                          Type=Service
                          Encoding=UTF-8
                          ServiceTypes=all/allfiles
                          Actions=Rename

                          X-KDE-ServiceTypes=KonqPopupMenu/Plugin




                          Make a copy of the original Konqueror files to a temporary directory and add the lines
                          in red to the files. Finally copy them into either your home ServiceMenu directory or the
                          system's ServiceMenu directory, then if Dolphin is running close it and reopen it.

                          Your newly ported Konqueror Service Menus should now be in your right click menus. 8)

                          Hope this helps and thanx again for everyone's
                          info here on the subject to bring all this together,

                          -GrafXMan

                          Comment


                            #14
                            Re: Service Menus with Dolphin

                            Paste (copy) over an existing file

                            This is linking to the Re: HOWTO : create own (partial) icon theme


                            Earlier > Add the whole path including file name into clipboard (klipper)

                            This service menu is using the information at the klipper to copy a (image) file over an existing file.


                            KDE 3.5

                            At the /usr/share/apps/d3lphin/servicemenus/. paste_over.desktop:
                            Code:
                            [Desktop Entry]
                            ServiceTypes=image/*
                            Actions=Paste_Over;
                            Encoding=UTF-8
                            Type=Application
                            
                            [Desktop Action Paste_Over]
                            Type=Application
                            Name=Paste Over
                            Icon=svn_switch
                            Exec=cp `dcop klipper klipper getClipboardContents` "%u"

                            KDE 4

                            At the /usr/share/kde4/services/ServiceMenus. paste_over.desktop:
                            Code:
                            [Desktop Entry]
                            Type=Service
                            ServiceTypes=KonqPopupMenu/Plugin
                            MimeType=image/*;
                            Actions=Paste_Over
                            X-KDE-Priority=TopLevel
                            X-KDE-Submenu=OneLiners
                            
                            [Desktop Action Paste_Over]
                            Name=Paste Over
                            Icon=svn_switch
                            Exec=cp `qdbus org.kde.klipper /klipper org.kde.klipper.klipper.getClipboardContents` "%u"

                            Use
                            (this is with the KDE 4)

                            File #1
                            Right click a file > OneLiners > To Klipper
                            - file name with the full path is copied to the clipboard.

                            File #2
                            Right click a image file > OneLiners > Paste Over
                            - file, which name+path, is at the klipper is copied over the file #2.
                            - file #2 will keep its orginal name, information is copied not the name.

                            Pic: Copying images between > Leopard-Style and > Crystal-Project

                            Before you edit, BACKUP !

                            Why there are dead links ?
                            1. Thread: Please explain how to access old kubuntu forum posts
                            2. Thread: Lost Information

                            Comment


                              #15
                              Re: Service Menus with Dolphin

                              Exif information context menu

                              > Exchangeable image file format

                              Exiftool > Exif viever
                              Exiftool
                              With ExifTool you will have the possibility to watch all or part of the EXIF values and to have them sorted by groups or not. ExifTool is a dedicated EXIF viewer, a free command line tool that works under Linux, Mac and Windows.
                              The Exiftool is part of the package: libimage-exiftool-perl:
                              Library and program to read and write meta information in multimedia files

                              ExifTool is a Perl module with an included command-line application
                              for reading and writing meta information in image, audio and video
                              files. It recognizes EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile,
                              Photoshop IRB, FlashPix, AFCP and ID3 meta information as well as the
                              maker notes of many digital cameras including Canon, Casio, FujiFilm,
                              JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Olympus/Epson,
                              Panasonic/Leica, Pentax/Asahi, Ricoh, Sanyo and Sigma/Foveon.
                              Making a .desktop file (show_exif_information.desktop):
                              Code:
                              [Desktop Entry]
                              Type=Service
                              ServiceTypes=KonqPopupMenu/Plugin
                              MimeType=image/*;
                              Actions=;ExifInformation;
                              X-KDE-Priority=TopLevel
                              X-KDE-Submenu=Image
                              
                              [Desktop Action ExifInformation]
                              Name=Show Exif Information
                              Icon=folder-image
                              Exec=exiftool -a -u -g1 "%f" > .exif_information.txt && kdialog --textbox .exif_information.txt 640 480 && rm -f .exif_information.txt
                              Dropping it to the ~/.kde/share/kde4/services/ServiceMenus and right clicking an image file > Image > Show Exif Information



                              A KDialog window is popping up with:

                              ---- ExifTool ----
                              ExifTool Version Number : 7.30
                              ---- File ----
                              File Name : 2007-0503srb.jpg
                              Directory : /media/sdb3/background
                              File Size : 510 kB
                              File Modification Date/Time : 2007:05:04 11:12:23
                              File Type : JPEG
                              MIME Type : image/jpeg
                              Image Width : 571
                              Image Height : 720
                              Encoding Process : Baseline DCT, Huffman coding
                              Bits Per Sample : 8
                              Color Components : 3
                              Y Cb Cr Sub Sampling : YCbCr4:4:4 (1 1)
                              ---- JFIF ----
                              ...
                              ---- IPTC ----
                              Application Record Version : 2
                              Caption-Abstract : Installation Of Nose Cone/ Forward Skirt Onto Left SRB Segments. (MIX FILE)
                              Keywords : SRB, Solid Rocket Booster
                              ...
                              ++ Lot of information...


                              From the PPA repositories (> FAQ: Repositories ) : servicemenu-exif-information
                              Before you edit, BACKUP !

                              Why there are dead links ?
                              1. Thread: Please explain how to access old kubuntu forum posts
                              2. Thread: Lost Information

                              Comment

                              Working...
                              X