Suse 9.3 KDE 3.4 1. To add the desktop access button to kpanel right click to it then go to panel menu/add to panel/special button/desktop access. To add ksysguard to view cpu usage right click to kpanel then go to panel menu/add to panel/applet/ksysguard. click to up arrow on its left go to configure ksysguard number of displays 1 to remove memory. update interval 2 seconds. Right click to its graph and from properties go to scales uncheck automatic range detection and set minimum 0 maximum 100. Do the same to add quick launch applet which has smaller icons. I have from left to right (kde control center - yast control center, kppp - kontact, kdetv - firefox, konsole terminal - home konqueror, kate ) I removed all big quick launch items except from special button/desktop access. 2. From yast"software/add remove software" search for greek and install everything you find. from filter languages check both greek languages. check also search in description for more results. From System/Language select/details uncheck use utf8 encoding. Then add to /etc/fstab iocharset=iso8859-7,codepage=869 in parameters like the following for e.g. /dev/hda11 /mnt/hda11 vfat auto,users,exec,iocharset=iso8859-7,codepage=869,umask=000 0 0 Logout and login again to see the changes. 3. From kde control center/regional and accessibility. From country region and language select greece. From keyboard layouts check enable, add greek from left menu, select keyboard model (mine is ms natural/ ms internet) select greek layout variant polytonic (maybe it is for ancient greek). Do not check include latin layout because it caused problem when typing and switching from one language to the other. Even if the greek flag was shown in the taskbar english was typed!!!!!! From the various english select the one with iso 9995-3 From Keyboard shortcuts select keyboard/switch to next keyboard layout, click to the button with the default CTRL-ALT-K go to advanced and add an alternate by pressing and holding right shift left alt. To switch languages now press Right SHIFT Left SHIFT 4. To enable left kpanel hide arrow right click to kpanel panel menu/configure panel layout/hiding show left panel hiding button. 5. From kde control center peripherals/display select screen size and refresh rate. Check apply settings on KDE startup to use them at next login. For outside kde the default configuration is to use the maximum resolution at the maximum refresh rate. If refresh is very low e.g. 60 Hz change it from yast/hardware/graphics card and monitor/ change color and resolution by unchecking the high resolution modes that have a low refresh rate (e.g. I unchecked 1280 and 1024 since I still have a 15 inch monitor and i want 800x600) Be careful that this change affects also kde control center peripherals/display maximum allowed resolution. 6. Use kate with a font that is easy to read. From settings/configure kate/fonts/font select 16 for example 7. For internet connection install kppp. (search from add remove programs in YAST) Kppp must be run with setuid set (This is not so safe, there is an alternative way. Search MandrakeLinux.txt and DebianLinux.txt). To do the easy way is from konqueror. From konsole login as root run konqueror (/opt/kde3/bin/konqueror) and go to directory /opt/kde3/bin/. To find where an executable is located from konsole run which e.g. which kppp Right click to kppp executable properties/permissions/advanced permissions and check SET UID. This enables anyone that can execute kppp to execute it with root permissions (unsafe)! 8. Run kwikdisk once to put an icon in kpanel to view partition usage. It will remain in all future logins. 9. To add a new media of rpm packages to suse go to yast/change installation source insert a new dvd and select add dvd 10. If system tray is filled up with icons and you want to hide some but be able to restore them quickly if needed click on its left up arrow and goto configure system tray 11. To install rpm packages from a directory with packages click on the directory and then from actions add directory as yast source. Then search with yast by the name of the base package and install. This worked for gambas. 12. Cannot make a shortcut to file on the desktop for other partitions than linux. Maybe because of access by media:/ protocol. To bypass this, enter into the folder in which the partition is mounted (e.g. /windows/h), goto the file from there and then drag it into the desktop. 13. Kontact is the outlook equivalent of KDE. From contacts/address books edit resource change its name e.g. my contacts set format vcard and from location choose the location of the vcf file in a FAT32 partition where you make your backups. e.g. /windows/H/MyDocs/outlook_evolution/epafes/mycontacts.vcf To import inbox emails from previous kontact kmail copy the folder ~/.Mail Then from konqueror as root go to the properties of .Mail and change permissions of owner and group from root to user (e.g. vagelis). From kontact/kmail goto tools import messages/ import mbox files. Search for .Mail/.inbox.directory and then import the mbox files ( the larger ones) Sent mails are in /home/vagelis/.Mail/sent-mail/cur but unfortunately they are in various files, so select them all and then manually move them to sent-mails. Remember to have kontact closed when you do that and do not add any subfolders yet!!! Change permissions to user. Now create a subfolder also to be sure that e-mails will be in one file next time. Then move them from sent-mails to the subfolder. (To import e-mails from outlook see MandrakeLinux.txt and/or DebianLinux.txt) Create 2 subfolders to inbox folder (if you have 2 emails and select mbox format of e-mails. This will keep all in one file and avoid previous problem). From settings/configure kmail/misc/folders select mbox format as default. Version 1.8 of contact now stores emails at /home/vagelis/.kde/share/apps/kmail/mail/ use a backup script to save all e-mails to a backup FAT32 folder (see MandrakeLinux.txt and/or DebianLinux.txt) From settings/configure kmail Set identity and your e-mail address both in general and in advanced In advanced select also sent mails to be stored at the newly created folder. From accounts/receiving Add new accounts yahoo.gr pop.mail.yahoo.com smtp.mail.yahoo.com sch.gr mail.sch.gr mail.sch.gr check store pop password set destination subfolder (the one created before) then at extras check what server supports At sending you may add the preferred smtp server that is more reliable. (I prefer yahoo from sch since sch may sent the e-mail after hours) pop uses port 110, smtp uses port 25 or (995 for sch) (587 for yahoo) careful to use or not ssl if supported. If it can't connect try plain From settings/configure kmail/composer/charset add iso-8859-7 charset (greek) After all configuration check for new e-mail. If e-mail is both in the pop server and in local mbox file don't worry you can always delete duplicated messages. 14. A useful link is a link to konqueror run as root. To do it right click to desktop select create new/link to application use konqueror_root as name and as application/command kdesu 'konqueror -profile filemanagement' 15. (lilo boot loader specific) If grub is configured change it to lilo from yast/system/bootloader If boot information is corrupted or missing for any reason (e.g. resizing ext3 partition from partition magic) do the following to fix it. Boot from another linux (e.g. mandrake) Be sure that the partition where lilo is missing is mounted (e.g. on /mnt/hda6) Login as root. Copy /mnt/hda6/etc/lilo.conf as /mnt/hda6/etc/lilo.rescue Make the following changes to /mnt/hda6/etc/lilo.rescue : Comment lines that specify a background bitmap. Change all lines image=/boot/vmlinuz -> image=/mnt/hda6/boot/vmlinuz initrd=/boot/initrd.img -> initrd=/mnt/hda6/boot/initrd.img Execute : lilo -C /mnt/hda6/etc/lilo.rescue If you want to change the linux partition of a linux distribution : Copy the old partition to a file with a partition backup utility (e.g. savepart) Restore the old partition from the backup file to the new partition. Do all previous actions to install lilo boot loader to the new partition Change in file /etc/fstab : The partition that is mounted in root and do any other changes according to the new state of the partition table Another boot loader more advanced is grub. I must see what are the equivalent configurations that have to be made if you want to change the linux partition (e.g if you splitted a partition prior to the linux installation partition and now linux is at /dev/hda7 and not hda6) This is what I tried! Booted from suse 9.3 dvd. Select rescue system. Login as root. mkdir /mnt/hda8 #to mount there the root filesystem of the linux installation that can't boot mount -t reiserfs /dev/hda8 /mnt/hda8 # or -t ext2 or -t ext3 depending on the filesystem you have there vi /mnt/hda8/etc/grub.conf # to edit the grub config file I found the line setup --stage2=/boot/grub/stage2 (hd0,6) (hd0,6) # I changed it to setup --stage2=/boot/grub/stage2 (hd0,7) (hd0,7) # I stuck there!! I will try this approach after I learn more about grub. # Since I already mounted /dev/hda8 I shall edit /etc/fstab which definetely needs to be changed vi /mnt/hda8/etc/fstab # change the line that mounts the root filesystem e.g /dev/hda7 / ext3 acl,user_xattr 1 1 # to /dev/hda8 / ext3 acl,user_xattr 1 1 # and any other mount points that where affected by the change you made on your partition table # Now lets try system fix installation from suse yast. Booted from suse 9.3 dvd. Selected installation Boot from installed system From yast/system/boot loader change grub to lilo. Choose a configuration from the beggining then select suggested. Check the /etc/lilo.conf file with an editor Change /dev/hda7 to /dev/hda8 and then execute command lilo Reboot. If everything went ok then from yast change if you want boot loader back to grub keeping previous settings and reboot. That's it! 16. parted is the linux console partition manager, (qtparted is a frontend to it). To list the partition types for preparation of the /etc/fstab file afterwards run parted then from its command line print (help to see its commands - or man:/parted or info:/parted from konqueror) 17. To uninstall kylix /usr/local/kylix3/uninstall For kylix to work the following variable must be set export LD_ASSUME_KERNEL= 2.4.1 #(or 2.6.1) so create a link to executable and in the and in the command type Check run in terminal export LD_ASSUME_KERNEL=2.4.1 ; startdelphi; icons in folder /usr/local/kylix3 However it loads but nothing runs. 2.6 kernel can run only if tools/debugger options/ signals/integrated debugging is disabled This unfortunately disables F7/F8 and all debugging in general Do also the following Install as root with the -m switch; this does a non-rpm install which apparently side-steps a problem that some rpm versions have in relocating the software. ie: sh ./setup.sh -m Once opened and before doing anything else, open up the options dialog: Project menu-->Options-->Directories/Conditionals tab You need to change the following: (i) In the 'Unit/Output directory Path' field, replace: /usr/include with /usr/i586-suse-linux/include (or sth similar) Check it out first to see that it is not empty. You must have installed package ??????? Check default so that this remains in all projects. 18. To install java s1studio first install java itself. (Install it at /home/vagelis for example) The ls command shows that java is linked to /etc/alternatives/java ls -al /usr/bin/java lrwxrwxrwx 1 root root 22 2005-06-29 22:28 /usr/bin/java -> /etc/alternatives/java rm /usr/bin/java ln -s /home/vagelis/j2sdk1.4.1_01/bin/java /usr/bin/java 19. To speed up opening open office consider using System/Desktop applet /openoffice quickstarter 20. A nice visual combination is keramik theme with SuSE windwo decoration and kids icon theme. 21. See instructions in /video/dvd/suse http://www.plainfaqs.org/linux/dvdplay/ on how to add a new source in YAST that has an excellent multimedia database. mp3lame and w32codecs were automatically found there also. I need a faster internet connection 22. I installed kbear in order to search packman.iu-bremen.de enter here after loging in anonymously -> Suse/9.3/i686 to find the packages myself since I can't wait for 65 Mbytes (to download all) I tried kbear but the packages are too much and the commands are slow, so i switched to command line ftp packman.iu-bremen.de username : anonymous password : anonymous ls cd suse cd 9.3 cd i686 # see this in architecture of the file to bve installed from yast I then opened yast/change location source and enabled packman.iu-bremen.de From yast/add remove software i serched for xine. I clicked on kaffeine. From technical data/location I saw that the rpm name was kaffeine-0.6-0.pm.0.i686.rpm Back to command line i issued ls kaf* # to verify lcd ~ # to change local directory to mine bin # to ensure type of download is binary mget kaffeine-0.6-0.pm.0.i686.rpm # tab works here also !! mget libxine1-1.0.1-0.pm.0.i686.rpm # the name found from yast see above procedure mget w32codec-all-20050412-0.pm.0.i586.rpm Use kaffeine to play dvds My sources!!!!! FTP ftp.suse.com /pub/suse/i386/supplementary/KDE/update_for_9.3/yast-source/ ftp.suse.com /pub/suse/i386/supplementary/misc/update_for_9.3/yast-source/ ftp.gwdg.de /pub/linux/misc/suser-guru/rpm/9.3/ ftp.ntua.gr pub/linux/suse/i386/9.3/ ftp.ntua.gr /pub/linux/suse/i386/supplementary/GNOME/update_for_9.3/yast-source/ HTTP packman.iu-bremen.de suse/9.3 Everything that yast suse downloads is in a subfolder in /var/adm/YaST/InstSrcManager/ Do a search for *.rpm in there and you will find them. 23. To assign an application to a keyboard key goto kde control panel/accessibility/keyboard shortcuts/command shortcuts/ To assign shutdown to a key from accessibility/shortcut themes/desktop/stop without confirmation Assign a second shortcut to existing Alt-Ctrl-Shift-PageDown 24. Setting up static ip for a Suse Server. From Yast/Network Services/dns and hostname/ Set name and domain (e.g. athlon vagk.local) Set up dns servers (this will modify /etc/resolv.conf) 192.168.100.10 (we will also provide a dns server) 194.63.239.164 (1st dns server of sch) 194.63.238.4 (2nd dns server of sch) Uncheck changing any values from dhcp (This is a server) At search domain use your local domain (e.g. vagk.local) At YAST/Network Devices/Network Card change from dynamic ip to static (192.168.100.10) From routing check ip forwarding Check from ifconfig command (as root) to see if it is already registered (if not) try rebooting (there is another way but I dont remember now) 25.From YAST/Network Services/DNS set the forwrd dns servers (statically is better) (See also my Linux/dns folder to see configuration files) 194.63.239.164 (1st dns server of sch) 194.63.238.4 (2nd dns server of sch) At zone add your domain (e.g. vagk.local) At ns records of the zone add athlon.vagk.local. (remember the dot at the end) Then add also reverse lookup zone (this is optional to improve performance)according to your local network ip (e.g 100.168.192.in-addr.arpa) Set it to load on startup. Here is a /etc/bind/named.hosts file ; ; /etc/bind/named.hosts Local hosts at the brewery ; Origin is vbrew.com ; @ IN SOA athlon.vagk.local vagk.local ( 2000012601 ; serial 86400 ; refresh: once per day 3600 ; retry: one hour 3600000 ; expire: 42 days 604800 ; minimum: 1 week ) IN NS vagk.local ; ; loopback address localhost. IN A 127.0.0.1 ; ; IP's 0 & 255 cannot be used - Subnet mask is 255.255.255.0 packman.iu-bremen.de ;0 IN PTR network.yourdomain.com. ; Network #1 ;Real machines start here (This is for 192.168.0.x) ;10 IN PTR athlon ; Workstation, PC1 ; Virtual Brewery Ethernet athlon IN A 192.168.100.10 xdmserver IN CNAME athlon pentium IN A 192.168.100.20 xdmclient IN CNAME pentium acer IN A 192.168.100.30 acer1414 IN CNAME acer Or in configurations of YAST/DNS/records add the above 6 lines to zone vagk.local (your domain) At ns records of the zone add athlon.vagk.local. (remember the dot at the end) In reverse zone add the following 6 lines 10 IN NS athlon.vagk.local 10 IN PTR athlon.vagk.local. 10 IN PTR xdmserver.vagk.local. 20 IN PTR pentium.vagk.local. 20 IN PTR xdmclient.vagk.local. 30 IN PTR acer.vagk.local. 30 IN PTR acer1414.vagk.local. At ns records of the zone add athlon.vagk.local. (remember the dot at the end) These are in a file such as below ; db.100.168.192 file ; BIND reverse data file for local loopback interface ; $TTL 604800 @ IN SOA athlon.vagk.local root.vagk.local. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; 10 IN NS athlon.vagk.local 10 IN PTR athlon.vagk.local. 10 IN PTR xdmserver.vagk.local. 20 IN PTR pentium.vagk.local. 20 IN PTR xdmclient.vagk.local. 30 IN PTR acer.vagk.local. 30 IN PTR acer1414.vagk.local. On firewall settings check enable in ethernet card only. Last set save configuration and restart server 26. From YAST/Network Services/DHCP select the ethernet card to handle. Check open firewall for this connection (maybe for internet sharing) Set domain name (e.g vagk.local) 1st DNS (e.g. 192.168.100.10) 2nd DNS (e.g. 194.63.239.164) Gateway (e.g. 192.168.100.10) All these will be sent to client computer for their configurations At next page set the ip range (e.g 192.168.100.20 192.68.100.40) At next page set it to load on startup. Now open /etc/dhcpd.conf for further configurations Add lines below for fixed ips according to MAC address host pentium { option host-name "pentium.vagk.local"; hardware ethernet 00:80:48:26:99:30; fixed-address 192.168.100.20; } host acer { option host-name "acer.vagk.local"; hardware ethernet 00:C0:9F:86:39:94; fixed-address 192.168.100.30; } be carefull with dhcp since in suse you must select a network card - so what happens to the other if you have 2? it gets no dhcp info. How can I change that? To change that from YAST/etc/sysconfig editor/Network/DHCP/DHCP server/ DHCPD_INTERFACE change value to ifcfg-eth-id-00:0f:ea:c1:a9:b4 ifcfg-eth-id-00:80:48:26:98:7d These values are found in /etc/sysconfig/network/ folder This worked but the problem is that I don't know yet which files they change so I can't do it in another distribution. There are other options in YAST/etc/sysconfig editor/Network/DHCP/DHCP client that you should configure in clients For NIS server (see a section below dedicated to NIS) Add manually to /etc/dhcpd.conf the following lines option nis-domain "vagk.local"; option nis-servers 192.168.100.10, 127.0.0.1; and restart with rcdhcpd restart Now from YAST/Network Services/DHCP stop and restart dhcp service Check it out from a client running suse by YAST/Network Devices/Netwok card. Make it static. Check with ifconfig. Make it then dynamic again and check it out with ifconfig If this doesnt work try rebooting the client To restart clients. In windows ipconfig /release ipconfig /renew In Linux /etc/init.d/network restart 27. Configure Samba Server. From YAST/Network Services/Samba Server Set domain name (e.g. VAGK.LOCAL) Set it as master. Check to load on startup. On firewall settings check enable in ethernet card only. On Shared sources add a shared folder You can also add folders from konqueror. Right click on a folder/ goto properties shared samba/add select folder and share with samba. Last add a superuser password for samba Then configure YAST/Network Services/samba client Leave it as is unchecked. To check if samba server is running execute ps -A | grep smb If no results then it is not started. Start it from System run level editor. Check in left help what does the asterisk mean. Stop it and start it again. From command line /etc/init.d/smb restart # start stop status To check it from konqueror type to local or connected remote machine smb://athlon/ smb://acer KDE Control Center has a module also in Network/Samba for a lot of advanced configurations. Read in Suse documentation Suse Linux Administration Guide/Services/Samba. For simple administration tasks with the Samba server, there is also the program swat. It provides a simple Web interface with which to configure the Samba server conveniently. In a Web browser, open http://localhost:901 and log in as user root. However, swat must also be activated in the files /etc/xinetd.d/samba and /etc/services. To do so in /etc/xinetd.d/samba, edit the disable line so it reads disable = no. More information about swat is provided in the man page. From YAST/System/Runlevel editor activate xinetd. Then from YAST/Services/xinetd enable swat. In a Web browser, open http://localhost:901 Configure samba as a domain login server. In /etc/samba/smb.conf see that the following lines exist at [global] workgroup = VAGK.LOCAL domain logons = Yes domain master = Yes If encrypted passwords are used for verification purposes the Samba server must be able to handle these. The entry encrypt passwords = yes in the [global] section enables this select one user and add it to the ntadmin group. (from YAST/Users) After that, all users belonging to this Linux group can be assigned Domain Admin status with the command: net groupmap add ntgroup="Domain Admins" unixgroup=ntadmin Then add the client computer as follows (if its name is acer) useradd acer\$ smbpasswd -a -m acer From a WINXP client right click on My Computer/properties/Computer Name and change computer name to acer, workgroup to VAGK.LOCAL and from More DNS suffix to vagk.local Reboot the computer. From network neighboorhood you should see files now. Go to show workgroup computers and you should see your computer and the samba server Go to a folder to enable file sharing and follow the wizard instructions adding VAGK.LOCAL in workgroup. Now you will be able to see it from your samba server also Read documentation that comes with swat. Official samba how to is there and the article for domain controller is http://localhost:901/swat/help/Samba-HOWTO-Collection/samba-pdc.html Samba-3 is not NT4 and it is not Windows Server 200x, it is not an Active Directory server MS Windows XP Home Edition does not have the ability to join any type of Domain Security facility. Unlike MS Windows 9x/Me, MS Windows XP Home Edition also completely lacks the ability to log onto a network. Further, if the machine is already a "member of a workgroup" that is the same name as the domain you are joining (bad idea) you will get this message. Change the workgroup name to something else, it does not matter what, reboot, and try again. After a lot of test I configured samba from swat and I think I made it! I used the wizard from an XP Pro machine to connect to domain VAGK.LOCAL with administrator user and it did. I rebooted logged in and it says in profiles that it is a roaming profile. Now here is what i remember I did from all of my tests I added ACER computer with the commands useradd ACER\$ smbpasswd -a -m ACER net groupmap add ntgroup="Domain Admins" unixgroup=ntadmin /usr/sbin/useradd -c ACER2 -d /var/lib/nobody -s /bin/false ACER2$ #as a test but it then logged in as ACER from XP It created though a machine user ACER2 although not a password. It needed smbpasswd I added a new user root from swat. In /etc/samba/smbusers file it indicates that root = administrator. So I logged in from WINXP as an administrator I enabled kerberos client from YAST/Users/authentication but I don't know if that has anything to do with it Anyway see file smb.conf in my LinuxDocs Here it is # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2005/07/22 20:42:09 # Global parameters [global] workgroup = VAGK.LOCAL map to guest = Bad User passdb backend = tdbsam username map = /etc/samba/smbusers printcap cache time = 750 printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ logon script = logon.cmd logon path = \\%N\profiles\%U logon drive = H: logon home = \\homeserver\%U\winprofile domain logons = Yes os level = 65 preferred master = Yes domain master = Yes ldap ssl = no idmap uid = 10000-20000 idmap gid = 10000-20000 printer admin = @ntadmin, root, administrator cups options = raw include = /etc/samba/dhcp.conf [homes] comment = Home Directories valid users = %S read only = No inherit acls = Yes browseable = No [proglinux] comment = Network Profiles Service path = /mnt/hda11/programslinux create mask = 0600 directory mask = 0700 guest ok = Yes case sensitive = No msdfs proxy = no [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp create mask = 0600 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin, root force group = ntadmin create mask = 0664 directory mask = 0775 [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon write list = root guest ok = Yes browseable = No [programscd4] path = /mnt/hda11/programscd4 guest ok = Yes [linuxdocs] path = /mnt/hda11/MyDocs/Linux guest ok = Yes [MP3] path = /home/vagelis/mp3 read only = No guest ok = Yes [PARTIMAGE] path = /mnt/hda9/partimage read only = No guest ok = Yes [profiles] path = /var/lib/samba/profiles read only = No create mask = 0600 directory mask = 0700 ------------------------------------------------ Now I must use only swat to make changes. Lets add a new user. I added user vagelis which is an existing user in my Linux Server It was also in WinXP client but when i logged in it showed me another desktop than local Finally I used a user nistest that only existes in Linux. I added it to samba with swat and it worked again!!!!! It can see network files with //athlon but cannot browse vagk.local Administrator also I fixed it for administrator in local loggin ! I changed os level from 33 to 51 os level = 51 I'm not sure though since i logged in as another user and it had the same problem. After restarting all from swat it worked. So It may be the 30 sec interval that is needed. I also printed (with the windows driver). A nice practice is to have samba sharing all the needed drivers in a folder roaming profiles are stored in /var/lib/samba/profiles In swat status you can see active loggons and loggons to shared folders I think that settings are stored to /etc/samba/smb.conf when you go to view of current config Logging in with linux samba is definetely quicker 28. Amarok didnt work in Suse 9.3. The problem was in the engine it uses. From Settings/Configure amarok/engine use aKode engine. If it still doesn't work open amarok from konsole to see error messages Click on an mpr3 to play it and it may output in the console Guessed format: mpeg Could not load mpeg-decoder A packet is missing then kdemultimedia3-mad-3.4.0-14.i586.rpm. From the http source packman.iu-bremen.de search for it. I found it by chance when searching for multimedia and reading descriptions of packages. You can install it automatically from yast after adding the http source packman.iu-bremen.de, or manually from console via ftp of from kbear graphically if you have a fast internet connection (see 22 for details ) After installation it should work fine. You can change the default engine from gstreamer to arts or xine (xine seems to be loud enough for laptops with low powerspeaker 29. To use Suse 9.3 for internet sharing ip forwarding must be enable * !!! ipforwarding is now not a part of the iptables initscripts. * Until a more permanent solution is implemented adding the following * to a file processed in boot (in Suse I don't know it yet) will do * echo "1" > /proc/sys/net/ipv4/conf/all/forwarding Try it from console first to see if it works and the problem is indeed this I think that the script that is processed at bootup in knoppel (Debian) is /etc/rc.d/rc.local it must be executable ofcourse Anyway when I executed echo "1" > /proc/sys/net/ipv4/conf/all/forwarding it just worked that very moment So now I should try enabling it at bootup and then do the same with Mandrake IMPORTANT!!!!! -> TO SEE IF ipforwarding is disabled in kernel check the first number on the 2nd line of /proc/net/snmp with an editor (e.g. vi) It should be 1 if enabled From YAST/Network Services/Routing check enable ip forwarding. A valid route table (output from command route ) cas1.att.sch.gr * 255.255.255.255 UH 0 0 0 ppp0 192.168.100.0 * 255.255.255.0 U 0 0 0 eth0 default cas1.att.sch.gr 0.0.0.0 UG 0 0 0 ppp0 You may think that you have disabled firewall to do the testing but it may still have rules against Internet connection sharing To ensure you have no rules execute below commands # !/bin/sh IPTABLES='iptables' # load iptables modules /sbin/modprobe iptable_nat /sbin/modprobe ip_conntrack # enable ip forwarding /bin/echo "1" > /proc/sys/net/ipv4/ip_forward # flush tables $IPTABLES -F $IPTABLES -X # enable masquerading to allow LAN internet access $IPTABLES -t nat -A POSTROUTING -o ppp0 -j MASQUERADE # forward internal LAN traffic from eth0 to ppp0 internet interface $IPTABLES -A FORWARD -i eth0 -o ppp0 -m state --state NEW,ESTABLISHED -j ACCEPT # block out internet intrusion on ppp0 #$IPTABLES -A INPUT -i ppp0 -m state --state NEW,INVALID -j DROP #$IPTABLES -A FORWARD -i ppp0 -m state --state NEW,INVALID -j DROP #enable tomcat port $IPTABLES -A INPUT -p tcp -m tcp --dport 8080 --syn -j ACCEPT Uncomment lines with firewall rules, and you have a minimal firewall setting that also allows ICS. Ofcourse this must be put in a startup script to load every time. Now play around with firewall settings from YAST and check out each time if ICS works To see firewall rules run iptables -L 30. I have the 2 files in LinuxDocs/firewall Until I am familiar with YAST/Firewall settings i manually copied rc.firewall and rc.firewall.allow.all to /etc/init.d Now here is the procedure to create your own service (named for example myfirewall) See programslinux/books/suse for general details in suse startup. Suse conforms its startup to LSB (so this may work in other distributions too) chmod 700 /etc/init.d/rc.firewall chmod 700 /etc/init.d/rc.firewall.allow.all chown root:root /etc/init.d/rc.firewall # to change owner and group to root chown root:root /etc/init.d/rc.firewall.allow.all # to change owner and group to root cp /etc/init.d/skeleton /etc/init.d/myfirewall chmod 700 /etc/init.d/myfirewall # only root must alter firewall settings and nobody should read them ln -s /etc/init.d/myfirewall /usr/sbin/rcmyfirewall # so that we can execute it as rcmyfirewall Change myfirewall # /etc/init.d/myfirewall # and its symbolic link # /usr/sbin/rcmyfirewall Replace FOO occurences with MYFIREWALL MYFIREWALL_BIN=/etc/init.d/rc.firewall MYFIREWALL_CONFIG=/etc/sysconfig/myfirewall make an empty file so that it is found by the script touch /etc/sysconfig/myfirewall at start label comment startproc since in our example we have a script which can be called directly by its name only #startproc $MYFIREWALL_BIN $MYFIREWALL_BIN #it is a script so just the name In stop we can flush open all ports so we use the rc.firewall.allow.all script (again comment killproc) stop) echo -n "Shutting down myfirewall, allowing all ports " #killproc -TERM $MYFIREWALL_BIN /etc/init.d/rc.firewall.allow.all Now execute At status we can use #checkproc $MYFIREWALL_BIN #no executable just a script iptables -L # to show existing firewall execute insserv /etc/init.d/myfirewall Now we can use YAST/System/Runlevel editor to start stop the process or from command line with rcmyfirewall start rcmyfirewall stop rcmyfirewall status 31. A wonderfull network analyzer is ethereal. It shows with every detail information about all packets travelling around your pc. Install it with yast. Run it as root, click first button capture any. If there are no replies to a packet this indicates that it didn't leave from our Internet Server pc 32. Be careful with modem configuration from kppp. Modem speed must be set correctly. If set too much it may connect to a default of 16kbps or less. 33. I will try now to enable xdmcp server support in Suse. The config file is /opt/kde3/share/config/kdm/kdmrc (use locate kdmrc to find the path) Find and change or uncomment the lines. [Xdmcp] Enable=true Port=177 Xaccess=/opt/kde3/share/config/kdm/Xaccess Willing=/opt/kde3/share/config/kdm/Xwilling Then open /opt/kde3/share/config/kdm/Xaccess Uncomment line * #any host can get a login window Above configurations didn't work in Suse (although worked in debian,mandrake). These are for kdm However you can install gdm which has gdmsetup that has an option of allowing remote access via xdmcp. Installed in /opt/gnome/bin From Yast/System/ etc/sysconfig editor change Desktop/Display Manager/ DISPLAY_MANAGER_REMOTE_ACCESS to yes. Also from Desktop/Display Manager/DISPLAY_MANAGER you can switch to gdm xdm wdm or kdm as a default desktop manager at startup. 34. grip is a very advanced ripper and encoder. It can find filenames and mp3 info from the internet. In the options config/encode/encoder use lame with command line --vbr-new -q 0 %w %m In the encode file format you can change ~/mp3 and specify a new directory (maybe this must be done in config/rip/ripper then also) in config/encode/options set delete wav create m3u and use relative paths. in config/id3 check all Change the cdrom device from config/cd (see /etc/fstab for devices' names) Insert a cd (if connected to internet filenames will appear). If they don't after 10 secs exit grip and restart. 35. mp3s ripped by grip are beautifully managed by amarok. In amarok right click on files then select view/edit meta info to change info in all files. In album artist genre you can also select from existing in your collection. So if a name is written differently in mp3 meta info you can correct it here. In options check that manually saved playlist use relative path Click to get album covers, lyrics etc Select tracks in a playlist click with the right button and burn to an mp3 data cd with k3b (A very quick way to take music to your mp3 player in car in a rewritable!!) 36. NIS Server (SUSE Help/ Suse Linux Admin Guide/Services/NIS 25.1) From YAST/Services/NIS server install and activate. In the first screen do not choose local host as a client. Check fast map distribution Check all in password change. From other options check merge passwords and leave directory as /etc From map selection I chose everything (for testing reasons at first) For hosts access maybe I should add my local network mask. e.g 255.255.255.0 and (192.168.0.0 or 192.168.100.0 (<-mine)) but at first until i see it working I add 0.0.0.0 0.0.0.0 (which gives access to all) Then configure client NIS (SUSE Help/ Suse Linux Admin Guide/Services/NIS 25.2) From YAST/Services/NIS client Choose static ip (if you have a static ip or a specific network card MAC based ip) I will see afterwards the settings for DHCP configuration Uncheck broadcast. Automounter is for filesystems (i will see it later) uncheck it for now Click Find to locate a NIS server. It worked!!! So many hours lost with ldap and with NIS I had it in 15 minutes! From YAST/Services/Run level editor start ypxfrd to allow faster NIS map transfers. Next step is to share files with nfs 37. NFS server (in collaboration with NIS) (SUSE Help/ Suse Linux Admin Guide/Services/NFS Server 26.3) From YAST/Services/NFS server Check to start NFS. Then add /home/ directory and from export options change ro (readonly) to rw (readwrite). If you do not want to use YaST, make sure the following systems run on the NFS server: RPC portmapper (portmap) RPC mount daemon (rpc.mountd) RPC NFS daemon (rpc.nfsd) Use command ps -A | grep portmap # rpc.mountd rpc.nfsd to see if they are running. If not goto YAST/System/Runlevel editor and start them From the client side (do not use the machine as a server and a client!!) Important!!! Before making any changes For all local users from YAST/Users and security/Edit users change their home directories to /home_local/(username) Logout from system select console login, login as root and then execute mv /home /home_local;mkdir /home. (because the nfs import deletes the local /home directory). Type exit or ctrl-D to exit from console (wait a few seconds) From YAST/Services/NFS client click add and insert details as athlon.vagk.local (the dns name of your server or ip if it doesn't work) /home (the exported filesystem, use select to check also that you can see the server) /home (the path where to import be careful that it is an empty folder the first time) # be sure that there are no local users with the same names 38. Network users / local users So if you have a network with clients that are to be configured globally, any local users should have a different directory than /home since after an nfs mount the local /home will be hidden from filesystem. if you unmount /home (that was mounted by nfs) local /home will be shown again. So if you want to use /home you must comment nfs mount line in /etc/fstab. But you must uncomment it to use NIS/NFS back. Logging in locally is ok when NIS/NFS can be reached. But if NIS/NFS can not be reached or network is unplugged then unfortunately logging in local users takes a lot time, starting a new session or logging out or pressing ctrl-alt-backspace to display a new login screen takes forever (kdm problem?). So unless NIS/NFS is almost always available some settings must be change in order to be able to use local system smoothly in such cases 1.You can disable it temporarily form YAST/Services/NIS client. (If you have the above problems login via konsole as root and then execute command startx to bypass kdm) 2.Install a second NIS server in another computer and/or in the local computer to be also independent of the network. From YAST/Services/NIS server set it as a server (do not check that the machine is a client also), from masks delete 0.0.0.0 so that your server will serve locally only! From YAST/Services/NIS client click find and check primary and then local. Be sure that local is 127.0.0.1 and not an ip address that is not statically configured and may fail. Restart client computer to activate changes This procedure worked and it worked very well!!! (########## I couldn't install a secondary server First of all go to the configuration of the primary NIS server. Check that other secondary servers exist and add then add them. Go to the client and secondary server pc. ####################) Next step is to configure client setting via dhcp. Add manually to /etc/dhcpd.conf the following lines option nis-domain "vagk.local"; option nis-servers 192.168.100.10, 127.0.0.1; and restart with rcdhcpd restart Then from client sides YAST/Services/NIS client set information to be received by dhcp. You must disable NIS and finish YAST wizard, then enable NIS with the new options and finish wizard. If you try to just alter setting without the above procedure it might not work. To test from konsole type su - (network username) Reboot of the server is required!!! 39. Kdetv is a nice tv program for linux. For my card avertv media the best settings are Video -> Xvideo for linux (port 61) If sound is distorted in some channels remove from kdetv options/plugins/vbi decoder. From image filters/deinterlancing choose greedy high motion deinterlancing and overscan filter. 40. partimage is a utility that backs up partitions into files splitting them if necessary. The following procedure describes backing up and restoring partitions, whilst partimage is run from knoppix based MEPIS bootable live linux CD. For mepis user is demo passwd demo, root passwd root Change to root. Unmount all partitions with umount -a. Execute partimage You can mount any partitions except the one you backup for safety reasons. From desktop icons click on a partition big enough to hold your image. To see space in your partitions press Alt-F2 and in prompt type kwikdisk. It will create an icon with 3 cubes in taskbar. Click on a partition to mount it and see space available, click again to unmount it. If you have space select with empty space as big as your partition. Remember that in FAT32 you must split files into no more than 2,37 GB each If you don't its ok partimage can split and can zip files (maybe this is slower though, depending on the machine) Move with tab. Select partition to save Of course you can save to another network computer in you have mounted one of its partitions as readwrite. To do that for samba do the following. In the server side create a new folder (in a partition with enough space) name it partimage. See how to create samba shares (note 27 in this file) In the client side (running MEPIS) Press ALT-F2 and type smb4k Find the directory and click on it. It will be mounted in a local directory. To see it click on the right panel and konqueror will open. Select the full path and then go to console where you are running partimage and middle click to paste in the name of the file field adding also filename e.g. /ramdisk/home/demo/smb4k/ATHLON/PARTIMAGE/suse9 This is faster that saving locally and then copying to a server with samba. If you have 100 mbps ethernet or if you want to backup in a dvd afterwards you may select also gzip compression since you are already slowed down because of the network. To save localy I mounted hda2 partition by default it is mounted in /mnt/hda2. So the name of the image file to create (locally) is /mnt/hda2/suse9 With tab or F5 go to next At compression level select None (with space) This is 3-4 times faster in saving partitions than savepart is Leave splitting at 2,37 GB (I don't know why exactly that. It was also in savepart) Select continue Enter a description. It is useful e.g. Suse 9.3 on hda7 21-07-2005 from acer 1414 laptop Below are statistics on an acer 1414 laptop with celeron 1,3 M and 40MB h/d SAVING Size(src/target)type speed total time compr save 7,67 GB reiserfs-3.6 400MB/min 19 min 40 sec none local 7,67 GB reiserfs-3.6 277MB/min 28 min 15 sec none eth100mbps 7,67 GB reiserfs-3.6 200MB/min 39 min 30 sec gzip eth100mbps 5,72 GB/2,2 GB reiserfs-3.6 220MB/min 26 min 50 sec gzip eth100mbps 4 GB fat32 270MB/min 14 min 50 sec gzip eth100mbps To restore a partition run again partimage This time select the partition where you want to restore In the name type the full name with the .000 e.g /ramdisk/home/demo/smb4k/ATHLON/PARTIMAGE/suse9.000 If you are using eth 100mbps network you will restore faster with a gzipped file since data that comes in (6 MB/sec 360 MB/min) through samba is also compressed so speed will be about 650 MB/sec or more. This is equivalent to savepart which is also fast on restoring. Cpu usage was about 30 %. Below are statistics on an acer 1414 laptop with celeron 1,3 M and 40MB h/d RESTORING Size(src/target)type speed total time compr save 5,72 GB/2,2 GB reiserfs-3.6 620MB/min 9 min 25 sec gzip eth100mbps 41. nx client / server This is what nxsetup --install produced as an output Setting up /etc/nxserver ...done Generating public/private dsa key pair. Your identification has been saved in /etc/nxserver/users.id_dsa. Your public key has been saved in /etc/nxserver/users.id_dsa.pub. The key fingerprint is: 0e:bf:16:25:c4:3e:9d:e8:5f:57:17:c4:7c:b3:0e:75 root@athlon Setting up /var/lib/nxserver/db ...done Setting up /var/log/nxserver.log ...done Setting up user nx ...done Setting up known_hosts and authorized_keys2 ...Unique key generated; your users must install /var/lib/nxserver/home/.ssh/client.id_dsa.key on their computers. done Setting up permissions ...done Ok, nxserver is ready. PAM authentication enabled: All users will be able to login with their normal passwords. PAM authentication will be done through SSH. Please ensure that SSHD on localhost accepts password authentication. You can change this behaviour in the file. Warning: Clients will not be able to login to this server with the standard key. Please replace /usr/NX/share/client.id_dsa.key on all clients you want to use with /var/lib/nxserver/home/.ssh/client.id_dsa.key and protect it accordingly. If you really want to use the NoMachine key please remove '/var/lib/nxserver/home/.ssh/authorized_keys2' and then run this script with the --setup-nomachine-key parameter. Have Fun! -------------------------------------------------------------------------- This command started also the server. 42. Print from linux through network using a windows printer driver 43. AutoScan is a utility that scans networks. Be careful it is run as AutoScan not autoscan which is another program. Wait for some minutes until the scanning is complete 44. vsftp is a very secure ftp server. To enable it from YAST/System/Runlevel editor activate xinetd. Then from YAST/Services/xinetd enable vsftp. Add the following line to /etc/inetd.conf ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/vsftpd 45. webmin is a web-based administration interface for Unix systems. After installation, enter the URL http://localhost:10000/ into your browser and login as root with your root password. 46. kpdf is a nice pdf viewer. Search kpdf in descriptions to find it and install it. It is quicker than acrobat and has all needed features A nice one is to press the middle key. While pressing move up to zoom in move down to zoom out 47.nx server If you have a non working nx server installation remove it with nxsetup --uninstall --purge To install nxserver Run nxsetup --install --setup-nomachine-key Then run nxserver --adduser test # to add existing user test Then to add an already existing user (e.g. test) execute nxserver --adduser test ssh must be running. Test with ssh -l test localhost To be sure enable all ports with rc.firewall.allow.all script From the client machine use knx or nxclient (no machine client, is preferrable) From Windows try nxclient (download from nomachine site) I also enabled multimedia support Configure compression accordingly (modem, LAN etc) and connect I used fullscreen and changed default image encoding to jpeg with 0 as quality In mplayer this resulted in no smooth display, png worked better I was able to see divx played by mplayer in a LAN (although with occassionally pauses. I moved mouse to unpause. It seems that refreshes don;t happen always if system idle ) I used mplayer * -hardframedrop -cache 8192 -ni #these options helped use fullscreen if problems kaffeine worked great!! dvd worked good in half size though with kaffeine. I couldn't test mplayer cause of a problem of its installation from mplayer mplayer -x 720 -y 576 dvd://1 -framedrop kaffeine has a worderful option of broadcasting to network. It worked well. It also used play / pause although this caused smoothing problems in the server machine. To avoid these just play / pause from the server. One problem is the cpu load that nxagent produces. About 30% while idle and it reaches over 90 percent if forced (e.g. with video). This stays even after the cause of the load while being idle again It does not stay if you connect with modem compression but there are limitations in that way I tested nx with 2 clients and the cpu load was the same thankfully 48. Since I have 2 cards in my server i thought I would connect both my laptop and my old pc at the same time. To do that I chose the pci card to connect with my old pc 192.168.100.20 and the m/b integrated card to my laptop 192.168.100.30 From YAST i chose the same settings to both including (ip address) and from routing I added special configurations as follows Destination Gateway mask Interface 192.168.100.20 192.168.100.10 255.255.255.255 eth0 (pci card) 192.168.100.30 192.168.100.10 255.255.255.255 eth1 (m/b card) Here is the routing table Destination Gateway Genmask Flags Metric Ref Use Iface xdmclient.vagk. athlon.vagk.loc 255.255.255.255 UGH 0 0 0 eth0 acer.vagk.local athlon.vagk.loc 255.255.255.255 UGH 0 0 0 eth1 192.168.100.0 * 255.255.255.0 U 0 0 0 eth0 192.168.100.0 * 255.255.255.0 U 0 0 0 eth1 link-local * 255.255.0.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo However i connect from server to both and vice versa but I cannot get the laptop (192.168.100.30) to connect to the old pc (192.168.100.20) They can both connect to the internet (although be carefull with dhcp since in suse you must select a network card - so what happens to the other? it gets no dhcp info. How can I change that) To change that from YAST/etc/sysconfig editor/Network/DHCP/DHCP server/ DHCPD_INTERFACE change value to ifcfg-eth-id-00:0f:ea:c1:a9:b4 ifcfg-eth-id-00:80:48:26:98:7d These values are found in /etc/sysconfig/network/ folder This worked but the problem is that I don't know yet which file are changed so I can't do it in another distribution. Assigning the same ip to the 2 network cards made routing difficult. I succeeded in communicating to pcs from both cards but I couldn't make them communicate to each other I will try different network ips for each card eth0 will have 192.168.100.10 eth1 will have 192.168.101.10 dns and dhcp must be configured as well pentium that connects to eth0 will have 192.168.100.20 acer that connects to eth1 will have 192.168.101.30 No special routing! dns configuration I added athlon as 192.168.101.10 (I don't like this, we will see) I deleted reverse lookup zone for simplicity I changed acer from 192.168.100.30 to 192.168.101.30 dhcp configuration change the following files /etc/dhcpd.conf and /var/lib/dhcp/etc/dhcpd.conf As a precaution cp /etc/dhcp.conf /etc/dhcp.conf.old cp /etc/dhcp.conf /etc/dhcp.conf.new # so that you wont lose it make the changes to /etc/dhcp.conf.new and then cp /etc/dhcp.conf.new /etc/dhcp.conf cp /etc/dhcp.conf.new /var/lib/dhcp/etc/dhcpd.conf After restart with rcdhcpd restart Restart the clients /etc/init.d/network restart Everything worked fine. All computers can see each other!!!!!!!!!!!!!!!!!! athlon:/home/vagelis # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.0 * 255.255.255.0 U 0 0 0 eth0 192.168.101.0 * 255.255.255.0 U 0 0 0 eth1 link-local * 255.255.0.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo However nisclient didn't work option nis-servers 192.168.101.10, 127.0.0.1; option domain-name-servers 192.168.101.10, 194.63.239.164; option routers 192.168.101.10; I would like to set the above to the subnet. I will test it later Maybe they are not needed at all since the clients have the server as default gateway for every packet. If the ip is valid it should work And both 192.168.101.10 and 192.168.100.10 are valid add a new subnet subnet 192.168.101.0 netmask 255.255.255.0 { range 192.168.101.20 192.168.101.40; default-lease-time 14400; max-lease-time 172800; } I changed host acer to host acer { option host-name "acer.vagk.local"; hardware ethernet 00:C0:9F:86:39:94; fixed-address 192.168.101.30; } 49. A nice antivirus tool is clam antivirus. It has also a frontend klamav. As a root I could not update (problem changing directory to /root/.klamav/database As a normal user I could. To use the virus database from the network from YAST/NFS server export /home/vagelis/.klamav/database with options rw,async and * for all hosts (rw is needed so that klam can create quarantine folder - be carefull with rw) From client side YAST/NFS client import the database to local file mkdir /home_local/vagelis_acer/.klamav mkdir /home_local/vagelis_acer/.klamav/database at /etc/fstab add the following line 192.168.100.10:/home/vagelis/.klamav/database /home_local/vagelis_acer/.klamav/database nfs users 0 0 as a root mount -a To ensure that it will work even without a network copy the files in .klamav/database to .klamav Reboot without a network. Copy them back to .klamav/database Now when you are connected to a server you will have the network files!! When disconnected your local files!! That is the magic of nfs. If nfs folders are mounted to local ones they hide the contents of the local folders. These are unhidden if you unmount nfs folders! From time to time when connected do the above procedure to copy locally the newest files Run it from konsole since when you scan readonly files you should see the logs to delete them manually 50. 3 html editors need our attention bluefish, quanta and nvu. Ofcourse for simple editing there is always kate which highlights text as well. nvu seems the more advanced For greek to display in source editor do the following From tools/preferences/advanced change output the following characters to the above and all latin 1 From tools/preferences/new page settings change language to el (greek) and encoding to 8859-7 or 1253 From tools/preferences/fonts change fonts for greek profile to courier (leave sans serif and monospace only) It has also themes and extensions like mozilla !!! In view character encoding turn on universal so that even documents with no tag info will be displayed in greek! nvu is crossplatform, exists in Windows,MacOs etc. It has common things with mozilla including the extension and themes ability!! bluefish has some other cool options that were useful to me regarding our school site From file open advanced I opened all the index.html files at once Then on replace I selected all opened files begin till end and replaced with Before uploading and vice versa afterwards!! This solved the problem that mozilla only recognizes full path uris 51. If any problems with firefox or mozilla saying that your profile is in use when it isn't try removing the file lock in ~/.mozilla/firefox/yq5ldzqy.default> yq5ldzqy.default or sth like that is the folder where your default profile is stored To change the default font size in firefox 1.5 custom set the dpi accordingly in options/content/fonts/advanced. I used 60 dpi for my 15 inch monitor and 800x600 resolution. 52. konqueror A wonderful function of konqueror is profiles. You can store profiles and do wonderful stuff. e.g Upload1tee_aliart 3 tabs with local files, ftp://users.voi.sch.gr, http://1tee-aliart.voi.sch.gr Google_tee_search 7 tabs with http://1tee-aliart.voi.sch.gr Google results for ������, ������, ����, ����, ������, ������ If you open an html document konqueror can validate its integrity. The validate HTML option allows you to compare your HTML document to the defined syntax of HTML and reports any errors found. Validating your HTML will ensure that your pages display properly on all browsers. As a web browser it can save favorites to anything. I only write favorites from konqueror in Suse and from all other browsers and OSs I only read. I write to mozilla html style which is the most compatible. Whenever I write a new shortcut I export also. The nice thing from konqueror is that in the import/export dialog I added in the left pane the directory where my html file is for quick access. 53. To grab video from a tv device or an external source like a video cassette player a nice program is jtvd. ***************PREPARE GRABBING FOR DVD CREATION******** 3600 for 3h duration 4800 for 1h 50 min duration 6000 for 1h 30 min duration 7500 for 1h 10 min duration Select 720x576 PAL, mpeg2 codec, 6000 CBR bitrate and 224 CBR audio Adjust brightness / contrast and start grabbing #After creating the avi file use #videotrans. (be sure you have installed ffmpeg before that) #Important: execute videotrans commands on an ext3 filesystem. #copy the noname.avi to an ext3 filesystem. Else you may get the #following error #mkfifo: cannot create fifo `stream.yuv' #execute movie-to-dvd -m pal noname.avi #it will create a 720x576 pal 6000 CBR dvd m2v and mp2 video and audio files #or experiment with the options (see man videotrans for details) #afterwards run mplex -f 8 noname.mp2 noname.m2v -o /mnt/hda13/jtvd/dvd/noname.mpg #This will create a suitable mpg file ready to be converted to vob #Now use the following xml file for dvdauthor cat > config.xml #Last run dvdauthor -x config.xml You can also use dvdstyler a gui frontend to dvdauthor to create the xml file Test with mplayer gmplayer dvd://1 -dvd-device /mnt/hda13/jtvd/dvd/video_ts/ #Now burn with k3b Choose DAO ***************PREPARE GRABBING FOR DVD CREATION(end)********* It is a java frontend for mplayer, mencoder, transcode, tcprobe, mplex,dvdauthor, growisofs. These programs must be installed and be in the path From configurations / stations you can select a name to a station to simplify recording From main tab select 720x576 PAL resolution mpeg4 for divx mpeg2 if you want to burn in a dvd The most crucial part is quality versus size frames per second must be at least 25fps (cpu usage is drops this. You must have a fast cpu) On my athlon 2200+ (1800mhz) with 1GB RAM codec video audio res fps hour min kbps dvd mpeg4 VBR 2 VBR 2 352x576 18 5,8 Gb 96mb 12800 mpeg4 VBR 2 CBR 128 352x576 18 5,9 Gb 98mb 13100 mpeg4 VBR 1 CBR 128 720X576 25 12,4 Gb 210mb 29000 mpeg4 CBR 1200CBR 128 720X576 25 660 MB 11mb 1466 mpeg2 CBR 2400VBR 1 720X576 25 1,14 GB 19mb 2400 4hr mpeg2 CBR 3600VBR 1 720X576 25 1,62 GB 27mb 3600 3,2hr A problem for now is that jtvd does not remember the last settings of codecs bitrates etc. I found a config file ~/.jtvd.properties but it contains other settings that are saved. Too bad!! Files are save to ~/jtvd/files (i specified this in preferences workdir) In mixer settings/ input check the correct input for audio, normally line. Put the volume top 75% both to line input and capture Java media framework is not installed in my computer so i can't author and burn from jtvd If you are installing the JMF Performance Pack for Linux Change directories to the install location. Run the command % /bin/sh ./jmf-2_1_1e-linux-i586.bin I installed it (as root always) to /usr/java cp jmf-2_1_1e-linux-i586.bin /usr/java/ cd /usr/java ./jmf-2_1_1e-linux-i586.bin #after installation ln -s JMF-2.1.1e/ jmf # you must export environment variable JMFHOME to point to the installation directory. To test it execute export JMFHOME=/usr/java/jmf; jtvd #if it works add export JMFHOME=/usr/java/jmf to your ~/.bashrc Very nice since you can see the current channel playing in a window and a lot more. I could not use built in functions to author yet. However if i leave initial settings mpeg4 VBR 2 VBR 2 352x576 it worked (the burning did not though) So if you have titles in author and burn dialog use the command dvdauthor -x /home/vagelis/jtvd/tmp/config.xml It will create the dvd structure to /home/vagelis/jtvd/dvd test it with mplayer Burn it then with k3b The problem is that i could not convert to a suitable format. I thought that converting to mpeg2 will do. It didn't Anyway for now just burning the mpeg2 files to a dvd will do since all modern dvd desktop player play mpeg2. vob files will wait... I tried qdvdauthor instead, a frontend for dvdauthor. No luck though since there are missing programs I tried dvdauthor command I must create a suitable xml file 54. Rosegarden is a midi recording studio (like cakewalk). In order to work midi must be enabled and working. To check this go to kde control panel/sound and multimedia/ sound system/ hardware to see if there are any midi devices. Then open a midi file with kmid. Start rosegarden. To record go to composition studio manage midi devices, and check the midi device for recording. To see in vertical piano mode right click a track and select open in matrix editor. 55. gthumb is a nice image previewer with gnome-like interface. It is useful for jpg images because it can shrink them ready for printing. Ofcource gimp can do it also (though slower) 56. If problems with sound in gmplayer use a different driver, e.g. arts 57. hddtemp is a utility that outputs the temperature of your hard disk try hddtemp /dev/hda 58. musicman is an excellent tool that integrates into konqueror and comes up after right clicking an mp3. Normalize of filenames spaces to _ and vice versa tags from filename (I couldn't make this work) sql commands txt file from the mp3 are some of its features !! Right click on folder with mp3 and select make cd cover. 59. kget is a download manager that can be used by konqueror as a plugin. It can also download all links in a page. From konqueror push the kget button (useful for downloading a book) You can schedule downloads by starting them stopping them immediately and export to a file Then go to another computer with faster internet connection and import this file to continue from there. Maybe if you move the part files to an identical directory it will resume them as well. Another useful ability is to parse a text file or an e-mail and download all the urls.(File/import Text file) Turn on expert mode (to avoid prompting to use the auto-disconnect and auto-shutdown functions) For SuSE users the command cinternet -i ppp0 -0 must be substituted for kppp -k in the Settings->Configure KGet... Automations menu. 60.Free pascal is a free dos ide with excellent compatibility with older pascal versions and borland pascal and delphi. Lazarus is a delphi equivalent graphical ide intefrace that loads both pascal and delphi programs. Install free pascal at directory /usr not /usr/local Install fpcsrc first. ncurses-devel is needed Do make all and then make install Extract the gzip file and as root execute make clean all Corrections were made to several files. The problem was with syntax an extra plus sign (+) on all cases. Fixed with a simple editor and executed make all again The linking failed in my SUSE 9.3 system because I lacked the glib, gdk, gdk-pixbuf libraries. The all are in the dependemcies folder now. After a successfull make all, execute localize.sh and then make install Go to Environment/Options/Files FPC source and add the fpcsrc you have extacted to par example /usr/share/fpc Go to run/Run Parameters and check use launching application and change xterm to konsole At Environment/Editor Options/Display change font to console 16 for greek (minor problem with accents) For debugging enable gdb at environment/debugger options and add the full path to it in the (/usr/bin/gdb probably) Then at project/compiler options linking check the generate debug info for gdb The run parameters must not have a launching application. Output would be directed to the terminal that launched lazarus (However there is a problem with readln) If any problems with greek characters in menus add this line to your desktop shortcut just before lazarus command export LANG=en_EN.ISO-8859-1. Do not add it in your .bashrc. It will produce problems with greek characters. 61. kdedevelop can be use to develop c++ applications Store in ext3 filesystem since fat32 does not distinguish between high and low case in file names and README,AUTHOR etc will not be found. 62. To add a virtual host /mysites in apache do the following Make a file /etc/apache2/httpd.conf.local like following cat /etc/apache2/httpd.conf.local > Alias /mysites "/mnt/hda12/Mystuff-programming/my_web_sites" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all -(CTRL-D to end input) ------------------- From YAST /etc/sysconfig editor find key Network/WWW/apache2/APACHE_CONF_INCLUDE_FILES and add insert value /etc/apache2/httpd.conf.local Be sure to restart apache rcapache2 restart This makes upgrades easier because it separates the basic config file from user defined options 63. testdisk is a tool that can scan hard disk and fix a partition table according to the partitions it will find! A dos/win98 and windows version is also available. 64. to extract files from an rpm package use the following command Be sure that you are in a convenient directory first rpm2cpio RPM_file | cpio -idv 65. trying to resize the root partition I encountered the following problems. I backed up the partition from partimage Deleted and formatted the partition from 8G to 12G. I restored the partition but when i tried rebooting i got EBDA too big error. It refused to boot. Before that I lost the partition table and recovered from testdisk in hiren's boot cd From the Suse 10 installation dvd, parted couldn't see the partition table at all. From suse 9.3 installation dvd it could see it but as readonly. I selected repair custom and installed the bootloader again. It worked on reboot but still the patition size was 8GB although yast partitioner showed it as 12GB. Last I booted from 9.3 suse installation dvd in rescue mode and issued the command resize2fs /dev/hda6 12G It worked. I rebooted and show the correct size with df Be carefull though cause I don;t know what would happen if I specify a size larger that the correct. Maybe it would corrupt /dev/hda7 partition 66. To test speed of a partition execute hdparm -Tt /dev/hda6