jump to navigation

Setting up a windows printer on debian sarge November 17, 2006

Posted by maxmil in : Debian , add a comment

http://www.faqs.org/docs/Linux-mini/Debian-and-Windows-Shared-Printing.html

Problems with uppercase on fat32 mount November 10, 2006

Posted by maxmil in : Debian, Java , add a comment

I have my data drive in fat32 so that both windows and linux can write to it. I have recently experienced problems with linux in java and uppercase directory names.

When you mount a fat32 directory all file and directory names that contain ONLY uppercase characters are converted to lowercase (don’t know why??). I was having particular problems with WEB-INF.

Anyway the solution is to include the -o shortname=winnt parameter when you mount the drive.

Setting up sudo on debian sarge November 7, 2006

Posted by maxmil in : Debian , add a comment

After a clean install of debain sarge if you want to use sudo for root access you must configure it. Here is how i did it.

Go to Desktop->Administration->User and Groups and click on the Groups tab. Next, click on “Show all users and groups,“ click on adm and verify that you are a group member (in the future you can add other users to this group to give them admin privledges). Then go to Applications->Accessories->Terminal and type (will prompt you for the root password):
su
visudo

Insert the following line at the bottom (under privilege specification):
%adm ALL=(ALL) ALL

Save and exit

Now type (for example) sudo synaptic and you should be able to open synaptic as your desktop user with root privileges.

I have also seen comments on modifying the gnome config key /apps/gksu/sudo-mode with the command sudo gconftool-2 -t bool -s /apps/gksu/sudo-mode 1 in order to be able to open gnome aplications with your password and not that of root.

Radio stations November 6, 2006

Posted by maxmil in : Uncategorized , add a comment

BBC world news
mplayer `wget -O - -q http://www.bbc.co.uk/worldservice/meta/tx/nb/live_news_au_nb.ram`
or just
mplayer -playlist http://www.bbc.co.uk/worldservice/meta/tx/nb/live_news_au_nb.ram

mplayer .ram and avisynth.dll

Posted by maxmil in : Debian , add a comment

I was having trouble with listening to the BBC news feed…
http://www.bbc.co.uk/worldservice/meta/tx/nb/live_news_au_nb.ram
I kept getting the error
Win32 LoadLibrary failed to load: avisynth.dll, /usr/local/lib/codecs/avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
Having searched the web the solution i’ve found two solutions.

1) Use the playlist option
mplayer -playlist [url]

2) Use wget
mplayer `wget -O - -q [url]`