From Electron Cloud
(New page: This is useful with ClearCase for hijacking files that are currently read-only: you can right-click on a file, select Actions|Make Writeable. To get this menu create ~/.kde*/share/apps/ko...) |
|||
Line 8: | Line 8: | ||
Icon=add_user | Icon=add_user | ||
Exec=chmod u+w %U | Exec=chmod u+w %U | ||
+ | </pre> | ||
+ | |||
+ | This one creates a ClearCase submenu (not really tested enough though): | ||
+ | <pre> | ||
+ | [Desktop Entry] | ||
+ | ServiceTypes=text/x-c++src,text/x-c++hdr,text/plain,text/x-makefile | ||
+ | Actions=checkin;checkout;append-log;replace-log;un-checkout | ||
+ | X-KDE-Priority=TopLevel | ||
+ | X-KDE-Submenu=ClearCase | ||
+ | [Desktop Action checkin] | ||
+ | Name=Check In | ||
+ | Exec=/opt/rational/clearcase/bin/cleartool ci %U | ||
+ | [Desktop Action checkout] | ||
+ | Name=Check Out | ||
+ | Exec=/opt/rational/clearcase/bin/cleartool co %U | ||
+ | [Desktop Action append-log] | ||
+ | Name=Prepend to $Log:$ | ||
+ | Exec=/home/rutledge/bin/top-comment-to-log.pl %U | ||
+ | [Desktop Action replace-log] | ||
+ | Name=Replace $Log:$ | ||
+ | Exec=/home/rutledge/bin/lshist-to-log.pl %U | ||
+ | [Desktop Action un-checkout] | ||
+ | Name=UnCheckOut | ||
+ | Exec=/opt/rational/clearcase/bin/cleartool unco %U | ||
</pre> | </pre> |
Revision as of 11:22, 13 August 2008
This is useful with ClearCase for hijacking files that are currently read-only: you can right-click on a file, select Actions|Make Writeable. To get this menu create ~/.kde*/share/apps/konqueror/servicemenus/makeWriteable.desktop:
[Desktop Entry] ServiceTypes=text/*,application/*,image/* Actions=makeWriteable [Desktop Action makeWriteable] Name=Make Writeable Icon=add_user Exec=chmod u+w %U
This one creates a ClearCase submenu (not really tested enough though):
[Desktop Entry] ServiceTypes=text/x-c++src,text/x-c++hdr,text/plain,text/x-makefile Actions=checkin;checkout;append-log;replace-log;un-checkout X-KDE-Priority=TopLevel X-KDE-Submenu=ClearCase [Desktop Action checkin] Name=Check In Exec=/opt/rational/clearcase/bin/cleartool ci %U [Desktop Action checkout] Name=Check Out Exec=/opt/rational/clearcase/bin/cleartool co %U [Desktop Action append-log] Name=Prepend to $Log:$ Exec=/home/rutledge/bin/top-comment-to-log.pl %U [Desktop Action replace-log] Name=Replace $Log:$ Exec=/home/rutledge/bin/lshist-to-log.pl %U [Desktop Action un-checkout] Name=UnCheckOut Exec=/opt/rational/clearcase/bin/cleartool unco %U