Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 16

Discussione: Cambiare tema fluxbox

  1. #1

    Cambiare tema fluxbox

    ciao!
    Da poco ho installato fluxbox...Vorrei cambiare il tema, ma non il tema del menu che compare o le cornici delle finestre, ma il tema gtk, in modo che le finestre che apro abbiano un tema migliore! Perchè quello di default e stile windows 95 e fa un po pena! Come posso fare?? Posso usare i temi di xfce??

  2. #2
    Utente di HTML.it L'avatar di lion1810
    Registrato dal
    Nov 2002
    Messaggi
    1,543
    modifichi il file
    ~/.gtkrc-2.0
    inserendo la linea
    gtk-icon-theme-name="nome_tema"
    esempio:
    gtk-icon-theme-name="black-white_2-Style"
    il tema naturalmente deve essere presente o in ~/.icons oppure in /usr/share/icons
    Per il tema delle gtk2 possiamo utilizzare il programma

    gtk-theme-switch2

    scegliendo così i temi presenti in ~/.themes o /usr/share/themes/

  3. #3
    ok! grazie mille...

    Ma per il tema gtk non esiste un modo per farlo manualmente senza usare gtk-theme-switch2 ???
    Un modo simile a quello usato per le icone??

  4. #4
    Utente di HTML.it L'avatar di lion1810
    Registrato dal
    Nov 2002
    Messaggi
    1,543
    ni

  5. #5
    Utente di HTML.it L'avatar di lion1810
    Registrato dal
    Nov 2002
    Messaggi
    1,543
    scusami ... ho letto male.
    Si si c'è aspetta che non ricordo il file ...un'attimo eh ...

  6. #6
    Si fluxbox e l'unico wm che ho...
    Ho un pc un po datato e non voglio avere wm che melo apesantiscono. Quindi ho optato per fluxbox...
    Che mi piace abbastanza...

  7. #7
    Utente di HTML.it L'avatar di lion1810
    Registrato dal
    Nov 2002
    Messaggi
    1,543
    "You can force all Gtk applications to use a particular theme, icon and font by specifying those in the /home/USERNAME/.gtkrc-2.0 and /home/USERNAME/.gtkrc.mine files.

    To specify a Gtk theme, add the following to your ~/.gtkrc-2.0 file (create it if it doesn’t exist):

    # -- THEME AUTO-WRITTEN DO NOT EDIT
    include "/path/to/your/themes/gtkrc/file"
    include "/home/USERNAME/.gtkrc.mine"
    # -- THEME AUTO-WRITTEN DO NOT EDIT

    For themes you installed in your home directory, the path to your gtkrc file is generally /home/USERNAME/.themes/THEMENAME/gtk-2.0/gtkrc. For themes installed system-wide (as with themes installed through Synaptic or apt-get), this is /usr/share/themes/THEMENAME/gtk-2.0/gtkrc

    In this file, you can also specify what font or icon theme Gtk applications should use. If you use Gtk-chtheme or Gtk-theme-switch (as in the first method) it is best to specify your icon and font details in the ~/.gtkrc.mine file (in /home/USERNAME/), though, as changing the theme with these applications overrides the settings in the ~/.gtkrc-2.0 file, but leaves the ~/.gtkrc.mine untouched. Make sure you specify the path to your ~/.gtkrc.mine in your ~/.gtkrc-2.0 (as shown above) and add the following to that file (create it if it doesn’t exist yet):

    style "Sans"
    {
    font_name = "Sans 10"
    }
    widget_class "*" style "Sans"

    gtk-font-name = "Sans 10"
    gtk-icon-theme-name = "nameoficontheme"
    gtk-toolbar-style = GTK_TOOLBAR_ICONS

    Change ‘Sans’ and ‘10′ with the font name and size of your choice. Make sure the name of your icon theme matches the name of the folder where they are stored, either in /home/USERNAME/.icons or /usr/share/icons/, or it will not display.

    The last line allows you to change the toolbar style of Gtk applications. You can choose from the following options (you can remove the comments):

    gtk-toolbar-style = GTK_TOOLBAR_ICONS #Only icons
    gtk-toolbar-style = GTK_TOOLBAR_TEXT #Only text
    gtk-toolbar-style = GTK_TOOLBAR_BOTH #Both icons and text; default, used if nothing is specified.
    gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ #Icons and text next to the icons

    If you want smaller icons in the toolbar, add the following line:

    gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR"

    tratto da:

    http://urukrama.wordpress.com/openbox-guide/#OBthemes

  8. #8
    Utente di HTML.it L'avatar di lion1810
    Registrato dal
    Nov 2002
    Messaggi
    1,543
    Originariamente inviato da PeppePes88
    Si fluxbox e l'unico wm che ho...
    Ho un pc un po datato e non voglio avere wm che melo apesantiscono. Quindi ho optato per fluxbox...
    Che mi piace abbastanza...
    comunque gtk-theme-switch2 non si porta dietro tante dipendenze

  9. #9
    RIsolto! Grazie mille....

    Alla fine ho usato gtk-switch!!!

  10. #10
    Utente di HTML.it L'avatar di lion1810
    Registrato dal
    Nov 2002
    Messaggi
    1,543

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.