Yenza izinhlelo zethu zokusebenza ze-Qt zisebenzise ingqikithi ye-GTK +

Bengikade ngicabanga ngalokhu selokhu ngaqala nge-Arch (ku-Out-of-the-Box distros akwenzekanga kimi), QGtkStyle (okusobala ukuthi inakekela ukwenza i-Qt isebenzise izingqikithi ze-GTK) ayitholi itimu ye-GTK esiyikhethayo (okungenani hhayi ku-Xfce) okwenza izinhlelo zethu zokusebenza ezibhalwe ku-Qt zibukeke zihlukile kunemvelo. Faka iphakheji yingibhabhi iyawenza umsebenzi (noma yikuphi ukuncika kwawo) kepha uma ufana nami futhi ungafuni ukufakwa kwimidiya ye-GNOME, lokhu kungasiza. Izinhlelo zokusebenza ekuqaleni zibukeka kanjena:

isithombe-skrini060413.png

Okokuqala sigijima QtConfig (okuzenzakalelayo okungakhonjiswa kwimenyu). Ku-Arch:

$ qtconfig-qt4

Kukhetho 'Khetha isitayela se-GUI' sikhetha i-GTK +.

Ngemuva kokuthi sizokwakha iskripthi, singasebenzisa umhlahlandlela kusuka ku- KZKG ^ Gaara: https://blog.desdelinux.net/bash-como-ha … jecutable/
Sizobiza iskripthi njenge ubasimo.sh (Lokhu kungakhethwa futhi isinqumo somsebenzisi) futhi sizokubhala lokhu ngaphakathi kombhalo: thekelisa i-GTK2_RC_FILES = »$ HOME / .gtkrc-2.0 ″
Ekugcineni kuzoba kanjena:

#!/bin/bash
# -*- ENCODING: UTF-8 -*-
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

Sizohambisa lo mbhalo siye kufolda /etc/profile.d ukusebenzisa ngokuzenzakalela nokutholakala kubo bonke abasebenzisi. *

# mv ~/qgtkstylehack.sh /etc/profile.d

Manje, kungenzeka ukuthi sesivele sinalo kufolda yethu yomuntu siqu ifayela elifihliwe elibiziwe .gtkrc-2.0 (nakhu ukucushwa kwethu siqu kwe-GTK +), uma kungenjalo, simane siyidale. Ngemuva kwalokho kufanele sengeze lokhu kufayela elishiwo: gtk-theme-igama= »Igama lakho isihloko«

Futhi i-voila, siqala kabusha ukuze izinguquko ziqale ukusebenza. Izicelo zethu kufanele zibukeke kanjena:

isithombe-skrini060413r.png

* Singangeza futhi umugqa thekelisa i-GTK2_RC_FILES = »$ HOME / .gtkrc-2.0 ″ ukufaka ifayela ~ / .bash_profile ukuze ushintsho luthinte kuphela umsebenzisi wethu.

Fuentes:


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-11, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   F3niX kusho

    Ideskithophu ibukeka inhle kakhulu, njengoba ngihlangane ne-arch nezisuselwa nami angikasuki, ngiyayithanda i-pacman ne-RR, manje ese-chakra ngoba ngiyayithanda indlela i-Kde epholile ngayo, olunye uthando lwami yi-Xfce, yize sengikukhohliwe.

  2.   umagazine kusho

    Kungezwe kuzintandokazi!

    Ukubingelela!

  3.   nje-omunye-dl-umsebenzisi kusho

    Ngingumfana omusha kulesi sihloko. Imuphi umtapo wolwazi wehluzo onconywa kakhulu maqondana nokuhambisana / i-multiplatform / ukusebenza njll? Qt noma gtk +?

  4.   mathias kusho

    Inhle kangakanani ingqikithi yezithonjana oyisebenzisayo, ziyini?

  5.   U-Andrex kusho

    Isu elihle! Ukuhlanganiswa phakathi kwe-GTK ne-Qt kungenye yezindlela zami eziphambili lapho kukhethwa izakhiwo nama-desktops. Ngikusho ukuthi ukufaka i- "libgnomeui" nakho kusebenza ukuhlanganisa izinhlelo ze-Qt ku-LXDE naku-Openbox. Kepha kimi, isicelo esihle kakhulu sokuhlanganisa i-GTK ne-Qt yi-QTCurve. Kunconyiwe !!

    1.    izinga kusho

      I- + 1 QtCurve yinhle futhi iyalungiswa ngokweqile.