The ``lpc'' program was buggy on older versions of Sidious. If you do not want to upgrade, simply turn off execute permission on ``lpc'' and Open Office / Star Office should work.
chmod -x /usr/sbin/lpc
Note: current versions of Sidious do not need this fix!
If you have multiple nameservers listed, the first one is probably not responding. Remove it, or move it to the end of the list and restart your application. With Sidious 9.30, there is now also an option to run your own DNS server, in which case you can set the nameserver to 127.0.0.1. This may not work if your site has a firewall.
# /etc/rc.d/rc.firewall stop
to temporarily turn it off, and:
# /etc/rc.d/rc.firewall start
to turn it on again. The firewall logging option can also provide some clues (in /var/log/messages) when something is not being permitted through the firewall.
Your home directory, or /opt/PACKAGENAME/bin/ is the recommended place. For source code that uses GNU configure, compile it with:
configure --prefix=/opt/PACKAGENAME make make install
See the next question for adding this to the PATH. Note: $HOME/bin/ is already in the PATH by default.
Consider installing it for one user only (in $HOME/bin/) or create an arbitrary /opt/myscripts/bin/ directory for it and add that path to profile.local (see below.)
Start ``reconfig'' and go to ``Encapsulated files'' -> ``profile.local''. Here's is an example that removes any alias for ``cp'' and ``mv'', adds an alias ``lt'', and modifies PATH:
unalias cp unalias mv alias lt="ls -lFtr" export PATH=.:/opt/stuff/bin:$PATH
See the bash man page for details on the syntax of bourne shell script, any of which is legal here. Warning: do not use this to start up applications automatically. Use rc.local or .fvwm-initfunction for that.
Recommended place is $HOME/bin/ which is automatically included in your PATH. Installing for all users on the system is also a possibility (see the previous section.)
Special note for ROOT: By default, root's home directory is not persistent when Sidious is first installed. In this case, either choose a different location, or change /var/ to be shared with ``ROOT'' (this is changed with ``reconfig'') so that files are persistent. With laptops, this may cause the disk to spin up more frequently. To find out whether your current filesystem is persistent or not, use `` df -T ~'' and if Type is ``tmpfs'' all files in the home directory are lost on reboot!
Create a file in the home directory (see note in previous question about doing this for ROOT). The file should be called .bash-aliases. You may wish to start with a copy of /usr/share/bash-aliases, which is the system-wide default.
Consider using profile.local and just making the change for all users (see previous section). If you don't want to give up the non-persistent root feature, you can still cause dot files and other home directory contents to be reinitialized at boot time in one of two ways:
# Create dot files in root's ramdisk home directory. cat <<EOF > /var/root/.fvwm-initfunction xsetroot -solid black EOF chmod +x /var/root/.fvwm-initfunctiona
If you run regular Emacs in a terminal window, Control-H is the help key by default. To change it to a backspace, and remap the help key to ESC H, put the following in .emacs in your home directory:
(define-key global-map ``\C-h'' 'delete-backward-char) (define-key esc-map ``?'' 'help-command)
Yes. To temporarily change the font size in an rxvt, hold SHIFT and press the `+' or '-' key on the number pad to make the font one step larger or smaller. This only works with the number pad +/- keys. (On a laptop keyboard, the number pad keys are typically painted on the side of regular keys on the right side of the keyboard. To access them, the Fn key must also be pressed. So on a laptop, press and hold Fn and SHIFT, and then press the keys with +/- written on the side.)
To change the default font size for new windows, add to/create a ~/.Xdefaults file with the line:
XTerm*font: 10x20replacing 10x20 with the font name of your choice. (Use xlsfonts to a get a list of available fonts.)
PC Card devices make use of the IDE device driver, and are configured in the /etc/pcmcia/ide.opts script. This script has already been modified to automatically ``mount'' PC Card CDROMs on /mnt/cdrom/ and PC Card disks and flash readers on /mnt/pccard/. Check the ide.opts script if you need to modify the behavior or change the default mount point.
(NOTE: When a PCMCIA CDROM is mounted on /mnt/cdrom/, ide-scsi emulation support is UNloaded. IDE-SCSI support makes IDE devices look like SCSI devices, and adds some capabilities, but it is not very forgiving if you physically eject the card without first unmounting the filesystem (this crashes the driver). CD burning and digital audio extraction does not work without ide-scsi, so the Sidious ``cdcopy'' script automatically re-loads ide-scsi if you run it. Reading the filesystem will work fine with or without ide-scsi.)
USB storage devices are also automatically mounted if recognized. These are mounted on /mnt/usb/. If you have a USB storage device (hard drive, flash reader, etc.) which is supported by the USB storage driver but is not recognized automatically, plug in the device and check the last messages in /var/log/hotplug.log to get the vendor/product IDs for your device and add them inside /sbin/hotplug. UPDATE: /sbin/hotplug will now attempt to mount any USB storage class device. So /sbin/hotplug should be edited if you need to prevent it from automatically mounting the device on /mnt/usb.
The crond and crontab utility have both been modified to allow users to maintain their own crontabs in their home directories, organized by hostname. Follow these steps to run cron jobs:
See the Linux man pages for crontab and crond for more information.
The integrated PCI version in older Sony Vaio laptops is not currently supported under Linux. In the SR-series, the memory stick reader is a USB device, and can be used by turning on ``USB Mass Storage support'' with the reconfig utility (or by typing modprobe -a usb-storage sd_mod as root.) Hot-pluggable USB storage devices are automatically mounted on /mnt/usb/. For the built-in memory stick reader, you'll have to issue the mount command manually.
Fixed IP addresses are best assigned through the DHCP server. It is also possible to simply claim any unused IP address on the subnet if a Sidious network server is running the subnet, but it is easier to keep track of things in one place, on the server.
Use reconfig to turn on the DHCP server (if it is not already on). As of Sidious 9.38f, a submenu has been added: ``Assign fixed DHCP addresses/hostnames.'' Here desired hostnames and matching MAC addresses can be entered next to the IP the host should be assigned. This IP must have the same ending octet `X' on any of the subnets served by the DHCP server (e.g.: 192.168.*.X).
You can then refer to the host from other clients as ``customname.wireless'' or ``customname.private'' depending on whether it is currently connected through a wireless or wired subnet. (If the client you are on, and the client you are trying to reach are both on the same subnet, the short hostname ``customname'' should be enough, since the DHCP server will set your default domain name to ``.wireless'' or ``.private'' accordingly.
NOTE: If you need more control, check the man page for ``dhcpd.conf'' and create your own complete dhcpd.conf for the DHCP server instead. This file can be encapsulated in the sidious.config, using reconfig. The example /etc/dhcpd.conf.gateway is a good starting point.