https://wiki.archlinux.org/api.php?action=feedcontributions&user=Jourdan&feedformat=atomArchWiki - User contributions [en]2024-03-29T05:38:08ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Brother_DCP-7020&diff=24757Brother DCP-70202007-05-26T04:57:24Z<p>Jourdan: /* Installing the driver and printer */</p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of the tutorial for the Brother HL-2030, with changes specific to the Brother DCP-7020.<br/><br/>If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website into that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brdcp7020lpr-2.0.1-1.i386.rpm&lang=English_lpr here] (and agree to their terms). This is an RPM archive.<br />
You have to download the cupswrapper file [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperDCP7020-2.0.1-1.i386.rpm&lang=English_gpl here] (and agree to their terms). This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, this file will be in /home/(your user)/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Once you've finished this step, copy all of the files to their corresponding directories in your file system :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperDCP7020-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br/><br/><br />
Now go to the CUPS page : http://localhost:631/ <br/><br/><br />
Under the Printers tab you should see a DCP7020 printer <b>automatically</b> installed and configured.<br />
This default installation seems to be optimized for a USB connected printer, which in the case of the DCP-7020 is incorrect. Click <i>Delete Printer</i>. Now you can add the printer using the CUPS browser interface and selecting your Brother DCP-7020 which didn't exist before. To do this :<br/><br/><br />
1. Click on the Administration tab<br/><br />
2. Add Printer<br/><br />
3. Name it, Continue<br/><br />
4. Select LPT #1 (unless you have more than one LPT port, in which case trial and error should serve you)<br/><br />
5. Select Brother, Continue<br/><br />
6. And there's your "Brother DCP7020 for CUPS (en)" - select it and Add Printer<br/><br />
7. Now under the Printers tab, click to print the test page, and you can hear the sweet sound of your printer.<br/><br/><br />
Thanks to the creator of the HL-2030 page for making this much easier than I expected it would be!</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Brother_DCP-7020&diff=24756Brother DCP-70202007-05-26T04:56:53Z<p>Jourdan: /* Installing the driver and printer */</p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of the tutorial for the Brother HL-2030, with changes specific to the Brother DCP-7020.<br/><br/>If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website into that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brdcp7020lpr-2.0.1-1.i386.rpm&lang=English_lpr here] (and agree to their terms). This is an RPM archive.<br />
You have to download the cupswrapper file [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperDCP7020-2.0.1-1.i386.rpm&lang=English_gpl here] (and agree to their terms). This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, this file will be in /home/(your user)/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Once you've finished this step, copy all of the files to their corresponding directories in your file system :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperDCP7020-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br/><br/><br />
Now go to the CUPS page : http://localhost:631/ <br/><br/><br />
Under the Printers tab you should see a DCP7020 printer <b>automatically</b> installed and configured.<br />
This default installation seems to be optimized for a USB connected printer, which in the case of the DCP-7020 is incorrect. Click <i>Delete Printer</i>. Now you can add the printer using the CUPS browser interface and selecting your Brother DCP-7020 which didn't exist before. To do this :<br/><br/><br />
1. Click on the Administration tab<br/><br />
2. Add Printer<br/><br />
3. Name it, Continue<br/><br />
4. Select LPT #1 (unless you have more than one LPT port, in which case trial and error should serve you)<br/><br />
5. Select Brother, Continue<br/><br />
6. And there's your "Brother DCP7020 for CUPS (en)" - select it and Add Printer<br/><br />
7. Click to print the test page, and you can hear the sweet sound of your printer.<br/><br/><br />
Thanks to the creator of the HL-2030 page for making this much easier than I expected it would be!</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Brother_DCP-7020&diff=24755Brother DCP-70202007-05-26T04:56:34Z<p>Jourdan: /* Installing the driver and printer */</p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of the tutorial for the Brother HL-2030, with changes specific to the Brother DCP-7020.<br/><br/>If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website into that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brdcp7020lpr-2.0.1-1.i386.rpm&lang=English_lpr here] (and agree to their terms). This is an RPM archive.<br />
You have to download the cupswrapper file [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperDCP7020-2.0.1-1.i386.rpm&lang=English_gpl here] (and agree to their terms). This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, this file will be in /home/(your user)/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Once you've finished this step, copy all of the files to their corresponding directories in your file system :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperDCP7020-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br/><br/><br />
Now go to the CUPS page : http://localhost:631/ <br/><br/><br />
Under the Printers tab you should see a DCP7020 printer <b>automatically</b> installed and configured.<br />
This default installation seems to be optimized for a USB connected printer, which in the case of the DCP-7020 is incorrect. Click <i>Delete Printer</i>. Now you can add the printer using the CUPS browser interface and selecting your Brother DCP-7020 which didn't exist before. To do this :<br/><br/><br />
1. Click on the Administration tab<br/><br />
2. Add Printer<br/><br />
3. Name it, Continue<br/><br />
4. Select LPT #1 (unless you have more than one LPT port, in which case trial and error should serve you)<br/><br />
5. Select Brother, Continue<br/><br />
6. And there's your "Brother DCP7020 for CUPS (en)" - select it and Add Printer<br/><br />
Click to print the test page, and you can hear the sweet sound of your printer.<br/><br/><br />
Thanks to the creator of the HL-2030 page for making this much easier than I expected it would be!</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Brother_DCP-7020&diff=24754Brother DCP-70202007-05-26T04:54:21Z<p>Jourdan: /* Installing the driver and printer */</p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of the tutorial for the Brother HL-2030, with changes specific to the Brother DCP-7020.<br/><br/>If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website into that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brdcp7020lpr-2.0.1-1.i386.rpm&lang=English_lpr here] (and agree to their terms). This is an RPM archive.<br />
You have to download the cupswrapper file [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperDCP7020-2.0.1-1.i386.rpm&lang=English_gpl here] (and agree to their terms). This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, this file will be in /home/(your user)/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Once you've finished this step, copy all of the files to their corresponding directories in your file system :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperDCP7020-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br/><br/><br />
Now go to the CUPS page : http://localhost:631/ <br/><br/><br />
Under the Printers tab you should see a DCP7020 printer <b>automatically</b> installed and configured.<br />
This default installation seems to be optimized for a USB connected printer, which in the case of the DCP-7020 is incorrect. Click <i>Delete Printer</i>. Now you can add a new printer using the CUPS browser interface and select your Brother DCP-7020. To do this :<br />
1. Click on the Administration tab<br />
2. Add Printer<br />
3. Name it, Continue<br />
4. Select LPT #1 (unless you have more than one LPT port, in which case trial and error should serve you)<br />
5. Select Brother, Continue<br />
6. And there's your "Brother DCP7020 for CUPS (en)" - select it and Add Printer<br />
Click to print the test page, and you can hear the sweet sound of your printer.<br />
<br />
<br />
Thanks to the creator of the HL-2030 page for making this much easier than I expected it would be!</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Brother_DCP-7020&diff=24753Brother DCP-70202007-05-26T04:53:43Z<p>Jourdan: /* Installing the driver and printer */</p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of the tutorial for the Brother HL-2030, with changes specific to the Brother DCP-7020.<br/><br/>If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website into that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brdcp7020lpr-2.0.1-1.i386.rpm&lang=English_lpr here] (and agree to their terms). This is an RPM archive.<br />
You have to download the cupswrapper file [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperDCP7020-2.0.1-1.i386.rpm&lang=English_gpl here] (and agree to their terms). This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, this file will be in /home/(your user)/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Once you've finished this step, copy all of the files to their corresponding directories in your file system :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperDCP7020-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br />
Now go to the CUPS page : http://localhost:631/ <br/><br/><br />
Under the Printers tab you should see a DCP7020 printer <b>automatically</b> installed and configured.<br />
This default installation seems to be optimized for a USB connected printer, which in the case of the DCP-7020 is incorrect. Click <i>Delete Printer</i>. Now you can add a new printer using the CUPS browser interface and select your Brother DCP-7020. To do this :<br />
1. Click on the Administration tab<br />
2. Add Printer<br />
3. Name it, Continue<br />
4. Select LPT #1 (unless you have more than one LPT port, in which case trial and error should serve you)<br />
5. Select Brother, Continue<br />
6. And there's your "Brother DCP7020 for CUPS (en)" - select it and Add Printer<br />
Click to print the test page, and you can hear the sweet sound of your printer.<br />
<br />
<br />
Thanks to the creator of the HL-2030 page for making this much easier than I expected it would be!</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Brother_DCP-7020&diff=24752Brother DCP-70202007-05-26T04:52:00Z<p>Jourdan: </p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of the tutorial for the Brother HL-2030, with changes specific to the Brother DCP-7020.<br/><br/>If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website into that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brdcp7020lpr-2.0.1-1.i386.rpm&lang=English_lpr here] (and agree to their terms). This is an RPM archive.<br />
You have to download the cupswrapper file [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperDCP7020-2.0.1-1.i386.rpm&lang=English_gpl here] (and agree to their terms). This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, this file will be in /home/(your user)/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Once you've finished this step, copy all of the files to their corresponding directories in your file system :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperDCP7020-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br />
Now go to the CUPS page : http://localhost:631/<br />
Under the Printers tab you should see a DCP7020 printer <b>automatically</b> installed and configured.<br />
This default installation seems to be optimized for a USB connected printer, which in the case of the DCP-7020 is incorrect. Click <i>Delete Printer</i>. Now you can add a new printer using the CUPS browser interface and select your Brother DCP-7020. To do this :<br />
1. Click on the Administration tab<br />
2. Add Printer<br />
3. Name it, Continue<br />
4. Select LPT #1 (unless you have more than one LPT port, in which case trial and error should serve you)<br />
5. Select Brother, Continue<br />
6. And there's your "Brother DCP7020 for CUPS (en)" - select it and Add Printer<br />
Click to print the test page, and you can hear the sweet sound of your printer.<br />
<br />
<br />
Thanks to the creator of the HL-2030 page for making this much easier than I expected it would be!</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Brother_DCP-7020&diff=24751Brother DCP-70202007-05-26T04:51:03Z<p>Jourdan: </p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of the tutorial for the Brother HL-2030, with changes specific to the Brother DCP-7020.<br/><br/>If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website in that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brdcp7020lpr-2.0.1-1.i386.rpm&lang=English_lpr here] (and agree to their terms). This is a RPM archive.<br />
You have to download the cupswrapper file [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperDCP7020-2.0.1-1.i386.rpm&lang=English_gpl here] (and agree to their terms). This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, this file will be in /home/(your user)/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Once you've finished this step, copy all of the files to their corresponding directories in your file system :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperDCP7020-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br />
Now go to the CUPS page : http://localhost:631/<br />
Under the Printers tab you should see a DCP7020 printer <b>automatically</b> installed and configured.<br />
This default installation seems to be optimized for a USB connected printer, which in the case of the DCP-7020 is incorrect. Click <i>Delete Printer</i>. Now you can add a new printer using the CUPS browser interface and select your Brother DCP-7020. To do this :<br />
1. Click on the Administration tab<br />
2. Add Printer<br />
3. Name it, Continue<br />
4. Select LPT #1 (unless you have more than one LPT port, in which case trial and error should serve you)<br />
5. Select Brother, Continue<br />
6. And there's your "Brother DCP7020 for CUPS (en)" - select it and Add Printer<br />
Click to print the test page, and you can hear the sweet sound of your printer.<br />
<br />
<br />
Thanks to the creator of the HL-2030 page for making this much easier than I expected it would be!</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Brother_DCP-7020&diff=24750Brother DCP-70202007-05-26T04:50:49Z<p>Jourdan: </p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of the tutorial for the Brother HL-2030, with changes specific to the Brother DCP-7020.<br/>If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website in that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brdcp7020lpr-2.0.1-1.i386.rpm&lang=English_lpr here] (and agree to their terms). This is a RPM archive.<br />
You have to download the cupswrapper file [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperDCP7020-2.0.1-1.i386.rpm&lang=English_gpl here] (and agree to their terms). This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, this file will be in /home/(your user)/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Once you've finished this step, copy all of the files to their corresponding directories in your file system :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperDCP7020-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br />
Now go to the CUPS page : http://localhost:631/<br />
Under the Printers tab you should see a DCP7020 printer <b>automatically</b> installed and configured.<br />
This default installation seems to be optimized for a USB connected printer, which in the case of the DCP-7020 is incorrect. Click <i>Delete Printer</i>. Now you can add a new printer using the CUPS browser interface and select your Brother DCP-7020. To do this :<br />
1. Click on the Administration tab<br />
2. Add Printer<br />
3. Name it, Continue<br />
4. Select LPT #1 (unless you have more than one LPT port, in which case trial and error should serve you)<br />
5. Select Brother, Continue<br />
6. And there's your "Brother DCP7020 for CUPS (en)" - select it and Add Printer<br />
Click to print the test page, and you can hear the sweet sound of your printer.<br />
<br />
<br />
Thanks to the creator of the HL-2030 page for making this much easier than I expected it would be!</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Brother_DCP-7020&diff=24749Brother DCP-70202007-05-26T04:49:43Z<p>Jourdan: </p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of the tutorial for the Brother HL-2030, with changes specific to the Brother DCP-7020.<br />
If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website in that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brdcp7020lpr-2.0.1-1.i386.rpm&lang=English_lpr here] (and agree to their terms). This is a RPM archive.<br />
You have to download the cupswrapper file [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperDCP7020-2.0.1-1.i386.rpm&lang=English_gpl here] (and agree to their terms). This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, this file will be in /home/(your user)/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Once you've finished this step, copy all of the files to their corresponding directories in your file system :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperDCP7020-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br />
Now go to the CUPS page : http://localhost:631/<br />
Under the Printers tab you should see a DCP7020 printer <b>automatically</b> installed and configured.<br />
This default installation seems to be optimized for a USB connected printer, which in the case of the DCP-7020 is incorrect. Click <i>Delete Printer</i>. Now you can add a new printer using the CUPS browser interface and select your Brother DCP-7020. To do this :<br />
1. Click on the Administration tab<br />
2. Add Printer<br />
3. Name it, Continue<br />
4. Select LPT #1 (unless you have more than one LPT port, in which case trial and error should serve you)<br />
5. Select Brother, Continue<br />
6. And there's your "Brother DCP7020 for CUPS (en)" - select it and Add Printer<br />
Click to print the test page, and you can hear the sweet sound of your printer.<br />
<br />
<br />
Thanks to the creator of the HL-2030 page for making this much easier than I expected it would be!</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Brother_DCP-7020&diff=24748Brother DCP-70202007-05-26T04:46:33Z<p>Jourdan: New page: Category:Printers_(English) Category:Tutorials (English) =Introduction= This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of ...</p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a brief tutorial to make the printer Brother DCP-7020 work on Arch. It is largely a duplicate of the tutorial for the Brother HL-2030, with changes specific to the Brother DCP-7020.<br />
If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website in that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brdcp7020lpr-2.0.1-1.i386.rpm&lang=English_lpr here] (and agree to their terms). This is a RPM archive.<br />
You have to download the cupswrapper file [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperDCP7020-2.0.1-1.i386.rpm&lang=English_gpl here] (and agree to their terms). This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your favorite text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, this file will be in /home/(your user)/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Once you've finished this step, copy all of the files to their corresponding directories in your file system :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperHL2030-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br />
Now go to the CUPS page : http://localhost:631/<br />
In the Printers category you should see a DCP7020 printer <b>automatically</b> installed and configured.<br />
This default installation seems to be optimized for USB connected printer, which in the case of the DCP-7020 is incorrect. Click <i>Delete Printer</i>. Now you can add a new printer using the CUPS browser interface and select your Brother DCP-7020. To do this :<br />
1. Click on the Administration tab<br />
2. Add Printer<br />
3. Give your printer any name you want, then Continue<br />
4. Select LPT #1 (unless you have more than one LPT port, in which case you should know what to select)<br />
5. Select Brother, Continue<br />
6. And there's your Brother DCP7020 for CUPS (en) - select it and Add Printer<br />
Click to print the test page, and you can hear the sweet sound of your printer.<br />
<br />
<br />
Thanks to the creator of the HL-2030 page for making this much easier than I expected it would be!</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Brother_HL-2030&diff=24747Brother HL-20302007-05-26T04:44:53Z<p>Jourdan: </p>
<hr />
<div>[[Category:Printers_(English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
=Introduction=<br />
<br />
This is a small tutorial to make the printer Brother HL-2030 work on Arch.<br />
There are no drivers available from Openprinting.org at the moment for this printer to work in CUPS ([[CUPS_Setup]]).<br />
If you previously tried to install the printer in CUPS, remove it.<br />
<br />
=Download Brother drivers=<br />
<br />
First create a temporary directory.<br />
Then you must download the official LPR drivers from the Brother website in that directory. Click [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_others/brhl2030lpr-2.0.1-1.i386.rpm&lang=English_lpr here] . This is a RPM archive.<br />
You have to download the cupswrapper file. Right [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperHL2030-2.0.1-1.i386.rpm&lang=English_gpl here]. This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.<br />
<br />
<br />
=Extracting the RPM files=<br />
Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.<br />
Log in as root and execute :<br />
# pacman -S rpmextract<br />
Extract both RPM files :<br />
$ rpmextract.sh brhl2030lpr-2.0.1-1.i386.rpm<br />
$ rpmextract.sh cupswrapperHL2030-2.0.1-1.i386.rpm<br />
It should give you two directories : usr and var.<br />
<br />
<br />
=Editing files to make it work with Arch=<br />
ArchLinux uses its own file system organisation, so you have to edit some files.<br />
Use your favorite text editor (i.e. vi) to open the file named cupswrapperHL2030-2.0.1<br />
If you created the temporary directory "tmp" in your home, it must be in /home/user/tmp/usr/local/Brother/ .<br />
In this file, you must replace all the <i>/etc/init.d/</i> occurences by <i>/etc/rc.d/</i>.<br />
Then you have to edit the file usr/local/Brother/inf/setupPrintcap, and replace <i>/etc/printcap.local</i> by <i>/etc/printcap</i>.<br />
When it's done, copy all the files in their corresponding directories :<br />
# cp -r /home/user/tmp/usr/* /usr<br />
# cp -r /home/user/tmp/var/* /var<br />
<br />
<br />
=Installing the driver and printer=<br />
Last step !<br />
Go into /usr/local/Brother/cupswrapper/ and run the cupswrapper file :<br />
# cd /usr/local/Brother/cupswrapper/<br />
# ./cupswrapperHL2030-2.0.1<br />
It will stop the cups daemon if it's running, and restart it.<br />
Now go to the CUPS page : http://localhost:631/<br />
In the Administartion category, choose Manage printers. There you should see a HL2030 printer <b>automatically</b> installed and configured.<br />
Click to print the test page, and you can hear the sweet sound of your printer.</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Xfce&diff=23297Xfce2007-04-19T10:23:31Z<p>Jourdan: /* How to shutdown and reboot from Xfce */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
== What is Xfce?==<br />
Xfce is a Desktop Environment, like GNOME or KDE. It contains a suite of apps like a root window app, window manager, file manager, panel, etc. Xfce is written using the GTK2 toolkit, and contains its own development environment (libraries, daemons, etc), similar to other big DEs. Unlike GNOME or KDE, Xfce is lightweight and designed more around CDE than Windows or Mac. It has a much slower development cycle, but is very stable and extremely fast. Xfce is great for older hardware.<br />
<br />
== Why use Xfce?==<br />
Here is a (subjective) list of reasons to use Xfce:<br />
* It's fast, faster than the other major DEs.<br />
* It's stable. In the long time Xfce-4 has been out, only a small handful of bugs has been discovered, despite it having a rather large following.<br />
* It's pretty. It uses GTK2 and is themable. You can make Xfce look very nice. The fonts are completely AA as well.<br />
* It works great with multiple monitors. Xfce's Xinerama support is the best out of any WM/DE, IMO.<br />
* It doesn't get in your way. You'll find Xfce helps your work flow, rather than always making itself "present."<br />
<br />
== Why not use Xfce?==<br />
Here is a (subjective) list of reasons not to use Xfce:<br />
* Doesn't contain all the features and integration of the major DEs.<br />
* Slower development cycle.<br />
* Because it's based on the CDE design, the layout may not be as familiar.<br />
<br />
== How to Install Xfce==<br />
The Xfce source and documentation are available at http://xfce.org. But since you're using ArchLinux, you can grab Xfce from Pacman.<br />
<br />
Xfce is modular. That means there is no need for you to run every part, you can pick and choose. Because of this, Xfce has a bunch of Arch packages.<br />
<br />
To install the base Xfce4 system, run:<br />
<br />
<pre><br />
# pacman -S xfce4<br />
</pre><br />
<br />
If you want extras, like Panel plugins (you probably do), run this:<br />
<br />
<pre><br />
# pacman -S xfce4-goodies<br />
</pre><br />
<br />
Note that after installing Xfce, you will want to log your user out so that paths update (as Xfce is installed to /opt).<br />
<br />
== Running Xfce4==<br />
<br />
There are two ways to run Xfce4. One is the "automatic" method. To start Xfce from the console, you can simply run:<br />
<br />
<pre><br />
# startxfce4<br />
</pre><br />
'''Note:''' startxfce4 sets DPI to 96 by default, so font sizes will be different than when starting from .xinitrc.<br />
<br />
To customize the Xfce startup using this method, you'll copy /opt/xfce4/etc/xdm/xfce4/xinitrc (/opt/xfce4/etc/xdg/xfce4/xinitrc instead for me using Noodle release) to $HOME/.xfce4, and edit that file<br />
To add programs to the startup up using this method, add symlinks from the programs you want to $HOME/Desktop/Autostart.<br />
<br />
If you want more control over what starts and your initial settings, you can add these items to your $HOME/.xinitrc (leaving out and adding what you want):<br />
<br />
<pre><br />
xfce-mcs-manager<br />
xfwm4 --daemon<br />
xfdesktop &<br />
exec xfce4-panel<br />
</pre><br />
<br />
or<br />
<pre><br />
# exec xfce4-session<br />
</pre><br />
<br />
== How To Use Xfce With DM's==<br />
As of Xfce 4.2.0, the Arch packages add the proper session files for Xfce. They are contained in the xfce-utils package, which should be installed with a base installation. Simply [[ Adding_a_login_manager_%28KDM%2C_GDM%2C_or_XDM%29_to_automatically_boot_on_startup| Enable a DM]].<br />
<br />
==How to shutdown and reboot from Xfce==<br />
* Install sudo:<br />
# pacman -S sudo<br />
* Add the following line at the end of <code>/etc/sudoers</code> file with visudo command:<br />
# visudo<br />
<br />
* Note that the new Xfce packages in the 'extra' repository now place Xfce under '/usr'.<br />
user ALL=(root) NOPASSWD: /usr/lib/xfce4/xfsm-shutdown-helper<br />
where 'user' is the name of the user you want to allow to shutdown and reboot pc from Xfce.<br />
<br />
Alternatively you can create ''shutdown'' group and allow all its members to shutdown:<br />
%shutdown ALL=(root) NOPASSWD: /usr/lib/xfce4/xfsm-shutdown-helper<br />
<br />
# groupadd shutdown<br />
# gpasswd -a user shutdown<br />
where 'user' is name of the user.<br />
<br />
To allow all users to be able to shutdown system add this to /etc/sudoers:<br />
%users hostname=NOPASSWD:/usr/lib/xfce4/xfsm-shutdown-helper<br />
Where hostname is the name of current machine.<br />
<br />
==How to enable the compositor in Xfce 4.4+==<br />
Xfce 4.4 comes with a builtin compositor adding the option for fancy window effects, shadows and transparency and so on.<br />
<br />
You can find it in Settings->Window manager tweaks. But if it isn't there, take the following steps:<br />
* Open up $HOME/.config/xfce4/mcs_settings/wmtweaks.xml, and ensure that ''<option name="Xfwm/UseCompositing" type="int" value="1"/>'' is present. If the wmtweaks file is not there, open up the Settings->Window manager tweaks and change some things, then close it, and the file should appear.<br />
* Make sure the following lines are in your /etc/X11/xorg.conf file:<br />
<pre><br />
Section "Extensions"<br />
Option "Composite" "Enable"<br />
EndSection<br />
</pre><br />
* Finally, restart X and the compositor should be available.<br />
<br />
== Related Articles ==<br />
* [[Build order for XFCE]]<br />
* [[Howto make GTK apps look nice| HOWTO: Make GTK1 apps look nice]]<br />
<br />
== External Resources==<br />
* [http://www.us.xfce.org/documentation/ XFCE.org] - The complete documentation.<br />
* [http://www.xfce-look.org/ XFCE-Look] - Themes, wallpapers, and more.<br />
* [http://wiki.xfce.org Xfce Wiki]</div>Jourdanhttps://wiki.archlinux.org/index.php?title=Xfce&diff=22976Xfce2007-04-12T21:00:41Z<p>Jourdan: /* How to shutdown and reboot from Xfce */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:Tutorials (English)]]<br />
<br />
== What is Xfce?==<br />
Xfce is a Desktop Environment, like GNOME or KDE. It contains a suite of apps like a root window app, window manager, file manager, panel, etc. Xfce is written using the GTK2 toolkit, and contains its own development environment (libraries, daemons, etc), similar to other big DEs. Unlike GNOME or KDE, Xfce is lightweight and designed more around CDE than Windows or Mac. It has a much slower development cycle, but is very stable and extremely fast. Xfce is great for older hardware.<br />
<br />
== Why use Xfce?==<br />
Here is a (subjective) list of reasons to use Xfce:<br />
* It's fast, faster than the other major DEs.<br />
* It's stable. In the long time Xfce-4 has been out, only a small handful of bugs has been discovered, despite it having a rather large following.<br />
* It's pretty. It uses GTK2 and is themable. You can make Xfce look very nice. The fonts are completely AA as well.<br />
* It works great with multiple monitors. Xfce's Xinerama support is the best out of any WM/DE, IMO.<br />
* It doesn't get in your way. You'll find Xfce helps your work flow, rather than always making itself "present."<br />
<br />
== Why not use Xfce?==<br />
Here is a (subjective) list of reasons not to use Xfce:<br />
* Doesn't contain all the features and integration of the major DEs.<br />
* Slower development cycle.<br />
* Because it's based on the CDE design, the layout may not be as familiar.<br />
<br />
== How to Install Xfce==<br />
The Xfce source and documentation are available at http://xfce.org. But since you're using ArchLinux, you can grab Xfce from Pacman.<br />
<br />
Xfce is modular. That means there is no need for you to run every part, you can pick and choose. Because of this, Xfce has a bunch of Arch packages.<br />
<br />
To install the base Xfce4 system, run:<br />
<br />
<pre><br />
# pacman -S xfce4<br />
</pre><br />
<br />
If you want extras, like Panel plugins (you probably do), run this:<br />
<br />
<pre><br />
# pacman -S xfce4-goodies<br />
</pre><br />
<br />
Note that after installing Xfce, you will want to log your user out so that paths update (as Xfce is installed to /opt).<br />
<br />
== Running Xfce4==<br />
<br />
There are two ways to run Xfce4. One is the "automatic" method. To start Xfce from the console, you can simply run:<br />
<br />
<pre><br />
# startxfce4<br />
</pre><br />
'''Note:''' startxfce4 sets DPI to 96 by default, so font sizes will be different than when starting from .xinitrc.<br />
<br />
To customize the Xfce startup using this method, you'll copy /opt/xfce4/etc/xdm/xfce4/xinitrc (/opt/xfce4/etc/xdg/xfce4/xinitrc instead for me using Noodle release) to $HOME/.xfce4, and edit that file<br />
To add programs to the startup up using this method, add symlinks from the programs you want to $HOME/Desktop/Autostart.<br />
<br />
If you want more control over what starts and your initial settings, you can add these items to your $HOME/.xinitrc (leaving out and adding what you want):<br />
<br />
<pre><br />
xfce-mcs-manager<br />
xfwm4 --daemon<br />
xfdesktop &<br />
exec xfce4-panel<br />
</pre><br />
<br />
or<br />
<pre><br />
# exec xfce4-session<br />
</pre><br />
<br />
== How To Use Xfce With DM's==<br />
As of Xfce 4.2.0, the Arch packages add the proper session files for Xfce. They are contained in the xfce-utils package, which should be installed with a base installation. Simply [[ Adding_a_login_manager_%28KDM%2C_GDM%2C_or_XDM%29_to_automatically_boot_on_startup| Enable a DM]].<br />
<br />
==How to shutdown and reboot from Xfce==<br />
* Install sudo:<br />
# pacman -S sudo<br />
* Add the following line at the end of <code>/etc/sudoers</code> file with visudo command:<br />
# visudo<br />
<br />
* Note that the new Xfce packages in the 'extra' repository now place Xfce under '/usr'.<br />
user ALL=(root) NOPASSWD: /usr/libexec/xfsm-shutdown-helper<br />
where 'user' is the name of the user you want to allow to shutdown and reboot pc from Xfce.<br />
<br />
Alternatively you can create ''shutdown'' group and allow all its members to shutdown:<br />
%shutdown ALL=(root) NOPASSWD: /usr/libexec/xfsm-shutdown-helper<br />
<br />
# groupadd shutdown<br />
# gpasswd -a user shutdown<br />
where 'user' is name of the user.<br />
<br />
To allow all users to be able to shutdown system add this to /etc/sudoers:<br />
%users hostname=NOPASSWD:/usr/libexec/xfsm-shutdown-helper<br />
Where hostname is the name of current machine.<br />
<br />
==How to enable the compositor in Xfce 4.4+==<br />
Xfce 4.4 comes with a builtin compositor adding the option for fancy window effects, shadows and transparency and so on.<br />
<br />
You can find it in Settings->Window manager tweaks. But if it isn't there, take the following steps:<br />
* Open up $HOME/.config/xfce4/mcs_settings/wmtweaks.xml, and ensure that ''<option name="Xfwm/UseCompositing" type="int" value="1"/>'' is present. If the wmtweaks file is not there, open up the Settings->Window manager tweaks and change some things, then close it, and the file should appear.<br />
* Make sure the following lines are in your /etc/X11/xorg.conf file:<br />
<pre><br />
Section "Extensions"<br />
Option "Composite" "Enable"<br />
EndSection<br />
</pre><br />
* Finally, restart X and the compositor should be available.<br />
<br />
== Related Articles ==<br />
* [[Build order for XFCE]]<br />
* [[Howto make GTK apps look nice| HOWTO: Make GTK1 apps look nice]]<br />
<br />
== External Resources==<br />
* [http://www.us.xfce.org/documentation/ XFCE.org] - The complete documentation.<br />
* [http://www.xfce-look.org/ XFCE-Look] - Themes, wallpapers, and more.<br />
* [http://wiki.xfce.org Xfce Wiki]</div>Jourdan