Ubuntu Linux - Split Thread

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anonymez
    Super Moderator
    • Mar 2004
    • 5525

    Nice going katz


    but there is something like less than 100 known viruses for linux
    And none have successfully propagated. Difficult for any malware to do so without root access.

    (although I guess it is on the rise, w. linux becoming more popular, according to stories I have read)
    On the one hand, Linux is open source, so virus/malware "authors" might know where to hit. On the other hand, Linux is open source, so the code is observed by thousands of developers all over the world that can find and fix the problem (usually in a matter of hours). Link.
    "What were the things in Gremlins called?" - Karl Pilkington

    Comment

    • katzdvd
      Lord of Digital Video
      Lord of Digital Video
      • Feb 2006
      • 2198

      For a quick tweak that will let Beryl run smoother, run:
      gksudo gedit /etc/X11/xorg.conf
      and paste its contents.
      I am a bit slow - just getting to this one...

      # /etc/X11/xorg.conf (xorg X Window System server configuration file)
      #
      # This file was generated by dexconf, the Debian X Configuration tool, using
      # values from the debconf database.
      #
      # Edit this file with caution, and see the xorg.conf(5) manual page.
      # (Type "man xorg.conf" at the shell prompt.)
      #
      # This file is automatically updated on xserver-xorg package upgrades *only*
      # if it has not been modified since the last upgrade of the xserver-xorg
      # package.
      #
      # If you have edited this file but would like it to be automatically updated
      # again, run the following command:
      # sudo dpkg-reconfigure -phigh xserver-xorg

      Section "Files"
      Fontpath "/usr/share/fonts/X11/misc"
      Fontpath "/usr/share/fonts/X11/cyrillic"
      Fontpath "/usr/share/fonts/X11/100dpi/:unscaled"
      Fontpath "/usr/share/fonts/X11/75dpi/:unscaled"
      Fontpath "/usr/share/fonts/X11/Type1"
      Fontpath "/usr/share/fonts/X11/100dpi"
      Fontpath "/usr/share/fonts/X11/75dpi"
      # path to defoma fonts
      Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
      EndSection

      Section "Module"
      Load "i2c"
      Load "bitmap"
      Load "dbe"
      Load "ddc"
      Load "dri"
      Load "extmod"
      Load "freetype"
      Load "glx"
      Load "int10"
      Load "vbe"
      EndSection

      Section "InputDevice"
      Identifier "Generic Keyboard"
      Driver "kbd"
      Option "CoreKeyboard"
      Option "XkbRules" "xorg"
      Option "XkbModel" "pc105"
      Option "XkbLayout" "us"
      EndSection

      Section "InputDevice"
      Identifier "Configured Mouse"
      Driver "mouse"
      Option "CorePointer"
      Option "Device" "/dev/input/mice"
      Option "Protocol" "ImPS/2"
      Option "ZAxisMapping" "4 5"
      Option "Emulate3Buttons" "true"
      EndSection

      Section "InputDevice"
      Driver "wacom"
      Identifier "stylus"
      Option "Device" "/dev/input/wacom"
      Option "Type" "stylus"
      Option "ForceDevice" "ISDV4"# Tablet PC ONLY
      EndSection

      Section "InputDevice"
      Driver "wacom"
      Identifier "eraser"
      Option "Device" "/dev/input/wacom"
      Option "Type" "eraser"
      Option "ForceDevice" "ISDV4"# Tablet PC ONLY
      EndSection

      Section "InputDevice"
      Driver "wacom"
      Identifier "cursor"
      Option "Device" "/dev/input/wacom"
      Option "Type" "cursor"
      Option "ForceDevice" "ISDV4"# Tablet PC ONLY
      EndSection

      Section "Device"
      Identifier "nVidia Corporation G70 [GeForce 7600 GT]"
      Driver "nvidia"
      Busid "PCI:2:0:0"
      Option "AddARGBVisuals" "True"
      Option "RenderAccel" "True"
      Option "AllowGLXWithComposite" "True"
      Option "XAANoOffscreenPixmaps"
      Option "TripleBuffer" "True"

      Option "AddARGBGLXVisuals" "True"
      Option "NoLogo" "True"
      EndSection

      Section "Monitor"
      Identifier "Acer AL2216W"
      Option "DPMS"
      EndSection

      Section "Screen"
      Identifier "Default Screen"
      Device "nVidia Corporation G70 [GeForce 7600 GT]"
      Monitor "Acer AL2216W"
      Defaultdepth 24
      SubSection "Display"
      Depth 16
      Modes "1680x1050" "1440x1440" "1360x850" "1280x1024" "1280x960" "1280x800" "1152x864" "1024x768" "832x624" "800x600"
      EndSubSection
      SubSection "Display"
      Depth 24
      Modes "1680x1050" "1440x1440" "1360x850" "1280x1024" "1280x960" "1280x800" "1152x864" "1024x768" "832x624" "800x600"
      EndSubSection
      EndSection

      Section "ServerLayout"
      Identifier "Default Layout"
      screen "Default Screen"
      Inputdevice "Generic Keyboard"
      Inputdevice "Configured Mouse"
      Inputdevice "stylus" "SendCoreEvents"
      Inputdevice "cursor" "SendCoreEvents"
      Inputdevice "eraser" "SendCoreEvents"
      EndSection

      Section "DRI"
      Mode 0666
      EndSection

      Section "Extensions"
      Option "Composite" "Enable"
      EndSection
      Wow, that's alot of stuff - what to do with it to make beryl run smoother?
      Last edited by anonymez; 29 May 2007, 08:43 AM.

      Comment

      • anonymez
        Super Moderator
        • Mar 2004
        • 5525

        I've edited your post, cleaned it up a bit and made a few additions outlined in the beryl/compiz docs (in blue).

        Run a

        Code:
        gksudo nautilus
        navigate to the xorg.conf and make a backup of it. Then open it up, replace the contents (or just make the changes yourself) and reboot.
        Last edited by anonymez; 29 May 2007, 08:47 AM.
        "What were the things in Gremlins called?" - Karl Pilkington

        Comment

        • katzdvd
          Lord of Digital Video
          Lord of Digital Video
          • Feb 2006
          • 2198

          I haven't had a chance to implement that code yet, but I came across something else. I was reading up on beryl on some sites, & I found -
          By now you should see a fancy wobbly splash for Beryl, when it starts, and all the Beryl effects should be avaiable for you to use.

          You should also see a gem in the system tray, from which you can change your Beryl setting and your Emerald themes, I suggest you look at it.
          I don't get the startup wobble screen, or the red gem in the panel. Should I have that there? As it stands now, I have to turn off beryl to use a pgm. or two, & I don't know how to restart it, other than a reboot; for that matter, I don't even know if I am turning it off the correct way!

          That's why I thought the little red icon would be handy - I (assume) I can turn beryl on & off using it?

          EDIT: Never mind, I got this one figured out too! I like to ask first however, before taking chances on goofing things up, as I don't know how to "rollback" my mistakes yet on Ubuntu!
          Last edited by katzdvd; 30 May 2007, 08:48 AM.

          Comment

          • Jim44
            Junior Member
            Junior Member
            • Dec 2006
            • 15

            Just wanted to jump in say that this is a great thread - kudos to katzdvd and anonymez especially. I've had an interest in running Linux for a while, and will be checking out Ubuntu via the Live CD shortly. Need to finish up a few other projects before embarking on a dual-boot scenario (current OS is XP, which works fine for me), but I'm encouraged to give it a try.

            (I'm a hardware engineer, have used Unix before, and don't mind "tinkering", but on the other hand for my home machine I just want to "do stuff" with little fuss.)

            Thanks!

            Jim

            Comment

            • anonymez
              Super Moderator
              • Mar 2004
              • 5525

              @katz: I guess you installed beryl manager?

              @Jim44:
              "What were the things in Gremlins called?" - Karl Pilkington

              Comment

              • katzdvd
                Lord of Digital Video
                Lord of Digital Video
                • Feb 2006
                • 2198

                beryl manager installed, yes. At this point, I am working on installing "nameless" programs & fighting it every step of the way, lol.

                I don't know why I am putting myself thru all this pain, I really don't!

                Comment

                • anonymez
                  Super Moderator
                  • Mar 2004
                  • 5525

                  If you're unsuccessful with Wine, take a look at VMware or Virtualbox, they do the job rather nicely and are quite easy to set up. Very practical in fullscreen mode (you can run XP, for example, on one workspace/"face" of the cube).
                  "What were the things in Gremlins called?" - Karl Pilkington

                  Comment

                  • katzdvd
                    Lord of Digital Video
                    Lord of Digital Video
                    • Feb 2006
                    • 2198

                    I thought about those, but I am not sure if I am going to set up windows on this pc or not. IF I can get ubuntu to work properly, I don't think I'll bother with xp on this one, since I still have the other pc running it.

                    As with the many threads referring to this on the ubuntu forums..."The lack of proper tutorials & instruction" is overwhelming...

                    I don't understand why what works for one person, doesn't work for the next, when both follow the same instructions to the letter...

                    But I will say this; you learn to have patience when attempting this, or go nuts trying!

                    Comment

                    • katzdvd
                      Lord of Digital Video
                      Lord of Digital Video
                      • Feb 2006
                      • 2198

                      Anony - I am trying to do some audio recording, but in every pgm. I am trying to use, I get the "unable to find playback device", or a similar message. I have selected just about everything in the sound card/mixer area (OSS Mixer/ALSA Mixer) & nothing seems to work.

                      Audacity/GNUSound are 2 that I have been trying; Also goldwave under wine, with a similar error - no supported plugin...

                      any suggestions?
                      Last edited by katzdvd; 10 Jun 2007, 09:22 PM.

                      Comment

                      • katzdvd
                        Lord of Digital Video
                        Lord of Digital Video
                        • Feb 2006
                        • 2198

                        Thought I would continue with the troubleshooting with this thread, since this is the one where the main "schooling" is going on.

                        > I am trying to record streaming audio. I can't get any of the editors to work, they don't recognize the mixer/onboard sound?

                        I will use audacity in this case; the error I get is;
                        Error while opening sound device. Please check the input device settings & the project sample rate.
                        I see on the audacity forums that this is a common prob. - I see no solution...

                        I like the looks of GNUSound - thought I would try it out. At first, I could get it to launch, & when I would click record I got a message; unable to locate record device. However, now when I try to use that pgm. my pc screen goes black & it goes back to my login screen? I tried to install JACK & some other stuff that was supposed to make it work, & that was the result.

                        The other pgm. (my fav) Goldwave, I can launch with wine. Previously, I used to get an error; "cannot find playback device" (I think). But now I was trying to duplicate the error, & what is happening now is when I launch any audio pgm., it is killing my audio until I reboot...

                        So that is where I am at. I was 1/2 way there before, but after fooling around with trying to fix it on my own by installing more JACK files, & otehr settings, it looks like I really broke it good.

                        Comment

                        • anonymez
                          Super Moderator
                          • Mar 2004
                          • 5525

                          After a quick search, have you tried:

                          Code:
                          sudo apt-get install alsa-oss
                          then

                          Code:
                          aoss audacity
                          BTW I hadn't abandoned this thread, just don't have as much free time at the moment due to exams.
                          "What were the things in Gremlins called?" - Karl Pilkington

                          Comment

                          • katzdvd
                            Lord of Digital Video
                            Lord of Digital Video
                            • Feb 2006
                            • 2198

                            I have the lastest vers. of alsa-oss.

                            I run audacity - w/ alsa selected, I get
                            Error while opening sound device. Please check the input device settings & the project sample rate.
                            If I select OSS., the record marker progresses, but there is just a "flat line", hence no audio recorded.

                            Good Luck on the exams!

                            Comment

                            • anonymez
                              Super Moderator
                              • Mar 2004
                              • 5525

                              OK, try

                              Code:
                              killall esd
                              then run Audacity.

                              Good Luck on the exams!
                              "What were the things in Gremlins called?" - Karl Pilkington

                              Comment

                              • anonymez
                                Super Moderator
                                • Mar 2004
                                • 5525

                                The issue is outlined in the Wiki

                                The relevant paragraph:

                                * If you receive this error

                                "Error opening sound device. Please check the input device settings and the Project Sample Rate"

                                even when no other device is using the sound card, and your permissions are correct, it simply means there's a problem with your Audacity settings. You may have a sample rate selected that your sound card does not support. You can alter this by changing the Project Rate at the bottom left of the Audacity window. If you are trying to record something when you receive the error, set the "recording channels" in the Audio I/O tab of Preferences to mono or stereo, and if you are recording something playing on the computer, try turning off "software playthrough".
                                "What were the things in Gremlins called?" - Karl Pilkington

                                Comment

                                Working...