Compton, he kaitito maamaa maau e tarai

Te hunga e korerorero ana ki ahau i runga i te IRC, e mohio ana ratou he kaiwhaiwhai ahau na papamahi mama. Noho ahau i te reira i roto i Xfce, Tuhinga o mua, Openbox a tae noa ki mate, mai i etahi atu taiao rite Gnome / Hinamona y KDE he tino ratou taumaha mo taku PC ngawari.

Waihoki, ka whakangahau au i ahau whakarite nga papa pera me te whakahiato tono marama ma tena ka taea e au tetahi punaha kia oti me te iti o te kohi.

I mua ra to maatau hoa TeToiroto86 korerotia mai ki a matou Karekau 11, i whakauruhia he kaitito ki te ingoa Compton, i whakamatautauria ai e au, me korero ano mo tenei ra.

Hei tiimata Compton he kaitito maramapera i whakahuatia i mua) kua whakauruhia ki roto Crunchbang. Ko tenei kaitito he Toka de xcompmgr-dana, i te waa nei he marau o xcompmgr. Ma tenei kua mohio koe ki te maama o te marama, engari ka kii atu ahau ki a koe: tata ki nga whiringa katoa kua whakahohehia, ko te 2MB te kohi. Nui, kaore koe e whakaaro? 🙂

Hei whakamatau, me tino whakaaro tatou tikiake mai i to whaarangi git y whakahiato. To raatau te ti'aturi he ōrite ki te hiahiatia ki te whakahiato xcompmgr. Ka whakatakotoria e au ki konei:

  • libx11
  • libxcomposite
  • whakangahau
  • whakatikatika
  • kaitautoko
  • pkg-whirihora
  • hanga
  • xproto / x11proto
  • xprop, xwininfo / x11-utils.
Panui mo Debian me Derivatives: ki nga libs taapirihia «-whakamoenga"i te mutunga. Hei tauira: libx11-dev.

Ka whakauruhia e maatau git a ka mahi matou (i roto i te taunga):

git clone git://github.com/chjj/compton.git

Ma tera e tango te waehere compton ki te kōpaki kei roto i a maatau. Na ka mahia e matou:

cd compton
make
sudo make install/

Ma tera ka whiwhi tatou Compton kua whakauruhia Compton e mahia ana e te tauranga, a ka taea e taatau te mohio ki te He kowhiringa e waatea ana con tangata compton. Heoi hei atawhai, ka waiho e au etahi tauira:

compton -c : te ahua taketake o te hanganga. Tito paerewa me nga atarangi i runga i nga matapihi, nga panui me nga taunga (ngā uara kua tautuhia kē).

compton -cCGb : hanganga me atarangi i runga i nga matapihi, te aukati kia kore e puta mai ki roto awhi me nga tauranga, ka toia ka maturuturu nga matapihi.

compton -r 12.0 -o 0.75 -l -15.0 -t -15.0 -I 0.028 -O 0.03 -D 3 -c -f -C -F -G : he roa te roa xD Koinei taku e whakamahi ana. Kua atarangi e kore e wera ki nga papa me nga taunga, whakaari «Muhani atu-ki waho»de matapihi, pera i roto tahua.

Ana me tera whakatuanga mutunga penei tonu aku papamahi:

Debian Xfce me Compton

Ko taku Debian Xfce me te whirihoranga kua whakahuatia.

 

Arch LXDE me Compton

Ko taku Arch LXDE me te whirihoranga rite.

Kei te kite koe, ko te mutunga ake o te mutunga makona. Nga painga pai mo te kohi iti, me nga teepu etahi ka ahei kia rite ki te hunga rawakore ki te whakaritea pōtekiteki o KDE.

Te taapiri i a Compton ki te tiimata o te rorohiko

Ko te tikanga kaore matou e hiahia ki te whakahohe i te waahanga manually Na me whakamaarama taatau me pehea te taapiri i a Compton ki te tiimata noa o etahi rorohiko.

Xfce: e haere ana matou ki Kaiwhakahaere Whirihoranga »Session ka tiimata» Tono aunoatanga o nga tono »Taapirihia a ka taapirihia e maatau te whakahau me nga waahanga ka manakohia e maatau.

Whakaoho Xfce

LXDE: whakatika matou i te konae / etc / xdg / lxsession / LXDE / autostart a ka taapiri matou i «@»Ka whai i te whakahau me nga waahanga e hiahia ana matou. Hei tauira, ko tetahi o taku Arch LXDE kei roto:

[waehere] @lxpanel –profile LXDE
@pcmanfm –papamahi –profile LXDE
@xscreensaver -kaore he pakaru
@setxkbmap latam
@ / usr / bin / numlockx kei runga
@commpton -r 12.0 -o 0.75 -l -15.0 -t -15.0 -I 0.023 -O 0.03 -D 3 -c -f -C -G
[/ waehere]

Pouakatuwhera: mo te Pouakatuwhera, me whakatika e matou te konae ~ / .config / openbox / autostart (Mena kaore he ahuatanga, ka hangaia e maatau) ka taapiri i te whakahau me nga whiringa i te mutunga, ka whai mai a "&" (pai ake). Hei tauira:

thunar --daemon &
nitrogen --restore &
tint2 &
compton -r 12.0 -o 0.75 -l -15.0 -t -15.0 -I 0.028 -O 0.03 -D 3 -c -f -C -F -G &

He tauira noa iho enei, ka taea e koe te whakamatautau i etahi atu papamahi, kaiwhakahaere matapihi ranei. Ana mena kei te hiahia ratou hea to whirihoranga, kia pai ki te tuhi ki roto to maatau whakapiri, ka waiho ki roto i te korero😉

Taapiri: Gcompton, he atanga whakairoiro mo Compton

Ana, ka tupu ko to maatau hoa aroha He Hononga era, Kua mahi i runga i te Atanga whakairoiro hoki Comptonkaranga Gcommpton. Kua oti te tuhituhi ki roto nānati y GTK. Mai i reira ka taea e taatau te whakatika katoa tawhā de Compton rite te tiimata, whakamutua y whakaara ano. Ana mena ka perehi i te patene «Taapirihia ki init session«, Ka tukuna he ture ki a maatau ka taea e taatau te whakauru atu ki te timatanga o to maatau papamahi. Ma te kore e ruarua, he tino whaihua mo te hunga e hiahia ana ki te GUI kaore i te taunga.

E waatea ana a Gcompton i te Tama Hononga Github, me etahi atu o ana kaupapa. Hei whakauru, i roto i te tauranga ka mahi matou:

git clone git: //github.com/son-link/gcompton.git

Na ka haere ki te kōpaki ka whakahaere i te konae gcomton.py. Heoi, mena kaare e tiimata, tiwhikahia te konae, ka rapu "Gcompton.glade", ka huri ki te huarahi katoa ki reira. Hei tauira, «/Home/user/gcompton/gcompton.glade», kei hea te kaiwhakamahi to kaiwhakamahi (mārama…).

Na me pehea a Compton? Kei te whakamahi koe i etahi atu kaitito matapihi? Kaore ranei ratou e whakamahi i nga kaitito? Korero, he taringa katoa au 😛


Ko nga korero o te tuhinga e piri ana ki o maatau kaupapa o matatika whakatika. Ki te ripoata i tetahi paatene paato Here.

42 korero, waiho maau

Waiho to korero

Ka kore e whakaputaina tō wāhitau īmēra. Kua tohua ngā āpure e hiahiatia ana ki *

*

*

  1. He kawenga mo nga raraunga: Miguel Ángel Gatón
  2. Te kaupapa o te raraunga: Whakahaerehia te SPAM, te whakahaere korero.
  3. Ture: To whakaae
  4. Whakawhitinga korero: Kaore nga korero e tukuna ki nga taha tuatoru engari ma te ture herenga.
  5. Rokiroki raraunga: Paetukutuku e whakahaerehia ana e Occentus Networks (EU)
  6. Tika: I nga wa katoa ka taea e koe te whakaiti, te whakaora me te muku i o korero.

  1.   trixi3 ka mea

    He takoha pai, mo te nuinga kaore i mohio 🙂 xd, kua roa e whakamahia ana e au, penei i te 2 wiki ana ka tere haere te pono ki te xcompmgr

    1.    AurosZx ka mea

      Ae, ko te mea pono: Kaore te xcompmgr i whakahee i ahau (he tino maamaa), me te Kaitohutohu o Kairo ... Ana, hoatuhia he 50MB mo te kaitito? OO Kaore he PC pai… Ko Compton te whakaoranga. Koina tonu taku i hiahia ai 😀

      1.    trixi3 ka mea

        koina ahau i mutu ai te whakamahi i te kaitito xd, koira ta taatau katoa e rapu nei mo te kaitito * - *

  2.   Citux ka mea

    I roto i te huritau tonu me te whakanui me nga tuhinga tino pai !!! nga mihi mo te taunakitanga, Ka whakamatauria e au i tenei wa tonu

    1.    AurosZx ka mea

      Ana, mena i whai wa ahau i tenei ra kua oti i ahau tetahi atu ... Engari me nama ahau ki a koe mo tenei wiki 😉

  3.   elav <° Linux ka mea

    Nga mihi AurosZx, taonga pai. Ka ngana ahau ki te whakauru me te whakamatautau mena he pai ake te mahi i te Xfce Composer, mena kaore au e pohehe, ka whakamahi i te xcompmgr. 😀

  4.   elav <° Linux ka mea

    Katahi ano ahau ka whakauru i a Compton ka whakahaere i to whakatu. He pai ki ahau te maeneene o nga paanga me nga whakawhitinga 😀

    1.    AurosZx ka mea

      Ae, he pai rawa atu 😀 Ka pa te «makutu» ki nga papa marama ...

  5.   TeToiroto86 ka mea

    He tino pai nga korero, he tuhinga tino pai, he tino oti, inaianei kaore he tangata e kii ana kia kaua e whakamatauhia.

  6.   Marco ka mea

    mena he wa taku i enei ra, ka ngana ahau ki a Arch ka whakamatautau ahau ki te Openbox tenei kaitito !!! Mauruuru mo nga korero

  7.   Spanishbizarro ka mea

    Te korero mo IRC. Me maama ake te toro atu. Kaore e taea me haere ahau ki te wahi e kii ana "rapua" kia kitea.

    1.    KZKG ^ Gaara ka mea

      Yup, ka ea e maatau tenei i roto i te kaupapa hou, Ki taku whakaaro he mea pai ki te whakapai ake i tenei ka tata ana te 80% ki te mea hou 🙂

      1.    AurosZx ka mea

        Kei te hiahia au ki te kite i taua kaupapa hou 🙂 Ka rua pea nga whakarereketanga (ka ngaro ranei nga whakatika) mo te kaupapa pukoro? Kaore i te tika, engari he pai. Ka taea e au te awhina i a koe ki te whakamatau mena ka hiahia koe.

        1.    elav <° Linux ka mea

          Ana, he tika te mea. I tenei wa ka hangaia e maatau te kaupapa PC kia rite rawa ki te taea. Ma to awhina, ka whakatikahia nga hapa ka taea te taapiri. Ka 100% nga mea katoa, ka arotahi maatau ki te kaupapa pukoro, na te mea he momo ake ta tenei momo kaupapa, akene ka waiho wehe e tatou, ara, he penei i te m.desdelinux.net 😀

          1.    KZKG ^ Gaara ka mea

            Mo te mea whakamutunga e whakahuahia ana e koe, ae, koina te mea pai.
            Ka mahi ano maatau mena ka kitea mai i te waea pukoro, ka uru ana ki te tuhinga ka huri noa ki tetahi atu hononga, he maama noa ki te mahi.

        2.    KZKG ^ Gaara ka mea

          Me tumanako kua tino whakaritea te ra 9, he uaua tonu haha

  8.   whakahihi ka mea

    Hei whakauru ki roto i te Xubuntu, me tango e koe te xcompmgr i te tuatahi?

    1.    elav <° Linux ka mea

      Kaore rawa, me whakaweto e koe te kaitito Xfce mena kua taea e koe.

  9.   Christopher ka mea

    Pai: D ...

    I tenei wa kei te piri ahau me te mohio ki a Debian Wheezy a kaore au i mohio ki te whakahohe i te miihini whakaraerae, engari he pai ki ahau tenei otinga

    Ma te ara mo te hunga e whakamatautau ana i a Gcompton, whakatikaia te konae me te tiimatanga no hea mai ia

    #! / usr / bin / env python2 whakawhiti ki te python

  10.   Crisnepita ka mea

    He aha te ataahua o te whakamarumaru o te atarangi, he kino kaore e taea e au te whakahiato = (

    1.    n3awha ka mea

      Ngana ki te whakauru tuatahi:
      he pai ki te whakauru i te gcc hanga-nui

      Na ka mahi ... hangai ki ta te tuhinga e kii nei. Ki te kore e haere, hoki mai koe ki konei ka tirohia tonu e matou 🙂

      1.    n3awha ka mea

        Ma te aha, he kaiwhakamahi Debian ahau, ehara i te kaiwhakamahi Mac na te mea kua kitea te tomokanga 😀 (pākiki)

    2.    KZKG ^ Gaara ka mea

      He aha te he i puta i a koe? Ana ... nau mai ki te papaanga 😀

      1.    Crisnepita ka mea

        Ka puta mai tenei he ki ahau:

        [sourcecode = bash]
        Kete x11 i kitea i te ara rapu pkg-config.
        Akene me taapiri e koe te raarangi ingoa kei roto ko te 'x11.pc'
        ki te PKG_CONFIG_PATH taurangi taiao
        Kaore he putea 'x11' i kitea
        Kete xcomposite i kitea i te ara rapu pkg-config.
        Akene me taapiri e koe te raarangi ingoa kei roto ko te 'xcomposite.pc'
        ki te PKG_CONFIG_PATH taurangi taiao
        Kaore he putea 'xcomposite' i kitea
        Kare i kitea nga putea xfixes i te ara rapu pkg-config.
        Akene me taapiri e koe te raarangi ingoa kei roto ko te 'xfixes.pc'
        ki te PKG_CONFIG_PATH taurangi taiao
        Kaore i kitea he kohinga 'xfixes'
        Kete xdamage i kitea i te ara rapu pkg-config.
        Akene me taapiri e koe te raarangi ingoa kei roto ko te 'xdamage.pc'
        ki te PKG_CONFIG_PATH taurangi taiao
        Kaore he putea 'xdamage' i kitea
        Kete xrender i kitea i te ara rapu pkg-config.
        Akene me taapiri e koe te raarangi ingoa kei roto ko te 'xrender.pc'
        ki te PKG_CONFIG_PATH taurangi taiao
        Kaore he putea 'xrender' i kitea
        cc -Wall -c src / compton.c
        I roto i te konae i whakauruhia mai i src / compton.c: 11: 0:
        src / compton.h: 17: 22: hapa mate: X11 / Xlib.h: Kare he konae, he whaiaronga ranei
        kua oti te whakahiato.
        hanga: *** [compton.o] Hapa 1
        [/ sourcecode]

        1.    elav <° Linux ka mea

          Kei te tautohetohe tatou i te take ki konei 😀

          1.    Crisnepita ka mea

            Ka taea e au te mahi engari me mihi tonu !!

            He pai ki ahau te mohio o te compton, haunga te kiko he maamaa ~

  11.   Hugo ka mea

    He pou pai. I korero noa ahau me elav a i taunaki mai ia ki ahau i tenei kaitito, engari i te mea kaore i uru mai ki te putea Debian i tumanako ahau kia whai waatea koe ki te ako i a ia, no reira he pai tenei pou moku Tino wa.

  12.   Tuhinga o mua ka mea

    Kia ora, me pehea kua whakauruhia e te tangata te gnome 3 i enei ra whakamutunga! na te mea kaore te punaha e tiimata i ahau, he mata pango noa me te tohu tohu te toenga kaore ano kia tiimata ki te tiimata: S

  13.   toro ka mea

    Kia ora e hoa i tenei wa ka tono ahau i te hanga, tukua mai tenei he ki a au, He tino pai ki ahau mena ka awhina koe i ahau
    pakiaka @ vero-pc: / home / vero / c / compton # hanga
    cc -Wall -c src / compton.c
    hanga: cc: Kare i kitea te kaupapa
    hanga: *** [compton.o] Hapa 127

    i mua i te whakawhetai ki a koe

    1.    KZKG ^ Gaara ka mea

      Tirohia mēnā kua whakauruhia te mōkihi ki a koe gcc
      Mauruuru!

  14.   Joanriar ka mea

    Kia ora, kei a au a Lubuntu 12.04 a ka ngana ahau ki te whakauru i tenei kaitito, engari ka hapa ahau i tenei waa.

    Kare i kitea te mokete libconfig i te ara rapu pkg-config.
    Akene me taapiri e koe te raarangi ingoa kei roto ko te 'libconfig.pc'
    ki te PKG_CONFIG_PATH taurangi taiao
    Kaore i kitea he kohinga 'libconfig'
    hanga: pcre-config: Kare i kitea te papatono
    cc -Wall -std = c99 -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_LIBCONFIG_LEGACY -c src / compton.c
    I roto i te konae i whakauruhia mai i src / compton.c: 11: 0:
    src / compton.h: 51: 18: hapa tupapaku: pcre.h: Kaore te konae, te raarangi ranei
    kua oti te whakahiato.
    hanga: *** [compton.o] Hapa 1

    (Panui: kua oti te whakauru i te gcc hanga-nui, nga whakawhirinaki i whakahuatia i te pou engari ko "xproto / x11proto me
    xprop, xwininfo / x11-utils »na te mea i kitea e au i taku putunga. I whakauruhia e ahau nga kohinga x11proto katoa i mutu i -dev)

  15.   eeedmund000 ka mea

    Nga mihi nui!

    Na tenei ka taea e au te whakamahi tika i tetahi mahi Lubuntu ki Kairo Dock, Tena koe.

    PS: ko te konae i whakamahia e ahau ki te whakauru Compton kua mutu i konei:
    https://launchpad.net/~richardgv/+archive/compton/+sourcepub/2965688/+listing-archive-extra

  16.   ko te ka mea

    Tena koe, ka uru atu ahau ki te xcompmgr-compton i nga waahanga katoa ka whakauruhia e au, engari ki roto i nga pona ka pau te kaha o te kaha, whai muri i te patunga, ka roa te puhiko, inaianei kei te whare marau taku iti nei te kai.

  17.   Algabe ka mea

    He tino pai nga atarangi me nga maaramatanga, he rite tonu ki te kaitito e whakamahia ana e au, nga mihi me nga mihi:]

  18.   DevNull Malkavian ka mea

    whakawhetai, i rapu ahau me pehea te whakauru atu ki te autostar i Manjaro me te Pouaka Open 🙂

    inaianei kia kite mena e mahi ana XD

    I ahau tenei raina

    ## Kaitito
    compton ~ / .config / compton.conf &

    me te taapiri i tenei
    compton -cCGf &

    kei hiahia tetahi ki te mohio 🙂 tena koutou katoa

  19.   Yoglis Fernandez ka mea

    Ana, kaare au he hou ki te linux, kei a au a Lubuntu (me te LXDE) ana kua whakauruhia te compton, i whakauruhia mai e au mai i te kaiwhakahaere putea, ko te mea ke kaore e mahi maau, ka tuhia e au nga waehere ki a koe i homai ki ahau a kaore he aha, he tiimata taku ki te tiimata-aunoa me tetahi atu waehere kaore he aha, hei tauira ko tenei i tukuna mai ki ahau mai i te wharangi paetukutuku -c -R-16 -L -24 -t -12 -G -b
    Kei a au hei kaiwhakahaere titonga taunoa kaore au e mohio ki taku mahi xD

  20.   Andres R ka mea

    Maama ki te ram engari ka kai i te 79% o taku cpu