Autor Tópico: Ionbuntu :)  (Lida 4364 vezes)

Offline GDA

  • Usuário Ubuntu
  • *
  • Mensagens: 92
    • Ver perfil
Ionbuntu :)
« Online: 18 de Setembro de 2006, 13:03 »
Sei que somos poucos; sei que estamos no "underground"... Mas nós também temos sentimentos.

E foi pensando nisso que procurei criar três estilos com o "look & feel" das versões do Ubuntu para o nosso amado Ion3! Quem sabe assim nós não nos sintamos tão excluídos, né? ;P

Para instalar os estilos, basta copiar os códigos para os quatro arquivos (abaixo citados) e salvar na pasta /etc/X11/ion3/ (lembrando que vc vai precisar "sudar" para fazer isso). Depois é só dar um reset na lista de estilos e está tudo pronto pra ser usado.

Os arquivos são:

devos_colours.lua : arquivo com os esquemas de cores;
look_ubuntu.lua   : visual aproximado ao padrão de cores do Ubuntu Fórum-PT;
look_kubuntu.lua  : cores próximas às do site do Kubuntu;
look_xubuntu.lua  : cores próximas às do site do Xubuntu.

Todos os temas são baseados no "lookcommon_emboss", mas qualquer hora eu faço para o "clean".

Bom proveito! :)


1. devos_colours.lua

Código: [Selecionar]
--
-- Esquemas de cores para os temas "Ubuntu"...
--
-- GDA
--

-- Esquema Ubuntu

-- tons claros
ubuntu_light_hc = "#f0d070"
ubuntu_light_bc = "#b09030"
ubuntu_light_sc = "#705000"
ubuntu_light_fc = "#604628"
-- tons escuros
ubuntu_dark_hc = "#e09065"
ubuntu_dark_bc = "#965223"
ubuntu_dark_sc = "#663200"
ubuntu_dark_fc = "#f2e9d5"
-- tons pasteis
ubuntu_pastel_hc = "#f0e080"
ubuntu_pastel_bc = "#b0a040"
ubuntu_pastel_sc = "#706010"
ubuntu_pastel_fc = "#503030"

-- Esquema Kubuntu

-- tons claros
kubuntu_light_hc = "#9cbcf0"
kubuntu_light_bc = "#6c8cc0"
kubuntu_light_sc = "#3c5c80"
kubuntu_light_fc = "#000033"
-- tons escuros
kubuntu_dark_hc = "#6666cc"
kubuntu_dark_bc = "#000080"
kubuntu_dark_sc = "#000066"
kubuntu_dark_fc = "#ccccff"
-- tons pasteis
kubuntu_pastel_hc = "#bcdcf0"
kubuntu_pastel_bc = "#8cacc0"
kubuntu_pastel_sc = "#5c7c80"
kubuntu_pastel_fc = "#000033"

-- Esquema Xubuntu

-- tons claros
xubuntu_light_hc = "#b0b9d0"
xubuntu_light_bc = "#9099a6"
xubuntu_light_sc = "#505976"
xubuntu_light_fc = "#101936"
-- tons escuros
xubuntu_dark_hc = "#9096a6"
xubuntu_dark_bc = "#606676"
xubuntu_dark_sc = "#303646"
xubuntu_dark_fc = "#ffffff"
-- tons pasteis
xubuntu_pastel_hc = "#c6cae3"
xubuntu_pastel_bc = "#a9acb9"
xubuntu_pastel_sc = "#666a89"
xubuntu_pastel_fc = "#000000"

2. look_ubuntu.lua

Código: [Selecionar]
-- look_ubuntu.lua (Ubuntu Human)

if not gr.select_engine("de") then return end

-- definições de cores
dopath("devos_colours")

de.reset()

de.defstyle("*", {
    shadow_colour = ubuntu_light_sc,
    highlight_colour = ubuntu_light_hc,
    background_colour = ubuntu_light_bc,
    foreground_colour = ubuntu_light_fc,
    padding_pixels = 1,
    highlight_pixels = 1,
    shadow_pixels = 1,
    border_style = "elevated",
    font = "7x13",
    text_align = "center",
})

de.defstyle("frame", {
    based_on = "*",
    shadow_colour = ubuntu_light_sc,
    highlight_colour = ubuntu_light_hc,
    padding_colour = ubuntu_light_bc,
    background_colour = "#000000",
    foreground_colour = "#ffffff",
    padding_pixels = 1,
    highlight_pixels = 1,
    shadow_pixels = 1,
})

de.defstyle("tab", {
    based_on = "*",
    font = "7x13",
    de.substyle("active-selected", {
        shadow_colour = ubuntu_dark_sc,
        highlight_colour = ubuntu_dark_hc,
        background_colour = ubuntu_dark_bc,
        foreground_colour = ubuntu_dark_fc,
    }),
    de.substyle("active-unselected", {
        shadow_colour = ubuntu_light_sc,
        highlight_colour = ubuntu_light_hc,
        background_colour = ubuntu_light_bc,
        foreground_colour = ubuntu_light_fc,       
    }),
    de.substyle("inactive-selected", {
        shadow_colour = ubuntu_light_sc,
        highlight_colour = ubuntu_light_hc,
        background_colour = ubuntu_light_bc,
        foreground_colour = ubuntu_light_fc,       
    }),
    de.substyle("inactive-unselected", {
        shadow_colour = ubuntu_light_sc,
        highlight_colour = ubuntu_light_hc,
        background_colour = ubuntu_light_bc,
        foreground_colour = ubuntu_light_fc,
    }),
    text_align = "center",
})

de.defstyle("tab-menuentry", {
    based_on = "tab",
    text_align = "left",
    highlight_pixels = 1,
    shadow_pixels = 1,
    padding_pixels = 3,
    de.substyle("inactive-selected", {
        background_colour = ubuntu_dark_bc,
        foreground_colour = ubuntu_dark_fc,
        highlight_colour = ubuntu_dark_hc,
        shadow_colour = ubuntu_dark_sc,
    }),
})

de.defstyle("tab-menuentry-big", {
    based_on = "tab-menuentry",
    font = "7x13",
    padding_pixels = 5,
})

de.defstyle("input", {
    based_on = "*",
    shadow_colour = ubuntu_pastel_sc,
    highlight_colour = ubuntu_pastel_hc,
    background_colour = ubuntu_pastel_bc,
    foreground_colour = ubuntu_pastel_fc,
    padding_pixels = 1,
    highlight_pixels = 1,
    shadow_pixels = 1,
    border_style = "elevated",
    de.substyle("*-cursor", {
        background_colour = "#000000",
        foreground_colour = "#ffffff",
    }),
    de.substyle("*-selection", {
        background_colour = ubuntu_dark_bc,
        foreground_colour = ubuntu_dark_fc,
    }),
})

de.defstyle("input-menu", {
    based_on = "*",
    de.substyle("active", {
        padding_colour = "#000000",
        highlight_colour = "#000000",
        shadow_colour = "#000000",
    }),
    de.substyle("inactive", {
        padding_colour = "#000000",
        highlight_colour = "#000000",
        shadow_colour = "#000000",
    }),
})

dopath("lookcommon_emboss")

gr.refresh()



3. look_kubuntu.lua

Código: [Selecionar]
-- look_kubuntu.lua (Kubuntu)

if not gr.select_engine("de") then return end

-- definições de cores
dopath("devos_colours")

de.reset()

de.defstyle("*", {
    shadow_colour = kubuntu_light_sc,
    highlight_colour = kubuntu_light_hc,
    background_colour = kubuntu_light_bc,
    foreground_colour = kubuntu_light_fc,
    padding_pixels = 1,
    highlight_pixels = 1,
    shadow_pixels = 1,
    border_style = "elevated",
    font = "7x13",
    text_align = "center",
})

de.defstyle("frame", {
    based_on = "*",
    shadow_colour = kubuntu_light_sc,
    highlight_colour = kubuntu_light_hc,
    padding_colour = kubuntu_light_bc,
    background_colour = "#000000",
    foreground_colour = "#ffffff",
    padding_pixels = 1,
    highlight_pixels = 1,
    shadow_pixels = 1,
})

de.defstyle("tab", {
    based_on = "*",
    font = "7x13",
    de.substyle("active-selected", {
        shadow_colour = kubuntu_dark_sc,
        highlight_colour = kubuntu_dark_hc,
        background_colour = kubuntu_dark_bc,
        foreground_colour = kubuntu_dark_fc,
    }),
    de.substyle("active-unselected", {
        shadow_colour = kubuntu_light_sc,
        highlight_colour = kubuntu_light_hc,
        background_colour = kubuntu_light_bc,
        foreground_colour = kubuntu_light_fc,       
    }),
    de.substyle("inactive-selected", {
        shadow_colour = kubuntu_light_sc,
        highlight_colour = kubuntu_light_hc,
        background_colour = kubuntu_light_bc,
        foreground_colour = kubuntu_light_fc,       
    }),
    de.substyle("inactive-unselected", {
        shadow_colour = kubuntu_light_sc,
        highlight_colour = kubuntu_light_hc,
        background_colour = kubuntu_light_bc,
        foreground_colour = kubuntu_light_fc,
    }),
    text_align = "center",
})

de.defstyle("tab-menuentry", {
    based_on = "tab",
    text_align = "left",
    highlight_pixels = 1,
    shadow_pixels = 1,
    padding_pixels = 3,
    de.substyle("inactive-selected", {
        background_colour = kubuntu_dark_bc,
        foreground_colour = kubuntu_dark_fc,
        highlight_colour = kubuntu_dark_hc,
        shadow_colour = kubuntu_dark_sc,
    }),
})

de.defstyle("tab-menuentry-big", {
    based_on = "tab-menuentry",
    font = "7x13",
    padding_pixels = 5,
})

de.defstyle("input", {
    based_on = "*",
    shadow_colour = kubuntu_pastel_sc,
    highlight_colour = kubuntu_pastel_hc,
    background_colour = kubuntu_pastel_bc,
    foreground_colour = kubuntu_pastel_fc,
    padding_pixels = 1,
    highlight_pixels = 1,
    shadow_pixels = 1,
    border_style = "elevated",
    de.substyle("*-cursor", {
        background_colour = "#000000",
        foreground_colour = "#ffffff",
    }),
    de.substyle("*-selection", {
        background_colour = kubuntu_dark_bc,
        foreground_colour = kubuntu_dark_fc,
    }),
})

de.defstyle("input-menu", {
    based_on = "*",
    de.substyle("active", {
        padding_colour = "#000000",
        highlight_colour = "#000000",
        shadow_colour = "#000000",
    }),
    de.substyle("inactive", {
        padding_colour = "#000000",
        highlight_colour = "#000000",
        shadow_colour = "#000000",
    }),
})

dopath("lookcommon_emboss")

gr.refresh()



4. look_xubuntu.lua

Código: [Selecionar]

-- look_xubuntu.lua (Xubuntu)

if not gr.select_engine("de") then return end

-- definições de cores
dopath("devos_colours")

de.reset()

de.defstyle("*", {
    shadow_colour = xubuntu_light_sc,
    highlight_colour = xubuntu_light_hc,
    background_colour = xubuntu_light_bc,
    foreground_colour = xubuntu_light_fc,
    padding_pixels = 1,
    highlight_pixels = 1,
    shadow_pixels = 1,
    border_style = "elevated",
    font = "7x13",
    text_align = "center",
})

de.defstyle("frame", {
    based_on = "*",
    shadow_colour = xubuntu_light_sc,
    highlight_colour = xubuntu_light_hc,
    padding_colour = xubuntu_light_bc,
    background_colour = "#000000",
    foreground_colour = "#ffffff",
    padding_pixels = 1,
    highlight_pixels = 1,
    shadow_pixels = 1,
})

de.defstyle("tab", {
    based_on = "*",
    font = "7x13",
    de.substyle("active-selected", {
        shadow_colour = xubuntu_dark_sc,
        highlight_colour = xubuntu_dark_hc,
        background_colour = xubuntu_dark_bc,
        foreground_colour = xubuntu_dark_fc,
    }),
    de.substyle("active-unselected", {
        shadow_colour = xubuntu_light_sc,
        highlight_colour = xubuntu_light_hc,
        background_colour = xubuntu_light_bc,
        foreground_colour = xubuntu_light_fc,       
    }),
    de.substyle("inactive-selected", {
        shadow_colour = xubuntu_light_sc,
        highlight_colour = xubuntu_light_hc,
        background_colour = xubuntu_light_bc,
        foreground_colour = xubuntu_light_fc,       
    }),
    de.substyle("inactive-unselected", {
        shadow_colour = xubuntu_light_sc,
        highlight_colour = xubuntu_light_hc,
        background_colour = xubuntu_light_bc,
        foreground_colour = xubuntu_light_fc,
    }),
    text_align = "center",
})

de.defstyle("tab-menuentry", {
    based_on = "tab",
    text_align = "left",
    highlight_pixels = 1,
    shadow_pixels = 1,
    padding_pixels = 3,
    de.substyle("inactive-selected", {
        background_colour = xubuntu_dark_bc,
        foreground_colour = xubuntu_dark_fc,
        highlight_colour = xubuntu_dark_hc,
        shadow_colour = xubuntu_dark_sc,
    }),
})

de.defstyle("tab-menuentry-big", {
    based_on = "tab-menuentry",
    font = "7x13",
    padding_pixels = 5,
})

de.defstyle("input", {
    based_on = "*",
    shadow_colour = xubuntu_pastel_sc,
    highlight_colour = xubuntu_pastel_hc,
    background_colour = xubuntu_pastel_bc,
    foreground_colour = xubuntu_pastel_fc,
    padding_pixels = 1,
    highlight_pixels = 1,
    shadow_pixels = 1,
    border_style = "elevated",
    de.substyle("*-cursor", {
        background_colour = "#000000",
        foreground_colour = "#ffffff",
    }),
    de.substyle("*-selection", {
        background_colour = xubuntu_dark_bc,
        foreground_colour = xubuntu_dark_fc,
    }),
})

de.defstyle("input-menu", {
    based_on = "*",
    de.substyle("active", {
        padding_colour = "#000000",
        highlight_colour = "#000000",
        shadow_colour = "#000000",
    }),
    de.substyle("inactive", {
        padding_colour = "#000000",
        highlight_colour = "#000000",
        shadow_colour = "#000000",
    }),
})

dopath("lookcommon_emboss")

gr.refresh()


« Última modificação: 21 de Setembro de 2006, 21:36 por GDA »
jabber: droopalong@jabber.org - Ubuntu'ser:
Interessado em aprender mais sobre o Ubuntu em português? Comece aqui

Offline Serj Tankian

  • Usuário Ubuntu
  • *
  • Mensagens: 291
  • "I’ll wait here Lost in Hollywood
    • Ver perfil
    • Forum de informática com muitas dicas e suporte a você
Re: Ionbuntu :)
« Resposta #1 Online: 18 de Setembro de 2006, 15:20 »
desculpe a ignorância, mas não entendi direito oq faz isso (são temas novos né??) e como proceder..
salvo os arqyuivos com q nome?
"Viva!! Viva!! Viva a Sociedade Alternativa! À lei do forte, esta é a nossa lei e alegria do mundo!! Viva!! Viva!!"

Offline GDA

  • Usuário Ubuntu
  • *
  • Mensagens: 92
    • Ver perfil
Re: Ionbuntu :)
« Resposta #2 Online: 18 de Setembro de 2006, 15:26 »
Sim, são temas (look styles) para o gerenciador de janelas Ion3. E para utilizar basta criar os quatro arquivos (com respectivos nomes acima de cada código) e copiá-los para a pasta

/etc/X11/ion3/

 8)
jabber: droopalong@jabber.org - Ubuntu'ser:
Interessado em aprender mais sobre o Ubuntu em português? Comece aqui

Offline ninjitisu

  • Usuário Ubuntu
  • *
  • Mensagens: 213
  • Design Dojo
    • Ver perfil
    • Design Dojo
Re: Ionbuntu :)
« Resposta #3 Online: 18 de Setembro de 2006, 16:50 »
nossa meio arcaico esse Ion não? desculpe mais não gostei do bicho não  :-\
Agail Sanches aka "Ninjitisu"
www.designdojo.com.br
Interessado em aprender mais sobre o Ubuntu em português? ComeceAqui

Offline GDA

  • Usuário Ubuntu
  • *
  • Mensagens: 92
    • Ver perfil
Re: Ionbuntu :)
« Resposta #4 Online: 18 de Setembro de 2006, 17:40 »
nossa meio arcaico esse Ion não? desculpe mais não gostei do bicho não  :-\

Aracaico? hehehe

Tem problema não... O Ion é mais um ambiente de produção do que qualquer outra coisa, mas nem por isso deixa de ser terrivelmente funcional (e rápido) para as aplicações "normais" também. Só usando para constatar... :-)
jabber: droopalong@jabber.org - Ubuntu'ser:
Interessado em aprender mais sobre o Ubuntu em português? Comece aqui

Offline Kwezer

  • Usuário Ubuntu
  • *
  • Mensagens: 144
    • Ver perfil
Re: Ionbuntu :)
« Resposta #5 Online: 18 de Setembro de 2006, 18:45 »
nossa meio arcaico esse Ion não? desculpe mais não gostei do bicho não  :-\

Que nada cara, já vi cada máquina voltar a vida com esse ambiente!
Tu não faz idéia!!
EAuheaueaae

Offline ninjitisu

  • Usuário Ubuntu
  • *
  • Mensagens: 213
  • Design Dojo
    • Ver perfil
    • Design Dojo
Re: Ionbuntu :)
« Resposta #6 Online: 19 de Setembro de 2006, 08:28 »
é pode ser quem sabe eu uso pra renascer da cinzas um P 133 que tem no lixo aqui uahuaha  ;D
Agail Sanches aka "Ninjitisu"
www.designdojo.com.br
Interessado em aprender mais sobre o Ubuntu em português? ComeceAqui

Offline _Luks

  • Usuário Ubuntu
  • *
  • Mensagens: 202
  • Debian Lenny
    • Ver perfil
    • Meu Blog
Re: Ionbuntu :)
« Resposta #7 Online: 19 de Setembro de 2006, 17:22 »
daria pra colocar um screenshot desses temas ?

Offline GDA

  • Usuário Ubuntu
  • *
  • Mensagens: 92
    • Ver perfil
Re: Ionbuntu :)
« Resposta #8 Online: 21 de Setembro de 2006, 20:12 »
daria pra colocar um screenshot desses temas ?

Desses exatamente, não... Mas posso mandar um com a minha versão "marble-look". :)


jabber: droopalong@jabber.org - Ubuntu'ser:
Interessado em aprender mais sobre o Ubuntu em português? Comece aqui