Résolu le 9-08-21 xfce4-notes

Bureaux,conky et autres personnalisations esthétiques.
Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

xfce4-notes

Message par mylapk »

Bonjour,
Arghlub me suggérait xfce4-notes.
Comment changer la couleur des notes si c'est possible?
Merci
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
Avatar du membre
arghlub
Administrateur du site
Messages : 11799
Enregistré le : dim. 21 mai 2017 08:19
Localisation : Provence

Re: xfce4-notes

Message par arghlub »

Salut,
Je n'ai pas de XFCE sous la main en ce moment mais ça doit être en faisant un clic-droit sur le plugin>paramètres ou propriétés :
Image
Tour1 (custom) CPU Intel I7-7700K | CG Nvidia GTX 1080 | RAM 16Go | tripleBoot : LMint 22.3 | Debian 12 | MX Linux | XFCE
Tour2 (custom) CPU AMD Athlon 5200+ | CG Nvidia GTX 560 | RAM 6Go | FreeBSD XFCE
Portable1 MSI GF75 Thin 9SC | CPU Intel I7-9750H | CG Nvidia GTX 1650 | RAM 32Go | dualBoot : LMint 22.1 | MX Linux | XFCE
Portable2 MacBook Air A1466 | CPU Intel I5-5250U | CG Intel HD Graphics 6000 | RAM 8Go | dualBoot : macOS Sierra | MX Linux XFCE
─────( pour une informatique libre ! )─────
Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Bonjour,
j'ai cherché mais j'ai pas trouvé...
Peut-être que ça se fait pas.
:roll: :?
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Bonjour cyrille,
j'te jure que j'ai cherché. Voici ce que j'ai

Image

:roll: :?:
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Bonjour/bonsoir/bonne nuit Cyrille,

voici ce que j'ai sur root:

Image

Image

:roll: :?:
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Bonjour cyrille,

Image

:?:
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Salut,
je te mets ce que j'ai en ouvrant le css dans root mais je sais pas quoi faire d'autre. Mais j'aimerais bien comprendre quoi faire. Merci

Code : Tout sélectionner

@define-color theme_base_color @notes_bg_color;
@define-color theme_text_color shade (@theme_base_color, 0.4);
@define-color theme_bg_color @theme_base_color;
@define-color theme_fg_color shade (@theme_base_color, 0.3);
@define-color theme_selected_bg_color shade (@theme_base_color, 0.8);
@define-color theme_selected_fg_color shade (@theme_base_color, 1.4);
@define-color insensitive_bg_color shade (@theme_bg_color, 1.1);
@define-color insensitive_fg_color shade (@theme_fg_color, 1.8);

@define-color borders shade (@theme_base_color, 0.8);
@define-color frame_color shade (@theme_base_color, 0.7);
@define-color notebook_active_tab_border shade (@theme_base_color, 1.1);
@define-color notebook_selected_tab_color shade (@theme_base_color, 0.9);

* {
	border-width: 0px;
}

/* window and frame */
window {
	background-image: linear-gradient(to bottom,
	                                  shade (@theme_base_color, 0.8),
	                                  shade (@theme_base_color, 0.95) 87px);
}

window frame {
	padding: 1px 2px 4px 2px;
	border: 1px solid shade (@theme_base_color, 0.7);
}

/* icon buttons in window title bar */
window widget#notes-icon-button {
	color: black;
	background-color: transparent;
}
window widget#notes-icon-button:active {
	color: darker (@theme_fg_color);
	text-shadow: 1px 1px lighter (@theme_bg_color);
}
window widget#notes-icon-button:disabled {
	color: shade (@insensitive_fg_color, 1.2);
}
window widget#notes-icon-button:hover {
	color: shade (@insensitive_fg_color, 0.8);
}

/* notebook */
notebook > header {
	background: transparent;
}
notebook > header.top {
	border-bottom: 2px solid @theme_selected_bg_color;
}
notebook > header.bottom {
	border-top: 2px solid @theme_selected_bg_color;
}
notebook > header.left {
	border-right: 2px solid @theme_selected_bg_color;
}
notebook > header.right {
	border-left: 2px solid @theme_selected_bg_color;
}

/* notebook tab style */
notebook > header.top tab, notebook > header.bottom tab {
	padding: 0px 4px;
}
notebook > header.right tab, notebook > header.left tab {
	padding: 4px 0px;
}

notebook > header tab {
	box-shadow: none;
	color: @insensitive_fg_color;
	background: transparent;
}
notebook > header tab:checked {
	color: shade (@theme_text_color, 0.8);
}
notebook > header tab.dnd {
	background: @theme_selected_bg_color;
}

notebook > header.top > tabs > tab:checked {
	box-shadow: inset 0px -3px shade (@theme_selected_bg_color, 1.3), 0px 2px 3px @theme_selected_bg_color;
}
notebook > header.top > tabs > tab:checked:hover {
	box-shadow: inset 0px -2px shade (@theme_selected_bg_color, 1.3), 0px 2px 3px @theme_selected_bg_color;
	background: @theme_selected_bg_color; /* NOTE: must be set before .dnd */
}
notebook > header.top > tabs > tab:hover {
	box-shadow: inset 0px -2px shade (@theme_selected_bg_color, 1.3);
}

notebook > header.bottom > tabs > tab:checked {
	box-shadow: inset 0px 3px shade (@theme_selected_bg_color, 1.3), 0px -2px 3px @theme_selected_bg_color;
}
notebook > header.bottom > tabs > tab:checked:hover {
	box-shadow: inset 0px 2px shade (@theme_selected_bg_color, 1.3), 0px -2px 3px @theme_selected_bg_color;
	background: @theme_selected_bg_color;
}
notebook > header.bottom > tabs > tab:hover {
	box-shadow: inset 0px 2px shade (@theme_selected_bg_color, 1.3);
}

notebook > header.left > tabs > tab:checked {
	box-shadow: inset -3px 0px shade (@theme_selected_bg_color, 1.3), 0px 0px 3px @theme_selected_bg_color;
}
notebook > header.left > tabs > tab:checked:hover {
	box-shadow: inset -2px 0px shade (@theme_selected_bg_color, 1.3), 0px 0px 3px @theme_selected_bg_color;
	background: @theme_selected_bg_color;
}
notebook > header.left > tabs > tab:hover {
	box-shadow: inset -2px 0px shade (@theme_selected_bg_color, 1.3);
}

notebook > header.right > tabs > tab:checked {
	box-shadow: inset 3px 0px shade (@theme_selected_bg_color, 1.3), 0px 0px 3px @theme_selected_bg_color;
}
notebook > header.right > tabs > tab:checked:hover {
	box-shadow: inset 2px 0px shade (@theme_selected_bg_color, 1.3), 0px 0px 3px @theme_selected_bg_color;
	background: @theme_selected_bg_color;
}
notebook > header.right > tabs > tab:hover {
	box-shadow: inset 2px 0px shade (@theme_selected_bg_color, 1.3);
}

textview > text {
	color: @theme_text_color;
	background-image: linear-gradient(to bottom,
	                                  shade (@theme_bg_color, 1.2),
	                                  shade (@theme_bg_color, 1.3) 20em);
}

textview > text > selection {
	color: @theme_selected_fg_color;
	background-color: @theme_selected_bg_color;
}

scrollbar {
	background-color: transparent;
}
scrollbar slider {
	background-color: shade (@theme_bg_color, 0.55);
	min-width: 8px;
}
scrollbar slider:hover {
	background-color: shade (@theme_bg_color, 0.7);
	transition: 400ms;
}
scrollbar slider:hover:active {
	background-color: shade (@theme_bg_color, 0.55);
	transition: 200ms;
}

tooltip, tooltip * {
	margin: 0px;
	padding: 0px;
}
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Bonjour,

alors, on peut changer la couleur de la note dans gtk 2.0 mais pas dans gtk 3.0. :?
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Bonjour cyrille,
c'était une affirmation. Dans la fenêtre de settings des préférences, il n'y a pas de choix de couleurs de changement de la note. Et ce, dans gtk3.
:?:
Dans le lien que tu m'as offert, j'ai parcouru tout ça et de ce que j'en comprend, ça ne va pas insérer un setting de changement de couleur mais que je devrai modifier le css à chaque fois que je voudrai changer de couleur. Est-ce exact selon toi? Ai-je bien saisi? Si je dois modifier le fichier css à chaque fois, je verrai...
Merci
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Merci et Bonne Journée :D
Asus VivoBook Linux Mint 22.2 Cinnamon 6.4.8 Noyau 6.14.0-36-generic
Répondre