Uniform GTK3 And QT Appearance Original

Dolphin Service Menus gtk look uniform

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
6 .0
Description:

DO NOT INSTALL THROUGH DOLPHIN, DOWNLOAD THE ARCHIVE AND EXECUTE THE SCRIPT "INSTALL.sh"
THIS ADD-ON REQUIRES THE "MLOCATE" PACKAGE.
with this add-on it is possible to better integrate gtk applications in the Plasma desktop, simply by changing automatically the background color of the gtk theme with that of the plasma theme.
It works with gtk themes installed by default in plasma, but it is not certain that it works with external themes, due to the possible use of svg.
this add-on does not change the color of the text, and for this reason you must first set a white-based theme (breeze) or a black-based theme (breeze dark) in the plasma settings menu, in order not to lose the contrast.

atymorek

9 months ago

I'm getting "This GTK theme is not compatible. ExitCode:6" error. It seems that the problem is background color being set as a variable instead of being hard-coded:

$ GTK3CurrentColor=$(sed -n '/.menubar {/,/\}/p' "$Posizione$CartellaGTK3"/gtk.css | grep -m1 "background")
$ echo $GTK3CurrentColor
background-color: @theme_bg_color; }

Finally I changed
# GTK3CurrentColor=$(sed -n '/.menubar {/,/\}/p' "$Posizione$CartellaGTK3"/gtk.css | grep "@define-color theme_bg_color" | grep -o "\#......" )
to
GTK3CurrentColor=$(cat "$Posizione$CartellaGTK3"/gtk.css | grep "@define-color" | grep "theme_bg_color" | grep -o "#......")
and it worked

Report

atymorek

9 months ago

There should be no # before GTK3CurrentColor, of course ;)

Report

10

d3xt3r

1 year ago

10 10 the best!

@Skeleton21, could you develop a Dolphin menu service to format a removable USB disk? In the past there was a great and practical solution in the tray bar (https://www.linux-apps.com/content/show.php/Quick+Usb+Formatter?content=137493).

Taking the subject, you could develop something to rename a file or folder on the Plasma desktop with a mouse click on the file or folder name, this is possible in Dolphin, but not on the Plasma desktop! :(

Report

C

skeleton21

1 year ago

Hello. Yes I can do it, it's not something very difficult. however, if you refer to this with the "tray bar" menu: https://cn.opendesktop.org/img//hive/content-pre2/137493-2.jpeg, know that this is just an action that you can already add in plasma(system settings > removable devices).
However to create it I need to rely on a program to format the usb, do you know any program? I was thinking of "mintstick" but it's in gtk and I'd rather use one in qt instead.
For the problem of renaming, I don't know how to help you. however you can press "F2" (or set a custom shortcut) to rename the selected file.
about my addon, what do you think? it works?

Report

10

d3xt3r

1 year ago

@Skeleton21, thank you so much for making such integration possible in Dolphin and tray bar.
I have no problem using MintStick, it would be nice if you could use KDE Partition Manager.

Regarding the possibility of renaming a file or folder on the Plasma desktop with a mouse click on the name, I thought it would be easier, as there is already such a feature in Dolphin, just having to integrate it into the desktop, but I am not a programmer, I am a simple user.

I am using and getting used to your tip, renaming the files using the F2 key, but I confess that I find it more practical to click with the mouse on the file name, because I am used to doing this in Mint and Windows ...

Thank you so much for your attention and for making things more practical on Dolphin / Plasma!

Report

C

skeleton21

1 year ago

kde partion manager is already present in dolphin's menus. just click on the disk space number: https://i.imgur.com/NGBqls6.png.
I preferred not to use kde partition manager because it can do serious damage if used incorrectly and makes formatted partitions owned by the root user, if you choose to format them in ext4 or similar.
however, if you want to add the kde partition manager option to the removable device notifier, just go to: System settings > Removable storage > Action > add > set the name you want > copy this (https://i.imgur.com/oCPzX9w.png)
this is the results: https://i.imgur.com/MMKCnu9.png
if the menu does not appear instantly, you need to logout and login from the account (or reboot).

Report

10

d3xt3r

1 year ago

You're right, thank you very much for your attention.

Report

C

skeleton21

1 year ago

Created:https://www.pling.com/p/1328693/
in the future I think I will replace mintstick with something else.
however, why do you need to format from the menu? if it's just to remove all the files, you'll ruin it with time.
A better solution is to select all the files and then press "SHIFT + DEL", to delete them instantly.

Report

12345678910
1
product-maker d3xt3r Oct 03 2019 10 the best
10 the best! @Skeleton21, could you develop a Dolphin menu service to format a removable USB disk? In the past there was a great and practical solution in the tray bar (https://www.linux-apps.com/content/show.php/Quick+Usb+Formatter?content=137493). Taking the subject, you could develop something to rename a file or folder on the Plasma desktop with a mouse click on the file or folder name, this is possible in Dolphin, but not on the Plasma desktop! :(
Be the first to comment
d3xt3r
Oct 03 2019
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv2 or later
version
0.7
updated Oct 02 2019
added Oct 02 2019
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1