From Ubuntu Forums
HOWTO: Epson Perfection 1670 Scanner
The scanner firmware comes in a file called ESFW30.BIN, which apparently is only available if you install the software on the CD-ROM provided with the scanner. Unfortunately, the software only installs under Windows and then you have to copy the software from the Windows machine to the linux machine. Or you can follow this simple process to download the firmware (provided by Jeff Silverman) and then update your /etc/sane/saned.conf
$ wget http://www.commercialventvac.com/~jeffs/ESFW30.BIN
$ sudo cp ESFW30.BIN /etc/sane.d
Edit /etc/saned.d/snapscan.conf and change the line...
firmware /path/to/your/firmware/file.bin
...to point to /etc/sane.d/ESFW30.BIN
$ scanimage -L
You should see that your scanner is now detected. If so, you can now scan using XSane.
Wednesday, July 28, 2010
Tuesday, July 20, 2010
joomla
To get to the user log in page is:
index.php?option=com_user&view=login
on the end of the base URL.
The submit link is:
index.php?option=com_content&view=article&layout=form
The administrator panel is:
administrator
How to change the number of items showing - http://kb.siteground.com/article/How_to_reduce_the_number_of_articles_displayed_in_Joomla_15.html
To find out the links for pages go Menu > Select the relevent Menu > Then put a tick in the box and go edit to find out the link for the page.
Info on creating pages: http://thejoomlablog.blogspot.com/2006/03/making-links-to-pages-that-arent-in.html.
index.php?option=com_user&view=login
on the end of the base URL.
The submit link is:
index.php?option=com_content&view=article&layout=form
The administrator panel is:
administrator
How to change the number of items showing - http://kb.siteground.com/article/How_to_reduce_the_number_of_articles_displayed_in_Joomla_15.html
To find out the links for pages go Menu > Select the relevent Menu > Then put a tick in the box and go edit to find out the link for the page.
Info on creating pages: http://thejoomlablog.blogspot.com/2006/03/making-links-to-pages-that-arent-in.html.
Monday, July 19, 2010
Numlock not working in Ubuntu
If the numlock won't work, despite pressing the numlock key then go to:
system > preferences >keyboard > mouse key tab and uncheck the box.
system > preferences >keyboard > mouse key tab and uncheck the box.
Thursday, July 1, 2010
In /etc/ssh/sshd_config :
Comment out Subsystem sftp /usr/lib/openssh/sftp-server and replace it with:
Subsystem sftp internal-sftp
At the end of the sshd_config add the following:
Match group sftponly
ChrootDirectory /home/%u
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
Type the following commands as root, i.e. sudo in front of each command or sudo -s before you start.
1. chown root.root /home/
2. usermod -d /
3. adduser sftponly
Comment out Subsystem sftp /usr/lib/openssh/sftp-server and replace it with:
Subsystem sftp internal-sftp
At the end of the sshd_config add the following:
Match group sftponly
ChrootDirectory /home/%u
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
Type the following commands as root, i.e. sudo in front of each command or sudo -s before you start.
1. chown root.root /home/
2. usermod -d /
3. adduser
Saturday, June 12, 2010
Changing Default Browser from Konqueror to Nautilus in Gnome
If anyone else ever sees this I know it looks a bit strange, but I installed Konqueror as I like it for web browsing sometimes. Then whenever I mounted an external drive Konqueror would pop up instead of Nautilus. I happen to prefer Nautilus as a file browser.
Anyway, put up with it for ages and then found a ridiculously easy fix!. Just Open Konquerer, browse to any folder, right click and go 'open with' then select Nautilus.
Anyway, put up with it for ages and then found a ridiculously easy fix!. Just Open Konquerer, browse to any folder, right click and go 'open with' then select Nautilus.
Sunday, May 16, 2010
To mount an AFP share using commandline on a Mac
mount_afp afp://username:password@host_ip:548/apps /Volumes/apps
Wednesday, May 5, 2010
.htaccess
Put the following in the .htaccess file which should be in the top directory you want to restrict access to.
You then have to create the .htpasswd file:
Best to have it a level above where the .htaccess file is for security reasons and make sure that the permissions are 644.
In the httpd.conf - in apache2 probably /etc/apache2/sites-enabled/000-default - within the tags change AllowOverride None to AllowOverride ALL.
If you get a message "Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration" then run the following command:
AuthUserFile /server/path/to/.htpasswd AuthName "Login and Password Required" AuthType Basic require valid-user
You then have to create the .htpasswd file:
htpasswd -c /path/to/where/you/want/it/.htpasswd username
This will then prompt you to set the password for that username as a part of the file creation.
Best to have it a level above where the .htaccess file is for security reasons and make sure that the permissions are 644.
chmod 644 filename
In the httpd.conf - in apache2 probably /etc/apache2/sites-enabled/000-default - within the
If you get a message "Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration" then run the following command:
sudo a2enmod rewrite
Subscribe to:
Posts (Atom)