gmm96 / KDE-5-Template-Manager

KDE 5 Dolphin Service Menu for creating a template from an existing file or directory.
https://store.kde.org/p/1454391/
GNU General Public License v3.0
13 stars 5 forks source link

changed Directories to work, bin, service and source. Broken before #16

Open boredsquirrel opened 1 year ago

boredsquirrel commented 1 year ago

somehow the variable dirs dont work. These do, the ~/.local/bin folder is even in $PATH , all is userspace.

the ~/.local/share/kservices5/ServiceMenus is the one normally working right now. Maybe that changes in Plasma 6 but thats then only a small change.

boredsquirrel commented 1 year ago

Hi, best of course would be to use variable paths, but currently for me it doesnt work.

The install.sh puts the .desktop files to the home dir.

The tool puts the resulting .desktop templates to home too.

The way I did it is fixed but should work across all KDE versions if they are up to date.

Also it seems to be required to put the template sources in ~/.local/share/templates/source/ to work consistently. Maybe using dolphin ~/.local/share/templates/source.

Great Extension! Templates need to become more common

boredsquirrel commented 1 year ago

I also removed the rm of the bin_dir, as your script formerly created a new one no other program used, now it just uses an existing bin-directory.

I dont know where you get all these variables from, like window_title etc. For me they are all blank afaik, I couldnt find corresponding lines for them.