https://wiki.archlinux.org/api.php?action=feedcontributions&user=Arkara&feedformat=atomArchWiki - User contributions [en]2024-03-28T09:15:41ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=BlueGriffon&diff=141582BlueGriffon2011-05-16T02:19:38Z<p>Arkara: Created page with "==What is it?== BlueGriffon is a new WYSIWYG content editor for the World Wide Web. Powered by Gecko, the rendering engine of Firefox 4. ==How can i get it== Currently, BlueGrif..."</p>
<hr />
<div>==What is it?==<br />
BlueGriffon is a new WYSIWYG content editor for the World Wide Web. Powered by Gecko, the rendering engine of Firefox 4.<br />
<br />
==How can i get it==<br />
Currently, BlueGriffon is only available through the [[Wikipedia:AUR|AUR]]</div>Arkarahttps://wiki.archlinux.org/index.php?title=Android_tethering&diff=131866Android tethering2011-02-23T17:13:15Z<p>Arkara: /* Procedure */ minor clarification</p>
<hr />
<div>[[Category:HOWTOs (English)]]<br />
[[Category:Networking (English)]]<br />
==What is Tethering==<br />
<br />
Tethering is a way to have Internet access on your PC through your smartphone using it's network connection.<br />
Usb and wifi access point tethering is natively supported from Android Froyo ( 2.2 ). Older versions of the Android OS, mostly unofficial roms<br />
have this option enabled.<br />
<br />
== Wifi access point ==<br />
Since Froyo ( Android 2.2 ), wifi access point ( use 3G ) is accessible by default, without the need to root the phone. Moreover, this method will not discharging battery too fast like USB.<br />
See : '''menu/wireless & networks/Internet tethering/Wifi access point'''<br />
<br />
== USB tethering ==<br />
<br />
===Tools Needed===<br />
* Root access to the PC ( for old Androids, Froyo ( Android 2.2 ) can do it natively )<br />
* Usb connection cable from your phone to pc<br />
<br />
=== Procedure ===<br />
*Disconnect your pc from for current wifi or ethernet network<br />
*Connect the phone to your pc using the usb cable<br />
*Enable the the tethering option from your phone. This is usually done from<br />
Settings --> Wireless & Networks --> Internet tethering<br />
<br />
'''(The following step may not be needed. usbnet module may not be necessary, do it only if you dont see a usb0 interface in the ifconfig step)'''<br />
*Load the usbnet module(if it's not already loaded). You will need root access to do that<br />
<pre><br />
modprobe usbnet<br />
</pre><br />
*Make sure that the usb interface is recognized by the system by using the following command<br />
<pre><br />
ifconfig -a<br />
</pre><br />
you should be able to see a usb0 device listed like this(notice the usb0 device):<br />
<pre><br />
root@arch:~# ifconfig -a<br />
eth0 Link encap:Ethernet HWaddr 00:16:36:FA:3E:31 <br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br />
<br />
lo Link encap:Local Loopback <br />
inet addr:127.0.0.1 Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING MTU:16436 Metric:1<br />
RX packets:316435 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:316435 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0 <br />
RX bytes:22875193 (21.8 Mb) TX bytes:22875193 (21.8 Mb)<br />
<br />
usb0 Link encap:Ethernet HWaddr C2:5A:11:8D:43:F5 <br />
BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br />
<br />
<br />
</pre><br />
*Configure the new network device via dhcp using the following command<br />
<pre><br />
ifconfig usb0 up && dhcpcd usb0<br />
</pre><br />
To stop the network sharing, issue the command<br />
<pre><br />
dhcpcd -x usb0<br />
</pre><br />
<br />
==USB tethering with openvpn==<br />
<br />
This method works for any old Android version and does not requires root access nor modifications in the phone (it is also suitable for Android 2.2 and later, but no longer required).<br />
<br />
It does not requires changes to your browser; in fact transparently handles all network traffic for any PC application (except ICMP pings). It is somewhat CPU intensive in the phone at high usage rates (a 500 kbyte/sec data transfer rate may take more than 50% of phone CPU in a powerful Acer Liquid).<br />
<br />
===Tools Needed===<br />
In Arch you need to install the [https://www.archlinux.org/packages/?q=openvpn openvpn] package. Is is also required the Android SDK installed (which can be obtained [http://developer.android.com/sdk/index.html here]). In the phone, the [http://code.google.com/p/azilink/ azilink] application, a Java-based NAT that will communicate with OpenVPN in your computer.<br />
<br />
====Configuring the phone connection in Arch Linux====<br />
<br />
Once installed the Android SDK, in order to use the provided tools your phone must be properly setup in udev and your linux user need to be granted rights. Otherwise you may need root privileges to use the Android SDK, which is non recommended. To perform this configuration, turn on USB debugging on the phone (usually in Settings -> Applications -> Development -> USB debugging), connect it to the PC by the USB cable and run the '''lsusb''' command. The device should be listed. Example output for the Acer Liquid phone:<br />
<br />
Bus 001 Device 006: ID '''0502''':3202 Acer, Inc. <br />
<br />
Then, create the following file, replacing ''ciri'' by your own Linux user name, and '''0502''' by the vendor ID of your own phone:<br />
<br />
{{File|name=/etc/udev/rules.d/50-android.rules|content=<br />
<nowiki>SUBSYSTEM=="usb", SYSFS(idVendor)=="0502", MODE="0666" OWNER="ciri"</nowiki> <br />
}}<br />
<br />
As root run the '''udevadm control restart''' command (or reboot your computer) to make the change effective.<br />
Now run in your linux PC the '''adb shell''' command from the Android SDK as plain (non root) user: you should get a unix prompt ''in your phone''.<br />
<br />
===Procedure===<br />
Run the AziLink application in the phone and select "About" at the bottom to receive instruccions, which basically are:<br />
<br />
# You'll have to enable USB debugging on the phone if it was not already enabled (usually in Settings -> Applications -> Development -> USB debugging).<br />
# Connect the phone with the USB cable to the PC.<br />
# Run AziLink and make sure that the '''Service active''' option at the top is checked.<br />
# Run the following commands in your linux PC:<br />
##As plain user: '''adb forward tcp:41927 tcp:41927''' (requires Android SDK installed)<br />
##As root: '''openvpn AziLink.ovpn'''<br />
<br />
{{File|name=AziLink.ovpn|content=<br />
<nowiki>dev tun<br />
remote 127.0.0.1 41927 tcp-client<br />
ifconfig 192.168.56.2 192.168.56.1<br />
route 0.0.0.0 128.0.0.0<br />
route 128.0.0.0 128.0.0.0<br />
socket-flags TCP_NODELAY<br />
keepalive 10 30<br />
dhcp-option DNS 192.168.56.1</nowiki> <br />
}}<br />
<br />
==Tethering with proxy==<br />
<br />
With this method tethering is achieved by port forwarding from the phone to the pc. This is suitable<br />
only for browsing. For firefox, you should set '''network.proxy.socks_remote_dns''' to '''true''' in '''about:config''' ( adress bar )<br />
<br />
===Tools Needed===<br />
* Root access to the PC<br />
* Android SDK which can be obtained [http://developer.android.com/sdk/index.html here]<br />
* Usb connection cable from your phone to pc<br />
* Proxoid application(free download from the Android market)<br />
<br />
<br />
===Instructions===<br />
Follow the instructions demonstrated in the following [http://androidcommunity.com/forums/f23/android-usb-tethering-for-linux-using-proxoid-24875/ link]</div>Arkarahttps://wiki.archlinux.org/index.php?title=Android_tethering&diff=131865Android tethering2011-02-23T17:12:17Z<p>Arkara: /* Procedure */ Remove numbering as it was not consistent, every step now starts with a bullet</p>
<hr />
<div>[[Category:HOWTOs (English)]]<br />
[[Category:Networking (English)]]<br />
==What is Tethering==<br />
<br />
Tethering is a way to have Internet access on your PC through your smartphone using it's network connection.<br />
Usb and wifi access point tethering is natively supported from Android Froyo ( 2.2 ). Older versions of the Android OS, mostly unofficial roms<br />
have this option enabled.<br />
<br />
== Wifi access point ==<br />
Since Froyo ( Android 2.2 ), wifi access point ( use 3G ) is accessible by default, without the need to root the phone. Moreover, this method will not discharging battery too fast like USB.<br />
See : '''menu/wireless & networks/Internet tethering/Wifi access point'''<br />
<br />
== USB tethering ==<br />
<br />
===Tools Needed===<br />
* Root access to the PC ( for old Androids, Froyo ( Android 2.2 ) can do it natively )<br />
* Usb connection cable from your phone to pc<br />
<br />
=== Procedure ===<br />
*Disconnect your pc from for current wifi or ethernet network<br />
*Connect the phone to your pc using the usb cable<br />
*Enable the the tethering option from your phone. This is usually done from<br />
Settings --> Wireless & Networks --> Internet tethering<br />
<br />
'''(The following step may not be needed. usbnet module may not be necessary, do it only if you dont see a usb0 interface in the following steps)'''<br />
*Load the usbnet module(if it's not already loaded). You will need root access to do that<br />
<pre><br />
modprobe usbnet<br />
</pre><br />
*Make sure that the usb interface is recognized by the system by using the following command<br />
<pre><br />
ifconfig -a<br />
</pre><br />
you should be able to see a usb0 device listed like this(notice the usb0 device):<br />
<pre><br />
root@arch:~# ifconfig -a<br />
eth0 Link encap:Ethernet HWaddr 00:16:36:FA:3E:31 <br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br />
<br />
lo Link encap:Local Loopback <br />
inet addr:127.0.0.1 Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING MTU:16436 Metric:1<br />
RX packets:316435 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:316435 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0 <br />
RX bytes:22875193 (21.8 Mb) TX bytes:22875193 (21.8 Mb)<br />
<br />
usb0 Link encap:Ethernet HWaddr C2:5A:11:8D:43:F5 <br />
BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br />
<br />
<br />
</pre><br />
*Configure the new network device via dhcp using the following command<br />
<pre><br />
ifconfig usb0 up && dhcpcd usb0<br />
</pre><br />
To stop the network sharing, issue the command<br />
<pre><br />
dhcpcd -x usb0<br />
</pre><br />
<br />
==USB tethering with openvpn==<br />
<br />
This method works for any old Android version and does not requires root access nor modifications in the phone (it is also suitable for Android 2.2 and later, but no longer required).<br />
<br />
It does not requires changes to your browser; in fact transparently handles all network traffic for any PC application (except ICMP pings). It is somewhat CPU intensive in the phone at high usage rates (a 500 kbyte/sec data transfer rate may take more than 50% of phone CPU in a powerful Acer Liquid).<br />
<br />
===Tools Needed===<br />
In Arch you need to install the [https://www.archlinux.org/packages/?q=openvpn openvpn] package. Is is also required the Android SDK installed (which can be obtained [http://developer.android.com/sdk/index.html here]). In the phone, the [http://code.google.com/p/azilink/ azilink] application, a Java-based NAT that will communicate with OpenVPN in your computer.<br />
<br />
====Configuring the phone connection in Arch Linux====<br />
<br />
Once installed the Android SDK, in order to use the provided tools your phone must be properly setup in udev and your linux user need to be granted rights. Otherwise you may need root privileges to use the Android SDK, which is non recommended. To perform this configuration, turn on USB debugging on the phone (usually in Settings -> Applications -> Development -> USB debugging), connect it to the PC by the USB cable and run the '''lsusb''' command. The device should be listed. Example output for the Acer Liquid phone:<br />
<br />
Bus 001 Device 006: ID '''0502''':3202 Acer, Inc. <br />
<br />
Then, create the following file, replacing ''ciri'' by your own Linux user name, and '''0502''' by the vendor ID of your own phone:<br />
<br />
{{File|name=/etc/udev/rules.d/50-android.rules|content=<br />
<nowiki>SUBSYSTEM=="usb", SYSFS(idVendor)=="0502", MODE="0666" OWNER="ciri"</nowiki> <br />
}}<br />
<br />
As root run the '''udevadm control restart''' command (or reboot your computer) to make the change effective.<br />
Now run in your linux PC the '''adb shell''' command from the Android SDK as plain (non root) user: you should get a unix prompt ''in your phone''.<br />
<br />
===Procedure===<br />
Run the AziLink application in the phone and select "About" at the bottom to receive instruccions, which basically are:<br />
<br />
# You'll have to enable USB debugging on the phone if it was not already enabled (usually in Settings -> Applications -> Development -> USB debugging).<br />
# Connect the phone with the USB cable to the PC.<br />
# Run AziLink and make sure that the '''Service active''' option at the top is checked.<br />
# Run the following commands in your linux PC:<br />
##As plain user: '''adb forward tcp:41927 tcp:41927''' (requires Android SDK installed)<br />
##As root: '''openvpn AziLink.ovpn'''<br />
<br />
{{File|name=AziLink.ovpn|content=<br />
<nowiki>dev tun<br />
remote 127.0.0.1 41927 tcp-client<br />
ifconfig 192.168.56.2 192.168.56.1<br />
route 0.0.0.0 128.0.0.0<br />
route 128.0.0.0 128.0.0.0<br />
socket-flags TCP_NODELAY<br />
keepalive 10 30<br />
dhcp-option DNS 192.168.56.1</nowiki> <br />
}}<br />
<br />
==Tethering with proxy==<br />
<br />
With this method tethering is achieved by port forwarding from the phone to the pc. This is suitable<br />
only for browsing. For firefox, you should set '''network.proxy.socks_remote_dns''' to '''true''' in '''about:config''' ( adress bar )<br />
<br />
===Tools Needed===<br />
* Root access to the PC<br />
* Android SDK which can be obtained [http://developer.android.com/sdk/index.html here]<br />
* Usb connection cable from your phone to pc<br />
* Proxoid application(free download from the Android market)<br />
<br />
<br />
===Instructions===<br />
Follow the instructions demonstrated in the following [http://androidcommunity.com/forums/f23/android-usb-tethering-for-linux-using-proxoid-24875/ link]</div>Arkarahttps://wiki.archlinux.org/index.php?title=Android_tethering&diff=131864Android tethering2011-02-23T17:09:35Z<p>Arkara: Added an ifconfig -a listing and clarification of a step in procedure added a possible non necessity of the usbnet module and reordering of the procedure steps</p>
<hr />
<div>[[Category:HOWTOs (English)]]<br />
[[Category:Networking (English)]]<br />
==What is Tethering==<br />
<br />
Tethering is a way to have Internet access on your PC through your smartphone using it's network connection.<br />
Usb and wifi access point tethering is natively supported from Android Froyo ( 2.2 ). Older versions of the Android OS, mostly unofficial roms<br />
have this option enabled.<br />
<br />
== Wifi access point ==<br />
Since Froyo ( Android 2.2 ), wifi access point ( use 3G ) is accessible by default, without the need to root the phone. Moreover, this method will not discharging battery too fast like USB.<br />
See : '''menu/wireless & networks/Internet tethering/Wifi access point'''<br />
<br />
== USB tethering ==<br />
<br />
===Tools Needed===<br />
* Root access to the PC ( for old Androids, Froyo ( Android 2.2 ) can do it natively )<br />
* Usb connection cable from your phone to pc<br />
<br />
=== Procedure ===<br />
#Disconnect your pc from for current wifi or ethernet network<br />
#Connect the phone to your pc using the usb cable<br />
#Enable the the tethering option from your phone. This is usually done from<br />
Settings --> Wireless & Networks --> Internet tethering<br />
<br />
'''(The following step may not be needed. usbnet module may not be necessary, do it only if you dont see a usb0 interface in the following steps)'''<br />
#Load the usbnet module(if it's not already loaded). You will need root access to do that<br />
<pre><br />
modprobe usbnet<br />
</pre><br />
#Make sure that the usb interface is recognized by the system by using the following command<br />
<pre><br />
ifconfig -a<br />
</pre><br />
you should be able to see a usb0 device listed like this(notice the usb0 device):<br />
<pre><br />
root@arch:~# ifconfig -a<br />
eth0 Link encap:Ethernet HWaddr 00:16:36:FA:3E:31 <br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br />
<br />
lo Link encap:Local Loopback <br />
inet addr:127.0.0.1 Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING MTU:16436 Metric:1<br />
RX packets:316435 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:316435 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0 <br />
RX bytes:22875193 (21.8 Mb) TX bytes:22875193 (21.8 Mb)<br />
<br />
usb0 Link encap:Ethernet HWaddr C2:5A:11:8D:43:F5 <br />
BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br />
<br />
<br />
</pre><br />
#Configure the new network device via dhcp using the following command<br />
<pre><br />
ifconfig usb0 up && dhcpcd usb0<br />
</pre><br />
To stop the network sharing, issue the command<br />
<pre><br />
dhcpcd -x usb0<br />
</pre><br />
<br />
==USB tethering with openvpn==<br />
<br />
This method works for any old Android version and does not requires root access nor modifications in the phone (it is also suitable for Android 2.2 and later, but no longer required).<br />
<br />
It does not requires changes to your browser; in fact transparently handles all network traffic for any PC application (except ICMP pings). It is somewhat CPU intensive in the phone at high usage rates (a 500 kbyte/sec data transfer rate may take more than 50% of phone CPU in a powerful Acer Liquid).<br />
<br />
===Tools Needed===<br />
In Arch you need to install the [https://www.archlinux.org/packages/?q=openvpn openvpn] package. Is is also required the Android SDK installed (which can be obtained [http://developer.android.com/sdk/index.html here]). In the phone, the [http://code.google.com/p/azilink/ azilink] application, a Java-based NAT that will communicate with OpenVPN in your computer.<br />
<br />
====Configuring the phone connection in Arch Linux====<br />
<br />
Once installed the Android SDK, in order to use the provided tools your phone must be properly setup in udev and your linux user need to be granted rights. Otherwise you may need root privileges to use the Android SDK, which is non recommended. To perform this configuration, turn on USB debugging on the phone (usually in Settings -> Applications -> Development -> USB debugging), connect it to the PC by the USB cable and run the '''lsusb''' command. The device should be listed. Example output for the Acer Liquid phone:<br />
<br />
Bus 001 Device 006: ID '''0502''':3202 Acer, Inc. <br />
<br />
Then, create the following file, replacing ''ciri'' by your own Linux user name, and '''0502''' by the vendor ID of your own phone:<br />
<br />
{{File|name=/etc/udev/rules.d/50-android.rules|content=<br />
<nowiki>SUBSYSTEM=="usb", SYSFS(idVendor)=="0502", MODE="0666" OWNER="ciri"</nowiki> <br />
}}<br />
<br />
As root run the '''udevadm control restart''' command (or reboot your computer) to make the change effective.<br />
Now run in your linux PC the '''adb shell''' command from the Android SDK as plain (non root) user: you should get a unix prompt ''in your phone''.<br />
<br />
===Procedure===<br />
Run the AziLink application in the phone and select "About" at the bottom to receive instruccions, which basically are:<br />
<br />
# You'll have to enable USB debugging on the phone if it was not already enabled (usually in Settings -> Applications -> Development -> USB debugging).<br />
# Connect the phone with the USB cable to the PC.<br />
# Run AziLink and make sure that the '''Service active''' option at the top is checked.<br />
# Run the following commands in your linux PC:<br />
##As plain user: '''adb forward tcp:41927 tcp:41927''' (requires Android SDK installed)<br />
##As root: '''openvpn AziLink.ovpn'''<br />
<br />
{{File|name=AziLink.ovpn|content=<br />
<nowiki>dev tun<br />
remote 127.0.0.1 41927 tcp-client<br />
ifconfig 192.168.56.2 192.168.56.1<br />
route 0.0.0.0 128.0.0.0<br />
route 128.0.0.0 128.0.0.0<br />
socket-flags TCP_NODELAY<br />
keepalive 10 30<br />
dhcp-option DNS 192.168.56.1</nowiki> <br />
}}<br />
<br />
==Tethering with proxy==<br />
<br />
With this method tethering is achieved by port forwarding from the phone to the pc. This is suitable<br />
only for browsing. For firefox, you should set '''network.proxy.socks_remote_dns''' to '''true''' in '''about:config''' ( adress bar )<br />
<br />
===Tools Needed===<br />
* Root access to the PC<br />
* Android SDK which can be obtained [http://developer.android.com/sdk/index.html here]<br />
* Usb connection cable from your phone to pc<br />
* Proxoid application(free download from the Android market)<br />
<br />
<br />
===Instructions===<br />
Follow the instructions demonstrated in the following [http://androidcommunity.com/forums/f23/android-usb-tethering-for-linux-using-proxoid-24875/ link]</div>Arkarahttps://wiki.archlinux.org/index.php?title=Android_tethering&diff=131861Android tethering2011-02-23T16:58:59Z<p>Arkara: </p>
<hr />
<div>[[Category:HOWTOs (English)]]<br />
[[Category:Networking (English)]]<br />
==What is Tethering==<br />
<br />
Tethering is a way to have Internet access on your PC through your smartphone using it's network connection.<br />
Usb and wifi access point tethering is natively supported from Android Froyo ( 2.2 ). Older versions of the Android OS, mostly unofficial roms<br />
have this option enabled.<br />
<br />
== Wifi access point ==<br />
Since Froyo ( Android 2.2 ), wifi access point ( use 3G ) is accessible by default, without the need to root the phone. Moreover, this method will not discharging battery too fast like USB.<br />
See : '''menu/wireless & networks/Internet tethering/Wifi access point'''<br />
<br />
== USB tethering ==<br />
<br />
===Tools Needed===<br />
* Root access to the PC ( for old Androids, Froyo ( Android 2.2 ) can do it natively )<br />
* Usb connection cable from your phone to pc<br />
<br />
=== Procedure ===<br />
#Enable the the tethering option from your phone. This is usually done from<br />
Settings --> Wireless & Networks --> Internet tethering<br />
#Disconnect from for current wifi or ethernet network<br />
#Load the usbnet module(if it's not already loaded). You will need root access to do that<br />
'''(The above step, is optional. usbnet module may not be necessary, do it only if you dont see a usb0 interface in the following steps)'''<br />
<pre><br />
modprobe usbnet<br />
</pre><br />
#Connect the phone to the pc via the usb cable.<br />
#Make sure that the usb interface is recognized by the system by using the following command<br />
<pre><br />
ifconfig -a<br />
</pre><br />
you should be able to see a usb0 device listed like this(notice the usb0 device):<br />
<pre><br />
root@arch:~# ifconfig -a<br />
eth0 Link encap:Ethernet HWaddr 00:16:36:FA:3E:31 <br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br />
<br />
lo Link encap:Local Loopback <br />
inet addr:127.0.0.1 Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING MTU:16436 Metric:1<br />
RX packets:316435 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:316435 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:0 <br />
RX bytes:22875193 (21.8 Mb) TX bytes:22875193 (21.8 Mb)<br />
<br />
usb0 Link encap:Ethernet HWaddr C2:5A:11:8D:43:F5 <br />
BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br />
<br />
<br />
</pre><br />
#Configure the new network device via dhcp using the following command<br />
<pre><br />
ifconfig usb0 up && dhcpcd usb0<br />
</pre><br />
To stop the network sharing, issue the command<br />
<pre><br />
dhcpcd -x usb0<br />
</pre><br />
<br />
==USB tethering with openvpn==<br />
<br />
This method works for any old Android version and does not requires root access nor modifications in the phone (it is also suitable for Android 2.2 and later, but no longer required).<br />
<br />
It does not requires changes to your browser; in fact transparently handles all network traffic for any PC application (except ICMP pings). It is somewhat CPU intensive in the phone at high usage rates (a 500 kbyte/sec data transfer rate may take more than 50% of phone CPU in a powerful Acer Liquid).<br />
<br />
===Tools Needed===<br />
In Arch you need to install the [https://www.archlinux.org/packages/?q=openvpn openvpn] package. Is is also required the Android SDK installed (which can be obtained [http://developer.android.com/sdk/index.html here]). In the phone, the [http://code.google.com/p/azilink/ azilink] application, a Java-based NAT that will communicate with OpenVPN in your computer.<br />
<br />
====Configuring the phone connection in Arch Linux====<br />
<br />
Once installed the Android SDK, in order to use the provided tools your phone must be properly setup in udev and your linux user need to be granted rights. Otherwise you may need root privileges to use the Android SDK, which is non recommended. To perform this configuration, turn on USB debugging on the phone (usually in Settings -> Applications -> Development -> USB debugging), connect it to the PC by the USB cable and run the '''lsusb''' command. The device should be listed. Example output for the Acer Liquid phone:<br />
<br />
Bus 001 Device 006: ID '''0502''':3202 Acer, Inc. <br />
<br />
Then, create the following file, replacing ''ciri'' by your own Linux user name, and '''0502''' by the vendor ID of your own phone:<br />
<br />
{{File|name=/etc/udev/rules.d/50-android.rules|content=<br />
<nowiki>SUBSYSTEM=="usb", SYSFS(idVendor)=="0502", MODE="0666" OWNER="ciri"</nowiki> <br />
}}<br />
<br />
As root run the '''udevadm control restart''' command (or reboot your computer) to make the change effective.<br />
Now run in your linux PC the '''adb shell''' command from the Android SDK as plain (non root) user: you should get a unix prompt ''in your phone''.<br />
<br />
===Procedure===<br />
Run the AziLink application in the phone and select "About" at the bottom to receive instruccions, which basically are:<br />
<br />
# You'll have to enable USB debugging on the phone if it was not already enabled (usually in Settings -> Applications -> Development -> USB debugging).<br />
# Connect the phone with the USB cable to the PC.<br />
# Run AziLink and make sure that the '''Service active''' option at the top is checked.<br />
# Run the following commands in your linux PC:<br />
##As plain user: '''adb forward tcp:41927 tcp:41927''' (requires Android SDK installed)<br />
##As root: '''openvpn AziLink.ovpn'''<br />
<br />
{{File|name=AziLink.ovpn|content=<br />
<nowiki>dev tun<br />
remote 127.0.0.1 41927 tcp-client<br />
ifconfig 192.168.56.2 192.168.56.1<br />
route 0.0.0.0 128.0.0.0<br />
route 128.0.0.0 128.0.0.0<br />
socket-flags TCP_NODELAY<br />
keepalive 10 30<br />
dhcp-option DNS 192.168.56.1</nowiki> <br />
}}<br />
<br />
==Tethering with proxy==<br />
<br />
With this method tethering is achieved by port forwarding from the phone to the pc. This is suitable<br />
only for browsing. For firefox, you should set '''network.proxy.socks_remote_dns''' to '''true''' in '''about:config''' ( adress bar )<br />
<br />
===Tools Needed===<br />
* Root access to the PC<br />
* Android SDK which can be obtained [http://developer.android.com/sdk/index.html here]<br />
* Usb connection cable from your phone to pc<br />
* Proxoid application(free download from the Android market)<br />
<br />
<br />
===Instructions===<br />
Follow the instructions demonstrated in the following [http://androidcommunity.com/forums/f23/android-usb-tethering-for-linux-using-proxoid-24875/ link]</div>Arkarahttps://wiki.archlinux.org/index.php?title=Android_tethering&diff=125400Android tethering2010-12-15T17:28:25Z<p>Arkara: Add instrution on how to stop the connection</p>
<hr />
<div>==What is Tethering==<br />
<br />
Tethering is a way to have Internet access on your PC through your smartphone using it's network connection.<br />
Usb and wifi access point tethering is natively supported from Android Froyo ( 2.2 ). Older versions of the Android OS, mostly unofficial roms<br />
have this option enabled.<br />
<br />
== Wifi access point ==<br />
Since Froyo ( Android 2.2 ), wifi access point ( use 3G ) is accessible by default, without the need to root the phone. Moreover, this method will not discharging battery too fast like USB.<br />
See : '''menu/wireless & networks/Internet tethering/Wifi access point'''<br />
<br />
== USB tethering ==<br />
<br />
===Tools Needed===<br />
* Root access to the PC ( for old Androids, Froyo ( Android 2.2 ) can do it natively )<br />
* Usb connection cable from your phone to pc<br />
<br />
=== Procedure ===<br />
#Enable the the tethering option from your phone. This is usually done from<br />
Settings --> Wireless & Networks --> Internet tethering<br />
#Disconnect from for current wifi or ethernet network<br />
#Load the usbnet module(if it's not already loaded). You will need root access to do that<br />
<pre><br />
modprobe usbnet<br />
</pre><br />
#Connect the phone to the pc via the usb cable.<br />
#Make sure that the usb interface is recognized by the system by using the following command<br />
<pre><br />
ifconfig -a<br />
</pre><br />
you should be able to see a usb0 device listed.<br />
#Configure the new network device via dhcp using the following command<br />
<pre><br />
ifconfig usb0 up && dhcpcd usb0<br />
</pre><br />
To stop the network sharing, issue the command<br />
<pre><br />
dhcpcd -x usb0<br />
</pre><br />
<br />
==USB tethering with openvpn==<br />
<br />
This method works for any old Android version and does not requires root access nor modifications in the phone (it is also suitable for Android 2.2 and later, but no longer required).<br />
<br />
It does not requires changes to your browser; in fact transparently handles all network traffic for any PC application (except ICMP pings). It is somewhat CPU intensive in the phone at high usage rates (a 500 kbyte/sec data transfer rate may take more than 50% of phone CPU in a powerful Acer Liquid).<br />
<br />
===Tools Needed===<br />
In Arch you need to install the [https://www.archlinux.org/packages/?q=openvpn openvpn] package. Is is also required the Android SDK installed (which can be obtained [http://developer.android.com/sdk/index.html here]). In the phone, the [http://code.google.com/p/azilink/ azilink] application, a Java-based NAT that will communicate with OpenVPN in your computer.<br />
<br />
====Configuring the phone connection in Arch Linux====<br />
<br />
Once installed the Android SDK, in order to use the provided tools your phone must be properly setup in udev and your linux user need to be granted rights. Otherwise you may need root privileges to use the Android SDK, which is non recommended. To perform this configuration, turn on USB debugging on the phone (usually in Settings -> Applications -> Development -> USB debugging), connect it to the PC by the USB cable and run the '''lsusb''' command. The device should be listed. Example output for the Acer Liquid phone:<br />
<br />
Bus 001 Device 006: ID '''0502''':3202 Acer, Inc. <br />
<br />
Then, create the following file, replacing ''ciri'' by your own Linux user name, and '''0502''' by the vendor ID of your own phone:<br />
<br />
{{File|name=/etc/udev/rules.d/50-android.rules|content=<br />
<nowiki>SUBSYSTEM=="usb", SYSFS(idVendor)=="0502", MODE="0666" OWNER="ciri"</nowiki> <br />
}}<br />
<br />
As root run the '''udevadm control restart''' command (or reboot your computer) to make the change effective.<br />
Now run in your linux PC the '''adb shell''' command from the Android SDK as plain (non root) user: you should get a unix prompt ''in your phone''.<br />
<br />
===Procedure===<br />
Run the AziLink application in the phone and select "About" at the bottom to receive instruccions, which basically are:<br />
<br />
# You'll have to enable USB debugging on the phone if it was not already enabled (usually in Settings -> Applications -> Development -> USB debugging).<br />
# Connect the phone with the USB cable to the PC.<br />
# Run AziLink and make sure that the '''Service active''' option at the top is checked.<br />
# Run the following commands in your linux PC:<br />
##As plain user: '''adb forward tcp:41927 tcp:41927''' (requires Android SDK installed)<br />
##As root: '''openvpn AziLink.ovpn'''<br />
<br />
{{File|name=AziLink.ovpn|content=<br />
<nowiki>dev tun<br />
remote 127.0.0.1 41927 tcp-client<br />
ifconfig 192.168.56.2 192.168.56.1<br />
route 0.0.0.0 128.0.0.0<br />
route 128.0.0.0 128.0.0.0<br />
socket-flags TCP_NODELAY<br />
keepalive 10 30<br />
dhcp-option DNS 192.168.56.1</nowiki> <br />
}}<br />
<br />
==Tethering with proxy==<br />
<br />
With this method tethering is achieved by port forwarding from the phone to the pc. This is suitable<br />
only for browsing. For firefox, you should set '''network.proxy.socks_remote_dns''' to '''true''' in '''about:config''' ( adress bar )<br />
<br />
===Tools Needed===<br />
* Root access to the PC<br />
* Android SDK which can be obtained [http://developer.android.com/sdk/index.html here]<br />
* Usb connection cable from your phone to pc<br />
* Proxoid application(free download from the Android market)<br />
<br />
<br />
===Instructions===<br />
Follow the instructions demonstrated in the following [http://androidcommunity.com/forums/f23/android-usb-tethering-for-linux-using-proxoid-24875/ link]</div>Arkarahttps://wiki.archlinux.org/index.php?title=Fonts&diff=117841Fonts2010-09-22T15:54:01Z<p>Arkara: /* Desktop environments */</p>
<hr />
<div>[[Category:Fonts (English)]] [[Category:Graphics and DTP (English)]]<br />
[[Category:HOWTOs (English)]] [[Category:Eye candy (English)]]<br />
{{i18n|Fonts}}<br />
{{Article summary start}}<br />
{{Article summary text|Covers the selection and installation of fonts on Arch Linux}}<br />
{{Article summary heading|Legal}}<br />
{{Article summary text|Certain font licenses may impose some legal limitations}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Font Configuration}}: Font setup and beautification<br />
{{Article summary wiki|Java Fonts - Sun JRE}}: Fonts specific to Sun's Java machine<br />
{{Article summary wiki|MS Fonts}}: Adding Microsoft fonts and mimicking Windows' font settings<br />
{{Article summary end}}<br />
== Font formats ==<br />
<br />
Most computer fonts used today are in either ''bitmap'' or ''outline'' data formats. Bitmap fonts store fixed images for each glyph in each typeface and point size. Outline or ''vector'' fonts store characters as instructions for drawing each glyph's lines and curves. Outline fonts scale smoothly in size over a wide range.<br />
<br />
Common font filename extensions include:<br />
<br />
* {{Codeline|bdf}} and {{Codeline|bdf.gz}} – bitmap fonts, ''b''itmap ''d''istribution ''f''ormat and gzip compressed {{Codeline|bdf}}<br />
* {{Codeline|pcf}} and {{Codeline|pcf.gz}} – bitmaps, ''p''ortable ''c''ompiled ''f''ont and gzip compressed {{Codeline|pcf}}<br />
* {{Codeline|psf}}, {{Codeline|psfu}}, {{Codeline|psf.gz}} and {{Codeline|psfu.gz}} – bitmaps, ''P''C ''s''creen ''f''ont, ''P''C ''s''creen ''f''ont ''U''nicode and the gzipped versions<br />
* {{Codeline|pfa}} and {{Codeline|pfb}} – outline fonts, ''P''ostScript ''f''ont ''A''SCII and ''P''ostScript ''f''ont ''b''inary. PostScript fonts carry built-in printer instructions.<br />
* {{Codeline|ttf}} – outline, ''T''rue''T''ype ''f''ont. Originally designed as a replacement for the PostScript fonts.<br />
* {{Codeline|otf}} – outline, ''O''pen''T''ype ''f''ont. TrueType with PostScript typographic instructions. <br />
<br />
For most purposes, the technical differences between TrueType and OpenType can be ignored, some fonts with a {{Codeline|ttf}} extension are actually OpenType fonts.<br />
<br />
=== Other formats ===<br />
<br />
The typesetting application, ''TeX,'' and its companion font software, ''Metafont,'' render characters using their own methods. Some of the file extensions used for fonts by these two programs are {{Codeline|*pk}}, {{Codeline|*gf}}, {{Codeline|mf}} and {{Codeline|vf}}.<br />
<br />
''FontForge,'' a font editing application, can store fonts in its native text-based format, {{Codeline|sfd}}, ''s''pline ''f''ont ''d''atabase.<br />
<br />
== Installation ==<br />
<br />
Various methods of installing fonts.<br />
<br />
=== Pacman ===<br />
<br />
Fonts and font collections in the enabled repositories can be installed using [[Pacman|pacman]]. Available fonts may be found by using:<br />
# pacman -Ss font<br />
Or to search for {{Codeline|ttf}} fonts only:<br />
# pacman -Ss ttf<br />
<br />
=== Creating a package ===<br />
<br />
If you want to give pacman the ability to manage your fonts, you can create an Arch package. These can also be shared with the community in the [[AUR]]. Here is an example of how to create a basic package. To learn more about building packages, read [[PKGBUILD]].<br />
<br />
<pre><br />
pkgname=ttf-fontname<br />
pkgver=1.0<br />
pkgrel=1<br />
depends=('fontconfig' 'xorg-font-utils')<br />
pkgdesc="custom fonts"<br />
arch=('any')<br />
source=(http://someurl.org/$pkgname.tar.bz2)<br />
install=$pkgname.install<br />
<br />
build()<br />
{<br />
mkdir -p $pkgdir/usr/share/fonts/TTF<br />
cp $srcdir/$pkgname/*.ttf $pkgdir/usr/share/fonts/TTF<br />
}<br />
</pre><br />
<br />
This PKGBUILD assumes the fonts are TrueType. An install file ({{Filename|ttf-fontname.install}}) will also need to be created to update the font cache:<br />
<br />
<pre><br />
post_install()<br />
{<br />
echo -n "Updating font cache... "<br />
fc-cache -fs >/dev/null<br />
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1<br />
mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1<br />
echo "done"<br />
}<br />
<br />
post_upgrade()<br />
{<br />
post_install<br />
}<br />
</pre><br />
<br />
=== Manual installation ===<br />
<br />
The recommended way of adding fonts to your system that are not in the repositories is described in [[#Creating a package]]. This gives pacman the ability to be able to remove or update them at a later time. Fonts can alternately be installed manually as well. <br />
<br />
To install fonts system-wide (available for all users), move the folder to the {{Filename|/usr/share/fonts/}} directory. To install fonts for only a single user, use {{Filename|~/.fonts/}} instead.<br />
<br />
Also you may need to update {{Filename|/etc/X11/xorg.conf}} with the new directory. Search for {{Codeline|FontPath}} to find the correct location within the file to add your new path.<br />
<br />
Then update the fontconfig font cache:<br />
<br />
$ fc-cache -vf<br />
<br />
==== Older applications ====<br />
<br />
With older applications that do not support fontconfig (e.g. GTK1 applications, and {{Codeline|xfontsel}}) the index will need to be created in the font directory:<br />
<br />
$ mkfontscale<br />
$ mkfontdir<br />
<br />
Or, to include more than one folder with one command:<br />
<br />
$ for dir in /font/dir1/ /font/dir2/; do xset +fp $dir; done && xset fp rehash<br />
<br />
At times the X server may fail to load the fonts directory and you will need to rescan all the {{Filename|fonts.dir}} files:<br />
<br />
# xset +fp /usr/share/fonts/misc # Inform the X server of new directories<br />
# xset fp rehash # Forces a new rescan<br />
<br />
To check that the font(s) is included:<br />
<br />
$ xlsfonts | grep fontname<br />
<br />
==Font packages==<br />
This is a selective list that includes many font packages from the [[AUR]] along with those in the official repositories.<br />
<br />
===Arabic===<br />
* {{Package AUR|ttf-sil-lateef}} - Unicode Arabic font from SIL ''(AUR)''<br />
* {{Package AUR|ttf-sil-scheherazade}} - Unicode Arabic font from SIL ''(AUR)''<br />
* {{Package AUR|arabeyes-fonts}} - Collection of free Arabic fonts ''(AUR)''<br />
<br />
===Braille===<br />
* {{Package Official|ttf-ubraille}} - Font containing Unicode symbols for ''braille''<br />
<br />
===Chinese, Japanese, Korean, Vietnamese===<br />
* {{Package Official|ttf-arphic-ukai}} - ''Kaiti'' (brush stroke) Unicode font (enabling anti-aliasing is suggested)<br />
* {{Package Official|ttf-arphic-uming}} - ''Mingti'' (printed) Unicode font<br />
* {{Package Official|ttf-fireflysung}} - ''New Sung'' font<br />
* {{Package Official|wqy-zenhei}} - Hei Ti Style (sans-serif) Chinese Outline font embedded with bitmapped Song Ti.<br />
* {{Package Official|wqy-bitmapfont}} - Bitmapped Song Ti (serif) Chinese font<br />
* {{Package AUR|ttf-hannom-usong}} - Song Ti quality TrueType fonts for Unicode Han and Nom (Chinese and Vietnamese) characters ''(AUR)''<br />
* {{Package AUR|otf-ipafont}} - Japanese Gothic (san-serif) and Mincho (serif) font set; one of the highest quality open source fonts. Default of openSUSE-ja. ''(AUR)''<br />
* {{Package AUR|otf-takao}} - Japanese fonts derived from IPAfont that aims to fix the problems of IPAfont by community. Default of Ubuntu-ja ''(AUR)''<br />
* {{Package AUR|ttf-vlgothic}} - Japanese Gothic fonts. Default of Debian/Fedora/Vine Linux ''(AUR)''<br />
* {{Package AUR|ttf-ipa-mona}}, {{Package AUR|ttf-monapo}} - Japanese fonts to show [http://en.wikipedia.org/wiki/2channel_Shift_JIS_art 2channel Shift JIS art] properly. ''(AUR)''<br />
* {{Package AUR|ttf-aquafont}} - Handwritten fixed-width TrueType font (''AUR'')<br />
* {{Package AUR|ttf-baekmuk}} - Collection of Korean TrueType fonts ''(AUR)''<br />
* {{Package AUR|ttf-alee}} - Set of free Hangul TrueType fonts ''(AUR)''<br />
* {{Package AUR|ttf-unfonts-core}} - Un fonts (default Baekmuk fonts may be unsatisfactory) (''AUR'')<br />
<br />
===Cyrillic===<br />
''See: [[#Unicode]] below''<br />
* {{Package AUR|ttf-pt-sans}} - pan-Cyrillic font family (''AUR'')<br />
* {{Package AUR|font-arhangai}} - Mongolian Cyrillic (''AUR'')<br />
* {{Package AUR|ttf-pingwi-typography}} - PingWi Typography (PWT) fonts (''AUR'')<br />
<br />
===Hebrew===<br />
* {{Package Official|culmus}} - Nice collection of free Hebrew fonts<br />
<br />
===Indic===<br />
* {{Package Official|ttf-freebanglafont}} - Font for Bangla<br />
* {{Package Official|ttf-indic-otf}} - Indic Opentype Fonts collection (containing ttf-freebanglafont)<br />
<br />
===Khmer===<br />
* {{Package Official|ttf-khmer}} - Font covering glyphs for Khmer language<br />
<br />
===Latin===<br />
* {{Package Official|font-bh-ttf}} - Xorg Luxi fonts<br />
* {{Package Official|ttf-cheapskate}} - Font collection from ''dustismo.com''<br />
* {{Package Official|ttf-isabella}} - Calligraphic font based on the ''Isabella Breviary'' of 1497<br />
* {{Package Official|ttf-junicode}} - Junius font containing almost complete medieval latin script glyphs<br />
* {{Package Official|ttf-ms-fonts}} - Un-extracted fonts from ''Microsoft''. Note: ''Trebuchet Bold,'' {{Filename|trebucbd.ttf}}, is missing from this package.<br />
* {{Package AUR|ttf-ms-fonts-lic}} - Cleaner alternative to the above (''AUR'')<br />
<br />
===Sinhala===<br />
* {{Package AUR|ttf-lklug}} - Sinhala Unicode font (''AUR'')<br />
<br />
===Tamil===<br />
* {{Package AUR|ttf-tamil}} - Tamil Unicode fonts (''AUR'')<br />
<br />
===Thai===<br />
* {{Package Official|ttf-thai}} - Font covering glyphs for Thai<br />
<br />
===Programmer===<br />
* {{Package Official|dina-font}}<br />
* {{Package Official|terminus-font}}<br />
* {{Package AUR|ttf-inconsolata-g}} (''AUR'')<br />
* DejaVu Sans Mono (from package {{Package Official|ttf-dejavu}}), Lucida Typewriter (included in package {{Package Official|jre}})<br />
<br />
===Math===<br />
* {{Package Official|font-mathematica}} - Mathematica fonts by Wolfram Research, Inc.<br />
* {{Package AUR|ttf-mathtype}} - MathType fonts ''(AUR)''<br />
* {{Package AUR|ttf-computer-modern-fonts}} - Flagged out of date as of 2009-11-14 ''(AUR)''<br />
<br />
===Unicode===<br />
* {{Package Official|ttf-dejavu}} - Extension and replacement of Bitstream Vera<br />
* {{Package Official|ttf-liberation}} - Collection of free fonts developed for Red Hat<br />
* {{Package Official|ttf-linux-libertine}} - Replacement for Times New Roman<br />
* {{Package Official|ttf-freefont}} - Clones of Times, Helvetica and Courier with large Unicode support but unequal quality<br />
* {{Package Official|ttf-mph-2b-damase}} - Covers full plane 1 and several scripts<br />
* {{Package AUR|ttf-liberastika}} - Liberation fonts with the Cyrillic glyphs redrawn ''(AUR)''<br />
* {{Package AUR|ttf-sil-fonts}} - Gentium, Charis, Doulos, Andika and Abyssinica from SIL ''(AUR)''<br />
<br />
==Recommendations==<br />
<br />
Some recommendations for different types of uses.<br />
<br />
===International users===<br />
;Chinese<br />
:{{package AUR|wqy-zenhei}} (Hei Ti embedded with bitmapped Song Ti, also supporting Japanese (partial) and Korean characters), {{package AUR|ttf-arphic-ukai}} (Kai Ti) , {{package AUR|ttf-hannom-usong}} (Song Ti, supporting Vietnamese characters)<br />
;Japanese<br />
:{{package AUR|otf-ipafont}} (IPA fonts), {{package AUR|otf-takao}} (Takao fonts)<br />
;Korean<br />
:{{package AUR|ttf-baekmuk}}<br />
<br />
===Desktop environments===<br />
To be able to have good font rendering on desktop environments such as kde the package {{Package Official|xorg-fonts-type1}} must be installed<br />
other packages containing popular fonts are:<br />
* {{Package Official|ttf-ms-fonts}} — Official Microsoft Fonts<br />
* {{Package Official|ttf-dejavu}} — Popular Linux Serif and Sans-Serif fonts<br />
* {{Package Official|ttf-liberation}} — Fonts designed by Red Hat to replace Microsoft Fonts on Linux<br />
* {{Package AUR|ttf-arkpandora}} — Alternative to Arial and Times New Roman fonts<br />
* {{Package AUR|ttf-droid}} — Comfortable font designed for use on small screens of mobile handsets<br />
<br />
Unneccessary:<br />
<br />
* {{Package Official|xorg-fonts-75dpi}} and {{Package Official|xorg-fonts-100dpi}} - old bitmap fonts installed with the Xorg server. It is safe to remove these.<br />
<br />
===Terminals===<br />
Here are some suggestions. Every user has their own preference, experiment to find one that suits you. <br />
If you won't like to try one by one, there's an opinion from Dan Benjamin on his blog: [http://hivelogic.com/articles/top-10-programming-fonts ''Top 10 Programming Fonts''].<br />
<br />
Here's a big list of fonts by Trevor Lowing: http://www.lowing.org/fonts/<br />
<br />
*Andale Mono ({{Package Official|ttf-ms-fonts}})<br />
*Anka/Coder ({{Package AUR|ttf-anka-coder}})<br />
*Anonymous Pro ({{Package AUR|ttf-anonymous-pro}})<br />
*Bitstream Vera Mono ({{Package Official|ttf-bitstream-vera}})<br />
*Consolas ({{Package AUR|ttf-vista-fonts}})<br />
*Courier ({{Package Official|ttf-ms-fonts}})<br />
*Courier New ({{Package Official|ttf-ms-fonts}})<br />
*Default 8x16<br />
*Dina ({{Package Official|dina-font}})<br />
*DejaVu fonts ({{Package Official|ttf-dejavu}})<br />
*Droid Sans Mono ({{Package AUR|ttf-droid}})<br />
*Envy Code R ({{Package AUR|ttf-envy-code-r}})<br />
*Gamow<br />
*Inconsolata ({{Package Official|ttf-inconsolata}})<br />
*Inconsolata-g (adds some programmer-friendly modifications) ({{Package AUR|ttf-inconsolata-g}})<br />
*Liberation Mono ({{Package Official|ttf-liberation}})<br />
*Lime ({{Package Official|artwiz-fonts}})<br />
*Lucida Typewriter<br />
*Monaco ({{Package AUR|monaco_linux}})<br />
*[http://fontforge.sourceforge.net/sfds/ Monospace]<br />
*Profont ({{Package AUR|profont}})<br />
*Proggy fonts ({{Package AUR|proggyfonts}})<br />
*Terminus ({{Package Official|terminus-font}})<br />
*Unifont (glyphs like ಠ_ಠ (look of disapproval)) ({{Package Official|bdf-unifont}})<br />
<br />
==Console fonts==<br />
<br />
The console, meaning a terminal running with no ''X'' Window System, uses the ASCII character set as the default. This font and the keymap used are easily changed.<br />
<br />
A console font is limited to either 256 or 512 characters. The fonts are found in {{Filename|/usr/share/kbd/consolefonts/}}. ''Keymaps, ''the connection between the key pressed and the character used by the computer, are found in the subdirectories of {{Filename|/usr/share/kbd/keymaps/}}.<br />
<br />
=== Previewing and testing ===<br />
<br />
Unfortunately, no organized library of images is available to preview console fonts. The user can, however, use {{Codeline|setfont}} to temporarily change the font and be able to consider its use as the default. The available ''glyphs ''or letters in the font can also be viewed as a table with the command {{Codeline|showconsolefont}}. <br />
<br />
If the newly changed font is not suitable, a return to the default font is done by issuing the command {{Codeline|setfont}} without any arguments. If the console display is totally unreadable, this command will still work—the user just types in {{Codeline|setfont}} while "working blind."<br />
<br />
Note that {{Codeline|setfont}} only works on the console currently being used. Any other consoles, active or inactive, remain unaffected.<br />
<br />
==== Examples ====<br />
<br />
Change the font. This example is distinctive:<br />
$ setfont /usr/share/kbd/consolefonts/gr737b-9x16-medieval.psfu.gz<br />
<br />
Or change the font to one with 512 glyphs and set the keymap to ''ISO 8859-5'' using the {{Codeline|-m}} option:<br />
$ setfont /usr/share/kbd/consolefonts/LatArCyrHeb-16.psfu.gz -m 8859-5<br />
<br />
Then issue commands that send text to the display, perhaps view a ''manpage'' and try ''vi'' or ''nano'', and view the table of glyphs with the command, {{Codeline|showconsolefont}}.<br />
<br />
Return to the default font with:<br />
$ setfont<br />
<br />
=== Changing the default font ===<br />
<br />
To change the default font, the {{Codeline|CONSOLEFONT<nowiki>=</nowiki>}} and {{Codeline|CONSOLEMAP<nowiki>=</nowiki>}} settings in {{Filename|/etc/rc.conf}} must be altered. Again, the fonts can be found in {{Filename|/usr/share/kbd/consolefonts/}} directory and keymaps can be found in the subdirectories of {{Filename|/usr/share/kbd/keymaps/}}.<br />
<br />
==== Examples ====<br />
For displaying characters such as ''Č, ž, đ, ''or ''š,'' using the font {{Filename|lat2-16.psfu.gz}}:<br />
CONSOLEFONT="lat2-16"<br />
<br />
Set the proper keymap, in this case:<br />
CONSOLEMAP="8859-2"<br />
<br />
To use the specified font in early userspace, that is, early in the bootup process, add the {{Codeline|consolefont}} hook to {{Filename|/etc/mkinitcpio.conf}}:<br />
HOOKS="base udev autodetect pata scsi sata filesystems '''consolefont'''"<br />
<br />
Then rebuild the image:<br />
# mkinitcpio -p kernel26<br />
<br />
{{Note|The above steps must be repeated for each kernel if more than one kernel package is installed.}}<br />
<br />
See: [[Mkinitcpio#HOOKS]]</div>Arkarahttps://wiki.archlinux.org/index.php?title=Fonts&diff=117840Fonts2010-09-22T15:53:22Z<p>Arkara: /* Desktop environments */ Added a package needed for antialised font rendering</p>
<hr />
<div>[[Category:Fonts (English)]] [[Category:Graphics and DTP (English)]]<br />
[[Category:HOWTOs (English)]] [[Category:Eye candy (English)]]<br />
{{i18n|Fonts}}<br />
{{Article summary start}}<br />
{{Article summary text|Covers the selection and installation of fonts on Arch Linux}}<br />
{{Article summary heading|Legal}}<br />
{{Article summary text|Certain font licenses may impose some legal limitations}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Font Configuration}}: Font setup and beautification<br />
{{Article summary wiki|Java Fonts - Sun JRE}}: Fonts specific to Sun's Java machine<br />
{{Article summary wiki|MS Fonts}}: Adding Microsoft fonts and mimicking Windows' font settings<br />
{{Article summary end}}<br />
== Font formats ==<br />
<br />
Most computer fonts used today are in either ''bitmap'' or ''outline'' data formats. Bitmap fonts store fixed images for each glyph in each typeface and point size. Outline or ''vector'' fonts store characters as instructions for drawing each glyph's lines and curves. Outline fonts scale smoothly in size over a wide range.<br />
<br />
Common font filename extensions include:<br />
<br />
* {{Codeline|bdf}} and {{Codeline|bdf.gz}} – bitmap fonts, ''b''itmap ''d''istribution ''f''ormat and gzip compressed {{Codeline|bdf}}<br />
* {{Codeline|pcf}} and {{Codeline|pcf.gz}} – bitmaps, ''p''ortable ''c''ompiled ''f''ont and gzip compressed {{Codeline|pcf}}<br />
* {{Codeline|psf}}, {{Codeline|psfu}}, {{Codeline|psf.gz}} and {{Codeline|psfu.gz}} – bitmaps, ''P''C ''s''creen ''f''ont, ''P''C ''s''creen ''f''ont ''U''nicode and the gzipped versions<br />
* {{Codeline|pfa}} and {{Codeline|pfb}} – outline fonts, ''P''ostScript ''f''ont ''A''SCII and ''P''ostScript ''f''ont ''b''inary. PostScript fonts carry built-in printer instructions.<br />
* {{Codeline|ttf}} – outline, ''T''rue''T''ype ''f''ont. Originally designed as a replacement for the PostScript fonts.<br />
* {{Codeline|otf}} – outline, ''O''pen''T''ype ''f''ont. TrueType with PostScript typographic instructions. <br />
<br />
For most purposes, the technical differences between TrueType and OpenType can be ignored, some fonts with a {{Codeline|ttf}} extension are actually OpenType fonts.<br />
<br />
=== Other formats ===<br />
<br />
The typesetting application, ''TeX,'' and its companion font software, ''Metafont,'' render characters using their own methods. Some of the file extensions used for fonts by these two programs are {{Codeline|*pk}}, {{Codeline|*gf}}, {{Codeline|mf}} and {{Codeline|vf}}.<br />
<br />
''FontForge,'' a font editing application, can store fonts in its native text-based format, {{Codeline|sfd}}, ''s''pline ''f''ont ''d''atabase.<br />
<br />
== Installation ==<br />
<br />
Various methods of installing fonts.<br />
<br />
=== Pacman ===<br />
<br />
Fonts and font collections in the enabled repositories can be installed using [[Pacman|pacman]]. Available fonts may be found by using:<br />
# pacman -Ss font<br />
Or to search for {{Codeline|ttf}} fonts only:<br />
# pacman -Ss ttf<br />
<br />
=== Creating a package ===<br />
<br />
If you want to give pacman the ability to manage your fonts, you can create an Arch package. These can also be shared with the community in the [[AUR]]. Here is an example of how to create a basic package. To learn more about building packages, read [[PKGBUILD]].<br />
<br />
<pre><br />
pkgname=ttf-fontname<br />
pkgver=1.0<br />
pkgrel=1<br />
depends=('fontconfig' 'xorg-font-utils')<br />
pkgdesc="custom fonts"<br />
arch=('any')<br />
source=(http://someurl.org/$pkgname.tar.bz2)<br />
install=$pkgname.install<br />
<br />
build()<br />
{<br />
mkdir -p $pkgdir/usr/share/fonts/TTF<br />
cp $srcdir/$pkgname/*.ttf $pkgdir/usr/share/fonts/TTF<br />
}<br />
</pre><br />
<br />
This PKGBUILD assumes the fonts are TrueType. An install file ({{Filename|ttf-fontname.install}}) will also need to be created to update the font cache:<br />
<br />
<pre><br />
post_install()<br />
{<br />
echo -n "Updating font cache... "<br />
fc-cache -fs >/dev/null<br />
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1<br />
mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1<br />
echo "done"<br />
}<br />
<br />
post_upgrade()<br />
{<br />
post_install<br />
}<br />
</pre><br />
<br />
=== Manual installation ===<br />
<br />
The recommended way of adding fonts to your system that are not in the repositories is described in [[#Creating a package]]. This gives pacman the ability to be able to remove or update them at a later time. Fonts can alternately be installed manually as well. <br />
<br />
To install fonts system-wide (available for all users), move the folder to the {{Filename|/usr/share/fonts/}} directory. To install fonts for only a single user, use {{Filename|~/.fonts/}} instead.<br />
<br />
Also you may need to update {{Filename|/etc/X11/xorg.conf}} with the new directory. Search for {{Codeline|FontPath}} to find the correct location within the file to add your new path.<br />
<br />
Then update the fontconfig font cache:<br />
<br />
$ fc-cache -vf<br />
<br />
==== Older applications ====<br />
<br />
With older applications that do not support fontconfig (e.g. GTK1 applications, and {{Codeline|xfontsel}}) the index will need to be created in the font directory:<br />
<br />
$ mkfontscale<br />
$ mkfontdir<br />
<br />
Or, to include more than one folder with one command:<br />
<br />
$ for dir in /font/dir1/ /font/dir2/; do xset +fp $dir; done && xset fp rehash<br />
<br />
At times the X server may fail to load the fonts directory and you will need to rescan all the {{Filename|fonts.dir}} files:<br />
<br />
# xset +fp /usr/share/fonts/misc # Inform the X server of new directories<br />
# xset fp rehash # Forces a new rescan<br />
<br />
To check that the font(s) is included:<br />
<br />
$ xlsfonts | grep fontname<br />
<br />
==Font packages==<br />
This is a selective list that includes many font packages from the [[AUR]] along with those in the official repositories.<br />
<br />
===Arabic===<br />
* {{Package AUR|ttf-sil-lateef}} - Unicode Arabic font from SIL ''(AUR)''<br />
* {{Package AUR|ttf-sil-scheherazade}} - Unicode Arabic font from SIL ''(AUR)''<br />
* {{Package AUR|arabeyes-fonts}} - Collection of free Arabic fonts ''(AUR)''<br />
<br />
===Braille===<br />
* {{Package Official|ttf-ubraille}} - Font containing Unicode symbols for ''braille''<br />
<br />
===Chinese, Japanese, Korean, Vietnamese===<br />
* {{Package Official|ttf-arphic-ukai}} - ''Kaiti'' (brush stroke) Unicode font (enabling anti-aliasing is suggested)<br />
* {{Package Official|ttf-arphic-uming}} - ''Mingti'' (printed) Unicode font<br />
* {{Package Official|ttf-fireflysung}} - ''New Sung'' font<br />
* {{Package Official|wqy-zenhei}} - Hei Ti Style (sans-serif) Chinese Outline font embedded with bitmapped Song Ti.<br />
* {{Package Official|wqy-bitmapfont}} - Bitmapped Song Ti (serif) Chinese font<br />
* {{Package AUR|ttf-hannom-usong}} - Song Ti quality TrueType fonts for Unicode Han and Nom (Chinese and Vietnamese) characters ''(AUR)''<br />
* {{Package AUR|otf-ipafont}} - Japanese Gothic (san-serif) and Mincho (serif) font set; one of the highest quality open source fonts. Default of openSUSE-ja. ''(AUR)''<br />
* {{Package AUR|otf-takao}} - Japanese fonts derived from IPAfont that aims to fix the problems of IPAfont by community. Default of Ubuntu-ja ''(AUR)''<br />
* {{Package AUR|ttf-vlgothic}} - Japanese Gothic fonts. Default of Debian/Fedora/Vine Linux ''(AUR)''<br />
* {{Package AUR|ttf-ipa-mona}}, {{Package AUR|ttf-monapo}} - Japanese fonts to show [http://en.wikipedia.org/wiki/2channel_Shift_JIS_art 2channel Shift JIS art] properly. ''(AUR)''<br />
* {{Package AUR|ttf-aquafont}} - Handwritten fixed-width TrueType font (''AUR'')<br />
* {{Package AUR|ttf-baekmuk}} - Collection of Korean TrueType fonts ''(AUR)''<br />
* {{Package AUR|ttf-alee}} - Set of free Hangul TrueType fonts ''(AUR)''<br />
* {{Package AUR|ttf-unfonts-core}} - Un fonts (default Baekmuk fonts may be unsatisfactory) (''AUR'')<br />
<br />
===Cyrillic===<br />
''See: [[#Unicode]] below''<br />
* {{Package AUR|ttf-pt-sans}} - pan-Cyrillic font family (''AUR'')<br />
* {{Package AUR|font-arhangai}} - Mongolian Cyrillic (''AUR'')<br />
* {{Package AUR|ttf-pingwi-typography}} - PingWi Typography (PWT) fonts (''AUR'')<br />
<br />
===Hebrew===<br />
* {{Package Official|culmus}} - Nice collection of free Hebrew fonts<br />
<br />
===Indic===<br />
* {{Package Official|ttf-freebanglafont}} - Font for Bangla<br />
* {{Package Official|ttf-indic-otf}} - Indic Opentype Fonts collection (containing ttf-freebanglafont)<br />
<br />
===Khmer===<br />
* {{Package Official|ttf-khmer}} - Font covering glyphs for Khmer language<br />
<br />
===Latin===<br />
* {{Package Official|font-bh-ttf}} - Xorg Luxi fonts<br />
* {{Package Official|ttf-cheapskate}} - Font collection from ''dustismo.com''<br />
* {{Package Official|ttf-isabella}} - Calligraphic font based on the ''Isabella Breviary'' of 1497<br />
* {{Package Official|ttf-junicode}} - Junius font containing almost complete medieval latin script glyphs<br />
* {{Package Official|ttf-ms-fonts}} - Un-extracted fonts from ''Microsoft''. Note: ''Trebuchet Bold,'' {{Filename|trebucbd.ttf}}, is missing from this package.<br />
* {{Package AUR|ttf-ms-fonts-lic}} - Cleaner alternative to the above (''AUR'')<br />
<br />
===Sinhala===<br />
* {{Package AUR|ttf-lklug}} - Sinhala Unicode font (''AUR'')<br />
<br />
===Tamil===<br />
* {{Package AUR|ttf-tamil}} - Tamil Unicode fonts (''AUR'')<br />
<br />
===Thai===<br />
* {{Package Official|ttf-thai}} - Font covering glyphs for Thai<br />
<br />
===Programmer===<br />
* {{Package Official|dina-font}}<br />
* {{Package Official|terminus-font}}<br />
* {{Package AUR|ttf-inconsolata-g}} (''AUR'')<br />
* DejaVu Sans Mono (from package {{Package Official|ttf-dejavu}}), Lucida Typewriter (included in package {{Package Official|jre}})<br />
<br />
===Math===<br />
* {{Package Official|font-mathematica}} - Mathematica fonts by Wolfram Research, Inc.<br />
* {{Package AUR|ttf-mathtype}} - MathType fonts ''(AUR)''<br />
* {{Package AUR|ttf-computer-modern-fonts}} - Flagged out of date as of 2009-11-14 ''(AUR)''<br />
<br />
===Unicode===<br />
* {{Package Official|ttf-dejavu}} - Extension and replacement of Bitstream Vera<br />
* {{Package Official|ttf-liberation}} - Collection of free fonts developed for Red Hat<br />
* {{Package Official|ttf-linux-libertine}} - Replacement for Times New Roman<br />
* {{Package Official|ttf-freefont}} - Clones of Times, Helvetica and Courier with large Unicode support but unequal quality<br />
* {{Package Official|ttf-mph-2b-damase}} - Covers full plane 1 and several scripts<br />
* {{Package AUR|ttf-liberastika}} - Liberation fonts with the Cyrillic glyphs redrawn ''(AUR)''<br />
* {{Package AUR|ttf-sil-fonts}} - Gentium, Charis, Doulos, Andika and Abyssinica from SIL ''(AUR)''<br />
<br />
==Recommendations==<br />
<br />
Some recommendations for different types of uses.<br />
<br />
===International users===<br />
;Chinese<br />
:{{package AUR|wqy-zenhei}} (Hei Ti embedded with bitmapped Song Ti, also supporting Japanese (partial) and Korean characters), {{package AUR|ttf-arphic-ukai}} (Kai Ti) , {{package AUR|ttf-hannom-usong}} (Song Ti, supporting Vietnamese characters)<br />
;Japanese<br />
:{{package AUR|otf-ipafont}} (IPA fonts), {{package AUR|otf-takao}} (Takao fonts)<br />
;Korean<br />
:{{package AUR|ttf-baekmuk}}<br />
<br />
===Desktop environments===<br />
To be able to have good font rendering on desktop environments such as kde the package {{Package Official|xorg-fonts-type1}} must be installed<br />
* {{Package Official|ttf-ms-fonts}} — Official Microsoft Fonts<br />
* {{Package Official|ttf-dejavu}} — Popular Linux Serif and Sans-Serif fonts<br />
* {{Package Official|ttf-liberation}} — Fonts designed by Red Hat to replace Microsoft Fonts on Linux<br />
* {{Package AUR|ttf-arkpandora}} — Alternative to Arial and Times New Roman fonts<br />
* {{Package AUR|ttf-droid}} — Comfortable font designed for use on small screens of mobile handsets<br />
<br />
Unneccessary:<br />
<br />
* {{Package Official|xorg-fonts-75dpi}} and {{Package Official|xorg-fonts-100dpi}} - old bitmap fonts installed with the Xorg server. It is safe to remove these.<br />
<br />
===Terminals===<br />
Here are some suggestions. Every user has their own preference, experiment to find one that suits you. <br />
If you won't like to try one by one, there's an opinion from Dan Benjamin on his blog: [http://hivelogic.com/articles/top-10-programming-fonts ''Top 10 Programming Fonts''].<br />
<br />
Here's a big list of fonts by Trevor Lowing: http://www.lowing.org/fonts/<br />
<br />
*Andale Mono ({{Package Official|ttf-ms-fonts}})<br />
*Anka/Coder ({{Package AUR|ttf-anka-coder}})<br />
*Anonymous Pro ({{Package AUR|ttf-anonymous-pro}})<br />
*Bitstream Vera Mono ({{Package Official|ttf-bitstream-vera}})<br />
*Consolas ({{Package AUR|ttf-vista-fonts}})<br />
*Courier ({{Package Official|ttf-ms-fonts}})<br />
*Courier New ({{Package Official|ttf-ms-fonts}})<br />
*Default 8x16<br />
*Dina ({{Package Official|dina-font}})<br />
*DejaVu fonts ({{Package Official|ttf-dejavu}})<br />
*Droid Sans Mono ({{Package AUR|ttf-droid}})<br />
*Envy Code R ({{Package AUR|ttf-envy-code-r}})<br />
*Gamow<br />
*Inconsolata ({{Package Official|ttf-inconsolata}})<br />
*Inconsolata-g (adds some programmer-friendly modifications) ({{Package AUR|ttf-inconsolata-g}})<br />
*Liberation Mono ({{Package Official|ttf-liberation}})<br />
*Lime ({{Package Official|artwiz-fonts}})<br />
*Lucida Typewriter<br />
*Monaco ({{Package AUR|monaco_linux}})<br />
*[http://fontforge.sourceforge.net/sfds/ Monospace]<br />
*Profont ({{Package AUR|profont}})<br />
*Proggy fonts ({{Package AUR|proggyfonts}})<br />
*Terminus ({{Package Official|terminus-font}})<br />
*Unifont (glyphs like ಠ_ಠ (look of disapproval)) ({{Package Official|bdf-unifont}})<br />
<br />
==Console fonts==<br />
<br />
The console, meaning a terminal running with no ''X'' Window System, uses the ASCII character set as the default. This font and the keymap used are easily changed.<br />
<br />
A console font is limited to either 256 or 512 characters. The fonts are found in {{Filename|/usr/share/kbd/consolefonts/}}. ''Keymaps, ''the connection between the key pressed and the character used by the computer, are found in the subdirectories of {{Filename|/usr/share/kbd/keymaps/}}.<br />
<br />
=== Previewing and testing ===<br />
<br />
Unfortunately, no organized library of images is available to preview console fonts. The user can, however, use {{Codeline|setfont}} to temporarily change the font and be able to consider its use as the default. The available ''glyphs ''or letters in the font can also be viewed as a table with the command {{Codeline|showconsolefont}}. <br />
<br />
If the newly changed font is not suitable, a return to the default font is done by issuing the command {{Codeline|setfont}} without any arguments. If the console display is totally unreadable, this command will still work—the user just types in {{Codeline|setfont}} while "working blind."<br />
<br />
Note that {{Codeline|setfont}} only works on the console currently being used. Any other consoles, active or inactive, remain unaffected.<br />
<br />
==== Examples ====<br />
<br />
Change the font. This example is distinctive:<br />
$ setfont /usr/share/kbd/consolefonts/gr737b-9x16-medieval.psfu.gz<br />
<br />
Or change the font to one with 512 glyphs and set the keymap to ''ISO 8859-5'' using the {{Codeline|-m}} option:<br />
$ setfont /usr/share/kbd/consolefonts/LatArCyrHeb-16.psfu.gz -m 8859-5<br />
<br />
Then issue commands that send text to the display, perhaps view a ''manpage'' and try ''vi'' or ''nano'', and view the table of glyphs with the command, {{Codeline|showconsolefont}}.<br />
<br />
Return to the default font with:<br />
$ setfont<br />
<br />
=== Changing the default font ===<br />
<br />
To change the default font, the {{Codeline|CONSOLEFONT<nowiki>=</nowiki>}} and {{Codeline|CONSOLEMAP<nowiki>=</nowiki>}} settings in {{Filename|/etc/rc.conf}} must be altered. Again, the fonts can be found in {{Filename|/usr/share/kbd/consolefonts/}} directory and keymaps can be found in the subdirectories of {{Filename|/usr/share/kbd/keymaps/}}.<br />
<br />
==== Examples ====<br />
For displaying characters such as ''Č, ž, đ, ''or ''š,'' using the font {{Filename|lat2-16.psfu.gz}}:<br />
CONSOLEFONT="lat2-16"<br />
<br />
Set the proper keymap, in this case:<br />
CONSOLEMAP="8859-2"<br />
<br />
To use the specified font in early userspace, that is, early in the bootup process, add the {{Codeline|consolefont}} hook to {{Filename|/etc/mkinitcpio.conf}}:<br />
HOOKS="base udev autodetect pata scsi sata filesystems '''consolefont'''"<br />
<br />
Then rebuild the image:<br />
# mkinitcpio -p kernel26<br />
<br />
{{Note|The above steps must be repeated for each kernel if more than one kernel package is installed.}}<br />
<br />
See: [[Mkinitcpio#HOOKS]]</div>Arkarahttps://wiki.archlinux.org/index.php?title=Android_tethering&diff=112632Android tethering2010-07-25T17:20:38Z<p>Arkara: </p>
<hr />
<div>==What is Tethering==<br />
<br />
Tethering is a way to have Internet access on your PC through your smartphone using it's network connection.<br />
Usb tethering is natively supported from Android 2.2. Older versions of the Android OS, mostly unofficial roms<br />
have this option enabled.<br />
<br />
==Tethering as a network device==<br />
<br />
===Tools Needed===<br />
* Root access to the PC<br />
* Usb connection cable from your phone to pc<br />
<br />
=== Procedure ===<br />
#Enable the the tethering option from your phone. This is usually done from<br />
Settings --> Wireless & Networks --> Internet tethering<br />
#Disconnect from for current wifi or ethernet network<br />
#Load the usbnet module(if it's not already loaded). You will need root access to do that<br />
<pre><br />
modprobe usbnet<br />
</pre><br />
#Connect the phone to the pc via the usb cable.<br />
#Make sure that the usb interface is recognized by the system by using the following command<br />
<pre><br />
ifconfig -a<br />
</pre><br />
you should be able to see a usb0 device listed.<br />
#Configure the new network device via dhcp using the following command<br />
<pre><br />
ifconfig usb0 up && dhcpcd usb0<br />
</pre><br />
<br />
==Tethering with proxy==<br />
<br />
With this method tethering is achieved by port forwarding from the phone to the pc. This is suitable<br />
only for browsing.<br />
<br />
===Tools Needed===<br />
* Root access to the PC<br />
* Android SDK which can be obtained [http://developer.android.com/sdk/index.html here]<br />
* Usb connection cable from your phone to pc<br />
* Proxoid application(free download from the Android market)<br />
<br />
<br />
===Instructions===<br />
Follow the instructions demonstrated in the following [http://androidcommunity.com/forums/f23/android-usb-tethering-for-linux-using-proxoid-24875/ link]</div>Arkarahttps://wiki.archlinux.org/index.php?title=Android_tethering&diff=112631Android tethering2010-07-25T17:03:41Z<p>Arkara: Started a new page about android tethering</p>
<hr />
<div>== Android Tethering ==<br />
<br />
===What is Tethering===<br />
Tethering is a way to have Internet access on your PC through your smartphone using it's network connection.<br />
Usb tethering is natively supported from Android 2.2. Older versions of the Android OS, mostly unofficial roms<br />
have this option enabled.<br />
<br />
===Tools Needed===<br />
* Root access to the PC<br />
* Usb connection cable from your phone to pc<br />
<br />
=== Procedure ===<br />
#Enable the the tethering option from your phone. This is usually done from<br />
Settings --> Wireless & Networks --> Internet tethering<br />
#Disconnect from for current wifi or ethernet network<br />
#Load the usbnet module(if it's not already loaded). You will need root access to do that<br />
<pre><br />
modprobe usbnet<br />
</pre><br />
#Connect the phone to the pc via the usb cable.<br />
#Make sure that the usb interface is recognized by the system by using the following command<br />
<pre><br />
ifconfig -a<br />
</pre><br />
you should be able to see a usb0 device listed.<br />
#Configure the new network device via dhcp using the following command<br />
<pre><br />
ifconfig usb0 up && dhcpcd usb0<br />
</pre></div>Arkara