Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-01-21 09:21:23

Compositoron
Member
Registered: 2020-07-24
Posts: 17

Xfce screenshooter dialog

Greetings!

I am completing one theme and I've set a neat gradient look for dialog boxes. Unfortunately it seems that -gtk-gradient does not work well with xfce screenshooter after using a "Select a region" option and pressing "Ok". Screen is supposed to dim and then one can select a region on a screen.

If I add a -gtk-gradient to a  dialog box.dialog-vbox then gradient will occupy the entire screen - instead of dimming it.
Script used is:

 dialog box.dialog-vbox
	{
		background:transparent;
		background-color:blue;
		background-image: -gtk-gradient (linear,
						  left top,
						  left bottom,
						  from (#000),
						  to (#1F1F1F));
	
		border: 0px solid blue;
		min-height: 120px;
		min-width: 700px;
	}
 

How can I avoid gradient appearing during that operation? Is the only option that I got left excluding screenshooter from the   dialog box.dialog-vbox section?

Offline

#2 2021-01-21 22:12:28

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Xfce screenshooter dialog

I don't see how xfce4-screenshooter separates out the region element from the general gtk3 dialog so there is no way that I can see to exclude xfce4-screenshooter from the directive.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2021-01-22 10:08:07

Compositoron
Member
Registered: 2020-07-24
Posts: 17

Re: Xfce screenshooter dialog

Same, it can not be caught with the GTK_DEBUG runs it. It looks nice on my my dark theme, such a shame:
[

 
dialog box.dialog-vbox
	{
		background:transparent;
		background-color:transparent;
		background-image: -gtk-gradient (linear,
						  left top,
						  left bottom,
						  from (#000),
						  to (#1F1F1F));
	
		border: 0px solid transparent;
		min-height: 120px;
		min-width: 700px;
	} 

dialog box.dialog-action-box
	{
		background-image:none;
		background:transparent;
		border-top:1px solid #F7FFA7;
		border-image: linear-gradient(to right,#F7FFA7 5%, rgba(255,255,255,0) 70%);
		border-image-slice: 1;
		margin:10px 10px 1px 10px;
		padding:10px;
	}

Anyways,thx for looking into it smile

I will figure something out.

Offline

#4 2021-01-22 11:52:55

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Xfce screenshooter dialog

Compositoron wrote:

Same, it can not be caught with the GTK_DEBUG runs it. It looks nice on my my dark theme, such a shame:

Even in the code it doesn't look like it creates a specific class for it that you can target.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2021-02-06 11:32:31

Compositoron
Member
Registered: 2020-07-24
Posts: 17

Re: Xfce screenshooter dialog

I've accepted it to look the way it can, even with just a bit less of coolness new look I got it still looks great imo....
Thanks for the help ToZ smile

Offline

#6 2021-04-14 09:15:12

mg64ve
Member
Registered: 2020-12-28
Posts: 7

Re: Xfce screenshooter dialog

is it possible to change pointer size in this file? When I am taking a screenshot it is too small and almost invisible...

Offline

#7 2021-04-14 13:16:30

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Xfce screenshooter dialog

mg64ve wrote:

is it possible to change pointer size in this file? When I am taking a screenshot it is too small and almost invisible...

No. But you can put a wrapper around the screenshooter tool that temporarily increases the cursor size. Something like:

/bin/bash

xfconf-query -c xsettings -p /Gtk/CursorThemeSize -s 72
xfce4-screenshooter
xfconf-query -c xsettings -p /Gtk/CursorThemeSize -s 16

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB