Increased text-shadows on Desktop

Write suggestions and new ideas in here
More ideas here http://community.linuxmint.com/idea/welcome
Forum rules
  • Only post ideas here that are specifically about the Linux Mint distribution or its websites.
  • So that developers and users from any distribution can discuss ideas in one place, post ideas about improving software to the collaboration website for that software instead.
Post Reply
User avatar
Mumrik93
Level 1
Level 1
Posts: 35
Joined: Tue Dec 04, 2018 12:07 pm
Location: Sweden

Increased text-shadows on Desktop

Post by Mumrik93 » Tue Jan 08, 2019 3:33 pm

I've just recently migrated to Linux from windows and so far i love it, I'm using Linux Mint (Cinnamon) and it's working great, but as time has past and I've started to change wallpapers a few times over the weeks I've realized that Linux Mint lacks apparent text-shadows (under the desktop-icons) I did a quick search and i cant find that many people with this problem (to most it might not be a problem?). I find this troublesome since it really strains my eyes if i use a bright background, the text almost fades into the background.

I've been asking around on the forum for a while ( viewtopic.php?f=90&t=282853&sid=1d9d194 ... b7a921fa1e )
and we've ended up being a little group who rolled ideas on how to increase the shadows, but sadly we didn't manage to solve it. I know that other desktops such as KDE (which i considered using before i chose Cinnamon) and *sigh* Windows, has more apparent text-shadows.

So basically I'm wondering if it's possible to have the text-shadows increased by default? Or event better, make it possible to increase them trough the settings?
Attachments
Text-shadows on the KDE desktop
Text-shadows on the KDE desktop
Pk1fC8u2.png (88.49 KiB) Viewed 1295 times
MS 10 compared to Linux Mint 19 on a bright background. (click for full image)
MS 10 compared to Linux Mint 19 on a bright background. (click for full image)
MS 10 compared to Linux Mint 19 on a darker background.
MS 10 compared to Linux Mint 19 on a darker background.
Mumrik.png (34.43 KiB) Viewed 1295 times

User avatar
Mumrik93
Level 1
Level 1
Posts: 35
Joined: Tue Dec 04, 2018 12:07 pm
Location: Sweden

Re: Increased text-shadows on Desktop

Post by Mumrik93 » Fri Feb 22, 2019 1:34 pm

Took a couple more screenshots comparing my Cinnamon-desktop with a KDE-desktop. The difference is quite big and KDE does come out on top here, the shadows making the text easily readable. Wish i could upload a fullscreen image and not edited ones, but those are too big to upload here :(

Note!*
I'm using a bold font on Cinnamon while the one on KDE is a regular one. It makes it a bit easier to read, especially if the background image has a darker tone, but it's still pretty hard if it's a brighter background.
Attachments
KDE, Regular text
KDE, Regular text
Screenshot_20190222_175824.png (107.13 KiB) Viewed 1150 times
Cinnamon, Bold text
Cinnamon, Bold text
cinnamon_small_bold.png (42.99 KiB) Viewed 1150 times

User avatar
smurphos
Level 12
Level 12
Posts: 4400
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Increased text-shadows on Desktop

Post by smurphos » Sat Feb 23, 2019 3:20 am

You might be interested in these discussions on the Nemo github.

https://github.com/linuxmint/nemo/commi ... c388503751

https://github.com/linuxmint/nemo/issues/1658
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

User avatar
Mumrik93
Level 1
Level 1
Posts: 35
Joined: Tue Dec 04, 2018 12:07 pm
Location: Sweden

Re: Increased text-shadows on Desktop

Post by Mumrik93 » Sat Feb 23, 2019 7:51 am

smurphos wrote:
Sat Feb 23, 2019 3:20 am
You might be interested in these discussions on the Nemo github.

https://github.com/linuxmint/nemo/commi ... c388503751

https://github.com/linuxmint/nemo/issues/1658
Looks really interesting! Sadly i cant find the correct .css file to try it out :(
Tried editing my current themes gtk.css, the Adwaita themes gtk.css, the Linux Mint -> Cinnamon gtk.css (also in the theme section) and the Mint-Y gtk.css file as well, but none resulted in any difference even after rebooting :( I might be editing the wrong .css files, i'm still a noob when it comes to this after all, but i dont know where else to look.

User avatar
smurphos
Level 12
Level 12
Posts: 4400
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Increased text-shadows on Desktop

Post by smurphos » Sat Feb 23, 2019 9:01 am

There's nothing to try out other than downloading the source code, editting it and recompiling Nemo.

The defaults are hardcoded into Nemo and can't be overwritten or themed by external themes anymore as far as I am aware.


Edit to add looking at the code and how GTK sets it's priorities for CSS sources it should still be possible to override with user set CSS in ~/.config/gtk-3.0/gtk.css. I couldn't get it to work earlier though.
Last edited by smurphos on Sun Feb 24, 2019 4:07 am, edited 1 time in total.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

User avatar
Mumrik93
Level 1
Level 1
Posts: 35
Joined: Tue Dec 04, 2018 12:07 pm
Location: Sweden

Re: Increased text-shadows on Desktop

Post by Mumrik93 » Sat Feb 23, 2019 12:00 pm

smurphos wrote:
Sat Feb 23, 2019 9:01 am
There's nothing to try out other than downloading the source code, editting it and recompiling Nemo.

The defaults are hardcoded into Nemo and can't be overwritten or themed by external themes anymore as far as I am aware.

Edit to add looking at the code and how GTK sets it's priorities for CSS sources it should still be possible to override with user set CSS in ~/.config/gtk-3.0/gtk.css. I couldn't get it to work earlier though.
Mm this sounds a bit too advanced for a newbie like me to handle, i should probably leave it for the time being. Cross my fingers that there might be a easier way in the future to increase the shadows.
Thanks for the help though! Appreciate it!

User avatar
smurphos
Level 12
Level 12
Posts: 4400
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Increased text-shadows on Desktop

Post by smurphos » Sun Feb 24, 2019 3:31 am

It's not hard. And it does actually still work - I just wasn't taking the right steps to get the over-ride to take in testing. Screens are from Cinnamon 4.0.9 / Mint 19.1

In all cases you need a file in your home folder called ~/.config/gtk-3.0/gtk.css with the following content and save.

One saved press Alt-F2 to bring up the run dialog. Enter pkill nemo-desktop. Press Alt-F2 again and enter nemo-desktop. Repeat this after any edits.

Example 1

Code: Select all

.nemo-desktop.nemo-canvas-item {
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}
Image

Example 2

Code: Select all

.nemo-desktop.nemo-canvas-item {
    color: #fff;
    text-shadow: 2px 2px 3px #000;
}
Image

Example 3

Code: Select all

.nemo-desktop.nemo-canvas-item {
    color: #fff;
    text-shadow: 0px 0px 2px #000, 0px 0px 2px #000;
}
Image
Last edited by smurphos on Sun Feb 24, 2019 3:56 am, edited 1 time in total.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

User avatar
smurphos
Level 12
Level 12
Posts: 4400
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Increased text-shadows on Desktop

Post by smurphos » Sun Feb 24, 2019 3:55 am

For your chosen Controls/GTK theme theme to have more control over the hover and selected effects you can also try this content for ~/.config/gtk-3.0/gtk.css (buildng on example 3 above).

Code: Select all

.nemo-desktop.nemo-canvas-item {
    color: #fff;
    text-shadow: 0px 0px 2px #000, 0px 0px 2px #000;
}
.nemo-desktop.nemo-canvas-item:hover {
    background-color: alpha(@theme_selected_bg_color, 0.33);
    background-image: none;
}
.nemo-desktop.nemo-canvas-item:selected {
    background-color: @theme_selected_bg_color;
    background-image: none;
    color: @theme_selected_fg_color;
    text-shadow: none;
}
Mint-Y theme - Hover....
Image

Selected
Image
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

User avatar
Mumrik93
Level 1
Level 1
Posts: 35
Joined: Tue Dec 04, 2018 12:07 pm
Location: Sweden

Re: Increased text-shadows on Desktop

Post by Mumrik93 » Sun Feb 24, 2019 8:39 am

Oh my god, it really works! It looks great! I'm saving this conversation to my dropbox, aint letting myself forget how to do this again!

Thanks a lot for taking the time to help a noob out! Now my desktop looks perfect!

User avatar
Valsodar
Level 4
Level 4
Posts: 226
Joined: Thu Jul 19, 2018 11:30 pm
Location: Sofia, Bulgaria
Contact:

Re: Increased text-shadows on Desktop

Post by Valsodar » Mon Apr 15, 2019 1:55 pm

Using this instruction and considering CSS is still CSS as far as the CPU is concerned, I started looking for better solutions (cuz text shadow as shown above isn't really my style) and eventually found the perfect one! It even has its own generator of outlining code. And with some minor tweaking I got the text of my desktop icons to what I needed. Here's a screenshot of the result:

Image

Don't worry, ofc I'm gonna share my findings, I just wanted you to see the result first. :)
So, this is the address. Let the desktop tinkering start now! :mrgreen:

https://html-css-js.com/css/generator/text-shadow/
AsRock B85M Pro4, Core i3-4170, Palit GTX 1050 Ti 4GB, Corsair CX750 PSU, Corsair 32GB DDR3-1600, Corsair Force LE 120GB, WD Caviar Blue + Green = 1.5TB, Firefox 65+ x64, 5.0.13-arch1-1-ARCH Cinnamon

User avatar
smurphos
Level 12
Level 12
Posts: 4400
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Increased text-shadows on Desktop

Post by smurphos » Tue Apr 16, 2019 12:35 am

Valsodar wrote:
Mon Apr 15, 2019 1:55 pm
Using this instruction and considering CSS is still CSS as far as the CPU is concerned, I started looking for better solutions (cuz text shadow as shown above isn't really my style) and eventually found the perfect one! It even has its own generator of outlining code. And with some minor tweaking I got the text of my desktop icons to what I needed.
Something like this? :) That's a handy little tool.

Code: Select all

.nemo-desktop.nemo-canvas-item {
    color: #fff;
    text-shadow: 0px 0px 2px #000000, 2px 2px 2px #000000, -2px -2px 2px #000000, -2px 2px 2px #000000, 2px -2px 2px #000000, -2px 0px 2px #000000, 2px 0px 2px #000000, 0px -2px 2px #000000, 0px 2px 2px #000000;
}
Image

Or maybe...

Code: Select all

.nemo-desktop.nemo-canvas-item {
    color: #fff;
    text-shadow: 0px 0px 2px #000, 1px 1px #000, 1px -1px #000, -1px 1px #000, -1px -1px #000, 1px 0px #000, 0px 1px #000, -1px 0px #000, 0px -1px #000;
}
Image
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

User avatar
Valsodar
Level 4
Level 4
Posts: 226
Joined: Thu Jul 19, 2018 11:30 pm
Location: Sofia, Bulgaria
Contact:

Re: Increased text-shadows on Desktop

Post by Valsodar » Tue Apr 16, 2019 3:10 pm

smurphos wrote:
Tue Apr 16, 2019 12:35 am
Something like this? :) That's a handy little tool.
Like this:

Code: Select all

.nemo-desktop.nemo-canvas-item {
  color: white;
   text-shadow: 2px 2px 0 #000000, 2px -2px 0 #000000, -2px 2px 0 #000000, -2px -2px 0 #000000, 2px 0px 0 #000000, 0px 2px 0 #000000, -2px 0px 0 #000000, 0px -2px 0 #000000;
}
AsRock B85M Pro4, Core i3-4170, Palit GTX 1050 Ti 4GB, Corsair CX750 PSU, Corsair 32GB DDR3-1600, Corsair Force LE 120GB, WD Caviar Blue + Green = 1.5TB, Firefox 65+ x64, 5.0.13-arch1-1-ARCH Cinnamon

KamVielty
Level 1
Level 1
Posts: 1
Joined: Mon Jul 29, 2019 12:13 pm

Increased text shadows on Desktop

Post by KamVielty » Sat Aug 03, 2019 9:02 pm

Would it be possible to have an app which allows a user to copy text in messages? The current pre beta select/copy function is too glitchy to use. Thank you.

User avatar
smurphos
Level 12
Level 12
Posts: 4400
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Increased text shadows on Desktop

Post by smurphos » Sun Aug 04, 2019 2:32 am

KamVielty wrote:
Sat Aug 03, 2019 9:02 pm
Would it be possible to have an app which allows a user to copy text in messages? The current pre beta select/copy function is too glitchy to use. Thank you.
I'm not sure I understand your question in the context of this thread. Maybe you should start a dedicated topic for your query? With a little more context of where you having problems copying and pasting.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

Post Reply

Return to “Suggestions & New Ideas”