balarm wrote:@richb fantastic work, thank you.
@fehlix could you explein step by step how to insert your code in the Switch Button?? Thanks a lot.
All are right - I should have been more explicit in spelling this out.
OK. here it goes - one way of doing this.
Create a empty file on the Desktop by right-click'ng
on an empty space on the Desktop - let's call it "switch-theme.desktop".
So your empty file has the name "switch-theme.desktop".
Right click and open that empty file within FeatherPad.
Now Copy'n'Paste the code above into FeatherPad.
Save the file and exit FeatherPad.
You can click (or double click resp.) onto the file
and get ask for mark the file executable which you should confirm.
Now - one (quick) way of placing the icon-button onto the panel
would be by Drag'n'Drop the icon onto the panel.
Another more permanent way would be to copy the desktop-file
"switch-theme.desktop" into you private application folder
( which is unter you home-folder the "hidden" folder .local/share/applications)
To see the "hidden" folder within the file-manager press CTRl-h
to hide/unhide the "hidden" folders)
By placing the "switch-theme.desktop" into the
~/.local/share/applications the menu-magic happens:
You'll find a new "Switch Theme" button with the
Menu under Settings.
So now whenever you want to place that button on the panel
you right-click with the Settings-Menu in the button and
"Add to Panel".
Happy switching ;=)