Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
evilmonkeh
Apr 18, 2004
meh

Scaevolus posted:

What internet connection do you have? Many residential connections forbid you to run a server over their network.

It is a UK ADSL2 connection and as far as I am aware they don't care. Anyway, I will cross that bridge when I get to it! for now, I am more concerned about how I would go about hosting my own domain. I'm paying extra for a static IP anyway

Adbot
ADBOT LOVES YOU

Saukkis
May 16, 2003

Unless I'm on the inside curve pointing straight at oncoming traffic the high beams stay on and I laugh at your puny protest flashes.
I am Most Important Man. Most Important Man in the World.

Scaevolus posted:

What internet connection do you have? Many residential connections forbid you to run a server over their network.
They probably do that just so they have some reason to kick you off if they get annoyed with you. Most P2P apps could probably be considered servers.

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
What's the best way to get ksh93 to collapse the home directory to a tilde in a prompt (it doesn't do that automagically)? My latest attempt is calling awk inline, but that's a bit heavy handed. I use the shell a lot, calling a tool each time I hit the enter key strikes me as stupid.

Evil Robot
May 20, 2001
Universally hated.
Grimey Drawer
Problem: vim and emacs just don't open in PuTTY any more. nano works just fine. If I open a terminal emulator in VNC and run vim or emacs, they work just fine. Here's what I do:

code:
evilrobot@polymorph:~$ vim

[1]+  Stopped                 vim
The blank space lets me type anything (including the vim escape command (ESC-:q!)) and it doesn't care. Neither Ctrl-C nor Ctrl-D do anything: I have to hit Ctrl-Z.

I figure this has to be a problem with my PuTTY settings somehow, but I can't imagine how. I do recall editing things in PuTTY with vim before, so I'm not quite sure what might have changed. Is there any better way to get information on what's going on?

Thanks a bunch!

RoundsToZero
Dec 3, 2004

An open door is an invitation
Does emacs -nw work?

ColdPie
Jun 9, 2006

bitprophet posted:

That's pretty strange :raise: FWIW I use SVN clients and servers on 2 different Arch machines and it works just fine. No real ideas other than googling around for "slow subversion" or "slow svn", and/or searching for that on bbs.archlinux.org .

The only thing I could find was something about /dev/random being slow, which I would have no idea how to fix :( I'd really like to fix this problem as SVN is the only reason this server exists.

I could give CVS a shot, but I've heard SVN is better and I'm more familiar with it anyway.

covener
Jan 10, 2004

You know, for kids!

ColdPie posted:

The only thing I could find was something about /dev/random being slow, which I would have no idea how to fix :( I'd really like to fix this problem as SVN is the only reason this server exists.

I could give CVS a shot, but I've heard SVN is better and I'm more familiar with it anyway.

tcp trace and syscall trace should give you a pretty big hint

ColdPie
Jun 9, 2006

covener posted:

tcp trace and syscall trace should give you a pretty big hint

Having never used these tools, they don't really tell me anything. Maybe you can help sort this out?

Running

code:
[root@bngcvs ~]# strace svn checkout svn://localhost:53690/testproj --username <USERNAME> --password <PASSWORD>
returns a whole bunch of stuff (which I could post here if it's wanted) ending with:

code:
munmap(0xb7ca4000, 4096)                = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53690), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
read(3, "( success ( 1 2 ( ANONYMOUS ) ( "..., 4096) = 76
write(3, "( 2 ( edit-pipeline svndiff1 abs"..., 82) = 82
read(3, "( success ( ( CRAM-MD5 ) 10:test"..., 4096) = 43
write(3, "( CRAM-MD5 ( ) ) ", 17)       = 17
read(3,
where it hangs. Would it be more useful to run this on the server process instead of the svn client? How would I do that?

teapot
Dec 27, 2003

by Fistgrrl

ColdPie posted:

Having never used these tools, they don't really tell me anything. Maybe you can help sort this out?

Running

code:
[root@bngcvs ~]# strace svn checkout svn://localhost:53690/testproj --username <USERNAME> --password <PASSWORD>
returns a whole bunch of stuff (which I could post here if it's wanted) ending with:

code:
munmap(0xb7ca4000, 4096)                = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53690), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
read(3, "( success ( 1 2 ( ANONYMOUS ) ( "..., 4096) = 76
write(3, "( 2 ( edit-pipeline svndiff1 abs"..., 82) = 82
read(3, "( success ( ( CRAM-MD5 ) 10:test"..., 4096) = 43
write(3, "( CRAM-MD5 ( ) ) ", 17)       = 17
read(3,
where it hangs.
It doesn't hang there, it is waiting for the server to respond. Whatever is "being slow" is happening on the server at this point.

quote:

Would it be more useful to run this on the server process instead of the svn client? How would I do that?

code:
strace -fp <server's PID>

Contero
Mar 28, 2004

Are there any tutorials or reading material for getting used to linux terminal input and using the shell and all that? I keep feeling like there is some missing knowledge on how to install packages and compile things and how to move around and work comfortably in the terminal before I can start actually getting things done in linux other than opening up gimp and drawing penises. I pretty much know ls, cd and touch. That's it for my unix terminal knowledge. Where do I go to learn more?

DMLou
May 17, 2004
Dragonmaster Lou

Contero posted:

Are there any tutorials or reading material for getting used to linux terminal input and using the shell and all that? I keep feeling like there is some missing knowledge on how to install packages and compile things and how to move around and work comfortably in the terminal before I can start actually getting things done in linux other than opening up gimp and drawing penises. I pretty much know ls, cd and touch. That's it for my unix terminal knowledge. Where do I go to learn more?

If you Google for Linux (or Unix) shell tutorial, you'll find tons. Here's one, for example, that assumes no real prior knowledge: http://www.linuxcommand.org/learning_the_shell.php

The thing is, I don't understand just what this insistence that you need to know the shell to be productive in Linux is. Unless you're a programmer or a sysadmin or something, you really don't need to use the shell/terminal to get just about anything you normally can get done on a computer. I mean, you don't hear people talking about how they have to learn the Windows command line to be productive in NT/2k/XP/Vista/whatever. I mean, yeah, there are a lot of cool tricks you can do with shell scripting and the like, but it's not really necessary, just handy.

teapot
Dec 27, 2003

by Fistgrrl

Contero posted:

Are there any tutorials or reading material for getting used to linux terminal input and using the shell and all that? I keep feeling like there is some missing knowledge on how to install packages and compile things and how to move around and work comfortably in the terminal before I can start actually getting things done in linux other than opening up gimp and drawing penises. I pretty much know ls, cd and touch. That's it for my unix terminal knowledge. Where do I go to learn more?
When you use terminal it runs a shell, most likely Bash (Bourne Again Shell) that based on Bourne Shell. All Unix-like systems have some implementation of Bourne Shell, so once you know it you can use any of them +/- system-specific utilities.

I don't know what text is now the latest and most relevant to Linux, I studied it long ago reading Unix for Programmers and Users, and that book doesn't even mention Linux -- it was published a year after the first version of Linux was released. There is (I assume, more current) 3rd edition of that book, and Linux-specific Linux for Programmers and Users from the same author plus some other guy. I have never seen the latter two books, however table of contents suggests that they cover the same topics as the original book.

teapot
Dec 27, 2003

by Fistgrrl

DMLou posted:

The thing is, I don't understand just what this insistence that you need to know the shell to be productive in Linux is. Unless you're a programmer or a sysadmin or something, you really don't need to use the shell/terminal to get just about anything you normally can get done on a computer. I mean, you don't hear people talking about how they have to learn the Windows command line to be productive in NT/2k/XP/Vista/whatever. I mean, yeah, there are a lot of cool tricks you can do with shell scripting and the like, but it's not really necessary, just handy.
As opposed to Windows command line, Unix shell is a very efficient tool that allows user to be more productive. The only things in common between Windows command line and Unix shell is that both run on a text console, accept commands as lines of text, implement some language and run applications. The capabilities, implementation, quality of the language and role in the system are completely different.

A user who does not use shell can function in Linux at the same level as in Windows, however to go beyond that level he still needs shell simply because it's a better tool. It is better suited for advanced operations that otherwise would require programming. A large number of tools is written to be accessible from shell, and the user who can only use GUI would have to wait until some kind soul will write a super-duper frontend to, say, ImageMagick utilities just so he will be able to automatically generate composite images from sources in multiple formats with scaling and rotation. And another frontend to mencoder and mplayer so he can transcode realmedia streams into something universally readable... And another frontend to autotrace and Ghostscript so he can control the parameters for vectorization of bitmaps... And another frontend to dd and od so he can recover media with bad sectors...

Those tools are specifically designed to implement few functions by themselves and work together with shell to perform complex tasks, so what otherwise would be a major programming project ends up in a few lines in shell.

Contero
Mar 28, 2004

DMLou posted:

If you Google for Linux (or Unix) shell tutorial, you'll find tons. Here's one, for example, that assumes no real prior knowledge: http://www.linuxcommand.org/learning_the_shell.php

The thing is, I don't understand just what this insistence that you need to know the shell to be productive in Linux is. Unless you're a programmer or a sysadmin or something...

I'm a programmer :frogbon:

I've used windows all my life (except for one fateful day around 1995 when my mom brought home an SGI workstation running IRIX. That was my first computer :psyduck: ). I use SSH client to get onto our campus unix server and thats about all of my exposure to it. This year I've got a laptop and I'm determined to start programming in linux on it. I've got a few weeks before school starts so hopefully I'll get to the point where I'm comfortable programming on it before I start getting assignments due.

That tutorial is really nice though. Thank you. I had tried googling for one before but the one I found wasn't very good. This one is a lot more thorough and it's coving some things I didn't know.

Contero fucked around with this message at 08:37 on Aug 20, 2007

RocketMermaid
Mar 30, 2004

My pronouns are She/Heir.


teapot posted:

You have to have development environment installed to run nvidia installer. You need to install gcc and kernel-devel packages, and all their dependencies.

On Ubuntu things are much easier -- packages are maintained, so unless you have some very recent board that is not yet supported by packaged drivers, you just install the package. However if you need to run the nvidia installer, make sure that you DO NOT have packaged driver installed (two will conflict with each other) and that you install build-essential package and are not running X while installing the driver ("sudo /etc/init.d/gdm stop" to stop it).

Well, things are working swimmingly in Ubuntu now - I have full desktop effects and everything. FC6 is still being stubborn as gently caress, though. The last install I did with full dev tools, and I installed the drivers on the nVidia site - NVIDIA-Linux-x86-1.0-9639-pkg1.run, which should be the proper set of 96xx drivers since I have a Ti4200 - and while they appeared to install correctly, they don't seem to actually do much. I still can't run desktop effects, and now when I drag icons on the desktop they get this huge ugly white box around them. The livna kmod-nvidia-96xx drivers do me no good, as no matter what they do X still shits itself every time FC6 boots. Any clue as to what I need to do, other than ditch FC6 like a bad habit?

Kerris
Jul 12, 2006
Don't you fucking dare compliment a woman's voice on the forums, you fucking creepy stalker.

Contero posted:

Are there any tutorials or reading material for getting used to linux terminal input and using the shell and all that?
The Linux Documentation Project.

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
Is there something like screen for X11 apps? There are like two applications I'd like to survive through an Xorg crash.

Prince John
Jun 20, 2006

Oh, poppycock! Female bandits?

Contero posted:

Are there any tutorials or reading material for getting used to linux terminal input and using the shell and all that?

I'm finding this one to be pretty good, although it does assume knowledge in the occasional place. It seems to be a nice balance in covering more than the basic terminal usage whilst still being easy to read.

RoundsToZero
Dec 3, 2004

An open door is an invitation

Toiletbrush posted:

Is there something like screen for X11 apps? There are like two applications I'd like to survive through an Xorg crash.

There's something called xmove but it doesn't work very well. VNC is the closest I can think of, but it won't work if the X application uses any fancy server extensions, or you don't want to have everything running in a sub window.

DMLou
May 17, 2004
Dragonmaster Lou

teapot posted:

As opposed to Windows command line, Unix shell is a very efficient tool that allows user to be more productive. The only things in common between Windows command line and Unix shell is that both run on a text console, accept commands as lines of text, implement some language and run applications. The capabilities, implementation, quality of the language and role in the system are completely different.

A user who does not use shell can function in Linux at the same level as in Windows, however to go beyond that level he still needs shell simply because it's a better tool. It is better suited for advanced operations that otherwise would require programming.

snip...

Those tools are specifically designed to implement few functions by themselves and work together with shell to perform complex tasks, so what otherwise would be a major programming project ends up in a few lines in shell.

Oh, I agree with you completely. Learning the shell is certainly a very useful thing (and it is vastly superior to the standard Windows command line, although the new Monad command shell supposedly is much more Unix shell-like) -- hell, I use it all the time in many of the manners you mentioned that I snipped out. I guess I just misconstrued the original post as being one of those "Argh! Linux is too hard! I have to use a command line!" folks, as opposed to someone who wants to use the command line specifically for the benefits it offers, and not because he feels that Linux is only usable via the shell.

However, I see you do appear to agree with me on the point that if you just need an average user's level of functionality (email, web browsing, word processing, etc.) on Linux, the shell is 100% optional. In my case, even though I consider myself fairly handy with the shell, I still do 90% of my work in Linux using the GUI. It does amaze me how far the Linux GUI has come since I first started using FVWM on Slackware back in '95 or so.

Contero posted:

I'm a programmer :frogbon:

Well, there you go then. :) Sorry I figured you were just an average user of the type I mentioned above.

Contero posted:

I've used windows all my life (except for one fateful day around 1995 when my mom brought home an SGI workstation running IRIX. That was my first computer :psyduck: ). I use SSH client to get onto our campus unix server and thats about all of my exposure to it. This year I've got a laptop and I'm determined to start programming in linux on it. I've got a few weeks before school starts so hopefully I'll get to the point where I'm comfortable programming on it before I start getting assignments due.

That tutorial is really nice though. Thank you. I had tried googling for one before but the one I found wasn't very good. This one is a lot more thorough and it's coving some things I didn't know.

No problem, glad I was able to help. Best of luck getting up to speed with learning Linux programming on your laptop. :)

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!

Contero posted:

I've used windows all my life (except for one fateful day around 1995 when my mom brought home an SGI workstation running IRIX. That was my first computer :psyduck: ). I use SSH client to get onto our campus unix server and thats about all of my exposure to it. This year I've got a laptop and I'm determined to start programming in linux on it. I've got a few weeks before school starts so hopefully I'll get to the point where I'm comfortable programming on it before I start getting assignments due.
Just don't give up on the operating system. If you've used Windows all your life, you'll probably go through sort of withdrawal syndrome. At first, things are cool because everything is new and different, but shortly after you'll be all going "Argh, where's Windows, everything is easier there (more like because I'm used to it)!".

I had many excursions to BSD over the last few years and always went back due to this. Only the last attempt stuck, but also only because I just went ahead and copied all data over to the new filesystem, concatenated all the freed drives, as they've become available, into the disk pool, giving me no easy way back.

Leathal
Oct 29, 2004

wanna be like gucci?
lil buddy eat your vegetables
Alright I've been using Ubuntu as my main OS for about two months now and I'm finally ready to make it my permanent OS. Up until now, I've always had bad experiences with Linux, so I shoved this install on to a small (20gb) secondary partition on my secondary HDD. I'm very close to running out of space now, but resizing the secondary hard drive again isn't an option.

Is there any way I can move everything over to a new, bigger partition on the primary hard drive? I've spent a lot of time tweaking stuff on this install, and I'd really hate to have to do it all over.

CRIP EATIN BREAD
Jun 24, 2002

Hey stop worrying bout my acting bitch, and worry about your WACK ass music. In the mean time... Eat a hot bowl of Dicks! Ice T



Soiled Meat

Leathal posted:

Alright I've been using Ubuntu as my main OS for about two months now and I'm finally ready to make it my permanent OS. Up until now, I've always had bad experiences with Linux, so I shoved this install on to a small (20gb) secondary partition on my secondary HDD. I'm very close to running out of space now, but resizing the secondary hard drive again isn't an option.

Is there any way I can move everything over to a new, bigger partition on the primary hard drive? I've spent a lot of time tweaking stuff on this install, and I'd really hate to have to do it all over.

Just back up /home/yourusername and /etc so you have all your configuration files. Then just nuke it and reinstall the packages you used.

Contero
Mar 28, 2004

Toiletbrush posted:

Just don't give up on the operating system. If you've used Windows all your life, you'll probably go through sort of withdrawal syndrome. At first, things are cool because everything is new and different, but shortly after you'll be all going "Argh, where's Windows, everything is easier there (more like because I'm used to it)!".

Well I'm pretty much going to need to dual boot. There are still things I need windows for, mainly games and some windows-only programs (xilinx :bahgawd: ). Which actually brings me to my next question.

I plan to dual boot xubuntu and XP. How should I set up my partitions? Which should I install first? Will ubuntu be able to see my NTFS drive? Will I get that handy dandy OS selector on bootup? Which partitioning program should I use?

I'm thinking I should install XP first onto the first partition and leave some unpartitioned space left over, then allocate the rest of it in the Xubuntu installer. Would there be anything wrong with that?

Also if I planned to switch to a larger hard drive later, is there a way to take an image of the drives, throw it on my USB hard drive and then partition the new drive to be bigger and dump the old images on there?

teapot
Dec 27, 2003

by Fistgrrl

DMLou posted:

although the new Monad command shell supposedly is much more Unix shell-like

Actually Monad/PowerShell is not any more similar to unix shell than, say, C# is. It uses the same Windows COM-based interfaces as every other Windows scripting language, providing a cumbersome application-instance-based environment as opposed to file-descriptor-based processing pipeline that is the core of the Unix shell design. The only similarity is that they have stuffed a .NET-based language into a command-line environment, yet kept the very thing lack of which makes Unix shell so powerful -- hidden, strictly pre-arranged API between components that performs same operations on tiny morsels of data in RPC-like context.

Cygwin provides some resemblance of Unix shell (bash port) under Windows, however being implemented in a such a foreign environment it's inefficient and just barely compatible to provide some portability.

teapot fucked around with this message at 07:19 on Aug 21, 2007

Prince John
Jun 20, 2006

Oh, poppycock! Female bandits?

Contero posted:

I plan to dual boot xubuntu and XP. How should I set up my partitions? Which should I install first? Will ubuntu be able to see my NTFS drive? Will I get that handy dandy OS selector on bootup? Which partitioning program should I use?

1. Set up one for Windows (make it the first on the disk), set up three for Ubuntu, one for root /, one for /home and one for swap. If you want to hibernate, make sure the swap partition is larger than your RAM. Having a separate /home partition is highly recommended because when you reinstall, all your personal settings for desktop and programs are kept, so you boot back into your old desktop with no need to reconfigure.

2. Always install Windows first - it doesn't play nice with other operating systems and will overwrite the boot sector giving you a headache if you install it second.

3. Yes, you will have read-only access out of the box. Write access can be easily enabled by installing the ntfs-3g package once you have the system up and running.

4. Yes

5. The Ubuntu installer will do it fine, as long as you're comfortable with the naming criteria. hda1, hda2, hdb1 etc. (Edit: see here) If you've got no data to preserve, then you can experiment with the easy 'installer does it' options, but if you're comfortable using a particular partition programme, by all means use that. Gparted on a Ubuntu live cd is a nice clone of partition magic.

quote:

I'm thinking I should install XP first onto the first partition and leave some unpartitioned space left over, then allocate the rest of it in the Xubuntu installer. Would there be anything wrong with that?
Nope, very sensible.

quote:

Also if I planned to switch to a larger hard drive later, is there a way to take an image of the drives, throw it on my USB hard drive and then partition the new drive to be bigger and dump the old images on there?

Yes, there are plenty of tools to keep images of drives in Linux, but will leave the howto to someone else.

Prince John fucked around with this message at 14:44 on Aug 21, 2007

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!

teapot posted:

Actually Monad/PowerShell is not any more similar to unix shell than, say, C# is. It uses the same Windows COM-based interfaces as every other Windows scripting language.
Long time ago I've used Monad, but I'm pretty sure it's pure .NET, including its cmdlets.

They said that ksh was an inspiration for their scripting language, but actually trying to learn ksh and its intricacies, I see gently caress all similarity.

Neslepaks
Sep 3, 2003

Contero posted:

except for one fateful day around 1995 when my mom brought home an SGI workstation running IRIX. That was my first computer :psyduck:

Your mom is awesome.

teapot
Dec 27, 2003

by Fistgrrl

Leathal posted:

Alright I've been using Ubuntu as my main OS for about two months now and I'm finally ready to make it my permanent OS. Up until now, I've always had bad experiences with Linux, so I shoved this install on to a small (20gb) secondary partition on my secondary HDD. I'm very close to running out of space now, but resizing the secondary hard drive again isn't an option.

Is there any way I can move everything over to a new, bigger partition on the primary hard drive? I've spent a lot of time tweaking stuff on this install, and I'd really hate to have to do it all over.

You should be able to copy and resize that partition with gparted. If you have /etc/fstab with uuids instead of device names you won't even have to edit that file when physical device names change. You may need to re-create the main boot record or boot record in the partition to reflect moved bootloader and kernel -- boot from CD, mount and chroot into the new filesystem, edit /boot/grub/menu.lst, re-run grub-install on the new device.

The Remote Viewer
Jul 9, 2001
I decided to give Linux another try after a hiatus. I installed Feisty Fawn. The install went okay and didn't trash my Windows install like it did last time. This may be because it actually didn't touch my Windows install because I installed Feisty on a completely different drive. I managed to hose my first attempt within 20 minutes. I installed the nvidia drivers and followed the directions given in the package description. Next time I rebooted I was dropped to a command prompt with an error. Being a Linux newbie I had no idea what to do. After a reinstall I tried installing the nvidia drivers again and this time the window manager got hosed up;...windows couldn't be moved without holding down alt and there were no buttons in the upper right. Reinstalled again. This time I managed to get the nvidia drivers working along with beryl, which seemed to cause a number of drawing errors that I didn't know how to fix. Ended up turning it off. Installed wine, tested out a few apps, got annoyed when the wine menu with my installed apps disappeared. Completely uninstalled wine, deleted the settings in my home folder, reinstalled, same problem. Oh well, let's try some music. Cued up a .m4a album only to be told there was no codec; this after I had installed what I thought were all the codecs I needed. Read up on the problem, all the solutions were for previous versions of Ubuntu. The only stuff I could find about Feisty said it was a known issue and thus far there was no solution. gently caress it, I'll listen to something else in mp3 format. Nope, Amarok decided it wanted to segfault every time I'd try to queue up an album, as well as every time I left the settings menu. Definitely not an issue on my end since my PC passes both prime95 and memtest86.

I keep hearing about great Ubuntu is and how your grandma could use it, except every time I try it I end up uninstalling it within 24 hours. I just don't have the patience to spend time trying to chase down basic functionality issues.

teapot
Dec 27, 2003

by Fistgrrl

The Remote Viewer posted:

I decided to give Linux another try after a hiatus. I installed Feisty Fawn. The install went okay and didn't trash my Windows install like it did last time. This may be because it actually didn't touch my Windows install because I installed Feisty on a completely different drive. I managed to hose my first attempt within 20 minutes. I installed the nvidia drivers and followed the directions given in the package description. Next time I rebooted I was dropped to a command prompt with an error. Being a Linux newbie I had no idea what to do. After a reinstall I tried installing the nvidia drivers again and this time the window manager got hosed up;...windows couldn't be moved without holding down alt and there were no buttons in the upper right. Reinstalled again. This time I managed to get the nvidia drivers working along with beryl, which seemed to cause a number of drawing errors that I didn't know how to fix. Ended up turning it off. Installed wine, tested out a few apps, got annoyed when the wine menu with my installed apps disappeared. Completely uninstalled wine, deleted the settings in my home folder, reinstalled, same problem. Oh well, let's try some music. Cued up a .m4a album only to be told there was no codec; this after I had installed what I thought were all the codecs I needed. Read up on the problem, all the solutions were for previous versions of Ubuntu. The only stuff I could find about Feisty said it was a known issue and thus far there was no solution. gently caress it, I'll listen to something else in mp3 format. Nope, Amarok decided it wanted to segfault every time I'd try to queue up an album, as well as every time I left the settings menu. Definitely not an issue on my end since my PC passes both prime95 and memtest86.

Stop reinstalling your system. This is not Windows.

1. Your window manager did not show window decorations because you have enabled dekstop effects without installing packages that it uses. It actually worked correctly, what is surprising considering that you didn't even have the application responsible for drawing window decorations. Also you conveniently omitted the fact that your desktop worked perfectly until you enabled desktop effects -- and desktop effects are clearly marked as beta feature. How beryl ended up installed on your desktop is another mystery -- it is not in the default desktop effects, so you had to actually install it and look at the guide -- the same guide that shows where the latest working packages are, yet you managed to ignore it.

2. Don't use wine except as the last resort or to run games. Seriously. Everything you need, other than games and occasional piece of crap that no one bothered to port or make a replacement for, is already implemented as a native application.

3. All applications installed with Gnome always register in the main applications menu under some section, however you have to learn WEIRD AND UNUSUAL MENU SCROLLING FEATURE because there are so freaking many of applications in some categories. You don't see this problem in Windows because Windows startup menu is ridiculously large, with sub-items for each itty-bitty company that ever produced a byte of code that somehow ended up on your hard drive. If you can't find your application, make your own launcher for it.

4. All codecs are the same in all versions of Linux. And some of them are the same as in all versions of Windows, too, thanks to music players emulating Windows API for them. It's really hard to miss.

5. Configure Amarok to use xine engine.

quote:

I keep hearing about great Ubuntu is and how your grandma could use it, except every time I try it I end up uninstalling it within 24 hours. I just don't have the patience to spend time trying to chase down basic functionality issues.
Another professional Windows apologist does his best to screw up the unscrewuppable, spends hours writing angry treatise on the subject, then proclaims that he didn't have a time to do the obvious and follow instructions. Great job!

teapot fucked around with this message at 02:01 on Aug 22, 2007

The Remote Viewer
Jul 9, 2001

teapot posted:

1. Your window manager did not show window decorations because you have enabled dekstop effects without installing packages that it uses. It actually worked correctly, what is surprising considering that you didn't even have the application responsible for drawing window decorations. Also you conveniently omitted the fact that your desktop worked perfectly until you enabled desktop effects -- and desktop effects are clearly marked as beta feature.

Yes, I was under the impression it would 'just work' since it's an option in the control panel thing.

quote:

How beryl ended up installed on your desktop is another mystery -- it is not in the default desktop effects, so you had to actually install it and look at the guide -- the same guide that shows where the latest working packages are, yet you managed to ignore it.

Yes, I installed beryl, because it's the one feature Linux advocates are always touting these days. I did eventually get it working 100%, but even then it caused some graphical anomalies so I turned it off.

quote:

2. Don't use wine except as the last resort or to run games. Seriously. Everything you need, other than games and occasional piece of crap that no one bothered to port or make a replacement for, is already implemented as a native application.

I was using it to test out some older games.

quote:

3. All applications installed with Gnome always register in the main applications menu under some section, however you have to learn WEIRD AND UNUSUAL MENU SCROLLING FEATURE because there are so freaking many of applications in some categories. You don't see this problem in Windows because Windows startup menu is ridiculously large, with sub-items for each itty-bitty company that ever produced a byte of code that somehow ended up on your hard drive. If you can't find your application, make your own launcher for it.

I used the install cd, there weren't that many apps. What had happened was that I installed uTorrent via wine (before I figured out I'd be better off with Azurues). I uninstalled utorrent but there was still an icon for it under the wine submenu. I right clicked the icon and there was no delete option, so I went into the menu and saw an option to hide icons, so I did that. After that point no matter what I did the wine submenu wouldn't show up. I hid it, unhid it...it was apparently still there in some sense but nothing, including trying to erase and reinstall wine, would make it appear again.

quote:

4. All codecs are the same in all versions of Linux. And some of them are the same as in all versions of Windows, too, thanks to music players emulating Windows API for them. It's really hard to miss.

I installed the w32codec pack, as well as installing everything recommended in the sticky post in the forums. AAC simply did not work, and I couldn't find any solution to the problem (something about installing faac/faad was suggested for prior versions of ubuntu but that didn't solve the problem). The only explanation I was able to find suggested something was currently broken and hadn't been fixed yet. I will grant that it appears to have worked in earlier versions of Ubuntu.

quote:

5. Configure Amarok to use xine engine.

That doesn't solve the problem that it segfaulted with the default settings, which, by the way, was the xine engine to begin with.

quote:

Another professional Windows apologist does his best to screw up the unscrewuppable, spends hours writing angry treatise on the subject, then proclaims that he didn't have a time to do the obvious and follow instructions. Great job!

I looked up, or attempted to look up, solutions for every problem I encountered. Would you like to explain to me why installing the nvidia driver from the repository and running the setup commands suggested in the package description resulted in X crashing on boot? Is there something else a reasonable person should have been expected to do other than run the package from the repository and then follow simple instructions?

Even accounting for my only passing familiarity with the OS, I encountered way too many problems for me to consider it a long-term solution at the present moment. One of the reasons I reinstalled so many times, other than things breaking, was so I could be sure any problems I encountered weren't caused by me screwing something up due to trying something dumb.

The Remote Viewer fucked around with this message at 02:45 on Aug 22, 2007

RocketMermaid
Mar 30, 2004

My pronouns are She/Heir.


teapot posted:

2. Don't use wine except as the last resort or to run games. Seriously. Everything you need, other than games and occasional piece of crap that no one bothered to port or make a replacement for, is already implemented as a native application.

Except for, you know, ninety loving percent of professional music/audio production software, which is a major reason Windows will always be my primary OS. It's all well and good to smack down somebody who obviously doesn't know what they're talking about, but it's another to make obviously specious claims.

TreFitty
Jan 18, 2003

The Remote Viewer posted:

I looked up, or attempted to look up, solutions for every problem I encountered. Would you like to explain to me why installing the nvidia driver from the repository and running the setup commands suggested in the package description resulted in X crashing on boot? Is there something else a reasonable person should have been expected to do other than run the package from the repository and then follow simple instructions?

Even accounting for my only passing familiarity with the OS, I encountered way too many problems for me to consider it a long-term solution at the present moment. One of the reasons I reinstalled so many times, other than things breaking, was so I could be sure any problems I encountered weren't caused by me screwing something up due to trying something dumb.
I've got to agree with you here. There is a major problem with updating to the newest nVidia GLX driver from the repository. At least with Ubuntu and with my GeForce 7300 GS in my laptop. I did all kinds of package cleanings/removals/installations to finally get back to the desktop. When I searched around the web (booting from the installation CD) for a solution I wasn't able to find an exact answer and what worked for others wouldn't work for me.

I also looked around and found that there were bugs with the installation directories, configuration files, sym links, and whatever the hell else could possibly go wrong. What worked from some that tried to install the newest nVidia drivers would not work for others. There were published workarounds that, again, would work for some and not others.


Long story short? There's a problem with updating to nvidia-glx-new. I've settled on the old driver and I'm staying there until I can find good reports in the future about updating it.

While I love Beryl, I've run in to some pretty bad bugs with it. Yesterday, without me changing anything at all about my system, the window manager wouldn't load the decorations from Gnome/Metacity on boot until I loaded Beryl first and then loaded Beryl decorations, then back to Metacity. I didn't do anything to cause this - that's for sure. I'm really looking forward to when it's more stable, though - it's absolutely the best UI I've ever had the pleasure of using.


It's just a bit of a shame about the nVidia drivers. I'd kind of like to know what I'm missing in terms of performance.

shyduck
Oct 3, 2003


Are there any good GUI based programming programs out there? I'm using Ubuntu and I'm getting the itch to play around with Python/C/C++. I could do it and have using the command line programs, but I really don't want to.

teapot
Dec 27, 2003

by Fistgrrl

The Remote Viewer posted:

Yes, I was under the impression it would 'just work' since it's an option in the control panel thing.
When you go into that panel there is a text that specifically warns you that it may not work. I agree that it would be better if configuration procedure refused to run compiz until all necessary packages are installed, and called the installer for them if asked for that, however this is why it's beta. And it's really easy to figure out that if it didn't work you should disable it and look for the manuals/guides.

quote:

Yes, I installed beryl, because it's the one feature Linux advocates are always touting these days.
Huh? It doesn't even work with many graphics cards that don't support all necessary features, and it is certainly in the eye candy category along with, say, electricsheep and rss-glx.

quote:

I did eventually get it working 100%, but even then it caused some graphical anomalies so I turned it off.
There is a constantly-updating guide for compiz/beryl setup: http://ubuntuforums.org/showthread.php?t=481314

The previous version of this guide used http://3v1n0.tuxfamily.org/dists/feisty/eyecandy/

Both work without problems -- I have it on the infamous Radeon Xpress 200m 5955, however for $deity sake it's not a fully supported software in Ubuntu, even the desktop effects control panel you mention says that.

quote:

I was using it to test out some older games.
And what exactly didn't work with those -- assuming that you followed the instructions in the first place?

quote:

I used the install cd, there weren't that many apps. What had happened was that I installed uTorrent via wine (before I figured out I'd be better off with Azurues). I uninstalled utorrent but there was still an icon for it under the wine submenu. I right clicked the icon and there was no delete option, so I went into the menu and saw an option to hide icons, so I did that. After that point no matter what I did the wine submenu wouldn't show up. I hid it, unhid it...it was apparently still there in some sense but nothing, including trying to erase and reinstall wine, would make it appear again.
System->Preferences->Main Menu, then press a button labeled "Revert". Obscure, isn't it?

quote:

I installed the w32codec pack, as well as installing everything recommended in the sticky post in the forums. AAC simply did not work, and I couldn't find any solution to the problem (something about installing faac/faad was suggested for prior versions of ubuntu but that didn't solve the problem). The only explanation I was able to find suggested something was currently broken and hadn't been fixed yet. I will grant that it appears to have worked in earlier versions of Ubuntu.
What exactly did not work? Totem media player is the most bloated most often broken media player that ever was shipped with Linux, this is why people install Xine, GXine, VLC, Mplayer and other well known media players on Linux. Not entirely unlike Windows Media Player. Even taking that into account a lot of problems with it can be solved by resetting its configuration by removing .totem directory under user's home.

quote:

That doesn't solve the problem that it segfaulted with the default settings, which, by the way, was the xine engine to begin with.
Really? Or did it segfault after you have enabled a dozen or two experimental options and visualization plugins, and given it MP3 files each with four inconsistent sets of ID3 tags in broken encoding? How do you even know that it segfaulted -- did you run it in a terminal? If so, sure, you have been able to read other diagnostics you were givem, what was it?

quote:

I looked up, or attempted to look up, solutions for every problem I encountered.
If you did, you would have hard time missing them in this very thread.

quote:

Would you like to explain to me why installing the nvidia driver from the repository and running the setup commands suggested in the package description resulted in X crashing on boot? Is there something else a reasonable person should have been expected to do other than run the package from the repository and then follow simple instructions?
Nvidia driver is packaged for Ubuntu by Ubuntu developers, and it does not come with any suggested "commands" there. Only if you have a card that it does not support, you have to install a version packaged by Nvidia itself, and then you have to at least make sure that you have removed the packaged version.

Each and every time I have seen either of those packages installed automatically or according to instructions they worked perfectly. Each and every time they didn't, it was either because user managed to install two of them on top of each other (and it was pretty obvious from messages about having incompatible versions of components) or when user did something incredibly stupid. And in either situations uninstalling both packages and installing whatever was supposed to be there fixed the problem.

quote:

Even accounting for my only passing familiarity with the OS, I encountered way too many problems for me to consider it a long-term solution at the present moment.
Not only you are completely unfamiliar with the OS, you make your decisions about using a system based on your ability to screw up its installation by blatantly ignoring all guides and instructions available to you? I am sure, Windows and OSX are not for you, either then.

quote:

One of the reasons I reinstalled so many times, other than things breaking, was so I could be sure any problems I encountered weren't caused by me screwing something up due to trying something dumb.
Linux distributions in general, and Debian-based ones in particular, are specifically designed to make it possible to install, uninstall and reconfigure parts and packages without messing up the rest of the system. Reinstalling the whole freaking OS because you have to remove and install again some itty-bitty package is a horrendous waste of time that only Windows users seem to be fond of.

If you wasted your time that could be used to find a solution (or, more often, a howto/guide) for the problem instead of wiping your hard drive and watching the progress bar, you would not only have a system perfectly configured for your needs, you would also learn what is possible and how to fix things if you manage to screw them up. You have chosen to waste your time reinstalling the system multiple times instead of looking through menus, manuals, google, Ubuntu forums and people's responses to earlier posters in this thread, then posted a message full of bitching with neither useful content nor a valid question. If you didn't carefully chosen your actions to justify maximum amount of bitching, then it was certainly the most inefficient and frustrating way to spend your time.

teapot fucked around with this message at 06:35 on Aug 22, 2007

teapot
Dec 27, 2003

by Fistgrrl

TreFitty posted:

I've got to agree with you here. There is a major problem with updating to the newest nVidia GLX driver from the repository. At least with Ubuntu and with my GeForce 7300 GS in my laptop. I did all kinds of package cleanings/removals/installations to finally get back to the desktop. When I searched around the web (booting from the installation CD) for a solution I wasn't able to find an exact answer and what worked for others wouldn't work for me.
I also looked around and found that there were bugs with the installation directories, configuration files, sym links, and whatever the hell else could possibly go wrong. What worked from some that tried to install the newest nVidia drivers would not work for others. There were published workarounds that, again, would work for some and not others.

Long story short? There's a problem with updating to nvidia-glx-new. I've settled on the old driver and I'm staying there until I can find good reports in the future about updating it.
It's usually "Once you have installed Nvidia-package drivers, either stick with them, or remove all installed files if you want to switch to Ubuntu-packaged version". And vice versa, except that Ubuntu supports clean uninstalling of its packages.

quote:

While I love Beryl, I've run in to some pretty bad bugs with it. Yesterday, without me changing anything at all about my system, the window manager wouldn't load the decorations from Gnome/Metacity on boot until I loaded Beryl first and then loaded Beryl decorations, then back to Metacity. I didn't do anything to cause this - that's for sure. I'm really looking forward to when it's more stable, though - it's absolutely the best UI I've ever had the pleasure of using.
The package that implements Metacity decoration with Beryl is called Heliodor. Most likely you have changed it somehow in decorator selection, or it was not updated on upgrade.

quote:

It's just a bit of a shame about the nVidia drivers. I'd kind of like to know what I'm missing in terms of performance.
If you really have a problem with packaged Nvidia drivers (some cards are not supported), shut down X, uninstall nvidia-related packages, install build-essential package, install Nvidia's own driver package from command line, and it WILL work. This, of course, will prevent package management from working for driver's files, so it won't update properly when kernel is upgraded, however you can just re-run Nvidia installer. That solution always works, even though it's the last resort.

teapot
Dec 27, 2003

by Fistgrrl

shyguy posted:

Are there any good GUI based programming programs out there? I'm using Ubuntu and I'm getting the itch to play around with Python/C/C++. I could do it and have using the command line programs, but I really don't want to.

You can use countless IDEs, and you definitely can use GUI builders for your programs' interface, however considering that programming languages themselves are text, it is foolish to avoid command-line tools for compiling them. My "IDE" for about 14 years remains a combination of XEmacs and GNU Make. XEmacs can run make and process compiler's error messages, and this must be sufficient for development. GDB can be more or less integrated as well, however as I have mentioned many times if programming threads, debugger should not be used for development of new code, its use should be limited to reverse engineering and crash analysis.

Scaevolus
Apr 16, 2007

shyguy posted:

Are there any good GUI based programming programs out there? I'm using Ubuntu and I'm getting the itch to play around with Python/C/C++. I could do it and have using the command line programs, but I really don't want to.

You should try vim as well, but the learning curve is a bit steeper than emacs.

Adbot
ADBOT LOVES YOU

SuperNuts
May 7, 2004

From the frozen north a... squirrel emerges?!?
:haw:
I just got a virtual Ubuntu server, and was wondering about any quick tips on hardening it up a bit?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply