Philip's Blog

perhaps wayne cares
  • rss
  • Home
  • Admin

Managing webDav shares under Ubuntu Linux

Philip Gasser | 29/09/2010

It sort of PITA managing webDav share under Linux. If you want to save some time you should look at the script I wrote to manage webdav shares under Ubuntu Linux.

If you want to run the script on a other disto, just contact me, so we can look at the necessary steps to do. You can find the source code of my script @ https://wiki.enterpriselab.ch/el/public:linux:ilias_webdav

Comments
No Comments »
Categories
Linux, Ubuntu, webDav
Tags
bash, Linux, Shell, ubuntu, WebDav
Comments rss Comments rss
Trackback Trackback

Linux Image Resize

Philip Gasser | 24/05/2010

I like to have all original sized images, but to share they’re just too large. So here’s a quick tutorial how to batch resize and compress your images with a shell one-liner:

- Install ImageMagick with something like:
sudo apt-get install imagemagick
- Copy all the images you want to resize to a folder (keep the original one’s)
- Resize and compress all Images with:
mogrify -scale 50% -compress JPEG -quality 70  *.JPG

Mogrify is very powerfull. You can find a list of all supported options here.

Comments
No Comments »
Categories
Linux
Tags
ImageMagick, Linux, Resize, Shell
Comments rss Comments rss
Trackback Trackback

Grub 2

Philip Gasser | 08/01/2010

Ubuntu 9.10 (karmic koala) comes with Grub 2 (1.97~beta4). Some improvement:
- Universal support for UUIDs
- Scripting support including conditional statements and functions
- Boots from LVM, RAID and ext4 directly
- Non-X86 platform support (such as PowerPC)
So, lets see how we can make some default grub-legacy changes in grub 2.

Change screen resolution (for grub-menu):
gap@devBox:~$ sudo vi /etc/default/grub
Now you can edit the GRUB_GFXMODE (uncomment and change VBE Mode)
GRUB_GFXMODE=1280x1024
You can show your supported VBE modes when you hit c in the grub menue, and run vbeinfo in the appearing console.

Change the tty resolution:
Even if my laptop has a intel grafic chip, im using the uvesafb kernel module. These, because you have much more work with the intelfb module.
So, you have to load the uvesafb, and you should also be sure its not blacklisted.
# write the name of your module in this file:
sudo vi /etc/initramfs-tools/modules
# uncomment the line if the modul is blacklisted:
sudo vi /etc/modprobe.d/blacklist-framebuffer.conf
# update initramfs
sudo update-initramfs -u
# install v86d (if you use uvesafb)
sudo apt-get install v86d

After that we can edit GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="video=uvesafb:mode_option=1600x1200-24"
After a
sudo update-grub
sudo reboot

Youre done.

Comments
No Comments »
Categories
Linux
Tags
grub2, Linux, screen resolution, Shell, ubuntu
Comments rss Comments rss
Trackback Trackback

Tags

about me Android android 2.2 anti virus apps bash Blog clamAV clean Windows Enterprise Lab enterpriselab fancy FroYo Gingerbread grub2 HSLU ImageMagick installation Jabber JacORB Java Linux Mac OSX N1 Nexus One remove Resize screen resolution Shell SI Captcha Software Spam SWK tools TV ubuntu Update vmware vmware fusion 4 vmware workstation 8 WebDav welcome windows 7 XMPP Zattoo

Blogroll

  • Antoines's Blog
  • Burno's Blog
  • Marcel's Blog
  • Rothi's Blog
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox