-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (3) .- Knowledge Base  . 

Meld Menu

   0.4  

KDE Service Menu

Score 65%
Meld Menu
zoom


Meld Menu
zoom


Homepage:  http://www.bug-a-boo.de
Depends on  KDE 4.x
Downloads:  226
Submitted:  Nov 26 2012
Updated:  Jan 13 2014

Description:

A complete service menu to compare your files or folders with meld.

Functioning
To handed the files to meld, you have two choices.

variant A
Clicking the right mouse button on a file or folder using the menu item "Set file/folder" the first argument set to compare. In the background, the file/folder is stored as a variable in the /tmp directory.
In another file or another folder will now be using the menu option "Compare with file/folder" is a 2-way comparison of these two starts. For this purpose, in the background, the first argument is read and compared to the currently specified.
pros:
- The files/folders can be located in different places.
Cons:
- Only a 2-way comparison.
- Somewhat more complicated in the input.

variant B
This variation in Dolphin initially up to three files or folders selected. With the menu item "selected comparisons files/folders" this selection is passed to meld.
pros:
- A 3-way comparison is possible.
- Easier to enter.
Cons:
- The files/folders must be in the same folder.

Install
Storage location as there are 2 paths to choose from.
Copy the file to:
~/.kde4/share/kde4/services/ServiceMenus/ (current user)
or
/usr/share/services/ServiceMenus/ (all users)

With the command "kde4-config --path services", the paths could be checked.

The file is dependent on meld. This can be easily installed via the package manager.

Translation
If your language is not included? Please translate it and send me a message or write a comment. Then I take the language into the script.

A positive assessment encourages progress to the development. Don't forget the vote please.




Changelog:

Version 0.4
- fix: folder with blanks now work (thanks to Trail)

Version 0.3
- Language Topmenu customized (de, es)
- Menu more user-friendly

Version 0.2
- Added menu item "Compare selected files/folders" (thanks to spikyatlinux)
In order for the files/folders are compared, which were selected in Dolphin.
- Added Spanish language (thanks to msx)

Version 0.1
- Simple meld menu




LicenseGPL
other(meld-menu desktop file)
Send to a friend
Subscribe
Other  Artwork  from romankiefer
Report inappropriate content



-
.

 Handy :)

 
 by msx on: Nov 27 2012
 
Score 50%

Nice go! I packaged it for Arch Linux: https://aur.archlinux.org/packages/kde-servicemenus-meld-menu/


Reply to this

-
.

 Perhaps this ist easier ;-)

 
 by spikyatlinux on: Nov 27 2012
 
Score 50%
spikyatlinuxspikyatlinux
Linux NooB
Home
-
Spiky AtLinux 1

Linux NooB
Germany, AskMe if you wanna know
Last visit Nov 28 2012
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

hey,
why so difficult? I use the following code for meld, works with files and folders.

for folders

Quote:

[Desktop Action CompareFolder]
Exec=meld %U
Icon=meld
Name=Compare folders
Name[de]=Unterschiede in Ordnern


and for files

Quote:

[Desktop Action CompareFiles]
Exec=meld %U
Icon=meld
Name=Compare files
Name[de]=Unterschiede in Dateien


regards ;-)


***************************************************************************
..........>..........
........................All my mistakes you can take xD.......................

Reply to this

-
.

 Re: Perhaps this ist easier ;-)

 
 by msx on: Nov 27 2012
 
Score 50%

So then -I presume- you just select the directories or files you want to compare and pick one of the ServiceMenu option?


Reply to this

-
.

 Re: Perhaps this ist easier ;-)

 
 by msx on: Nov 27 2012
 
Score 50%

Forget the above comment, works like charm, I will package a service with your method too.


Reply to this

-
.

 Re: Perhaps this ist easier ;-)

 
 by msx on: Nov 27 2012
 
Score 50%

Okay, this it what I'm gonna do: I will merge your idea with the original package, this way we will have a full-featured Meld ServiceMenu.
Why merging both methods? Easy:

Scenario A) you want to Meld two or more files or directories in the same directory, just select all of them and use the appropiate ServiceMenu.

Scenario B) you want to Meld two files or directories from _different directories_ so you selecte folder/file #1, set it and then go to the other one and Meld it.

Any suggestions and comments are welcomed :)


Reply to this

-
.

 Final meld-menu.desktop

 
 by msx on: Nov 27 2012
 
Score 50%

[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;application/octet-stream;
Actions=CompareFiles;CompareFolder;setArg1;diff;
X-KDE-Priority=TopLevel
X-KDE-Submenu=Meld Menu

[Desktop Action setArg1]
Name=Set file/folder
Name[de]=Setze Datei/Ordner
Name[es]=Marcar archivo/carpeta
Icon=meld
Exec=echo "%U" > /tmp/meld-menu-arg1

[Desktop Action diff]
Name=Diff with file/folder
Name[de]=Vergleiche mit Datei/Ordner
Name[es]=Diff con el archivo/carpeta marcado
Icon=meld
Exec=ARG1=$(cat /tmp/meld-menu-arg1);meld $ARG1 %U;

[Desktop Action CompareFolder]
Exec=meld %U
Icon=meld
Name=Compare folders
Name[de]=Unterschiede in Ordnern
Name[es]=Comparar carpetas

[Desktop Action CompareFiles]
Exec=meld %U
Icon=meld
Name=Compare files
Name[de]=Unterschiede in Dateien
Name[es]=Comparar archivos


I tidied it up and added spanish translations.
Here's a screenshot: http://i.imgur.com/BCg9j.png


Reply to this

-
.

 Re: Re: Perhaps this ist easier ;-)

 
 by msx on: Nov 27 2012
 
Score 50%

Forked and posted here with all correspondent credits given:
http://kde-look.org/content/show.php?content=155509


Reply to this

-

 nice idea

 
 by romankiefer on: Nov 27 2012
 
Score 50%

Hello,
first of all thank you for the advice. I will customize the menu nor accordingly.

@spikyatlinux:
At first glance, it looks simple, but your solution has a downside. When I compare folders or files, I'm not often into the same directory and have jump back and forth. Then I can not use your variant. A menu of both types, but I find good and I will implement yet.

@ msx
I do not know how the others feel, but I find it unnecessary to open another fork. This results in only confusing entries. I will merge the changes into the menu and then the menu exists twice.

Regards, Roman


Reply to this

-
.

 Re: nice idea

 
 by msx on: Nov 27 2012
 
Score 50%

Hello Roman!
As soon as you update Meld Menu I will gladly drop the fork and use your new .desktop file, just let me know :)


Reply to this

-

 Re: Re: nice idea

 
 by romankiefer on: Nov 27 2012
 
Score 50%

The update has already been made. Only the screenshot are not changed (I'll do tonight).
Thanks


Reply to this

-
.

 Re: Re: Re: nice idea

 
 by msx on: Nov 27 2012
 
Score 50%

Done!
The only thing I think it's left to change is the description of the ServiceMenu since it's more powerful now than the first version, I've used this description on the fork I did create, should you like it:

"A complete service menu to Meld your files and folders."

Cheers,
Martin


Reply to this

-
.

 Some work remains.

 
 by romankiefer on: Nov 27 2012
 
Score 50%

Sure, I planned to adjust the description, if I change the screen shots. For that I want to take more time. The functionality I want because even describe a little.

Regards, Roman


Reply to this

-
.

 Nice to help you ;-)

 
 by spikyatlinux on: Nov 28 2012
 
Score 50%
spikyatlinuxspikyatlinux
Linux NooB
Home
-
Spiky AtLinux 1

Linux NooB
Germany, AskMe if you wanna know
Last visit Nov 28 2012
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Nice to see that i can help you, yes you´re right youre solution is good.

Thx for naming me ;-)

Regards


***************************************************************************
..........>..........
........................All my mistakes you can take xD.......................

Reply to this

-

 Making a kompare version

 
 by dantefff on: Feb 27 2013
 
Score 50%

I'm a KDE user so I don't have meld installed (I use kompare), so I made a kompare version (just find and reemplace meld with kompare).

This is the code in case yo would like to post it:

[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;application/octet-stream;
Actions=setArg1;diff;_SEPARATOR_;selected;
X-KDE-Priority=TopLevel
X-KDE-Submenu=Kompare menu
X-KDE-Submenu[de]=Kompare Menü
X-KDE-Submenu[es]=Kompare menú

[Desktop Action setArg1]
Icon=kompare
Exec=echo "%U" > /tmp/kompare-menu-arg1
Name=Set file/folder
Name[de]=Setze Datei/Ordner
Name[es]=Marcar archivo/carpeta

[Desktop Action diff]
Icon=kompare
Exec=ARG1=$(cat /tmp/kompare-menu-arg1);kompare $ARG1 %U;
Name=Compare with file/folder
Name[de]=Vergleiche mit Datei/Ordner
Name[es]=Comparar con el archivo/carpeta marcado

[Desktop Action selected]
Icon=kompare
Exec=kompare %U;
Name=Compare selected files/folder
Name[de]=Vergleiche ausgewählte Dateien/Ordner
Name[es]=Comparar los archivos/carpetas seleccionadas


Reply to this

-
.

 Re: Making a kompare version

 
 by romankiefer on: Mar 4 2013
 
Score 50%

Thanks for the note. Unfortunately, in my opinion kompare can not compete with meld. Therefore, I also use meld and not kompare. As far as I know, by kompare is already a service menu integrated (I'm not sure it's been so long ago).

Is it advisable to take up the code here? Or is it better to set its own app? I think the latter is probably better to avoid mixing, since it deals with a different program. I can then set a reference to kompare-menu.

Regards, Roman


Reply to this

-

 Spaces

 
 by Trail on: Jan 9 2014
 
Score 50%

Hi,
It $ARG1 should probably be escaped with quotes, otherwise paths containing spaces etc do not work.

Exec=ARG1=$(cat /tmp/meld-menu-arg1);meld "$ARG1" %U;

Otherwise works nicely, thanks.


Reply to this

-

 Re: Spaces

 
 by romankiefer on: Jan 9 2014
 
Score 50%

Thanks for the hint. I'll change the code accordingly.


Reply to this

Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.