Ungahlobanisa kanjani izixhumanisi zamagnet ku-Linux

I-Los izixhumanisi zamagnetic ziya ngokuya zanda futhi kancane kancane zishintsha amafayela we-torrent. Ngeshwa, ku Linux alukho uhlelo lokusebenza oluhlotshaniswa nalezi zinhlobo zezixhumanisi, noma ngabe uneklayenti lesifufula elifakiwe.

En elinye ithuba, sibone indlela yokulungisa le nkinga kuFirefox. Manje, sabelana ngesixazululo okufanele sisebenze naso noma yimuphi umhloli wamazwe web nanoma yikuphi imvelo yedeskithophu.

Lokhu kungumnikelo ovela ku-Arnoldo Fuentes, ngaleyo ndlela ube ngomunye wabaphumelele emncintiswaneni wethu wamasonto onke: «Yabelana ngalokho okwaziyo ngeLinux«. Siyakuhalalisela u-Arnoldo!

Hlanganisa iklayenti lesifufula

Lokhu kuyadingeka ngoba lapho sichofoza kusixhumanisi kusicela ukuthi sivule uhlelo lokusebenza olungaphandle kwesiphequluli. Ukutshela iziphequluli ukuthi yiluphi uhlelo lokusebenza lokuvula izixhumanisi zikazibuthe nge:

gconftool-2 -t string -s / desktop / gnome / url-handlers / magnet / command "/ usr / bin / transmission% s"

Ungashintsha / usr / bin / transmission ngendlela yeklayenti oyisebenzisayo (/ usr / bin / ktorrent, / usr / bin / transmission-gtk, njll).

gconftool-2 -s / desktop / gnome / url-handlers / magnet / needs_terminal false -t bool
i-gconftool-2 -t bool -s / desktop / gnome / url-handlers / magnet / inikwe amandla iqiniso

I-Chrome neChromium

Uma kwenzeka usebenzisa lezi ziphequluli kuzodingeka nokuthi uhlele ifayili / usr / bin / xdg-evulekile.

Sudo nano / usr / bin / xdg-open

Funa isigaba se-detectDE (kimi ekugcineni). Faka umugqa DE = gnome ngaphambi kwesitatimende secala. Lokhu kusebenza kunoma iyiphi imvelo yokuqhafaza esuselwa ku-GTK.

thola i-DE

uma [x "$ DE" = x ""]; lapho-ke
    I-DE = ejwayelekile
fi

I-DE = gnome

ikesi "$ DE" ku
    kde)
    vula_kde "$ url"
    ;;

    i-gnome)
    vula_gnome "$ url"
    ;;

    I-xfce)
    i-open_xfce "$ url"
    ;;

    okujwayelekile)
    i-open_generic "$ url"
    ;;

    *)
    exit_failure_operation_impossible "ayikho indlela etholakalayo yokuvula i - '$ url'"
    ;;
ukuthi uC

Uma kwenzeka usebenzisa i-KDE kuzofanele ungeze i-DE = kde.

fi
I-DE = kde

ikesi "$ DE" ku

Futhi i-voila, manje usungavula izixhumanisi zamagnet kusuka kusiphequluli. Lokhu kusebenza kuzo zonke iziphequluli zomdabu ngaphandle kwe-Opera.


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

Amazwana ayi-3, 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.   u-bbabel kusho

    Ungakopisha futhi isixhumanisi sefayela likazibuthe (ngokuchofoza kwesokudla) bese uvula i-URL kusuka ohlelweni ukuphatha izifufula.

  2.   nazario kusho

    ngiyabonga. isebenza ngokungenaphutha ku-ubuntu 13.10

  3.   manu kusho

    manje inketho kazibuthe inyamalale kusiphequluli sami: Yebo, ngingawususa kanjani umyalo?