http://www.damnsmalllinux.org/wiki/index.php/FAQ * Minimum Requirements for DSL with X-Window: - i486 - 24 MB RAM * How do I prevent the getting_started.html file from opening at boot time? Open Emelfm and click on the 'H' in the upper left hand corner of the left pane showing the /home/dsl directory. Scroll down to the .xinitrc file and choose 'Edit' from the Emelfm button menu. Look for the dillo line that appears just before 'fluxbox' at the end of the file and place a '#' in front of the word dillo. Save and exit. Now you need to save your settings. * How do I save my settings? see ./Persistence.html ( from http://www.damnsmalllinux.org/wiki/index.php/Persistence ) * How can I get the scroll wheel on my USB mouse working? Follow this process. 1. Quit X (ctrl+alt+backspace). 2. Run xsetup.sh. 3. Select your desired resolution, then select USB mouse. 4. Run startx. 5. Enjoy. * How do I mount a USB drive? You can follow this guide if you are using JWM or Fluxbox. 1. Right-click on the home icon on your desktop 2. Select mount 3. Then click /mnt/sda1.This will mount any flash drives in the usb ports. 4. To unmount,repeat steps 1-3. 5. To see the contents of your usb drive,go into Firefox (or dillo). 6. In firefox,type file:///mnt/sda1/ in the address bar (in dillo,its file:/mnt/sda1).Then you should see a directory listing of the contents of your flash drive. 1. If you can't see the contents,you may have clicked the wrong thing to mount,or you may have accidentally unmounted the usb drive when it already was mounted.Repeat steps 1-3. * How Do I Install to a USB Pendrive? http://www.damnsmalllinux.org/wiki/index.php/Installing_to_a_USB_Flash_Drive http://www.damnsmalllinux.org/wiki/index.php/Install_to_USB_From_within_Linux Method II: Current ISO + Syslinux In this method, you don't have to repartition or reformat your USB drive. It is possible to just install the ISO contents non-destructively onto a USB partition - this guide gives an example. Leave out all the partitioning and formating stuff that prepares your USB drive for DSL. Then follow these steps: 1. Mount USB drive with something like: mount /dev/sdx1 /flash #can be either FAT16 or FAT32! 2. Mount ISO image: mkdir /tmp/iso mount /tmp/dsl-3.2.iso /tmp/iso -o loop 3. Copy all contents from ISO to USB drive: cp -vr /tmp/iso/* /flash/ 4. Rename and move Syslinux files to root directory of the stick: mv /flash/boot/isolinux/* /flash/ 5. Rename isolinux.cfg to syslinux.cfg: mv /flash/isolinux.cfg /flash/syslinux.cfg 6. Unmount USB drive umount /flash 7. Install Syslinux: syslinux /dev/sdx1 8. And set the MBR boot flag for this partition (with fdisk). fdisk /dev/sdx #may need to use sudo ... be careful! Set the boot flag using 'a', then write with 'w' Done! Reboot and play. Notes Be careful using sudo fdisk. This is a tool for both good and evil. Make sure you use the right path names (/dev/sda, /dev/sdb, etc.) or you may corrupt existing partitions or files! You can read about this in the Requirements section, above. * USB Damn Small Linux install see http://www.pendrivelinux.com/all-in-one-usb-dsl/ * How can I enter and save my static IP settings? To save static IP settings with backup/restore we need to make changes in two areas. Boot the CD with the cheatcode dsl nodhcp or add nodhcp to the APPEND line in the Lilo or Grub bootloaders. We need to add the static IP information to the /opt/bootlocal.sh file. This file is backed up in the /home/dsl/.filetool.lst file by default. For this step you will need to know the static IP, Default Gateway and DNS nameserver of your ISP. With this information your /opt/bootlocal.sh file should have the following entries. ifconfig eth0 xxx.xxx.x.xx route add default gw xxx.xxx.x.x echo nameserver xx.xx.xxx.xx > /etc/resolv.conf ifup eth0 With these two steps you should have your static connection up and running the next boot. Make sure you back them up! * How can I have a VNC server start automatically at boot? VNC (an abbreviation for Virtual Network Computing) is a client/server software package allowing remote access to graphical desktops. With a VNC server running, you can access your DSL machine from anywhere on your local network or on the internet. VNC clients and servers are available for Linux, Windows, Mac OS, and other operating systems. A VNC client (to access the graphical desktops of other networked machines) is already included in the standard DSL. To set up a VNC server to run automatically, the first step is to download and install the VNC server extension (vnc4x-x.x.x.dsl) from the repository. There are two options for starting VNC automatically. You can place the commands in /opt/bootlocal.sh or in /home/dsl/.xinitrc, a hidden file in /home/dsl. You can find the two commands you need in the /home/dsl/.fluxbox/menu file. If you place these files in the .xinitrc file they MUST be before the fluxbox entry and have the '&' sign following each command to run it in the background. A .xinitrc file with vnc might look like this: # put X windows programs that you want started here. # Be sure to add at the end of each command the & if egrep -qv noicons /proc/cmdline 2>/dev/null; then xtdeskRestart.sh & fluxter -w &>/dev/null & mount.app &>/dev/null & asmem -withdrawn -bg black -fg white -memory red &>/dev/null & wmcpuload &>/dev/null & wmnet -w &>/dev/null & wmix &>/dev/null & fi dillo /usr/share/doc/dsl/getting_started.html &>/dev/null & vnc4x.sh &>/dev/null & vnc4x0.sh &>/dev/null & exec fluxbox 2>/dev/null Now you should have VNC autostarted when you boot into X. If you want it running with no X put the two VNC commands in /opt/bootlocal.sh * Adding/Installing Programs to DSL see: Installing_MyDSL_Extensions.html ( from http://www.damnsmalllinux.org/wiki/index.php/Installing_MyDSL_Extensions ) * How do i remove installed programs in DSL? Removing mydsl extensions? See wiki page. Using a type of frugal and you want to remove files from the DSL base image? Search on remastering it. (Remove programs like dillo, sylpheed, Axyftp, siag, and so on.) * DSL Panel Made Of The DSL panel is made with Lua, see /usr/sbin/cpanel.lua. check here: http://www.murga-projects.com/murgaLua/index.html and here: http://www.lua.org/manual/5.1/ The murgaLua site is usually using a newer version of their software so it may or may not work. Or hopefully will be backward compatible. Most of the lua/fltk in DSL was written before murgaLua project started. ( http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?;act=ST;f=14;t=19109 ) * Installing A Local Extension ( http://www.damnsmalllinux.org/wiki/index.php/Installing_MyDSL_Extensions ) After downloading, You can use the Extension Browser mentioned above to load the extension. As an alternative, you can install a local extension from the commandline: mydsl-load /path/to/my/extension * Using MyDSL Extensions on HDD installs As noted on the MyDSL Repository extensions are not made for use with DSL installed on the hard drive. Nevertheless, many extensions do work. This page is devoted to information about using extensions for hard disk drive installs. How the extension works depends foremost on its type. There are 4 types of extensions: tar.gz, dsl, uci and unc (see also). You'll be able to see the type with the file ending. (Note though that in the MyDSL extension tool, the file ending tar.gz is hidden.) tar.gz extensions Tar.gz extensions should work well on hard disk installs. These extensions install themselves once on the hard drive and should work thereafter. DSL extensions DSL extensions should work well on hard disk installs. These extensions install themselves once on the hard drive and should work thereafter. UCI extensions UCI extensions should work, but they will need to be loaded each time. The first time you download the extension it will be saved in /tmp. In the future, click the load local button in the MyDSL extension tool. This will allow you to reinstall the extension without have to redownload it. UNC extensions UNC extensions will not work on hard drive installs. Sorry :(