Archive for June 1st, 2007

Jun
01
iled Under (Desktop, GNOME) by Οὐρανός on 01-06-2007

I have to use a proxy to get online and because many programs have their own independent proxy settings, I have to set each up individually. So, in addition to setting the $http_proxy variable, here’s the config files I have to change: (replace the numbers)

wget, /etc/wgetrc

Switch on Passive Mode by default:

passive_ftp = on

Set the Proxy Servers:

http_proxy = http://username:password@10.5.2.46:80/
ftp_proxy = http://username:password@10.5.2.46:80/

Enable the proxy:

use_proxy = on

apt/aptitude, /etc/apt/apt.conf

Set the proxies

ACQUIRE {
http::proxy "http://srdmorhper:password@10.5.2.46:80/"
}

Synaptic

Also, Synaptic doesn’t seem to share apt’s settings. Synaptic’s proxy settings are in Settings » Preferences » Network and should be entered as:
Proxy:username:password@10.1.3.23 Port:80

Note: Some programs like Google Earth, work under Gnome 2.14 and Ubuntu 6.06 with the proxy if you start them from a terminal but not from the menu entry.



Jun
01
iled Under (Desktop) by Οὐρανός on 01-06-2007

Nautilus actions are these little scripts that function on files and folders from within Nautilus, you can write (or download) a nautilus script that can do quite anything on a file you have. And you can do these with minimal experience and with little danger of doing anything horrible to your files as long as you’re careful. Here are a couple of the Actions I have:

Sudo Open:

  • Path: gksudo
  • Parameters: “gnome-open %u”

Mount this:

  • Path: mount
  • Parameters: %d/%f or %M

Play with mplayer:

For some reason, this is a set of three actions. The first one simply plays the file with /usr/bin/mplayer %M , the second plays a playlist with /usr/bin/mplayer -playlist %M and the third plays all the files in a folder. Due to my inexperience with bash, it looks rather ugly, but here it is. As usual, no warranty. Just one parameter: The folder name.