diff options
-rwxr-xr-x | kde-tde/convert_existing_kde3_app_to_tde | 3 | ||||
-rwxr-xr-x | kde-tde/convert_kde3_icon_names_to_xdg_standards | 279 |
2 files changed, 282 insertions, 0 deletions
diff --git a/kde-tde/convert_existing_kde3_app_to_tde b/kde-tde/convert_existing_kde3_app_to_tde index 00c9ce4..7d8e5c0 100755 --- a/kde-tde/convert_existing_kde3_app_to_tde +++ b/kde-tde/convert_existing_kde3_app_to_tde @@ -506,3 +506,6 @@ find . -name "kio-*" | while read f; do mv "${f}" "${f/kio-/tdeio-}"; done find . -name "kio.*" | while read f; do mv "${f}" "${f/kio./tdeio.}"; done find . -name "*.kdevelop" | while read f; do mv "${f}" "${f/.kdevelop/.tdevelop}"; done find . -name "kdewidgets*" | while read f; do mv "${f}" "${f/kdewidgets/tdewidgets}"; done + +# Update icon names (optional) +./convert_kde3_icon_names_to_xdg_standards diff --git a/kde-tde/convert_kde3_icon_names_to_xdg_standards b/kde-tde/convert_kde3_icon_names_to_xdg_standards new file mode 100755 index 0000000..f1cf29e --- /dev/null +++ b/kde-tde/convert_kde3_icon_names_to_xdg_standards @@ -0,0 +1,279 @@ +#!/bin/bash +# +# (c) 2014 Timothy Pearson +# All Rights Reserved +# +# WARNING +# This script is not complete! +# Hand editing will likely be required after running to ensure all icon names have been updated +# See http://trinity.etherpad.trinitydesktop.org/60 for a mapping of old KDE3 names to modern XDG names + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("previous")/SmallIconSet("go-previous")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "previous" )/SmallIconSet( "go-previous" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("next")/SmallIconSet("go-next")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "next" )/SmallIconSet( "go-next" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("previous")/SmallIcon("go-previous")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "previous" )/SmallIcon( "go-previous" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("next")/SmallIcon("go-next")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "next" )/SmallIcon( "go-next" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("previous"/loadIcon(""go-previous"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "previous"/loadIcon( ""go-previous"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("next"/loadIcon("go-next"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "next"/loadIcon( "go-next"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("start")/SmallIconSet("go-first")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "start" )/SmallIconSet( "go-first" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("finish")/SmallIconSet("go-last")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "finish" )/SmallIconSet( "go-last" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("start")/SmallIcon("go-first")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "start" )/SmallIcon( "go-first" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("finish")/SmallIcon("go-last")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "finish" )/SmallIcon( "go-last" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("start"/loadIcon("go-first"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "start"/loadIcon( "go-first"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("finish"/loadIcon("go-last"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "finish"/loadIcon( "go-last"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("stop")/SmallIconSet("process-stop")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "stop" )/SmallIconSet( "process-stop" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("lock")/SmallIconSet("system-lock-screen")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "lock" )/SmallIconSet( "system-lock-screen" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("stop")/SmallIcon("process-stop")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "stop" )/SmallIcon( "process-stop" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("lock")/SmallIcon("system-lock-screen")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "lock" )/SmallIcon( "system-lock-screen" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("stop"/loadIcon("process-stop"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "stop"/loadIcon( "process-stop"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("lock"/loadIcon("system-lock-screen"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "lock"/loadIcon( "system-lock-screen"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("exit")/SmallIconSet("system-log-out")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "exit" )/SmallIconSet( "system-log-out" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("run")/SmallIconSet("system-run")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "run" )/SmallIconSet( "system-run" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("exit")/SmallIcon("system-log-out")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "exit" )/SmallIcon( "system-log-out" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("run")/SmallIcon("system-run")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "run" )/SmallIcon( "system-run" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("exit"/loadIcon("system-log-out"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "exit"/loadIcon( "system-log-out"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("run"/loadIcon("system-run"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "run"/loadIcon( "system-run"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("up")/SmallIconSet("go-up")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "up" )/SmallIconSet( "go-up" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("down")/SmallIconSet("go-down")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "down" )/SmallIconSet( "go-down" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("up")/SmallIcon("go-up")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "up" )/SmallIcon( "go-up" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("down")/SmallIcon("go-down")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "down" )/SmallIcon( "go-down" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("up"/loadIcon("go-up"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "up"/loadIcon( "go-up"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("down"/loadIcon("go-down"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "down"/loadIcon( "go-down"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("top")/SmallIconSet("go-top")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "top" )/SmallIconSet( "go-top" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("bottom")/SmallIconSet("go-bottom")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "bottom" )/SmallIconSet( "go-bottom" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("top")/SmallIcon("go-top")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "top" )/SmallIcon( "go-top" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("bottom")/SmallIcon("go-bottom")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "bottom" )/SmallIcon( "go-bottom" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("top"/loadIcon("go-top"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "top"/loadIcon( "go-top"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("bottom"/loadIcon("go-bottom"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "bottom"/loadIcon( "go-bottom"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("undo")/SmallIconSet("edit-undo")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "undo" )/SmallIconSet( "edit-undo" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("redo")/SmallIconSet("edit-redo")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "redo" )/SmallIconSet( "edit-redo" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("undo")/SmallIcon("edit-undo")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "undo" )/SmallIcon( "edit-undo" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("redo")/SmallIcon("edit-redo")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "redo" )/SmallIcon( "edit-redo" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("undo"/loadIcon("edit-undo"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "undo"/loadIcon( "edit-undo"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("redo"/loadIcon("edit-redo"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "redo"/loadIcon( "edit-redo"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("find")/SmallIconSet("edit-find")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "find" )/SmallIconSet( "edit-find" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("revert")/SmallIconSet("document-revert")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "revert" )/SmallIconSet( "document-revert" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("find")/SmallIcon("edit-find")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "find" )/SmallIcon( "edit-find" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("revert")/SmallIcon("document-revert")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "revert" )/SmallIcon( "document-revert" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("find"/loadIcon("edit-find"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "find"/loadIcon( "edit-find"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("revert"/loadIcon("document-revert"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "revert"/loadIcon( "document-revert"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"filenew"/"document-new"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"filenew"/"document-new"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"fileopen"/"document-open"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"fileopen"/"document-open"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"fileprint"/"document-print"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"fileprint"/"document-print"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"filequickprint"/"document-print-preview"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"filequickprint"/"document-print-preview"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"filesave"/"document-save"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"filesave"/"document-save"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"filesaveas"/"document-save-as"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"filesaveas"/"document-save-as"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"fileclose"/"window-close"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"fileclose"/"window-close"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"editclear"/"edit-clear"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"editclear"/"edit-clear"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"editcopy"/"edit-copy"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"editcopy"/"edit-copy"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"editcut"/"edit-cut"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"editcut"/"edit-cut"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"editdelete"/"edit-delete"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"editdelete"/"edit-delete"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"editpaste"/"edit-paste"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"editpaste"/"edit-paste"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"folder_new"/"folder-new"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"folder_new"/"folder-new"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"gohome"/"go-home"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"gohome"/"go-home"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"mail_forward"/"mail-forward"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"mail_forward"/"mail-forward"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"mail_new"/"mail-message-new"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"mail_new"/"mail-message-new"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"mail_replyall"/"mail-reply-all"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"mail_replyall"/"mail-reply-all"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"mail_reply"/"mail-reply-sender"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"mail_reply"/"mail-reply-sender"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"mail_send"/"mail-send"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"mail_send"/"mail-send"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"player_pause"/"media-playback-pause"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"player_pause"/"media-playback-pause"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"player_play"/"media-playback-start"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"player_play"/"media-playback-start"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"player_stop"/"media-playback-stop"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"player_stop"/"media-playback-stop"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"player_rew"/"media-seek-backward"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"player_rew"/"media-seek-backward"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"player_fwd"/"media-seek-forward"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"player_fwd"/"media-seek-forward"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"player_start"/"media-skip-backward"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"player_start"/"media-skip-backward"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"player_end"/"media-skip-forward"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"player_end"/"media-skip-forward"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"rotate_ccw"/"object-rotate-left"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"rotate_ccw"/"object-rotate-left"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"rotate_cw"/"object-rotate-right"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"rotate_cw"/"object-rotate-right"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"window_fullscreen"/"view-fullscreen"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"window_fullscreen"/"view-fullscreen"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"window_nofullscreen"/"view-restore"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"window_nofullscreen"/"view-restore"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"window_new"/"window-new"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"window_new"/"window-new"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"viewmagfit"/"zoom-fit-best"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"viewmagfit"/"zoom-fit-best"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"viewmag+"/"zoom-in"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"viewmag+"/"zoom-in"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"viewmag1"/"zoom-original"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"viewmag1"/"zoom-original"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"viewmag-"/"zoom-out"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"viewmag-"/"zoom-out"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("unindent")/SmallIconSet("format-indent-less")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "unindent" )/SmallIconSet( "format-indent-less" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet("indent")/SmallIconSet("format-indent-more")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIconSet( "indent" )/SmallIconSet( "format-indent-more" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("unindent")/SmallIcon("format-indent-less")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "unindent" )/SmallIcon( "format-indent-less" )/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon("indent")/SmallIcon("format-indent-more")/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/SmallIcon( "indent" )/SmallIcon( "format-indent-more" )/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("unindent"/loadIcon("format-indent-less"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "unindent"/loadIcon( "format-indent-less"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon("indent"/loadIcon("format-indent-more"/g' {} \; +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/loadIcon( "indent"/loadIcon( "format-indent-more"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"centrejust"/"format-justify-center"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"centrejust"/"format-justify-center"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"leftjust"/"format-justify-left"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"leftjust"/"format-justify-left"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"rightjust"/"format-justify-right"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"rightjust"/"format-justify-right"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"text_left"/"format-text-direction-ltr"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"text_left"/"format-text-direction-ltr"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"text_right"/"format-text-direction-rtl"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"text_right"/"format-text-direction-rtl"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"text_bold"/"format-text-bold"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"text_bold"/"format-text-bold"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"text_italic"/"format-text-italic"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"text_italic"/"format-text-italic"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"text_under"/"format-text-underline"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"text_under"/"format-text-underline"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"text_strike"/"format-text-strikethrough"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"text_strike"/"format-text-strikethrough"/g' {} \; + +find ./ -type f -iname "*.c*" -not -iwholename '*.git*' -exec sed -i 's/"spellcheck"/"tools-check-spelling"/g' {} \; +find ./ -type f -iname "*.h*" -not -iwholename '*.git*' -exec sed -i 's/"spellcheck"/"tools-check-spelling"/g' {} \; |