Add a option to not rename desktop entries when generating them
Description
The current behavior of bubblejail generate-desktop-entry sets the Name entry key of a desktop entry to <name of executable> bubble. I prefer having that variable untouched, since I already know that the application is sandboxed.
Hello @effectsbot
This is certainly possible. The main idea behind adding Name={Name} bubble is to make it very obvious that the desktop entry was modified.
Hmm... I think maybe there should be an option to set the Name= key that formatted? For example, --format-name='{Name} bubble' where {Name} will be replaced with original key.
Hmm... I think maybe there should be an option to set the
Name=key that formatted? For example,--format-name='{Name} bubble'where{Name}will be replaced with original key.
Sounds good to me. I know this was just an example, but I think bubble should be in round brackets, just so it is separated from the rest of the name. Maybe that could be the default naming scheme instead of what we currently have.
Hmm... I think maybe there should be an option to set the
Name=key that formatted? For example,--format-name='{Name} bubble'where{Name}will be replaced with original key.Sounds good to me. I know this was just an example, but I think
bubbleshould be in round brackets, just so it is separated from the rest of the name. Maybe that could be the default naming scheme instead of what we currently have.
Good idea. I will look in to it.
I changed the overwritten desktop entry names to (bubble) in 1dfd50fb1e454927ffe7c2aef16c131a3053dcd9.
There is a second type of desktop entries where it is created from scratch. I kept its name as {instance_name} bubble.
I will add an option to format the Name key in the future.