Jump to content

aru

Members
  • Posts

    2022
  • Joined

  • Last visited

Everything posted by aru

  1. prometheus Frequent user Joined: 04 May 2002 Posts: 66 Location: Canada Post Posted: Tue May 21, 2002 11:33 pm Post subject: cant get kdm to start kde3 ! this is what i did... _________________________________________________________________ after reading all the posts on the forum and trying everything,kdm still wont get me into kde3 ! only Xtart did.. so this is what i did to fix this problem(beside doing all the things that i read on the forum): goto /etc/X11/wmsession.d/ there will be a file for each desktop environment,so there should be something like 11KDE or whatever number next to kde.. edit the file using vi or any editor , this is what u might see : NAME=KDE 3 ICON=kde-wmsession.xpm DESC=The K Desktop Environment EXEC=/opt/kde3/bin//startkde3 SCRIPT: exec /opt/kde3/bin//startkde3 only change the first line to : NAME=KDE3 ICON=kde-wmsession.xpm DESC=The K Desktop Environment EXEC=/opt/kde3/bin//startkde3 SCRIPT: exec /opt/kde3/bin//startkde3 and run KDM config from K > Configeration > KDE > System > Login Manager (All KDM Settings) .. and Add : KDE3 and that's it ! HTH Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  2. illogic-al Senior user Joined: 01 May 2002 Posts: 358 Location: Smack dab in the middle of it all. Post Posted: Tue May 21, 2002 7:27 pm Post subject: How to get X-CDroast to identify two CD drives _________________________________________________________________ Ever wanted to copy directly from a cdrom to your burner? Having problems because its really annoying to copy to hard disk and then to your burner? Well have I got news for you! I forgot this news so here's the next best thing... how I got burning "on the fly" to work. I've only tried this in X-CDRoast becaause it the only burner I gotten to work (and I only need one), so if you have something else, eh. I tried can do this without fidaddling around with stuff but i forgot what it's called. First thing you need to do is open up your /etc/lilo.conf file. If you have a burner and you're using Mandrake you should see a line which says Code: append="hdc=ide-scsi" . Modify that line to read Code: append= "hdc=ide-scsi hdd=ide-scsi" . If you don't you need to pass those options to the kernel somehow (no I don't know how to do it.) I have a DVD-rom instead of a CD-Rom, so people with CD-Roms can skip the DVD part. Next you'll have to edit your /etc/fstab file. This is my fstab cdrom entries with supermount calling the shots Code: /mnt/cdrom /mnt/cdrom supermount dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-1 0 0 /mnt/cdrom2 /mnt/cdrom2 supermount dev=/dev/hdd,fs=iso9660,ro,--,iocharset=iso8859-1 0 0 This is my cdrom entry w/out supermount running things Code: /dev/scd0 /mnt/cdrom fs=iso9660,ro,--,iocharset=iso8859-1 0 0 /dev/hdd /mnt/cdrom2 fs=iso9660,ro,--,iocharset=iso8859-1 0 0 Edited: See note below (1). Ok. To have non-root users access you cdrw and dvdrom add the entry user; it's shown in red. w/ supermount Code: /mnt/cdrom /mnt/cdrom supermount dev=/dev/scd0,fs=iso9660,ro,user,--,iocharset=iso8859-1 0 0 /mnt/cdrom2 /mnt/cdrom2 supermount dev=/dev/hdd,fs=iso9660,ro,user,--,iocharset=iso8859-1 0 0 w/out supermount Code: /dev/scd0 /mnt/cdrom fs=iso9660,ro,user,--,iocharset=iso8859-1 0 0 /dev/hdd /mnt/cdrom2 fs=iso9660,ro,user,--,iocharset=iso8859-1 0 0 Now it time to enable scsi emulation for the dvd/vcdromw/ supermount; change the /dev entry for your dvd/cdrom to /dev/scd1 Code: /mnt/cdrom /mnt/cdrom supermount dev=/dev/scd0,fs=iso9660,ro,user,--,iocharset=iso8859-1 0 0 /mnt/cdrom2 /mnt/cdrom2 supermount dev=/dev/scd1,fs=iso9660,ro,user,--,iocharset=iso8859-1 0 0 w/out supermount Code: /dev/scd0 /mnt/cdrom fs=iso9660,ro,user,--,iocharset=iso8859-1 0 0 /dev/scd1 /mnt/cdrom2 fs=iso9660,ro,user,--,iocharset=iso8859-1 0 0 *Note* The entries w/out supermount may be incorrect since I made them up, but it should look similar to the made up entries, hopefully. Now comes the part for the dvd. I'm assuming that you have a link to your dvd device called /dev/dvd. Well now you dvd player has to know about the changes. At a command prompt do this Code: ln -sf /dev/scd1 /dev/dvd If you edited the configuration for your dvd player to point directly to your device edit it again to point to /dev/scd1. (added the following line by JeroenM on advice of RickFriedman) Since the lilo.conf file is being changed, you need to run lilo to make sure the change is accepted. From the command prompt, simply type: lilo and enter. That should do it. Whew that took a while. Oh yeah I suppose I should add the obligatory If you should decide to try this tutorial back up all the files to be edited. No guarantees are made that following these steps won't blow up your computer and leave it a charred pile of rubble. Enjoy Very Happy (added the following lines by JeroenM on advice of Smigs) This little bit might be handy: To get audio cds working in xmms again (they stopped working for me at least): Goto 'preferences' ->'Audio I/O Plugins' ->'CD Audio Player' [libcdaudio.so] click configure and change the device for /dev/hdc to /dev/scd1 (or whatever your device is) For the 'AudioCD Reader' Plugin [libcdread.so] which also comes with mandrake: click configure, goto 'options' and change the 'default cd device' (1) Edited 27-05-2003: Sometimes /dev/scd* may be different from /dev/scd0 and /dev/scd1. /dev/scd0-1 is another example. You may have to to look in /etc/fstab for other possibilities. eg: /dev/scd0-1 /mnt/cdrom auto user,umask=0,noauto,unhide 0 0 /dev/scd1 /mnt/dvd auto user,umask=0,noauto,unhide 0 0 (edited as per Steve Scrimshire request) JeroenM Moderator Joined: 16 Apr 2002 Posts: 594 Location: Leuven, Belgium Post Posted: Wed May 22, 2002 2:32 pm Post subject: _________________________________________________________________ Thank you. If some people can test this and it works for them this can go into FAQ and HOWTO AFAIK. So people: start your copiers and test this! Smigs Newbie Joined: 15 May 2002 Posts: 15 Location: UK Post Posted: Wed May 22, 2002 3:42 pm Post subject: _________________________________________________________________ wfm... This little bit might be handy.. To get audio cds working in xmms again (they stopped working for me at least): Goto 'preferences'->'Audio I/O Plugins'->'CD Audio Player' [libcdaudio.so] click configure and change the device for /dev/hdc to /dev/scd1 (or whatever your device is) For the 'AudioCD Reader' Plugin [libcdread.so] which also comes with mandrake: click configure, goto 'options' and change the 'default cd device' JeroenM Moderator Joined: 16 Apr 2002 Posts: 594 Location: Leuven, Belgium Post Posted: Fri May 24, 2002 8:35 pm Post subject: _________________________________________________________________ So it fully worked? RickFriedman Frequent user Joined: 02 May 2002 Posts: 26 Location: New York City Post Posted: Sat May 25, 2002 4:32 am Post subject: Yep it works... but... _________________________________________________________________ There's just one thing that should be added to the instructions. A veteran Linux user would know this but a newbie probably wouldn't. Since the lilo.conf file is being changed, you need to run lilo to make sure the change is accepted. From the command prompt, simply type: lilo and enter. That should do it. Otherwise, the instructions are perfect. Worked like a charm for me. Very Happy Rick Smigs Newbie Joined: 15 May 2002 Posts: 15 Location: UK Post Posted: Sun May 26, 2002 3:27 pm Post subject: _________________________________________________________________ Well, the cd drives are detected, and that's the point of the tip! Actually trying to copy a cd didn't work though, but http://www.club-nihil.net/mub/viewtopic.php?t=1073 should hopefully solve that for me -- someone should amalgamate all this into an faq/tutorial Smile edit: /me should look back at first post of thread before saying that Wink edit: success! the above thread solved my problem Smile Smigs Last edited by Smigs on Mon May 27, 2002 7:46 am, edited 1 time in total JeroenM Moderator Joined: 16 Apr 2002 Posts: 594 Location: Leuven, Belgium Post Posted: Sun May 26, 2002 6:44 pm Post subject: _________________________________________________________________ what do you think we're doing here? Wink theYinYeti Senior user Joined: 13 May 2002 Posts: 452 Location: Cannes (France) Post Posted: Tue Sep 10, 2002 9:32 am Post subject: _________________________________________________________________ Smigs wrote: http://www.club-nihil.net/mub/viewtopic.php?t=1073 should solve that -- someone should amalgamate all this into an faq/tutorial Just so that it is done: JeroenM wrote: According to JollyRogers at http://www.club-nihil.net/mub/viewtopic.php?t=760 XCDRoast has new rpms for the whole bunch of cdwriting apps. I've been struggling with cdwriting all day and after I updated all the packages at http://xcdroast.sourceforge.net/RPMS/a10/mandrake-8.2/ my writing immediately worked perfectly. the XCDRoast site also states: Quote: # Note: ALL known problems with X-CD-Roast 0.98alpha9 or older are fixed with the new release. If you have ANY problem and do not use alpha10 yet, don't bother to write me a mail. Install the alpha10 and chances are very high that your problem is fixed. rsd Frequent user Joined: 03 May 2002 Posts: 38 Location: Great White North Post Posted: Mon Sep 16, 2002 10:50 am Post subject: _________________________________________________________________ > From the command prompt, simply type: lilo and enter. > That should do it. Actually, had to reboot to make it stick, but otherwise all works as advertized. Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  3. JeroenM Moderator Joined: 16 Apr 2002 Posts: 594 Location: Leuven, Belgium Post Posted: Sun May 19, 2002 10:05 am Post subject: Launching Netscape 4.79 from a desktop icon _________________________________________________________________ If you installed Netscape 4 (because you need it for your online banking e.g.) and you made an icon you'll notice it just won't start. You need to execute Code: /usr/local/netscape4/netscape (or wherever you installed it.) And check the "run in terminal" box. This will make it run. (This worked for me. YMMV) Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  4. delboy711 Senior user Joined: 03 May 2002 Posts: 412 Location: Wokingham, UK Post Posted: Sat May 18, 2002 10:23 am Post subject: Getting rid of krootwarning _________________________________________________________________ If you ever get annoyed by the item in your KDE taskbar called 'krootwarning' which appears in your taskbar every time you log on and disappears 30 seconds later, here is how to get rid of it. Simply delete the file /usr/share/autostart/krootwarning.desktop and it will never happen again. What krootwarning does is to run every time a user logs on, and if they log on as root it will display a message saying what a bad idea running as root is. If the user is not root, krootwarning will quietly exit, but the task bar entry hangs around for a while. If you wish that root users still get the warning message move krootwarning.desktop to /root/.kde/Autostart/ xjlittle Frequent user Joined: 04 May 2002 Posts: 33 Post Posted: Sat Jun 15, 2002 7:35 pm Post subject: Cool _________________________________________________________________ I'm mostly a gnome user but that krootwarning is the most annoying thing when I use kde. Thanks! Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  5. glenns530 Newbie Joined: 21 Aug 2002 Posts: 18 Location: Fort Worth, TX Post Posted: Fri Dec 20, 2002 10:13 pm Post subject: Possible fix for trashed EXT2 or 3 File System _________________________________________________________________ I recently had problems rebooting my laptop after the battery died. All of of my partitions, except swap and /var use the ext3 file system. FSCK came up during the boot and was able to recover all but one partition from their journals.. My /home file system, which is a separate logical partition, could not be recovered with fsck .. When I ran fsck manually, I received the following message: "Attempt to read block from file system resulted in short read while trying to open /dev/hdaX" .. I tried several options without success. Then I did a tune2fs -l /dev/hdaX ... Received the same error. This meant my primary superblock could not be located. I did some research on the net, and someone suggested a mke2fs -n /dev/hdaX .. The -n option will give you verbal information of what the mke2fs would do when it creates the file system, but would not create a new file system. I did this, and it gave me the blocks where it would store backups of the super block . I then ran a fsck -b ###### /dev/hdaX , where "#" is the block the back up is stored. I answered yes to all the prompts about if I was sure I wanted to repair an inode or direcory count, ect.. That did the trick I rebooted and so far I have not run into any corrupt or missing files.. Hope this helps anyone who may have this problem in the future.. Glenn Very Happy Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  6. tobyl Frequent user Joined: 01 May 2002 Posts: 115 Location: UK Post Posted: Tue Dec 17, 2002 9:49 pm Post subject: Drivers for conexant winmodems _________________________________________________________________ Don't have one myself, but thought this could help others: http://www.mbsi.ca/cnxtlindrv/ Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  7. ambrandt Newbie Joined: 01 Dec 2002 Posts: 5 Location: USA Post Posted: Mon Dec 09, 2002 9:40 am Post subject: Various things _________________________________________________________________ Hey all! I'm still a very much newbie to linux (I did manage to get Mandrake 8.0 installed on my IBM Aptiva which now dualboots Mandrake 8.0 and Win98). I still can't figure out how to install anything on my laptop (That's a long story)... but I am definitely satisfied with the whole Linux environment and usability! Here is the system layout if that'll help any: IBM Aptiva E2N-2153 4 gig HDD 8x internal CD-ROM 2 USB1.1 ports 500 MHz processor (which runs at a max of 290 due ot motherboard limit) 160 Megs RAM Crystal PNP audio chipset (soldered to motherboard) ATI Rage Pro Turbo AGP 1X (soldered to motherboard) 2 Megs video RAM And, of course, Win98 (OEM version) which dualboots with Mandrake 8.0 thru Lilo My problems are these: 1) I have 2 CD-ROMs (one is an internal drive which Linux sees and the other is a Hewlett Packard CD-Writer+8200 USB burner which Linux does not see). I have gone through the control panel and found this much as follows: Vendor: HP Model: CD-Writer+8200 Device: /dev/scd0 Bus type: SCSI What I can't figure out is how do I talk Linux into recognizing it so that I can use it? 2) I admit that I have tons of Windows programs (like everything I have is Windows... Office 2000, AOL, and all my games) and I would like to run them under Linux. What do I need to use in order to do this? Can I get it free? 3) This one may sound a little lame and stupid, but it's been bugging me for the longest time... how do I log in as root? What I am trying to do is set my username so that it has all the priveleges of root and still have other usernames so that my folks can play around with Mandrake as well. If I can figure these few things out, I am about ready to make the change to Linux and of course, teach my folks how to use it (dad's still learning how to use the internet pretty much and mom's just barely able to use Microsoft Paint). I know this much: Linux is much more stable than Windows and much more user friendly than goofy Windows! theYinYeti Senior user Joined: 13 May 2002 Posts: 452 Location: Cannes (France) Post Posted: Mon Dec 09, 2002 11:42 am Post subject: Re: Various things _________________________________________________________________ ambrandt wrote: 2) I admit that I have tons of Windows programs (like everything I have is Windows... Office 2000, AOL, and all my games) and I would like to run them under Linux. What do I need to use in order to do this? Can I get it free? There are two kinds of products: virtual environments (you run Windows inside a window Smile ) and Wine-based products (a compatibility layer to Linux to make Windows binaries run). - Of the first kind, the best available is VMWare (costs a lot, is very reliable, no 3D-acceleration): you will install Windows and your programs as usual inside a "virtual PC", made up from memory and some disk space. On the other extreme, you have Bochs, which is the same but free and slower. In between, you have Win4Lin, which is very good-quality and does not cost as much as VMWare, and really enough for what you'll do (except games because no 3D). - Of the second kind, there are Wine, WineX, and CodeWeavers' Wine-products. Wine is a free Win32-compatability layer (including 3D): you don't need Windows, though you can use your existing installation if you have one. Programs you install are placed on your normal Linux filesystem, and when executed, they behave almost the same as other Linux programs. Of course, this is too good to be totally true: Wine is still in heavy development, and many programs still won't work with wine (3D support is very "experimental"). There are web site where you can go to see if your programs will work or not (or if you have to see for yourself; it's free, after all). Because Wine is not enough for some people (either too hard to install, or not good enough), companies created Wine-based products. WineX (from Transgaming) is the Wine variant especially created for games, with much better 3D support and other goodies. Many modern games run with WineX. Codeweavers created variants for productivity: CodeWeavers-Wine (free) is simply a packaged Wine (easier to install and use); CodeWeavers' CrossOver Plugin (not free but not expensive) is a web browser plugin that make all Windows browser plugins available to Linux browsers. CodeWeavers' CrossOver Office (not free but not expensive) is an improved Wine, that makes a lot of usual productivity applications work perfectly in Linux: Microsoft Office, Visio, Notes, Quicken, + all that normal Wine can do, of course. ambrandt wrote: 3) This one may sound a little lame and stupid, but it's been bugging me for the longest time... how do I log in as root? What I am trying to do is set my username so that it has all the priveleges of root and still have other usernames so that my folks can play around with Mandrake as well. As you already understood, root is more a "role" than a "person". So you're concerned that while logged in as you (your login), you can't access the root role, even though this role is assigned to you. Don't worry. Everything is in place, you don't have to change anything to your login's properties. If you want to use Mandrake's administration tools, then no problem: those tools ask for root's password, then all things you do are done with root's privileges. If you want to run commands or programs as root, then open a terminal window, and type: Code: su root [/i] After entering root's password, you have root's privileges in this terminal window. If you want to run commands or programs as root, but you're lazy and you don't want to enter root's password each time, then "sudo" is the answer. Yves. [color=red] [b]theYinYeti[/b] Senior user Joined: 13 May 2002 Posts: 452 Location: Cannes (France) Post Posted: Mon Dec 09, 2002 1:44 pm Post subject: _________________________________________________________________ [/color] For your first problem, I realize just now that the control center you're talking about is Linux', not Windows'. So according to the information you provide, it seems your CD drive /dev/scd0 is already recognized. If so, the solution to your problem may be as simple as creating a desktop shortcut... For Windows "emulation", here's a site that may interest you: http://www.linuxworld.com/site-stories/200...204.cappel.html Yves. [color=red] [b]ambrandt[/b] Newbie Joined: 01 Dec 2002 Posts: 5 Location: USA Post Posted: Tue Dec 10, 2002 12:22 am Post subject: CD Drive problem _________________________________________________________________ [/color] So far, I've tried this two other times and I get this error: "Could not mount device The reported error is: Mount: Can't find /dev/scd0 in /etc/fstab or /etc/mtab" I've gone through those files and could not find what it was talking about because the text is so small. I'm thikning that it might require a certain driver to read anything on it or something or maybe I didn't load the right driver at installation. Also, are there more than one file that is needed to run Wine? [color=red] [b]BoyEnjinir[/b] Frequent user Joined: 01 May 2002 Posts: 89 Location: Houston, TX Post Posted: Tue Dec 10, 2002 2:22 am Post subject: _________________________________________________________________ [/color] Maybe it would help if you told us exactly what you types, and exactly what the response was. For now, try this: 1. Open a shell 2. Login as root (su root <enter> rootpassword <enter>) 3. Type: mount /dev/scd0 /mnt/cd_writer {NOTE: YOU CAN CHANGE /mnt/cdrom to whatever path you like. Just make sure you create that directory first. You propably already have a mount point for it in mnt. Type "ls /mnt" to see what is there already. If no name you like is there, you can type "mkdir /mnt/cd_writer" . But replace cd_writer with whatever name you like. If this works, then the system is fine. You just need to add an appropriate entry into /etc/fstab in order to allow anyone to mount it. If it doesn't give any output, it probably worked. Type: ls /mnt/name_of_directory_you_mounted_to (in my example /mnt/cd_writer) You should see the contents of the cd. To unmount it (you cannot eject until you unmount the volume), type umount /mnt/cd_writer What are you using to view the /etc/fstab file? vi works in the console, but if you aren't familiar with it it can be frustrating. Try using kate or gedit to view the files. They are a bit more windowsish. Easier to change text sizes, etc. A good text option for new users is also the editor in mc. Type mc, in the directory of interest, highlight the file of interest, and type f4. This will start editing the file. Should be easy to read. Anyway, add the following line to /etc/fstab file if the previous test worked: /dev/scd0 /mnt/name_of_directory_you_want_to_mount_to auto user,iocharset=iso8859-1,codepage=850,noauto,ro,umask=0 0 0 Save the new file. Now any user should be able to mount the device. Test it in a console NOT AS root, but as a normal user. Type: mount /mnt/name_of_directory_you_entered_in_/etc/fstab type: ls /mnt/name_of_directory_you_entered_in_/etc/fstab If you see the contents of the CD, then all is well in the world. If not, let us know what went wrong. [color=red] [b]ambrandt[/b] Newbie Joined: 01 Dec 2002 Posts: 5 Location: USA Post Posted: Wed Dec 11, 2002 1:29 am Post subject: new stuff wrong _________________________________________________________________ [/color] I just tried botting into Linux to try what was posted above this message and it did something I hadn't expected; it went into a text-mode login. I logged in and it stayed in the text-mode (the one with the little blocky penquin on the upper left-hand side). So, thinking that something was wrong, I erased the Linux partitions and bootmanager. I will reinstall it and see if maybe dumping those fixed the problem... otherwise, I will have to learn to use the text-mode of it (and I have trouble with DOS). In the mean-time, I will continue witht rying to find the best tutorials out there for Mandrake 8.0 (I might even try to install 8.2 if I can figure out why it doesn't like to install on this one... I get an error, something about the package list not matching the hdlist). I did find that 8.0, and more than likely 8.2, come with WINE which will help if I can figure out how to get it to work once I get this beast installed with Linux. [i][b]Editor's note:[/b] This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).[/i]
  8. delboy711 Senior user Joined: 03 May 2002 Posts: 412 Location: Wokingham, UK Post Posted: Thu Nov 28, 2002 2:50 pm Post subject: Using gurpmi as default installer in KDE _________________________________________________________________ In Mandrake 8.2 when an RPM was clicked on in konqueror the application rpminst would stat up and install the RPM for you. In Mandrake 9.0 rpminst was replaced with a Mandrake written application called gurpmi. However, Mandrake did not set gurpmi to be the default RPM installer in KDE. In the default configuration of KDE in 9.0 clicking on an RPM will open Kpackage. Kpackage is a good application for checking the files inside an RPM, but it is slow, and does not attempt to resolve dependencies. By comparison gurpmi is much nicer. It is small and quick, and uses urpmi as its back end so it is able to resolve dependencies and automatically download/install them. It will also check the signatures of RPMs so you can be confident they were built by the person they claim to be from. To set gurpmi as the default in KDE. Open KDE ControlCentre>FileBrowsing>FileAssociations Use the search box to find the associations for RPM. In the associations you will see kpackage at the top, and 'SoftwareInstaller' second. Just move 'Software Installer' up to the top of the list, and you are done. If 'Siftware Installer' is not present. Press the 'Add' button, and define the app as gurpmi. Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  9. Dutch Frequent user Joined: 05 May 2002 Posts: 76 Location: UK Post Posted: Thu Nov 21, 2002 8:53 pm Post subject: rpmdrake / urpmi fix _________________________________________________________________ Some people have been getting an error message when trying to use some of the Software utilities in Mdk 9 Control Centre - messages like 'Everything already installed......'etc. With the help of MandrakeExpert and MandrakeClub, I've found out that there is a bug in Mdk 9 Standard edition and the fix is to do the 'urpmi.update cdrom8' shown on the errata page. The errata doesn't explain the symptom very clearly and a few of us thought it referred to another problem..... Unfortunately on some packages you may get asked for the Supplementary Applications CD, which doesn't come with Standard Edition - another part of the bug, I guess. Sad HTH Dutch bvc81 Eric Joined: 04 Jun 2002 Posts: 1014 Location: Houston, Texas Post Posted: Fri Nov 22, 2002 1:14 am Post subject: _________________________________________________________________ Got a link? Not to the errata. Dutch Frequent user Joined: 05 May 2002 Posts: 76 Location: UK Post Posted: Fri Nov 22, 2002 1:23 pm Post subject: _________________________________________________________________ Unfortunately one of the two links is an archived incident on MandrakeExpert - which went through all the possible urpmi fixes - not sure if you can access it? The MandrakeClub forums seem to be inaccessible at the moment (at least from here) but I think it is under the i586 thread - 'rpmdrake broken' or similar title. As soon as I can access it I'll post the link. Essentially, running the fix on the Mdk9 errata page gets rid of the 'everything installed' message, but creates a minor problem if you've got the Standard edition. But at least rpmdrake works now Smile Dutch Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  10. Technonoid Moderator Joined: 16 Apr 2002 Posts: 292 Location: GA. (US) Post Posted: Wed May 15, 2002 2:57 pm Post subject: Text mode editing in linux (You really need to know this) _________________________________________________________________ I should be ashamed for not learning this in the beginning, and don't see how I managed this long. But anybody not knowing how to use a text editor in linux text mode should really learn one or two of the programs. They are a number of them, vi, pico, ed, ..... But I have been so enthused with linux, I never took the time to even look at them. Well, the time came when I needed to. I tried to use vi. I did mange to figure out how to use it a little. However I didn't have time to learn something at this point. So, I thought for a second and hit mc at the prompt. (Thats midnight commander). It has a lot of neat things you can do in a non-gui environment. It even has a simple to use text file editor. It saved my @$$. Anyway, I didn't mean to make a story out of this. I just want you to know in advance that you never know when you will need to edit files without the GUI or X running. So I'm suggesting that you learn some of the command line editors. mc is a good choice. However, its not an editor. Its a command line shell that can do lots of things, including text file editing. Please, feel free to add your thoughts on command line text editing... Last edited by Technonoid on Wed May 15, 2002 5:29 pm, edited 2 times in total thayne Senior user Joined: 29 Apr 2002 Posts: 401 Location: Your dreams Post Posted: Wed May 15, 2002 3:48 pm Post subject: _________________________________________________________________ I hate VI, Pico is cool for a simple text editor. I think it's easier to use. I think these are a must! On my Linux server I do everything with either webmin or I ssh into it in a terminal shell. I'm getting to where I can do most stuff in the terminal Cool DragonMage Senior user Joined: 01 May 2002 Posts: 391 Location: Hayward, CA Post Posted: Wed May 15, 2002 5:38 pm Post subject: _________________________________________________________________ I cannot stand vi, even back during my old unix days in college. I think it's even worse than edlin (remember that command from the old dos?) The only thing vi got in its side I think is that it is available in every unixoids present. For simple text editting, I prefer pico (you need to install pine to get this) or its clone nano. It is as simple as dos edit command, just need to be careful when you need the line to unwrap because it likes to wrap lines automatically. Of course, there are command line text editors you can install in linux. That's the beauty (and the headache) of linux. There is vi, emacs, pico, nano, joe, jed, and bunch more. arusabal Moderator Joined: 17 Apr 2002 Posts: 836 Location: Spain Post Posted: Wed May 15, 2002 6:29 pm Post subject: _________________________________________________________________ I love vi, almost every day I learn a new trick or a new feature that I didn't knew... It's powerful, fast and 'easy' to use (don't confuse use with learning) About command line editing you shouldn't forget the powerful stream text editors such tr, sed or awk, which combined with tools like grep, cut or awk (<-is not an error I've put awk twice) makes the linux life easy and fun Wink About mc, did you know that was wrote by Miguel de Icaza, the same guy who is the head of the Gnome Project Last edited by arusabal on Wed May 15, 2002 6:37 pm, edited 1 time in total Technonoid Moderator Joined: 16 Apr 2002 Posts: 292 Location: GA. (US) Post Posted: Wed May 15, 2002 6:30 pm Post subject: _________________________________________________________________ ahh yes yes, the days of edlin. Technonoid Moderator Joined: 16 Apr 2002 Posts: 292 Location: GA. (US) Post Posted: Wed May 15, 2002 7:14 pm Post subject: _________________________________________________________________ arusabal wrote: About mc, did you know that was wrote by Miguel de Icaza, the same guy who is the head of the Gnome Project So, that must be why there is a gmc as well, hmmm. tross04401 Moderator Joined: 16 Apr 2002 Posts: 175 Location: Maine (US) Post Posted: Wed May 15, 2002 7:26 pm Post subject: _________________________________________________________________ Another vote for loving vi here. illogic-al Senior user Joined: 01 May 2002 Posts: 358 Location: Smack dab in the middle of it all. Post Posted: Wed May 15, 2002 8:21 pm Post subject: _________________________________________________________________ vi Rox. I like vim better because of the pretty colors. I tried nano when I had to emerge a certain linux distrbution, but didn't like it. bjc Frequent user Joined: 08 May 2002 Posts: 33 Location: Canada Post Posted: Mon May 20, 2002 1:16 am Post subject: text editors _________________________________________________________________ I've been using vi and Pico in the rxvt terminal. Can someone help on some questions. In vi, is there a justify command like the ^J in Pico? It's very useful after some detailed editing to just justify the paragraph in one command. Second question: is there a copy/paste equivalent in vi for use inside and also out/in with other softwares? Thanks in advance. mr_krinkle Newbie Joined: 13 May 2002 Posts: 8 Location: New Mexico, USA Post Posted: Mon May 20, 2002 11:14 pm Post subject: _________________________________________________________________ I've only used vi, that's the first one I started to learn on, so that's the one I use. I've found that it's fairly easy to use, and make editing a breeze. I want to study emacs next. DiscoStoo Frequent user Joined: 03 May 2002 Posts: 123 Post Posted: Wed May 22, 2002 6:24 pm Post subject: _________________________________________________________________ I've played with Vim and Emacs a whole lot (read: more time than would be considered healthy) , but after a while I noticed that I felt much more comfortable in Vim. Emacs is cool too, but I dunno...I just hate memorizing strings of keypresses like that. I'd much rather type :x to save/exit than ctrl+whothe****knowwhatelse+evenmorebs+alt+niner-3^(1/6) - but then, that's just me. Omar Serenity Moderator Joined: 16 Apr 2002 Posts: 358 Location: Michigan Post Posted: Wed May 22, 2002 10:52 pm Post subject: _________________________________________________________________ Don't want to interrupt the flow here. I'd like to learn more about those, but am I safe for now using mc to edit files? Or will there come a time when my display won't allow it to work? DiscoStoo Frequent user Joined: 03 May 2002 Posts: 123 Post Posted: Thu May 23, 2002 2:06 am Post subject: _________________________________________________________________ No way. At least I don't think so. I've used it in xterms, regular consoles, framebuffer consoles, etc. As far as EYE know you'll always be able to use it (as long as you have a monitor, anyway). midtoad Newbie Joined: 23 May 2002 Posts: 1 Location: Calgary, Alberta Post Posted: Thu May 23, 2002 3:24 pm Post subject: Simple, small, editor: aee _________________________________________________________________ Newbies: forget vi: it's vile! No on-screen help, and too difficult for your needs (sorry if if I've offended you power users, but this thread is for newbies). Pico is fine, but why load several MB of Pine just to get it? Instead, try aee, which is on your Mandrake CDs. It's small, fast, and the top third of your screen actually shows you the common commands you will need. You can also get it off rpmfind.net, here. for that matter, there is nothing wrong with the text editor in mc, and as a newbie you'll find its navigational abilities useful as well. Hell, the thing can even do ftp and connect you to remote drives like they were on your own workstation! Korbinus Newbie Joined: 07 May 2002 Posts: 16 Location: Sweden Post Posted: Mon May 27, 2002 2:53 pm Post subject: Vi is really good _________________________________________________________________ Simple, light, fast... What to ask more? for people who want to run it in a console window in one click Cool , just make an icon or a menu item, according to your environment and your taste, and write the command: gnome-terminal --command vi Enjoy! Very Happy Don't forget to read also the manual. frew Senior user Joined: 01 Jun 2002 Posts: 214 Location: Mississippi Post Posted: Sat Jun 01, 2002 10:16 am Post subject: vi... _________________________________________________________________ vi maybe be hard. But right when I began using Linux I ordered Learning vi from O'Reilly. I admit vi is probably one of the harder things for n00bs to learn, but it will save you some time. I have been on systems where all I have is the bare necesities. and there is no pico, no joe, no Emacs. There will almost always be a vi. I agree with the guy who said vim is good. vim is basically the updated vi. I tried to use Emacs, it sounds really cool, I mean, check email, compile source, play games, all in an editor. The commands just seemed to obscure. Plus it had to load. Smile spiedra Senior user Joined: 30 May 2002 Posts: 686 Location: Orlando, FL Post Posted: Wed Jun 05, 2002 10:27 pm Post subject: _________________________________________________________________ I've only tried vi so far and I like it. It was a little hard at first because I didn't know what I was doing, but now I can use it and do most of my editing with it. Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  11. delboy711 Senior user Joined: 03 May 2002 Posts: 412 Location: Wokingham, UK Post Posted: Wed May 15, 2002 2:32 pm Post subject: Setting up Logcheck to monitor security violations. _________________________________________________________________ Logcheck is a script on the Mandrake CD's which will go through the system logs and extract suspicius activity which may indicate your system has been compromised and send you an email informing you. When you install the logcheck rpm it will automatically configure itself to run as a daily cron job. However there is still work to do before you will be able to see the alerts from logcheck. Logcheck will by default send an email to root@yourhostname detailing security alerts. That email will not be delivered unless you have Postfix installed (Sendmail can do it as well but it is a nightmare to configure) In order to receive that mail as a normal user edit /etc/postfix/aliases and make your user the one to receive root's post # Person who should get root's mail root: derek To make Postfix recognise the alias. In a root terminal enter newaliases Now any mail for root will go into the mail file /var/spool/mail/derek The next trick is to get your mail client to read the mail in this file. If you use kmail then Settings>Network>incomingMail click on 'Add' In the GUI set the parameters like this Name local (or whatever you like) Location /var/spool/mail/derek Locking method Procmail lockfile (or 'none' if you cannot get it to work) Enable Interval mail checking with a sensible interval. Now any mails generated locally in your computer should come into your kmail inbox. You will find that logcheck will send a lot of unneccessary information. You can cut this down over time by putting regular expressions in /etc/logcheck/ignore to filter out messages you know are not security violations. Thats it. If I have missed out any steps let me know Smile sminons Newbie Joined: 13 May 2002 Posts: 20 Post Posted: Tue Oct 08, 2002 7:52 am Post subject: How to configure ? _________________________________________________________________ I installed logcheck and ran the command. There was no feedback after running the command. How do we configure logcheck and set its various parameters?. Thanks in advance. Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  12. delboy711 Senior user Joined: 03 May 2002 Posts: 412 Location: Wokingham, UK Post Posted: Wed May 15, 2002 11:59 am Post subject: Does your Galeon Segfault? _________________________________________________________________ This is something I have experienced a couple of times with different versions of Galeon, most recently 1.2.0, but have never seen mentioned in a FAQ. For reasons unknown Galeon will start to decide to crash a second or two after loading. Deleting the ~/.galeon directory does not resolve it, nor does removing galeon and reinstalling or upgrading it. The workaround I found was to delete the ~/.gconf and ~/.gconfd directories These directories hold the screen layout of gnome apps so the galeon bug is possibly related to window size. It may be sufficient to only delete ./gconf/apps/galeon but I will not find that out until the next time it happens to me.. DOlson Moderator Joined: 16 Apr 2002 Posts: 2393 Location: Canada Post Posted: Wed May 15, 2002 10:26 pm Post subject: _________________________________________________________________ Cool. I will try that if Galeon ever crashes on me, and then I will add a tutorial to my site if it proves helpful. Thanks for that tip! sisob Senior user Joined: 02 May 2002 Posts: 207 Location: Ireland Post Posted: Fri May 31, 2002 5:29 pm Post subject: Re: Does your Galeon Segfault? _________________________________________________________________ delboy711 wrote: These directories hold the screen layout of gnome apps so the galeon bug is possibly related to window size. well, to be accurate, the gconf system is similar(but supperior) to the windows registry - all application settings in the prefereneces menus are stored in the .gconf and .gconfd folders. Windows size would be handled by whatever windows manager is running. delboy711 Senior user Joined: 03 May 2002 Posts: 412 Location: Wokingham, UK Post Posted: Sat Jun 08, 2002 7:43 am Post subject: Galeon segfaulting on completing forms _________________________________________________________________ There seems to be a bug in Galeon (1.2.5 and below) which causes it to segfault when you complete a form to log into certain web sites (such as Mandrake Forum, but _not_ Mandrake User) The segfault will only happen if Galeon is started from the KDE menu. It will not happen if Galeon is started in another WM or from the konsole in KDE, or from a KDE desktop link to application. Why :- ----- The Mandrake KDE menu starts Galeon with the artsdsp sound system. The bug is in the way galeon and artsdsp work together. Start Galeon without arts, and there is no problem. darksun Newbie Joined: 05 May 2002 Posts: 8 Post Posted: Wed Jun 12, 2002 6:06 pm Post subject: Re: Galeon segfaulting on completing forms _________________________________________________________________ Hmmm. It happened to me, and it happened when I completed the form for Mandrake User. And I was working in Gnome. So maybe this segfault problem is bigger. darksun Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  13. Maciek Frequent user Joined: 04 Jul 2002 Posts: 86 Location: Perth Post Posted: Thu Nov 14, 2002 6:41 am Post subject: Free Linux Admin test and certification _________________________________________________________________ If you'd like to test your skills, take a free test at www.brainbench.com. If you score well enough you will receive a certficate. Great for testing skills. Of course there are other certification centers on the web, but few of them are free. Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  14. spiderman Frequent user Joined: 02 May 2002 Posts: 47 Location: Michigan Post Posted: Wed May 15, 2002 7:09 am Post subject: Auto launch apps in Fluxbox.... _________________________________________________________________ This is the easiest way that I found to get applications to launch at login with Fluxbox: 1. Create a new text file called autostart.sh . The best place for this file is in /home/username/.fluxbox. Where username is your username. 2. My autostart.sh file looks like this: Quote: # Be sure that you put the & at the end of each line else you will only be able to launch the first application... # This loads your wallpaper Esetroot -s /home/steve/glaciated_10x7.jpg gaim & # This launches gkrellm in the slit gkrellm -w & /usr/bin/gnome-terminal & opera & konqueror & Substitute the apps that you want to launch for the ones that I have listed. 3. You will also need to make your autostart.sh file executable. 4. Open ~/.fluxbox/init in your favorite editor (I like gedit) 5. Scroll down to the session.screen0.rootCommand: line 6. Add this: Code: sh /home/username/.fluxbox/autostart.sh to this line so that it now looks like this: Code: session.screen0.rootCommand: sh /home/username/.fluxbox/autostart.sh 7. Save your init file and exit the editors. 8. Open your menu and select Settings >> Reload Configuration Viola! The apps that you listed in autostart.sh should magically appear. They should now load every time you launch Fluxbox. >> edit, apparently this doesn't work quite the same in Blackbox Last edited by spiderman on Sat May 18, 2002 11:02 pm, edited 1 time in total Smigs Newbie Joined: 15 May 2002 Posts: 15 Location: UK Post Posted: Sat May 18, 2002 9:41 pm Post subject: Blackbox compatibility _________________________________________________________________ I tried adding Quote: session.screen0.rootCommand: sh /home/username/autostart.sh to my .blackboxrc file, but it doesn't work; I don't think blackbox supports session.screen0.rootCommand (it isn't mentioned on the manpage)? Any ideas at all? I must thankyou anyway, cause I found out how to change the date display as a result of this Smile Smigs spiderman Frequent user Joined: 02 May 2002 Posts: 47 Location: Michigan Post Posted: Sat May 18, 2002 11:02 pm Post subject: _________________________________________________________________ Sorry Smigs, for some reason yet to be determined, my blackbox doesn't want to start up, so I can't play with it. I'm still learning all this too, and wrote this up as much to help myself as to help other people. I know that there are a lot of similarities between BBox and Flux, but maybe this isn't one of them. Anyway... Glad that I could help you at least a little, I post if I find anything out. phunni Frequent user Joined: 25 May 2002 Posts: 84 Location: Bristol, U.K. Post Posted: Thu Jul 18, 2002 10:23 am Post subject: background _________________________________________________________________ I followed your steps and everything seems to work great - I have both gkrellm and gaim starting nicely, but I used bsetbg to try and set a background image and it doesn't work. If I simply reload the config then I (still) have the image that I want, but if I restart then I lose it. delboy711 Senior user Joined: 03 May 2002 Posts: 412 Location: Wokingham, UK Post Posted: Sun Jul 21, 2002 11:11 am Post subject: Fluxbox 0.1.10 _________________________________________________________________ Texstar has put up an RPM of fkuxbox 0.1.10 on his download site ftp://ftp.ibiblio.org/pub/Linux/distribut...ndrake-8.2/RPMS This seems to fix the problem with edits to .fluxbox/init not sticking One change is that bgset is now called bgset-fluxbox so you will have to edit your init files to get your wallpaper back. Another thing I noticed is that the default menu for fluxbox is ~/.fluxbox/menu, but If you add an RPM or use menudrake to add an application Mandrake will update ~/fluxbox-menu So to make sure my fluxbox menu is automatically updated when I add an RPM I deleted ~/.fluxbox/menu and replaced it with a symlink to ~/fluxbox-menu Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  15. Nik Frequent user Joined: 12 Aug 2002 Posts: 52 Post Posted: Mon Nov 11, 2002 6:37 pm Post subject: Mandrake SNF 7.2 UPDATE PROBLEM SOLVED !!!!!! _________________________________________________________________ Hi guys !! I've found the problem for updating the SNF 7.2 !!!!! Very Happy You have to download 6 rpm files from the ftp server. They are: snf7.2/RPMS/naat-backend-0.5-6mdk.i586.rpm snf7.2/RPMS/perl-5.600-18mdk.i586.rpm snf7.2/RPMS/perl-base-5.600-18mdk.i586.rpm snf7.2/RPMS/perl-devel-5.600-18mdk.i586.rpm snf7.2/SRPMS/naat-backend-0.5-6mdk.src.rpm snf7.2/SRPMS/perl-5.600-18mdk.src.rpm After you have donwloaded them I would burn them on CD. Then go to you SNF Box and login as ROOT. then type: service httpd-naat stop after doing this the service will STOP and we can start the update thing. go to your /mnt directory and type: mount cdrom After doing this your CD-ROM drive has been mounted ( you can acces it ) Now from within the /mnt directory type: cd cdrom You opend the cdrom. Type: ls Means list, to show you all the files on the CD. If you see a list with this 6 RPM's type: rpm -Fvh *.rpm This will update the packages wich will make the update option over the https:// connection to work properly !! Don't forget to restart the httpd-naat. To do this type: service httpd-naat start I would recommend to restart you BOX after doing the updates !!!! GOOD LUCK !! Wink MFG Nik Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  16. bvc81 Eric Joined: 04 Jun 2002 Posts: 1014 Location: Houston, Texas Post Posted: Mon Nov 11, 2002 4:50 am Post subject: UPDATE #2 for artwiz-fonts:KDE, Gnome2, GTK+1.2 and GTK+2.0 _________________________________________________________________ This works for me with Fluxbox, and Gnome2 with GTK+1.2 and GTK+2.0, but should also apply to Blackbox, maybe others, and for KDE3.0 concerning just GTK+1.2 and 2.0 themes for Gnome apps. -gtk-theme-switcher will not work for some people (me included) -I use LM9.0 and Fluxbox. I mainly do this, to quickly change between themes when putting together my desktop, and once I've decided on a gtk+2.0 theme, I'm done. No need to edit another file. But you can aways just edit /etc/gtk-2.0/gtkrc for a gtk+2.0 theme to start, at least with fluxbox. 1. My first goal was to get the gtk+2.0 themes to load what I chose in the gnome-theme-properties, and not with what's in /etc/gtk-2.0/gtkrc. I use startx,so I put (sleep 3; gnome-theme-properties) & in ~/.xinitrc. If you don't start a lot of programs, or don't care about the load on X, you can just put gnome-theme-properties & Yes, this means the gnome-theme-properties window will open at startup, so just click close and be on your merry way. I didn't say this was pretty, and it's easier and faster than having to edit a couple of files by hand, if you change themes a lot like I do. Just put [exec] (Themes) {gnome-theme-properties} in your flux menu, if it's not there already, to change gtk-2.0 themes. Then open gconf-editor and go to /desktop/gnome/background an uncheck "draw background". The idea is to get gnome-theme-properties to load the gtk-2.0 theme and not other things, so if you have any other issuses (I didn't)gconf-editor is the place to look to disable something from gnome. Like, nautilus drawing the desktop. Or, don't use gnome-theme-properties, and edit /etc/gtk-2.0/gtkrc. Smile 2. This part should come in handy for everyone, like those of you (me included)that hate the number of available themes for gtk-2.0 and have desired to go back to gnome-1.4 with gtk-1.2 only. Many of you may already know this, and if you do, I ask you...WHY DIDN'T YOU TELL US!!! when you saw post about this? Look in /usr/share/themes at a theme for gtk-2.0, and you'll find most of them have a gtk-2.0 and a gtk folder. That's no secret, but have you looked and compared the gtkrc's in them? There's not a lot of difference. So, for the gtk-2.0 themes that have a gtk-2.0 only folder, copy it to the same theme dir, naming the folder gtk. If it is a gtk-1.2 theme and only has a a gtk folder, copy, renaming to gtk-2.0. Or, create a symlink called gtk to gtk-2.0. I downloaded and installed a theme that did this and it works, and saves place. Basically, making sure that every theme has 2 folders. One gtk and one gtk-2.0. About 70% of the gtk-1.2 themes are working on gtk-2.0 apps without flaws that the eye can see, and vice versa for gtk-2.0 to gtk-1.2. About 25% only had a weird/funky rt click menu in rox and didn't change an apps background, or something minimal, but you still get the overall color scheme/ theme. The other 5% did nothing. I can't tell that anything is wrong with most of them, though I'm sure there is. 3. No trick, just thought I point out the convenience of the following. I opened a terminal and did ls /usr/share/themes/. Then opened ~/.gtkrc and copied a lot of #include "/usr/share/themes//gtk/gtkrc" #include "/usr/share/themes//gtk/gtkrc #include "/usr/share/themes//gtk/gtkrc"" then went to my terminal and copy and paste the theme names, and it went rather quick. Now, I just have to open ~/.gtkrc and uncomment the them I want to use and comment the one I want to stop using. Use the same method for /etc/gtk-2.0/gtkrc. include "/usr/share/themes/MindMachine/gtk/gtkrc" (check this one out it's very nice. I didn't have this one in LM8.1) It's a gtk-1.2 and works great on gtk-2.0 apps. If any one's a themer, I don't care to here that there are a lot of diff's between 1.2 and 2.0 gtkrc's. My desktop is now more in sync, and I have a much greater variety of themes to choose from....like 70 instead of 12! I can't believe I've searched and searched, and have never found this mentioned anywhere. 4.FOR KDE, I found this http://www.mandrakeforum.com/print.php?sid=2484, but I aggree with Deno, it's a lot of unneeded work. KDE uses gtk2 and 1.2. -It sets gtk2 apps from /etc/gtk-2.0/gtkrc. -It sets gtk1.2 apps from ~/.gtkrc-kde, which says> if you don't want kde to change your gtk settings, go to Control Center>Look and Feel>Style, and uncheck "apply fonts and colors to nonkde apps". I don't know about you but, I didn't have that. I did find a "apply colors to nonkde apps" in Look and Feel>Colors, and unchecked it but it had no effect. So, I deleted ~/.gtkrc-kde and kde used the ~/.gtkrc for gtk1.2 apps (like it should), so delete it. Don't worry it gets rewritten at every session. So, find a X script like xsession and copy it, renaming it. I renamed mine rmgtkrckde.sh. Now edit it (I used vim) vim rmgtkrckde.sh remove everything, and add (sleep 25; rm -f ~/.gtkrc-kde) so that it looks like Quote: #!/bin/sh (sleep 25; rm -f ~/.gtkrc-kde) The 25 could be played with, I was only allowing enough time for kde to write the new .gtkrc-kde, as it does for every session. Now, put rmgtkrckde.sh in ~/.kde/Autostart and your done! Say you want Bluecurve for gtk2 & 1.2 apps. /etc/gtk-2.0/gtkrc should say gtk-theme-name = "Bluecurve" and ~/.gtkrc should say include "/usr/share/themes/Bluecurve/gtk/gtkrc" Hope this makes some gnome2 users, or gtk app users a little happier! YOU HAVE THEMES NOW Exclamation Razz Last edited by bvc81 on Sat Nov 23, 2002 2:30 am, edited 2 times in total bvc81 Eric Joined: 04 Jun 2002 Posts: 1014 Location: Houston, Texas Post Posted: Mon Nov 18, 2002 12:11 pm Post subject: _________________________________________________________________ Some gtk+1.2 themes, when copied as gtk+2.0 themes, display funny looking menus with strange colors and/or arrows trying to show. To fix this open the /usr/share/themes/nameoftheme/gtk-2.0/ folder that you copied from the /usr/share/themes/nameoftheme/gtk and open the gtkrc file Scroll down to style "menuitem" and # out the function line like this style "menuitem" { engine "pixmap" { image { #function = ARROW recolorable = TRUE state = NORMAL file = "arrow_left.png" stretch = FALSE arrow_direction = LEFT } image { #function = ARROW recolorable = TRUE state = PRELIGHT file = "arrow_left.png" stretch = FALSE arrow_direction = LEFT } image { #function = ARROW recolorable = TRUE state = NORMAL file = "arrow_sub.png" stretch = FALSE arrow_direction = RIGHT } image { #function = ARROW recolorable = TRUE state = PRELIGHT file = "arrow_sub.png" stretch = FALSE arrow_direction = RIGHT } image { #function = ARROW recolorable = TRUE shadow = IN file = "arrow_sub.png" stretch = FALSE arrow_direction = RIGHT } image { function = BOX recolorable = TRUE state = PRELIGHT file = "yellow.png" border = { 7, 7, 7, 7 } stretch = TRUE } image { function = BOX recolorable = TRUE state = INSENSITIVE file = "red.png" border = { 7, 7, 7, 7 } stretch = TRUE } image { function = HLINE recolorable = TRUE file = "hline.png" border = { 0, 0, 1, 1 } stretch = TRUE } } } class "GtkMenuItem" style "menuitem" So far this has fix the menus of 3 of my gtk+2.0 themes that where originally gtk+1.2 themes. bvc81 Eric Joined: 04 Jun 2002 Posts: 1014 Location: Houston, Texas Post Posted: Sat Nov 23, 2002 2:26 am Post subject: getting gtk2 apps to use artwiz-fonts _________________________________________________________________ This enables gtk2 apps to use the artwiz-fonts for fluxbox. From here http://fluxbox.sourceforge.net/docs/en/art...rtwiz-fonts.php I did Quote: Bugs The artwiz-fonts sometimes conflict with your locale settings. To get them to work you may have to put the following at the beginning of your .xinitrc: export LC=C export LC_ALL=C Gedit and rox still aren't changing, but so far many more gtk2 apps are using artwiz-fonts. I have font = "snap" in the /user/share/themes/themename/gtkrc Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  17. John_Galt Newbie Joined: 09 Nov 2002 Posts: 12 Post Posted: Sun Nov 10, 2002 10:00 pm Post subject: Router printer port server howto _________________________________________________________________ There are several inexpensive routers on the market that feature a parallel printer port server. D-Link, SMC and Asante all make routers with this feature. Here's a step by step guide for setting up Mandrake 9. Other distros will be much the same. The key is to choose "remote LPD server", then enter the ip address and port number of your router's printer port. This will vary from router to router and IS NOT the same as shown below, for SMC and Asante routers. The remote printer name must be "lp". Good luck! Mandrake Linux 9.0 printer setup for D-Link DI-704P router Mandrake Control Center Hardware Printer Add a new printer Printer on remote LPD server Remote host name 192.168.0.1:515 Remote printer name lp Name of printer whatever Location whatever Choose your printer model from list Default settings defaults are ok Set as default ok Port 515 is the print server's port. John_Galt rprinz Newbie Joined: 01 Dec 2002 Posts: 1 Post Posted: Sun Dec 01, 2002 1:35 am Post subject: SMC Barricade 7004AWBR howto _________________________________________________________________ John, I have an SMC Barricade w/ print server and although your post did shed some light, I did have to change a few things for my setup. It is basically the same instructions for your device except the host IP is different (of course) and the remote printer name for the SMC must be "lpt1." Thanks to your post and the SMC website I was able to get my printer working. Now all I have to do is figure out how to get rid of that pesky job trailer! Anybody? Mandrake Linux 9.0 printer setup for SMC 7004AWBR router Mandrake Control Center Hardware Printer Add a new printer Printer on remote LPD server Remote host name - 192.168.2.1 Remote printer name - lpt1 Name of printer - whatever Location - whatever Choose your printer model from list Default settings - defaults are ok Set as default - ok Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  18. scrat Frequent user Joined: 14 Jun 2002 Posts: 28 Post Posted: Wed Nov 06, 2002 12:44 am Post subject: How to capture realaudio to mp3 _________________________________________________________________ Hey! Finally I have found the way out! How To Record Streaming Audio... I remember posting here on this stuff some months ago. There was a problem with vsound, I was unable to pipe its stdout into lame (or into anything for that matter). Finally today I have found a clue on a mailing list archive! There is a bug in vsound: it's a script, /usr/bin/vsound, you can edit it with emacs or whatever (as root). There is a line like: if [ "$verbose" ] && [ "$VSOUND_STDOUT" ]; then change it to if [ "$verbose" = 1 ] && [ "$VSOUND_STDOUT" ]; then (Ugly-Details-Feel-Free-To-Skip: the other way, since $verbose is always set, whenever $vsound_stdout is set, the "if" is fulfilled and it exits with an error that both verbose and -s cannot be passed together; $vsound_stdout is set if you pass the option -s to the command line, which in turn means "use stdout". So passing -s would always fail. After the modification above, it fails only if you pass both -s and --verbose). After the bugfix, a simple commandline like vsound -t -s -d realplay | lame -h - myfilel.mp3 will launch realplay under vsound, and record/encode on the fly whatever is played by realplay to myfile.mp3 ! (hit CTRL+C when you are done).Without intermediate huge wav files. Great ain't it ? (Notice that this is better tha using sox to read from dsp, because there is not a double DA/AD conversion) Hope you'll like it too... Scrat scrat Frequent user Joined: 14 Jun 2002 Posts: 28 Post Posted: Thu Nov 07, 2002 6:27 pm Post subject: _________________________________________________________________ Well good people, another hint if you like to record real streaming audio to mp3. If you do what I suggest in last post, you'll end up with a long .mp3 containing songs, dj voices, silence, all interspersed. You'd like to cut the songs and store them as individual mp3's with their title as filename and without voices etc, wouldn't you ? You could use audacity to do that, but this would NOT be a great idea: because audacity first decompresses the mp3, then it lets you edit it, then it compresses it again := quality loss each time you save. But there is a nifty program that cuts mp3 into pieces WITHOUT decompression/re-compression ! Of course that's all it can do, you can't aplly filters and other advanced stuff you can do with audacity. But if you only need to cut the mp3 into pieces, it's EXACTLY what you need. It's called mpcut, you can get it here: http://minnie.tuhs.org/Programs/Mpcut/ Get the tarball, untar it , enter the mpcut-whatever directory, type ./autogen.sh wait till'it ends, then type make when it's done enter the src directory, you'll find there the executable, it's called mpcut. You can run it from there, typing ./mpcut or you can copy (become root first) it in a directory wich is in your PATH, like /usr/local/bin , so you'll have only to type mpcut to launch it. Enjoy, and good ripping ! Scrat PS Another little tip, more like an errata; I wrote "hit CTRL+C when you're done"; well, actually it is better to exit the client application, that is, realplay in the example commandline (but it could be xmms or another app, provided it uses oss-like /dev/dsp because that's what vsound intercepts). So if you click Exit on realplay, vsound will exit itself after finishing to write it's output; lame in turn will see the end of the pipe as the end of a regular file, and finish gracefully it's job before exiting. Instead CTRL+C will make lame to exit of a sudden, which sometimes produces (well, that's what happens to me) broken mp3's. Broken means I can play them all the same and they sound good, but mpg123 may complain that it can't rewind the stream (wish I knew what that means me too), and mpcut may crash while attempting to open the file. Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  19. southernguy Newbie Joined: 27 Oct 2002 Posts: 3 Location: Louisiana Post Posted: Mon Nov 04, 2002 3:02 am Post subject: making dialup and LAN work together _________________________________________________________________ i had this problem and many other people apparently have too. the problem: on a LAN, Mandrake likes to set you up by default to access the internet thru the LAN, using whatever machine on the LAN has a direct connection as the gateway. when you dial up, that gateway doesnt always get changed just because your modem is connected, which results in you still accessing the net over the LAN while your modem twiddles its thumbs. the first ugly hack i found: disable the LAN interface before dialing, and re-enable it when you disconnect. that gets you on the net via modem but you lose LAN connectivity. the fix, part one: edit or create a file /etc/ppp/ip-up.local, and in it put: route del default route add default gw $IPREMOTE the first line deletes the LAN gateway, the second adds the gateway your ISP gave when pppd started. so far so good, you are modeming to the internet now and your LAN is still available. problem part two: when you disconnect, this gateway is still set, so you then cannot go back to the internet over the LAN, even tho you can access the LAN for file sharing etc. the fix, part two: you need to delete the modem-internet gateway and put the LAN one back. there may be a better place or file to put this but what i did was make a file /etc/ppp/routefix and let kppd execute it after disconnect, with these lines: route del default route add default gw 192.168.0.1 of course change that to suit how your LAN is numbered and which machine on it has internet access. great thanks and gratitude to the other posts on here about this which led me to getting it working, and to the man pages. Smile if anyone knows a better way to reset the LAN as gateway please post, this is just what i could do with my little thimble of knowledge. --- EDIT --- i have discovered since writing this that if i call the file 'ip-down.local' instead of my made-up name, it will automatically get executed when you disconnect the modem, and you dont have to tell kpppd to run it, like i did with my made-up file. --- /EDIT --- jtnelson Newbie Joined: 04 May 2002 Posts: 9 Location: UAE Post Posted: Sun Nov 24, 2002 8:29 am Post subject: didn't work _________________________________________________________________ Hey, this didn't work for me. Any ideas? (Permissions aren't the problem.) Jeff delboy711 Senior user Joined: 03 May 2002 Posts: 412 Location: Wokingham, UK Post Posted: Thu Nov 28, 2002 2:41 pm Post subject: net_monitor _________________________________________________________________ Another way of doing it is to define two different networking profiles and use net_monitor to switch between them As described here:- http://www.jennings.homelinux.net/dialup.html jtnelson Newbie Joined: 04 May 2002 Posts: 9 Location: UAE Post Posted: Fri Nov 29, 2002 7:13 am Post subject: _________________________________________________________________ How does that solve the problem of needing both LAN and dial-up access at the same time? If all I want to do is switch, I can simply issue "ifdown eth0" before dialing. Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  20. delboy711 Senior user Joined: 03 May 2002 Posts: 412 Location: Wokingham, UK Post Posted: Wed Oct 30, 2002 9:07 pm Post subject: Accessing remote files with kio_fish _________________________________________________________________ Here is a tip for anyone who uses KDE and needs to access remote directories, but do not like the insecurity of NFS, or the flakiness of LISa (well I find it flaky) kio_fish-1.1.2-5mdk is in Contrib on any Mandrake mirror. Install the kio_fish , openssh, and openssh-clients RPMs on the client, and the openssh and openssh-server RPMs on the server, then in a konqueror file manager you can just enter the address of a remote computer in this format. fish://username@hostname/path/to/directory so long as sshd is running on the remote computer, and you give the correct password when prompted, then konq will be able to browse the remote directories. Bookmark the location for rapid access next time. You can use the 'fish' URL in any KDE application. kio_fish uses ssh to manage security. By default ssh allows anyone who knows the username/password to access the ssh server, but if you study 'man sshd' you can configure ssh to only allow access to users who have an appropriate encryption key. It is then safe to use kio_fish across the internet. PROS: very secure, good integration with konqueror and KDE apps. CONS: Not compatible with non KDE applications Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  21. mandrake90 Newbie Joined: 27 Oct 2002 Posts: 3 Post Posted: Sun Oct 27, 2002 8:58 pm Post subject: Restricting users to their own directory !!?? _________________________________________________________________ Is there an easy method of restricting a user to their own default directory? I was given the following site as a reference, but cannot seem to make sense out of it!! http://www.sunmanagers.org/pipermail/summa...rch/000337.html Can permissions control a user, including cd'ing all over the server ? I have read many posts on it with some answers as, 'doesn't matter if permissions set right'!!?? In my case seeing the name of some files is just to much information to give out to the nosy guest... Box the user in their directory ?? So easy to say ... :? Glitz Senior user Joined: 02 May 2002 Posts: 507 Location: The Great White North Post Posted: Tue Oct 29, 2002 6:06 am Post subject: _________________________________________________________________ If you change the permissions for a directory created by root in group root to rwxr-x--- then anyone not in group root will not be able to even change to that directory (take away read access). Glitz. PS. You have to make sure though that they have access to any directories were they have to run programs from. theYinYeti Senior user Joined: 13 May 2002 Posts: 452 Location: Cannes (France) Post Posted: Wed Oct 30, 2002 9:21 am Post subject: _________________________________________________________________ If you want to make something like this, you're going to have lots of trouble, because executables are in /bin, /usr/bin..., needed libraries are in /usr/lib, /usr/X11/lib... configurations files are in /etc; well, basically, if users have access to the filesystem, it is because they have to. Anyway, here are some basics: The rights of a directory are (u=user, g=group, o=other, r=read, w=write, x=cross) ur uw ux gr gw gx or ow ox We'll assume that it's o we want to control. To make a directory unwritable, execute as root Code: chmod o-w /a/path/ To make a directory unusable, execute as root Code: chmod o-rw /a/path/ To make a directory uncrossable, execute as root Code: chmod o-x /a/path/ Replace - with + for the reverse operation. For example, if you want your users to have access to /usr/lib, and /usr/bin, but not to /usr, and also to completely ban access to /root, you do this: Code: chmod o-rw,o+x /usr chmod o-w,o+rx /usr/bin chmod o-w,o+rx /usr/lib chmod o-rwx /root Another solution could be to isolate your users in a fake and safe environment. See here: http://www.linuxorbit.com/modules.php?op=m...tpage&artid=538 http://www.gsyc.inf.uc3m.es/~assman/jail/index.html Yves. Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  22. sminons Newbie Joined: 13 May 2002 Posts: 20 Post Posted: Mon May 13, 2002 2:44 pm Post subject: Automatically Start Programs _________________________________________________________________ Here is a simple way to automatically start a program when KDE loads. Make a script of the program you want to execute on startup and make it executable and copy it into the folder "/home/user/.kde/Autostart" . Restart KDE to see the effect. I think this is a simple way for the newbies who wonder about automatically start programs in Linux Mandrake running KDE. anon Senior user Joined: 01 May 2002 Posts: 558 Post Posted: Mon May 13, 2002 5:01 pm Post subject: _________________________________________________________________ Putting a link or shortcut in kde auto will do the same simcon Frequent user Joined: 03 May 2002 Posts: 48 Location: MK-ENG-GB-UK Post Posted: Mon May 13, 2002 10:19 pm Post subject: Cool _________________________________________________________________ Cool Smile I've been using Linux on and off (ON mostly now) for a few years and I only tried this a couple of days ago as I wanted KNotes to auto-start. I think that there's much about KDE/Linux that I still don't know Confused tross04401 Moderator Joined: 16 Apr 2002 Posts: 175 Location: Maine (US) Post Posted: Mon May 13, 2002 10:57 pm Post subject: _________________________________________________________________ Actually, you shouldn't have to put Knotes inside of the autostart folder, if you're using session management. It's a nice tip for autostarting non-KDE apps though Smile stv_mac Newbie Joined: 11 Sep 2002 Posts: 3 Post Posted: Mon Sep 16, 2002 2:53 am Post subject: How do i autostart in sawfish ? _________________________________________________________________ just wondering how can i autostart application in sawfish ?? Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  23. spiedra Senior user Joined: 30 May 2002 Posts: 686 Location: Orlando, FL Post Posted: Thu Oct 17, 2002 6:44 am Post subject: Howto permenatly keep your power saver settings in Fluxbox _________________________________________________________________ As I was trying to figure out how to manipulate my power saver settings in Fluxbox, I found there wasn't a sure answer. You can use xset from a console and control your settings that way, but they are only as good until you restart the x server, then you lose your settings. I've come across only one thread on this topic on the MUB and found no threads in the Fluxbox forum that gave an upfront answer. No mention how to do this doing a google search. Using the thread about this on the MUB with a slight variation, and by research i've come up with an easy way of doing this. I use the autostart.sh script for booting my Fluxbox located in .fluxbox of the /home. In autostart.sh; either from a console or a gui, edit it using your favorite editor, I like vi. Then, if you want to permantly disable power saver, add the lines: #Screen xset -dpms If you just want to keep the standby feature, but disable the suspend and off feature, add the lines: #Screen xset dpms 1200 0 0 Note: The first value is standby, the second is suspend, and the third is off. The value 0 disables a feature. For further explanations of this, type from a console: man xset. My own particular autostart.sh config is as follows: wmsetbg --scale ~/.fluxbox/backgrounds/laetitia.jpg gkrellm -w & #Screen xset dpms 1200 0 0 Note: To see what your current settings type in a console: xset -q I hope someone finds this helpful. If you guys have anything to add, feel free! Very Happy Last edited by spiedra on Thu Oct 17, 2002 9:03 pm, edited 2 times in total Ronin Frequent user Joined: 06 May 2002 Posts: 126 Location: New Brunswick, Canada Post Posted: Thu Oct 17, 2002 9:28 am Post subject: _________________________________________________________________ I find that really helpful actually spiedra now maybe I can disable that #$%$# power management. Nothing like getting a really cool screensaver and not being able to see it as the monitor powers down after X minutes all the time. Efficent yes but annoying also. Smile spiedra Senior user Joined: 30 May 2002 Posts: 686 Location: Orlando, FL Post Posted: Thu Oct 17, 2002 5:01 pm Post subject: _________________________________________________________________ I'm glad you found it helpful. I thought this was appropritate to add for Fluxbox users so they would't go through the trouble of figuring it out. Very Happy theYinYeti Senior user Joined: 13 May 2002 Posts: 452 Location: Cannes (France) Post Posted: Fri Oct 18, 2002 8:43 am Post subject: _________________________________________________________________ In case you want something more independant from the window manager you use, here's what I did on Mdk 8.1 (with the gdm login manager): http://www.club-nihil.net/mub/viewtopic.ph...p?p=26730#26730 Yves. Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  24. veselosky Newbie Joined: 06 Oct 2002 Posts: 2 Location: Atlanta, GA USA Post Posted: Sat Oct 12, 2002 12:40 pm Post subject: Corrupt files sharing between Linux and Windows _________________________________________________________________ I was having trouble sharing files between Mandrake Linux and Windows. I could read the Windows partition fine, but whenever I wrote to it from Linux, Windows could not read the files and told me to run chkdisk. Linux could read the same files just fine. Solution: By default, Mandrake loads the Windows file system with the options: " iocharset=iso8859-1,codepage=850,umask=0 " The "iocharset=iso8859-1" is the default according to the man page for 'mount', so there is no reason to include it. But the default codepage is 437, not 850. I removed these options from the appropriate line in /etc/fstab and remounted the filesystem with just: " umask=0 " No more "corruption". Windows and Linux can both read the files now. Hope that helps someone out there! -Vince Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
  25. b Frequent user Joined: 22 Apr 2002 Posts: 82 Location: Québec Post Posted: Sat Oct 12, 2002 5:03 am Post subject: ibm X Intro _________________________________________________________________ IMHO well written. About 20 pages(meat). -pdf file available: l-xwin-ltr.pdf -html file available: l-xwin.zip You have to leave tracks at ibm. It's worth it IMHO. Found it delicious. A clear X overview. It's here http://www-105.ibm.com/developerworks/educ...B3?OpenDocument Hope you enjoy. arusabal Moderator Joined: 17 Apr 2002 Posts: 836 Location: Spain Post Posted: Sat Oct 12, 2002 4:49 pm Post subject: _________________________________________________________________ I'm reading it right now; thanks Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).
×
×
  • Create New...