How to make apt-get work through proxy in Ubuntu Precise

since changing the http_proxy, https_proxy and ftp_proxy environment variables didn’t work out with me, I had to search and find another way, and it worked flawlessly:

1- Add a new file with name “80proxy” to “/etc/apt/apt.conf.d”, e.g. “vi /etc/apt/apt.conf.d/80proxy”
2- Add the following lines:

Acquire::http::proxy “http://<proxy&gt;:<port>/”;
Acquire::ftp::proxy “ftp://<proxy>:<port>/”;
Acquire::https::proxy “https://<proxy&gt;:<port>/”;

3- That’s it, now I’m a happy apt-get user :))

 

 

 

Posted in Ubuntu | Tagged , , , | 1 Comment

How to install #LibreOffice properly on #LinuxMint v12

You have to do “sudo apt-get install libreoffice libreoffice-gnome”

The trick here is the libreoffice-gnome, which will integrate properly with Gnome (since LibreOffice windows weren’t showing up in the botton bar) and enhance the GUI significantly.

Enjoy!

Posted in Mint | Tagged , , | Leave a comment

How to fix blank pages in PDF printer in Linux Mint 12

PDF printer comes by detault in linux mint, and when I tried it, it produced blank pages with no content whatsoever.

What I did to fix this is that:

  1. I opened my printers list
  2. deleted the existing PDF printer
  3. then removed the “cups-pdf” package “sudo apt-get remove cups-pdf”
  4. Finally re-installed it afterwards “sudo apt-get install cups-pdf”, and it worked perfectly afterwards!

Enjoy!

 

Posted in Mint | Tagged , , , , | 3 Comments

How to solve Video Tearing Problem on Ubuntu Oneiric and Precise with Gnome 3

I was having terrible tearing while playing any videos on my Ubuntu Oneiric 32-bit with Gnome 3 on my new Thinkpad T420 laptop with Intel SandyBridge Graphics Card.

I have googled around a bit, and found this only solution, haven’t investigated much behind it, but gave it a try, as I could easily revert it back.

I just added these two lines

CLUTTER_PAINT=disable-clipped-redraws:disable-culling
CLUTTER_VBLANK=True

to my “/etc/environment” file, then restarted, and surprisingly it worked out!! No more tearing whatsoever in any videos I play!

Enjoy!

Update: This also solved the video tearing issue on Precise with Gnome 3.4

Source: post #32 on this page: https://bbs.archlinux.org/viewtopic.php?pid=1017705

Posted in Ubuntu | Tagged , , , , , , , , , , | 5 Comments

Disable Touchpad Clicks on Xubuntu

If you’re getting really annoyed – like I do – whenever you’re typing something and you touch the touchpad by mistake, which transfer the cursor to some other window on the screen, then this article is what you’re looking for:

Open a terminal and type in:
synclient MaxTapTime=0
If this successfully disables the tap to click, then add a new startup entry (Settings->Settings Manager->Session and Startup->Application Autostart) where the command is:
bash -c “synclient MaxTapTime=0”

Source: http://ubuntuforums.org/archive/index.php/t-1875057.html

Posted in Ubuntu | Tagged , , , , , | Leave a comment