BTColor: Qoraal yar oo lagu qurxiyo GNU / Linux Terminal

BTColor: Qoraal yar oo lagu qurxiyo GNU / Linux Terminal

BTColor: Qoraal yar oo lagu qurxiyo GNU / Linux Terminal

Maanta mar labaad, sidii waqti ka waqti, waxaan soo bandhigi doonaa qalab yar ama codsi, oo waxtar u leh kuwaa oo dhan caashaqyada ku habboonaanta ee uu aadka u qadariyo Nidaamka Howlgalka GNU / Linux, gaar ahaan ka terminal. Marka maanta, waxaan ka hadli doonaa "BTColor".

"BTColor", waa wax yar uun bash shell shell, taas oo aan u abuuray inay ku qurxiso terminaalkeyga Dib u dhig loo yeeray shaqaalaha Mucjisooyinka GNU / Linux, gaar ahaan maalmahaas dabaaldega ah #DesktopFriday Linuxeros.

Pywal: Qalab xiiso leh oo lagu habeeyo Terminalkeena

Pywal: Qalab xiiso leh oo lagu habeeyo Terminalkeena

Kahor intaanan guda gelin mowduuca wiilkan yar script abuuray loo yaqaan "BTColor", way fiicantahay in laxasuusto hadiiba aad rabto inaad balaadhiso aqoontaada ku saabsan qaabeyntaada GNU / Linux Distros, waad sahamin kartaa ka dib markaad dhammayso daabacaddan, qaar ka mid ah qoraallo kale oo hore oo la xiriira mawduuca, sida, Pywal, taas oo ah:

"Pywal waa aalad soo saarta midab midab leh oo ka soo baxa midabada ugu badan sawirka. Kadib ku dheji midabada nidaamka oo dhan iyo duulimaadka dhammaan bandhigyada aad ugu jeceshahay. Hadda waxaa jira 5 gadaal midab taageersan oo mid kasta oo ka mid ah oo bixiya midab ka duwan midab sawir kasta. Waxaad u badan tahay inaad ka heli doonto qorshe midab soo jiidasho leh. Pywal wuxuu kaloo taageeraa mawduucyada horay loo sii cayimay wuxuuna leeyahay in ka badan 250 mawduucyo la dhisay. Waxaad sidoo kale abuuri kartaa feylashaada mawduuca u gaarka ah si aad ula wadaagto dadka kale." Pywal: Qalab xiiso leh oo lagu habeeyo Terminalkeena

Maqaalka laxiriira:
Pywal: Qalab xiiso leh oo lagu habeeyo Terminalkeena

Maqaalka laxiriira:
Komorebi: Sidee loo qaabeeyaa Miisaskeena asal ahaan xamaasad leh?
Maqaalka laxiriira:
Conkys: Sidee loo qaabeeyaa Conkyskeena si aan loo isticmaalin Neofetch?
Maqaalka laxiriira:
Maalmaha GNU / Linux Desktop: Websaydhyada Wargeysyada loo Dabaaldego
Maqaalka laxiriira:
XFCE: Sidee loo qaabeeyaa Linux Mouse Desktop Environment?

BTColor: Midabada Terminal -ka Banners

Waa maxay qoraalka BTColor?

Sidii aan ku iri bilowga qoraalka, "BTColor" kama badna:

"Qoraal yar oo bash ah oo waxtar leh oo aan u sameeyay inaan ku qurxiyo terminal ay ku xardhan yihiin boodhadh iyo sawirro midab madow iyo caddaan ama midab buuxa leh leh, oo waxtar weyn u yeelan kara gaar ahaan, maalmahaas dabaaldegga #FridayDeDesk Linuxeros."

Sidee buu u shaqeeyaa qoraalka BTColor?

Asal ahaan qoraalka "BTColor" Waxa ay qabato waa midabayn un Calanka ASCII ee qoraalka ama sawirka, oo horay loogu abuuray gacan ama si toos ah iyada oo loo marayo degello internet oo khaas ah iyaga, sida:

Halka, si loo midabeeyo Calaamadaha ASCII, wuxuu adeegsadaa tikniyoolajiyada ama aqoonta oo si cad loogu sharaxay labadan websaydh:

Waa sidee koodhka BTColor Script?

Koodhku waa mid yara yar oo aad u fudud in la fahmo, sidaa darteedna, wax laga beddelo. Islana waa tan soo socota:

#!/usr/bin/env bash

# https://manytools.org/hacker-tools/ascii-banner/ -> Banners ASCII
# https://www.ascii-art-generator.org/es.html -> Creador de arte ASCII online
# https://misc.flogisoft.com/bash/tip_colors_and_formatting -> bash:tip_colors_and_formatting
# https://robotmoon.com/256-colors/#foreground-colors -> xterm 256 colors

initializeANSI()
{

esc=""

# a="${esc}[0m" # brillo por defecto
# b="${esc}[1m" # brillo alto
# c="${esc}[2m" # brillo bajo

# d="${esc}[4m" # subrayar banner
# e="${esc}[5m" # parpadear banner
# f="${esc}[7m" # invertir colores del banner (foreground and background)
# g="${esc}[8m" # ocultar banner

# h="${esc}[40m" # color del fondo banner: negro
# i="${esc}[41m" # color del fondo banner: rojo
# j="${esc}[42m" # color del fondo banner: verde
# k="${esc}[43m" # color del fondo banner: amarillo
# l="${esc}[44m" # color del fondo banner: blue
# m="${esc}[45m" # color del fondo banner: magenta
# n="${esc}[46m" # color del fondo banner: cyan
# o="${esc}[47m" # color del fondo banner: gris claro
p="${esc}[49m" # color del fondo banner: color por defecto
# k="${esc}[100m" # color del fondo banner: gris obscuro
# r="${esc}[101m" # color del fondo banner: rojo claro
# s="${esc}[102m" # color del fondo banner: verde claro
# t="${esc}[103m" # color del fondo banner: amarillo claro
# u="${esc}[104m" # color del fondo banner: azul claro
# v="${esc}[105m" # color del fondo banner: magenta claro
# w="${esc}[106m" # color del fondo banner: cyan claro
# x="${esc}[107m" # color del fondo banner: blanco

colorfont001="${esc}[38;5;226m" # Amarillo
colorfont002="${esc}[38;5;20m" # Azul
colorfont003="${esc}[38;5;1m" # Rojo
colorfont004="${esc}[38;5;15m" # Blanco

reset="${esc}[0m"

}

initializeANSI

cat << EOF

${p}${colorfont004}

${colorfont003} ******* ** ** **
${colorfont003} /**////** /** /** //
${colorfont003} /** /** ***** ****** /** ***** /** ** ******* ** ** ** **
${colorfont001} /** /** **///** **//// ****** **///**/** /**//**///**/** /**//** **
${colorfont001} /** /**/*******//***** **///**/*******/** /** /** /**/** /** //***
${colorfont003} /** ** /**//// /////**/** /**/**//// /** /** /** /**/** /** **/**
${colorfont003} /******* //****** ****** //******//******/********/** *** /**//****** ** //**
${colorfont003} /////// ////// ////// ////// ////// //////// // /// // ////// // //

${colorfont001} .,;;;;;;;;;;;;;;;;;;;;;;;,,.
${colorfont001} :k00OOOOOOOOOOOOOOOOOOOOOOOO00x,
${colorfont001} :X0:. ...... .cKK;
${colorfont001} dWd. ,d,'o; .kWl
${colorfont001} dWd. .kO:d0; .kWl
${colorfont002} .dWd. .,o00:':' .kWl
${colorfont002} .dWd. .:ldOOo:. .kWl
${colorfont004} .dWd. 'cxOkdl,..lkko' .kWl
${colorfont004} .dWd. .,lkOxc' .cOKKl. .kWl
${colorfont002} .dWd. ,o0NKo. .. .kWl
${colorfont002} .dWd. .:lxkkxl,. .kWl
${colorfont003} .dWd. .:okOdl;. .kWl
${colorfont003} .dWd. 'lxkOo' .kWl
${colorfont003} .dWd. .;x0d' .kWl
${colorfont003} oWx. ,o: .ONc
${colorfont003} ,OXx:;;,,,,,,,,,;;;,,;;;;,,,;:kXk.
${colorfont003} .cxOOOOOOOOOOOOOOOOOOOOOOOOOkd:.

${reset}

EOF

Soo dejiso, rakibo, isticmaal iyo shaashadda shaashadda

Dhab ahaantii looma baahna in la soo dejiyo oo wax la rakibo, tan iyo, dhammaan koodhku halkaasuu yaal. Waxay noqon laheyd halkii aad nuqul ka sameyn laheyd oo aad ku dhajin lahayd gabi ahaanba feyl qoraal ah oo aad u wici karto, laga yaabee, wax sida mucjisooyinka_lpi_btcolor.sh. Tan iyo markii, tani waa sida aan ku sameeyay, ku saabsan sida caadiga ah MX Linux respin loo yaqaan Mucjisooyinka in aan marwalba isticmaalo.

Kadibna, waxay noqon doontaa oo kaliya lagama maarmaan in lagu fuliyo a amarka fudud dhanka dariiqa feylka halka lagu duubay, kaas oo kiiskeyga ahaa kuwan soo socda:

«bash /opt/milagros/scripts/milagros_lpi_btcolor.sh»

Taasna, waxaan arki lahayn kuwa Calan Qoraal maxay leedahay "Laga bilaabo Linux" midab leh midabada Calanka Isbaanishka iyo Bannerka Sawirka oo leh astaanta "Laga bilaabo Linux" oo leh midabada Calanka Venezuela.

BTColor: Screenshot

Inta soo hartay, waxay noqon doontaa oo keliya lagama maarmaan in la isku dayo in kuwa cusub la galiyo Calaamadaha Qoraalka iyo Sawirka, oo loo abuuray gacanta ama si otomaatig ah, iyaga oo u xilsaaraya midabada kala duwan ee la geliyo, maxaa yeelay, hadda, waxay kaliya u keentaa 4 asal ahaan, Jaale, Buluug, Casaan iyo Cadaan ee pixels (jilayaal) ee Calanka.

Muuqaalka guud ee gabagabada maqaalka

Gabagabo

Waxaan rajeyneynaa tan "waxtar yar post" ku saabsan «BTColor», wax yar oo waxtar leh bash shell shell taasi waxay ogolaaneysaa in la qurxiyo a terminal con boodhadh qoraal iyo muuqaal ah en madow iyo caddaan ama midab buuxa, gaar ahaan maalmahaas dabaaldega ah #DesktopFriday Linuxeros; noqo mid dan weyn iyo dan u leh, dhammaantiis «Comunidad de Software Libre y Código Abierto» iyo wax ku biirinta baahinta ee nidaamka deegaanka ee cajiibka ah, weyn iyo sii kordhaya ee «GNU/Linux».

Hada, hadaad jeceshahay tan publicación, Ha 'joojin la wadaag kuwa kale, websaydhada aad ugu jeceshahay, kanaalada, kooxaha ama bulshooyinka shabakadaha bulshada ama nidaamyada farriimaha, ugu doorbidid bilaash, furfuran iyo / ama ammaan badan sidii telegraamsignalMastodon ama mid kale oo ka mid ah Isuduwaha, doorbidayaa

Xusuusnowna inaad ku booqato boggayaga hoyga at «Laga soo bilaabo Linux» si aad u sahamiso warar dheeri ah, iyo sidoo kale inaad ku biirto kanaalkayaga rasmiga ah ee Telegram ka FromLinuxHalka, wixii macluumaad dheeraad ah, aad booqan karto mid kasta Maktabadda internetka sida OpenLibra y JEDIT, si loo helo loona akhriyo buugaagta dhijitaalka ah (PDF-yada) mawduucan ama kuwa kale.


Nuxurka maqaalka wuxuu u hogaansamayaa mabaadi'deena anshaxa tifaftirka. Si aad u soo sheegto khalad guji Halkan.

Noqo kuwa ugu horreeya ee faallo bixiya

Ka tag faalladaada

cinwaanka email aan la daabacin doonaa. Beeraha loo baahan yahay waxaa lagu calaamadeeyay la *

*

*

  1. Masuul ka ah xogta: Miguel Ángel Gatón
  2. Ujeedada xogta: Xakamaynta SPAM, maaraynta faallooyinka.
  3. Sharci: Oggolaanshahaaga
  4. Isgaarsiinta xogta: Xogta looma gudbin doono dhinacyada saddexaad marka laga reebo waajibaadka sharciga ah.
  5. Kaydinta xogta: Macluumaadka ay martigelisay Shabakadaha Occentus (EU)
  6. Xuquuqda: Waqti kasta oo aad xadidi karto, soo ceshan karto oo tirtiri karto macluumaadkaaga.