Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Użytkownik




Użyszkodnik
„Ten sposób” nawet w najmniejszym stopniu nie dotyka ikon. Bo, tak właściwie, to o jakie ikony w ogóle chodzi?
Offline
Użytkownik

Np. w pcmanfm. Jest tam napisane:
### Ikony
gtk-icon-theme-name="nazwa_tematu_ikon"
Offline







Palacz








cat ~/.gtkrc-2.0
# -- THEME AUTO-WRITTEN DO NOT EDIT
include "/usr/share/themes/MurrinaGilouche/gtk-2.0/gtkrc"
style "user-font" {
font_name = "ClearlyU PUA 12"
}
widget_class "*" style "user-font"
gtk-font-name="ClearlyU PUA 12"
include "/home/adam/.gtkrc.mine"
# -- THEME AUTO-WRITTEN DO NOT EDIT
gtk-can-change-accels = 1i idąc za tym
adam@debian:~$ cat ~/.gtkrc.mine gtk-icon-theme-name="oxy-gnome"
Ostatnio edytowany przez ilin (2008-12-25 23:11:10)
Offline
Użytkownik

ok, a gdzie masz oxy-gnome? Ja mam:
kabraxis@overmind:~$ cat /home/kabraxis/.gtkrc-2.0 # -- THEME AUTO-WRITTEN DO NOT EDIT include "/usr/share/themes/MurrinaEalm/gtk-2.0/gtkrc" include "/home/kabraxis/.gtkrc.mine" # -- THEME AUTO-WRITTEN DO NOT EDIT
kabraxis@overmind:~$ cat /home/kabraxis/.gtkrc.mine gtk-icon-theme-name="square-dock"
kabraxis@overmind:~$ cat /usr/share/themes/MurrinaEalm/gtk-2.0/gtkrc
style "theme-default"
{
GtkButton ::default_border = { 0, 0, 0, 0 }
GtkRange ::trough_border = 0
GtkPaned ::handle_size = 6
GtkRange ::slider_width = 15
GtkRange ::stepper_size = 15
GtkScrollbar ::min_slider_length = 30
GtkCheckButton ::indicator_size = 14
GtkMenuBar ::internal-padding = 0
GtkTreeView ::expander_size = 14
GtkExpander ::expander_size = 16
GtkScale ::slider-length = 24
xthickness = 1
ythickness = 1
fg[NORMAL] = "#222222"
fg[PRELIGHT] = "#222222"
fg[SELECTED] = "#666666"
fg[ACTIVE] = "#666666"
fg[INSENSITIVE] = "#b5b3ac"
bg[NORMAL] = "#EDF0DD"
bg[PRELIGHT] = "#C3D4AA"
bg[SELECTED] = "#F4DD97"
bg[INSENSITIVE] = "#F0F2E4"
bg[ACTIVE] = "#F0F2E4" # this (strangely) controls inactive tab BGs
base[NORMAL] = "#ffffff"
base[PRELIGHT] = "#8DA5D1"
base[ACTIVE] = "#F4DD97"
base[SELECTED] = "#C3D4AA"
base[INSENSITIVE] = "#e8e8e8"
text[NORMAL] = "#505050"
text[PRELIGHT] = "#505050"
text[ACTIVE] = "#505050"
text[SELECTED] = "#FCFCFA"
text[INSENSITIVE] = "#b5b5b5"
engine "murrine"
{
menuitemstyle = 0 # 0 = flat, 1 = glassy, 2
glazestyle = 1 # 0 = flat hilight, 1 = curved hilight, 2 = concave style
scrollbar_color = "#F4DD97"
contrast = 1.0
menubarstyle = 2 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
menubaritemstyle = 1 # 0 = menuitem look, 1 = button look
listviewheaderstyle = 0 # 0 = flat, 1 = glassy
roundness = 3 # 0 = squared, 1 = old default, more will increase roundness
animation = TRUE # FALSE = disabled, TRUE = enabled
}
}
style "theme-wide" = "theme-default"
{
xthickness = 2
ythickness = 2
}
style "theme-wider" = "theme-default"
{
xthickness = 3
ythickness = 3
}
style "theme-entry" = "theme-wider"
{
bg[SELECTED] = "#F4DD97"
}
style "theme-button" = "theme-wider"
{
bg[ACTIVE] = "#F4DD97"
fg[ACTIVE] = "#FCFCFA"
}
style "theme-notebook" = "theme-wide"
{
bg[NORMAL] = "#FBFCF2"
bg[INSENSITIVE] = "#FBFCF2"
}
style "theme-tasklist" = "theme-default"
{
xthickness = 5
ythickness = 3
}
style "theme-menu" = "theme-default"
{
xthickness = 2
ythickness = 1
}
style "theme-menu-item" = "theme-default"
{
ythickness = 3
fg[NORMAL] = "#505050"
#fg[PRELIGHT] = "#FCFCFA"
text[PRELIGHT] = "#505050"
}
style "theme-menubar" = "theme-default"
{
#bg[NORMAL] = "#7894C4"
fg[NORMAL] = "#505050"
fg[ACTIVE] = "#505050"
text[NORMAL] = "#505050"
text[PRELIGHT] = "#505050"
base[PRELIGHT] = "#63E62E"
#base[SELECTED] = "#4DB224"
}
style "theme-menubar-item"
{
ythickness = 4
fg[PRELIGHT] = "#505050"
#bg[PRELIGHT] = "#c0d3e5"
}
style "theme-tree" = "theme-default"
{
xthickness = 2
ythickness = 2
}
style "theme-frame-title" = "theme-default"
{
fg[NORMAL] = "#404040"
}
style "theme-tooltips" = "theme-default"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = { 1.0,1.0,0.75 }
}
style "theme-progressbar" = "theme-wide"
{
xthickness = 1
ythickness = 1
fg[PRELIGHT] = "#ffffff"
}
style "theme-combo" = "theme-button"
{
}
style "metacity-frame"
{
# Normal base color
#bg[NORMAL] = "#bbbbbb"
# Unfocused title background color
#bg[INSENSITIVE] = { 0.8, 0.8, 0.8 }
# Unfocused title text color
#fg[INSENSITIVE] = { 1.55, 1.55, 1.55 }
# Focused icon color
#fg[NORMAL] = { 0.2, 0.2, 0.2 }
# Focused title background color
bg[SELECTED] = "#C3D4AA"
#base[ACTIVE] = "#f2f2f2"
# Focused title text color
fg[SELECTED] = "#ffffff"
}
class "MetaFrames" style "metacity-frame"
class "GtkWindow" style "metacity-frame"
# widget styles
class "GtkWidget" style "theme-default"
class "GtkButton" style "theme-button"
class "GtkScale" style "theme-button"
class "GtkCombo" style "theme-button"
class "GtkRange" style "theme-wide"
class "GtkFrame" style "theme-wide"
class "GtkMenu" style "theme-menu"
class "GtkEntry" style "theme-entry"
class "GtkMenuItem" style "theme-menu-item"
class "GtkNotebook" style "theme-notebook"
class "GtkProgressBar" style "theme-progressbar"
class "*MenuBar*" style "theme-menubar"
widget_class "*MenuItem.*" style "theme-menu-item"
widget_class "*MenuBar.*" style "theme-menubar-item"
# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "theme-combo"
widget_class "*.GtkCombo.GtkButton" style "theme-combo"
# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "theme-tasklist"
widget "gtk-tooltip*" style "theme-tooltips"
# treeview stuff
widget_class "*.GtkTreeView.GtkButton" style "theme-tree"
widget_class "*.GtkCTree.GtkButton" style "theme-tree"
widget_class "*.GtkList.GtkButton" style "theme-tree"
widget_class "*.GtkCList.GtkButton" style "theme-tree"
widget_class "*.GtkFrame.GtkLabel" style "theme-frame-title"
# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "theme-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "theme-notebook"Przy czym temat ikon square-dock mam w ~/.themes
Offline







Palacz








A ja swój w ~/.icons
Offline
Użytkownik

Nic nie zmieniło się :(
____
EDIT: Tak, robiłem relog etc ;)
Ostatnio edytowany przez Weisu (2008-12-25 23:51:15)
Offline



Redaktor




Ja mam to w systemie:
dpkg -l | grep flux ii fluxbox 1.0.0+deb1-8 Highly configurable and low resource X11 Window manager ii fluxconf 0.9.9-1 FluxBox configuration utility
dpkg -l | grep icon ii fbdesk 1.4.1-3 Desktop icons for window managers ii festlex-poslex 1.4.0-5 Part of speech lexicons and ngram from English ii gnome-icon-theme 2.22.0-1 GNOME Desktop icon theme ii hicolor-icon-theme 0.10-1 default fallback theme for FreeDesktop.org icon themes ii idesk 0.7.5-4 Program to show icons on the desktop ii libtext-iconv-perl 1.7-1+b1 converts between character sets in Perl ii smplayer-themes 0.1.15.dfsg-1 complete front-end for MPlayer - icon themes ii thunar-data 0.9.0-10 Provides thunar documentation, icons and translations ii wm-icons 0.4.0-3 Themed icon set that is Window Manager agnostic
dpkg -l | grep idesk ii idesk 0.7.5-4 Program to show icons on the desktop
Posiłkowałem się tym opisem:
http://fluxboxpl.org/portal/Idesk_-_Ikony_na_pupicie
Przykładowa ikona na moim pulpicie dla przeglądarki i zawartość pliku
~/.idesktop/iceweasel.lnk:
table Icon Caption: Iceweasel Command: /usr/bin/iceweasel Icon: /usr/share/pixmaps/iceweasel.xpm Width: 48 Height: 48 X: 43 Y: 17 end
~/.idesktop/xterm.lnk
table Icon Caption: xterm Command: /usr/bin/uxterm Icon: /usr/share/pixmaps/xterm-color_32x32.xpm Width: 48 Height: 48 X: 43 Y: 487 end
Offline
Użytkownik

Fluxa mam ręcznie skompilowanego z źródeł w wersji 1.1.1, a ikony ściągnięte z gnome-look. Przy czym pulpit to ja chcę mieć czysty, dlatego idesk mnie średnio interesuje ^^" Chodzi mi o ikony w programach na bibliotece gtk, np. podany już pcmanfm i inne.
Offline







Palacz








Może jakiejś opcji nie wkompilowaleś we fluxboxa ze nie chce Ci ikon czytać.
Ostatnio edytowany przez ilin (2008-12-26 12:13:53)
Offline
Użytkownik

Nie, flux jest ok, imlib2 mam wkompilowane i w samym flux'ie mam ikony etc. jak chcę. Problem jest z deklaracją themów dla aplikacji gtk, tak mi się wydaje przynajmniej :/
Offline







Palacz








Dzisiaj postawiem sobie na drugiej partycji archa.
Tak dla przypomnienia configi robiem z palca i ...
Utworzyem katalog ~/.icons
Do niego wrzuciem katalog z ikonami Meliae
Nastepnie utworzylem pliczek ~/.gtkrc-2.0.
Do niego wklepalem
gtk-icon-theme-name="Meliae"
W pcmanfm'ie ukazaly sie ikony meliae.
Offline

Członek DUG


ja w ~/.gtkrc-2.0 mam zapis
include "/home/lord/.gtkrc-2.0.mine"
a ustawienia ikon trzymam w pliczku ~/.gtkrc-2.0.mine i ikony w ~/.icons
jak nazwa motywu się zgadza to zawsze mi pieknie działa.
można też to ustawić graficznie za pomocą np. lxappearance, ale wtedy trzeba zahaszować zawartość ~/.gtkrc-2.0.mine
Ostatnio edytowany przez parrotlarch (2008-12-29 08:00:21)
Offline







Palacz








Jeśli w pliku ~./gtkrc-2.0 inkludujesz do innego pliku to w nim ustawiasz temat ikon.
To naturalne.
Biorąc zaś najprościej to temat ikon można ustawić w ~./gtkrc-2.0.
Co do kompilacji fluxboxa to łatwo sprawdzić z jakimi opcjami został skompilowany.
adam@debian:~$ fluxbox -info
Fluxbox wersja: 1.1.1
Skompilowano: Sep 19 2008 11:33:16
Kompilator: GCC
Wersja kompilatora: 4.3.1
Wartości domyślne:
menu: /etc/X11/fluxbox/fluxbox.menu-user
Styl: /usr/share/fluxbox/styles/Debian
keys: /etc/X11/fluxbox/keys
init: /etc/X11/fluxbox/init
nls: /usr/share/fluxbox/nls
Skompilowano z opcjami (- => wyłączone):
-DEBUG
EWMH
GNOME
IMLIB2
NLS
REMEMBER
RENDER
SHAPE
SLIT
TOOLBAR
XFT
XINERAMA
XMB
XPMOffline
Użytkownik

Działa, dzięki bardzo! :) Strasznie głupi błąd popełniłem xD Jak wrzuciłem ikony do icons to potem głupia literówka wszystko skaszaniła a ja dalej kombinowałem :/
Offline



Redaktor




Weisu napisał(-a):
Działa, dzięki bardzo! :) Strasznie głupi błąd popełniłem xD Jak wrzuciłem ikony do icons to potem głupia literówka wszystko skaszaniła a ja dalej kombinowałem :/
A niektórzy mają mnie mi za złe zwracanie uwagi na pisownię :D
Ostatnio edytowany przez azhag (2009-01-08 09:11:53)
Offline