Stop Microsoft

Miscellaneous => Technical Support => Topic started by: Aloone_Jonez on 6 January 2006, 00:18

Title: Ubuntu Help?
Post by: Aloone_Jonez on 6 January 2006, 00:18
Right I've being using Windows far too much recently, I haven't used Linux properly for ages. I have a Ubuntu install on a separate partition and up until now I haven't been arsed to get it to work properly.

Just one question, how the fuck do I set the Internet for my NTL cable modem?

Before when I had a winmodem I couldn't access the Internet and now, surprize surprize NTL don't support Linux either.   :( :thumbdwn:  :nothappy: :fu:  :rolleyes:  :mad:

http://www.ntl.com/locales/ie/en/athome/internet_faqs_technical.html#40

Quote from: NTL
Which operating systems are supported?
The operating systems which ntl will support are:
Windows 98/ME/2000/XP Home
Apple Macintosh OS 8.5, 8.51, 8.6, 9 or 10

The cable modem system is capable of operating with any TCP/IP operating system which uses dynamic IP address allocation. Therefore users could get access with computers with other operating systems such as Linux, Solaris, Windows NT, etc..

Please note that ntl are currently unable to support users of these latter Operating Systems. The customer is ultimately responsible for the set-up of their system as our support staff are not specialists in these areas.


Is there a way to get round this, I've read some stuff somewhere on the net but it didn't make any sense to me. :confused:
Title: Re: Ubuntu Help?
Post by: cymon on 6 January 2006, 00:51
What kind of modem is it? Ethernet modems will work just fine with Linux, you just need the ip of your router/ or modem if you don't have a router. If it's usb, you're probably stuffed, unless you can find a driver for the modem.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 6 January 2006, 01:24
It has both usb and Ethernet sockets on the back, and the good news is my PC does have an Ethernet port. Currently it's set up on XP with the usb, should I change it to Ethernet then? This would be inconvenient as I'd need to buy a cable but I wouldn't mind if it'd work.

If I remember rightly when I set up the account through Windows I had to go through a wizard that prompted me for my ISP's IP and my username and password, does a similar thing exist in Ubuntu?
Title: Re: Ubuntu Help?
Post by: worker201 on 6 January 2006, 01:32
You should have been using ethernet the whole time - much faster and more efficient than USB.

Go ahead and get the cable.

In Windows, navigate your way to the tcp/ip properties and write everything down exactly as you see it there.  Then you can set Linux to use the exact same settings.  Not sure about Ubuntu, but in Fedora, they call the gateway a 'router'.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 6 January 2006, 02:44
Another thing I've noticed is it uses more memory than I expected, my trimmed down Windows XP install uses 67.5MB when booted and Ubuntu uses 74.9MB (it was origionally) 80 but I disabled the wall paper.

Surely I don't need all of these services running:

(http://www.illhostit.com/files/6437922922408942/Screenshot.png)

I've managed to cut down Windows XP consideribly without compromising user  friendliness/functionality/stability so I must be able to do even better with Ubuntu.

Which services can I get away with disabling and how do I do it?
Title: Re: Ubuntu Help?
Post by: Lead Head on 6 January 2006, 03:00
usually the amount of ram linux uses is not a problem, on my athlon 650 box, fc4 uses around 350MB of the systems total 448, without any performence loss.
Title: Re: Ubuntu Help?
Post by: cymon on 6 January 2006, 03:34
Linux will use most of the RAM, it caches it to try and avoid disk thrashing.
Title: Re: Ubuntu Help?
Post by: Dark_Me on 6 January 2006, 05:16
Quote from: Aloone_Jonez
It has both usb and Ethernet sockets on the back, and the good news is my PC does have an Ethernet port. Currently it's set up on XP with the usb, should I change it to Ethernet then? This would be inconvenient as I'd need to buy a cable but I wouldn't mind if it'd work.

If I remember rightly when I set up the account through Windows I had to go through a wizard that prompted me for my ISP's IP and my username and password, does a similar thing exist in Ubuntu?
That sounds very simalar to my modem/router. As Worker said hook up the ethernet and it should work just fine. Mine is a Netcomm so that might change things but for me with Ubuntu there where no problems with it. It sounds as though the problem is that it's connected via USB. There is no wizard Ubuntu should do all the work for you.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 6 January 2006, 13:20
Quote from: Lead Head
usually the amount of ram linux uses is not a problem, on my athlon 650 box, fc4 uses around 350MB of the systems total 448, without any performence loss.

Quote from: cymon
Linux will use most of the RAM, it caches it to try and avoid disk thrashing.

I'm aware of this, I was refering to the amount of memory allocated for data and code.

Surely I can disable some of these services:

Code: [Select]

top - 11:48:32 up 10 min,  2 users,  load average: 0.29, 0.21, 0.14
Tasks:  69 total,   3 running,  66 sleeping,   0 stopped,   0 zombie
Cpu(s):  2.4% us,  0.4% sy,  0.0% ni, 97.1% id,  0.0% wa,  0.1% hi,  0.0% si
Mem:    248876k total,   200056k used,    48820k free,     9784k buffers
Swap:   457812k total,        0k used,   457812k free,    97940k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 6197 root      15   0 27288  14m 6196 S  1.8  5.8   0:39.87 Xorg
 7389 alun      16   0 38768  14m 9716 R  0.6  6.1   0:13.34 gnome-terminal
 7236 alun      16   0 12916 7160 5700 R  0.2  2.9   0:03.33 metacity
 6008 root      16   0 10664 2972 2404 S  0.1  1.2   0:00.06 gdm
    1 root      16   0  1552  508  444 S  0.0  0.2   0:00.55 init
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    3 root       5 -10     0    0    0 S  0.0  0.0   0:00.01 events/0
    4 root       8 -10     0    0    0 S  0.0  0.0   0:00.02 khelper
   22 root      15 -10     0    0    0 S  0.0  0.0   0:00.00 kacpid
   95 root       5 -10     0    0    0 S  0.0  0.0   0:00.03 kblockd/0
  133 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
  134 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
  136 root      14 -10     0    0    0 S  0.0  0.0   0:00.00 aio/0
  135 root      15   0     0    0    0 S  0.0  0.0   0:00.00 kswapd0
  723 root      15   0     0    0    0 S  0.0  0.0   0:00.00 kseriod
 1093 root      16   0     0    0    0 S  0.0  0.0   0:00.04 kjournald
 1121 root       5 -10  1532  356  288 S  0.0  0.1   0:00.09 udevd
 3485 root      19   0     0    0    0 S  0.0  0.0   0:00.00 shpchpd_event
 3695 root      15   0     0    0    0 S  0.0  0.0   0:00.47 khubd
 5948 syslog    16   0  1740  704  584 S  0.0  0.3   0:00.01 syslogd
 5963 root      16   0  1552  380  316 S  0.0  0.2   0:00.01 dd
 5965 klog      16   0  2416 1468  436 S  0.0  0.6   0:00.08 klogd
 5992 root      16   0 10124 2376 1956 S  0.0  1.0   0:00.00 gdm
 6007 cupsys    16   0  5568 2540 1172 S  0.0  1.0   0:00.31 cupsd
 6561 root      18   0  1680  788  528 S  0.0  0.3   0:00.00 acpid
 6623 messageb  16   0  2120 1028  864 S  0.0  0.4   0:00.04 dbus-daemon-1
 6635 hal       16   0  6860 5364 1592 S  0.0  2.2   0:00.94 hald
 6648 root      18   0  1544  432  376 S  0.0  0.2   0:00.00 inetd
 6779 root      16   0  2988 1132  956 S  0.0  0.5   0:00.00 master
 6794 postfix   16   0  3000 1068  900 S  0.0  0.4   0:00.00 pickup
 6795 postfix   16   0  3032 1100  920 S  0.0  0.4   0:00.00 qmgr
 6966 daemon    19   0  1728  608  524 S  0.0  0.2   0:00.00 atd
 6977 root      16   0  1784  816  676 S  0.0  0.3   0:00.00 cron
 6999 root      16   0  1548  472  408 S  0.0  0.2   0:00.00 getty
 7000 root      16   0  1548  472  408 S  0.0  0.2   0:00.00 getty
 7001 root      16   0  1548  472  408 S  0.0  0.2   0:00.00 getty
 7002 root      16   0  1548  472  408 S  0.0  0.2   0:00.00 getty
 7003 root      16   0  1548  472  408 S  0.0  0.2   0:00.00 getty
 7004 root      16   0  1548  472  408 S  0.0  0.2   0:00.00 getty
 7101 alun      15   0 17440 9080 7048 S  0.0  3.6   0:00.69 x-session-manag
 7146 alun      16   0  2992  892  708 S  0.0  0.4   0:00.00 ssh-agent
 7149 alun      16   0  2552  716  604 S  0.0  0.3   0:00.00 dbus-launch
 7150 alun      19   0  2016  736  644 S  0.0  0.3   0:00.00 dbus-daemon-1
 7152 alun      16   0 11936 9284 1760 S  0.0  3.7   0:01.39 gconfd-2
 7193 alun      19   0  2272  984  800 S  0.0  0.4   0:00.00 gnome-keyring-d
 7195 alun      15   0  5324 4028  480 S  0.0  1.6   0:00.18 esd
 7197 alun      15   0  6344 2844 2096 S  0.0  1.1   0:00.21 bonobo-activati
 7199 alun      15   0 19136 8636 6492 S  0.0  3.5   0:01.24 gnome-settings-
 7202 alun      16   0  2384 1184  856 S  0.0  0.5   0:00.11 gam_server



Quote from: Dark_Me
That sounds very simalar to my modem/router. As Worker said hook up the ethernet and it should work just fine. Mine is a Netcomm so that might change things but for me with Ubuntu there where no problems with it. It sounds as though the problem is that it's connected via USB. There is no wizard Ubuntu should do all the work for you.


Alright I'll buy a cable.

What about my user name and password for the ISP?
Title: Re: Ubuntu Help?
Post by: Dark_Me on 6 January 2006, 14:12
Quote from: Aloone_Jonez
Alright I'll buy a cable.

What about my user name and password for the ISP?
You shouldn't need to play around with Ubuntu if all goes well. If you're luckey. Just buy the cable first and see what happens.
Title: Re: Ubuntu Help?
Post by: piratePenguin on 6 January 2006, 14:24
Quote from: Aloone_Jonez

Surely I can disable some of these services:
If you don't use a printer you can disable cupsd. You'll need to change which init scripts are run at boot. I dunno if Ubuntu has a tool for doing this, if you can't find one try installing ksysv (KDE app) or removing the symlinks from the runlevel directories in /etc/init.d/ manually.

You can disable some other init scripts (AKA services) e.g. Gamin (http://www.gnome.org/~veillard/gamin/) (that's the gam_server process), but I'd only do that if I had a problem with performance.
Title: Re: Ubuntu Help?
Post by: cymon on 6 January 2006, 20:54
You could also use a lighter desktop, fluxbox, xfce.
Title: Re: Ubuntu Help?
Post by: worker201 on 7 January 2006, 00:55
There was a lot of Gnome stuff in there, are you using Gnome?  Ubuntu probably loads all that stuff so you can run a certain number of gnome products and kde products.
Title: Re: Ubuntu Help?
Post by: mobrien_12 on 7 January 2006, 06:46
Quote from: worker201
You should have been using ethernet the whole time - much faster and more efficient than USB.

Go ahead and get the cable.

In Windows, navigate your way to the tcp/ip properties and write everything down exactly as you see it there.  Then you can set Linux to use the exact same settings.  Not sure about Ubuntu, but in Fedora, they call the gateway a 'router'.


Oh good gravy YES, listen to the man, use ethernet for both operating systems!!!

Hell, Linux will probably autodetect the network parameters via DHCP then.

One word of advice... a few crappy cable modems (like mine) need to be turned off and then back on when a new ethernet card is plugged into them.  This is no big deal... just boot up first in Windoze and if it can't see the network, switch the modem off or unplug it, count to 5, then put it back on.
Title: Posting from Linux now!
Post by: Aloone_Jonez on 7 January 2006, 18:22
You are correct, Linux did detect the network settings through DHCP. :thumbup:  :)

Now all I need to do is upgrade all the software. :(
Title: Re: Ubuntu Help?
Post by: piratePenguin on 7 January 2006, 18:34
Are you using the latest Ubuntu release? 5.10 "The Breezy Badger" is the latest, I'd hope you're using that (I think).
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 7 January 2006, 18:55
Nope, I'm using 5.04 - "The Hoary Hedgehog" Release.

How do I upgrade?
Title: Re: Ubuntu Help?
Post by: piratePenguin on 7 January 2006, 19:14
Quote from: Aloone_Jonez
Nope, I'm using 5.04 - "The Hoary Hedgehog" Release.

How do I upgrade?
I think you'll have to reinstall, but I'm no Ubuntu user.
You should get a quick response if you ask on IRC (irc.freenode.net #ubuntu).

Updating all the packages in Synaptic probably won't give you the 5.10 stuff (the new software updater and other things).
Title: Re: Ubuntu Help?
Post by: cymon on 7 January 2006, 19:50
sudo apt-get upgrade dist-upgrade
That could work, at least that's how Debian does it.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 7 January 2006, 20:02
Which gave me:
Quote from: myterminal

alun@ubuntu:~$ sudo apt-get upgrade dist-upgrade
Password:
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Another annoyance, I've managed to install FireFox 1.5 but how the fuck do I alter the launcher on Gnome?

KDE and even Xfce were easy I just right clicked on the them and changed the path to the executable, this works on the quick launch on the top panel but it dosen't work on the Applications pulldown menu, they should make this behaviour consistant.

EDIT:
How do I get root in Nautilus?
Title: Re: Ubuntu Help?
Post by: piratePenguin on 7 January 2006, 20:40
Quote from: Aloone_Jonez

Another annoyance, I've managed to install FireFox 1.5 but how the fuck do I alter the launcher on Gnome?

KDE and even Xfce were easy I just right clicked on the them and changed the path to the executable, this works on the quick launch on the top panel but it dosen't work on the Applications pulldown menu, they should make this behaviour consistant.
Ah, that annoyed the feck outta me too. I believe there are graphical editors to edit the applications menu, but I just edit the .desktop (menu) file in /usr/share/applications(/firefox.desktop) manually. It's the "Exec" value you wanna change, and I think you probably should've/could've used apt/Synaptic to get the Ubuntu Firefox release and the desktop file would've been updated automatically.
Quote

EDIT:
How do I get root in Nautilus?
sudo nautilus ?
AFAIK (I don't do/use/have this myself), "gksudo" is a graphical sudo, so if you run "gksude nautilus" from the run application (or you coul create a .desktop file for it in /usr/share/applications) it should pop up.
Title: Permissions on NTFS partition
Post by: Aloone_Jonez on 7 January 2006, 22:12
I want to set my NTFS partition mermissions to allow the user read only access.

Here's the contents of my fstab
Code: [Select]
# /etc/fstab: static file system information.
#
#            
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda5       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/hda4 /mnt/windows ntfs defaults 0 0


Currently only root and read it, how do I change this to allow anyone read access?
Title: Re: Permissions on NTFS partition
Post by: piratePenguin on 7 January 2006, 22:29
Quote from: Aloone_Jonez
I want to set my NTFS partition mermissions to allow the user read only access.

Here's the contents of my fstab
Code: [Select]
# /etc/fstab: static file system information.
#
#            
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda5       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/hda4 /mnt/windows ntfs defaults 0 0


Currently only root and read it, how do I change this to allow anyone read access?

/dev/hda4   /mnt/windows   ntfs   user      0   0
or
/dev/hda4   /mnt/windows   ntfs   user,noauto      0   0

In the second one it's not mounted on boot (you can mount it in Computer (desktop. or nautilus > places)), you'll might prefer that if you don't use it too much.
Title: Re: Ubuntu Help?
Post by: worker201 on 7 January 2006, 22:54
Wow, lot of stuff to talk about here.

1. If apt is not seeing anything new, then you may not have the repos set up right.  Fedora has places you can go to download premade repo settings and setup scripts, perhaps those exist for ubuntu?

2. Smart is a better package manager than synaptic.  It can do both yum and apt, expanding your package options.  Check it out.

3. The way piratepenguin has suggested you change permissions on your drive works, but it is not the most correct way to do it.  The most correct way would be to create a new user group, and allow this new group access.  Tutorial at http://www.userlocal.com/tips/fatmounting.php , should be readily adaptable to ubuntu and ntfs.

4. I learned a new technique the other day.  At the prompt type:
su -
enter your password, and then press enter.
Now you can launch apps from the command line as root, without causing the system to freak out.  For instance, you could run 'gedit /etc/fstab' and be able to save your changes.  Normally, simply doing 'su' alone with this command will cause a lot of memory leaks and maybe even some minor subsystem crashes.  This might help you do whatever you need to do as root to nautilus.
Title: Re: Ubuntu Help?
Post by: piratePenguin on 7 January 2006, 23:17
Quote from: worker201

3. The way piratepenguin has suggested you change permissions on your drive works, but it is not the most correct way to do it.
They're both equally correct unless you want to control who should have access, in which case you'll have to create the group.
Quote

4. I learned a new technique the other day.  At the prompt type:
su -
enter your password, and then press enter.
Now you can launch apps from the command line as root, without causing the system to freak out.  For instance, you could run 'gedit /etc/fstab' and be able to save your changes.  Normally, simply doing 'su' alone with this command will cause a lot of memory leaks and maybe even some minor subsystem crashes.  This might help you do whatever you need to do as root to nautilus.
'su' is just a quick way to get root priviliges, the enviornment (variables) doesn't change. 'su -' creates a login shell, so it's as if you logged in as root after loggin out.
Code: [Select]
piratepenguin@pcdeclan:~$ su
Password:
root@pcdeclan:/home/piratepenguin# echo $USER
piratepenguin
root@pcdeclan:/home/piratepenguin# exit
exit
piratepenguin@pcdeclan:~$ su -
Password:
root@pcdeclan:~# echo $USER
root
root@pcdeclan:~#

One problem you might have with 'su -' is the DISPLAY enviornmental variable mightn't be set, on some distros (and on my system) you'll have to 'export DISPLAY=:0.0'.
Another is the Xserver might reject the connection ("Xlib: connection to ":0.0" refused by server"). You can control the server access controls for X with the 'xhost' program ('man xhost') as the normal user, using 'xhost +' to totally disable it.
Code: [Select]
piratepenguin@pcdeclan:~$ su -
Password:
root@pcdeclan:~# echo $DISPLAY

root@pcdeclan:~# DISPLAY=:0.0 gedit /etc/fstab
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(gedit:2294): Gtk-WARNING **: cannot open display:
root@pcdeclan:~# exit
logout
piratepenguin@pcdeclan:~$ xhost +
access control disabled, clients can connect from any host
piratepenguin@pcdeclan:~$ su -
Password:
root@pcdeclan:~# cat /etc/fstab
# file system  mount-point  type   options         dump  fsck
#                                                        order

/dev/hda5      swap         swap   pri=1           0     0

/dev/hda3      /            ext3   defaults        0     0
/dev/hda7      /home        ext3   defaults        0     0
/dev/hda8      /boot        ext3   defaults,noauto 0     0

/dev/hda2      /mnt/gnu_hurd ext2  defaults,noauto 0     0
/dev/hda4      /mnt/reiser4 reiser4 defaults,noauto 0    0

/dev/hdc       /media/hdc   iso9660 defaults,noauto,user,ro 0 0
/dev/hdd       /media/hdd   iso9660 defaults,noauto,user,ro 0 0
/dev/fd0       /media/floppy auto  defaults,noauto,user 0 0

/dev/sda1      /media/external_hd vfat defaults,noauto,user 0 0

proc           /proc        proc   defaults        0     0
sysfs          /sys         sysfs  defaults        0     0
devpts         /dev/pts     devpts gid=4,mode=620  0     0
shm            /dev/shm     tmpfs  defaults        0     0
root@pcdeclan:~# DISPLAY=:0.0 gedit /etc/fstab
root@pcdeclan:~# cat /etc/fstab
# file system  mount-point  type   options         dump  fsck
#                                                        order

/dev/hda5      swap         swap   pri=1           0     0

/dev/hda3      /            ext3   defaults        0     0
/dev/hda7      /home        ext3   defaults        0     0
/dev/hda8      /boot        ext3   defaults,noauto 0     0

/dev/hda2      /mnt/gnu_hurd ext2  defaults,noauto 0     0
/dev/hda4      /mnt/reiser4 reiser4 defaults,noauto 0    0

/dev/hdc       /media/hdc   iso9660 defaults,noauto,user,ro 0 0
/dev/hdd       /media/hdd   iso9660 defaults,noauto,user,ro 0 0
/dev/fd0       /media/floppy auto  defaults,noauto,user 0 0

/dev/sda1      /media/external_hd vfat defaults,noauto,user 0 0

proc           /proc        proc   defaults        0     0
sysfs          /sys         sysfs  defaults        0     0
devpts         /dev/pts     devpts gid=4,mode=620  0     0
shm            /dev/shm     tmpfs  defaults        0     0
###### gedit was here! #####
root@pcdeclan:~#
Title: Re: Ubuntu Help?
Post by: WMD on 7 January 2006, 23:24
That apt command above is incorrect.  Doing "apt-get update" and then "apt-get dist-upgrade" simply installs all patches for the current release.  To upgrade to a whole newer version, you have to first change /etc/apt/apt.sources (or whatever its called) to reflect the new version.  This involves changing all refereneces in the file to "hoary" to, i'm guessing, "breezy".  Then, to be safe, shut down the GUI, and run the two commands at the beginning of this post.
Title: Re: Ubuntu Help?
Post by: cymon on 8 January 2006, 00:56
Sorry Aloone, my dist-upgrade was incorrect. I guess it's because us Debian users don't exactly run it very often. :)
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 8 January 2006, 03:31
I'm a bid pissed now ( 6 pionts of cider haven't helped) but I've changed it too /dev/hda4   /mnt/windows   ntfs   user      0   0 wtf this is exactly as piratePenguin suggested unless I've either fucked up or my PC hates me. :confused:
Title: Re: Ubuntu Help?
Post by: worker201 on 8 January 2006, 03:41
Make sure the user has read/write permissions to the mount directory (/mnt/windows).  Also, make sure that the user you want to use is actually a member of the group 'user' - that's one reason to make your own new group.

If you can't mount the drive by hand as root, then there is something else wrong entirely - possibly a mistake on partition numbering.  I noticed that your root is 1, NTFS is 4, and Linux swap is 5.  That sounds like a strange order.

Friends don't let friends drink and configure ;)
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 9 January 2006, 02:15
I've tried doing what you said sober and my ntfs partition mounts with user access now.

Another thing thats pissing me off is the meadia player that came with Ubuntu doesn't have any codes, wtf how pointless is this?

Can I use the ones on my Windows install and where do I download them from?

Also it doesn't actually say which codec I need to play a file so how the fuck am I supposed to know what to download?
Title: Re: Ubuntu Help?
Post by: piratePenguin on 9 January 2006, 03:03
Quote from: Aloone_Jonez

Can I use the ones on my Windows install and where do I download them from?

Also it doesn't actually say which codec I need to play a file so how the fuck am I supposed to know what to download?
http://ubuntuguide.org/#codecs
I don't think you can use the Windows ones.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 25 January 2006, 21:58
I've tried following the tutorial you've linked me too, I pasted the text directly into the terminal and it all seem to install (apart from one or two packages) but I still get the same error message when the media player trys to play an .mpg and I've tried several different files.

Also how do I quit a program if it crashes or becomes unresponsive?
Title: Re: Ubuntu Help?
Post by: H_TeXMeX_H on 26 January 2006, 03:40
You should try xine (http://cambuca.ldhs.cetuc.puc-rio.br/xine/) or mplayer (http://www.mplayerhq.hu/homepage/design7/dload.html) ... they are both capable of using Window$ codecs :D ... they have never failed me ...
Title: Re: Ubuntu Help?
Post by: mobrien_12 on 26 January 2006, 05:12
Xine and mplayer are very nice.  I find mplayer to be a little more smooth, but xine has some features mplayer doesn't, so I keep them both.
Title: Re: Ubuntu Help?
Post by: piratePenguin on 26 January 2006, 18:13
Quote from: Aloone_Jonez
I've tried following the tutorial you've linked me too, I pasted the text directly into the terminal and it all seem to install (apart from one or two packages) but I still get the same error message when the media player trys to play an .mpg and I've tried several different files.
I'm not sure on what codecs are for what kinda files. Try searching in synaptic for "mpg" or "mpeg" or something.

I've used both mplayer and xine and never really had that great of experiences with them - but all user-related stuff (like codecs). ATM I'm using Totem with the gstreamer backend.
Quote

Also how do I quit a program if it crashes or becomes unresponsive?
In the GNOME system monitor find the program, right click and "kill process".
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 26 January 2006, 20:20
I might wait untill I get my other PC tomorrow then I can have even more fun with other distros that come with codecs, it's nothing too important anyway - just a few blue movies.
Title: Re: Ubuntu Help?
Post by: worker201 on 26 January 2006, 22:27
Exactly what media player is it?

If you know what codecs you need, you can usually find a package that provides them.  What are you trying to watch, some sort of Matroska thing?  Perhaps WMV?  If a normal mpeg doesn't play, your system is fucking broken.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 15 March 2006, 21:04
Bump.

It's Totem Movie Player, I think I might try a manual installation, I went into Totem selected preferences and clicked on add proprietary plugins and a directory popped when I can install them. I'm assuming I can just copy the files but where can I donwload a simple archive containing them?
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 19 March 2006, 01:25
As nobody knows/cares I think I might be able to sort this out myself if you can answer this question:

I have a Knoppix CD where abouts are the codecs stored and what file extension do they normally have if any?

Failing that I'll copy them from my Windows directory on dirve C:, if you could tell me their location/extention in Windows.
Title: Re: Ubuntu Help?
Post by: piratePenguin on 19 March 2006, 01:53
Quote from: Aloone_Jonez
As nobody knows/cares I think I might be able to sort this out myself if you can answer this question:

I have a Knoppix CD where abouts are the codecs stored and what file extension do they normally have if any?

Failing that I'll copy them from my Windows directory on dirve C:, if you could tell me their location/extention in Windows.
They would be somewhere in /usr/lib, I would guess.
With xine on this system the codecs are in /usr/lib/xine/plugins/1.1.0/
With gstreamer on this system the codecs are in /usr/lib/gstreamer-0.8/
They're .so libraries.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 19 March 2006, 17:28
It still doesn't fucking work, I give up. :mad:

How about OpenOffice 2.0.2?

I've downloaded it the .tar.gz from the OO website (http://download.openoffice.org/2.0.2/index.html) and I've read the readme but there're no clear instructions on how to install the fucker does anyone have a clue?
Title: Re: Ubuntu Help?
Post by: piratePenguin on 19 March 2006, 17:58
Quote from: Aloone_Jonez

How about OpenOffice 2.0.2?

I've downloaded it the .tar.gz from the OO website (http://download.openoffice.org/2.0.2/index.html) and I've read the readme but there're no clear instructions on how to install the fucker does anyone have a clue?
Search for openoffice.org2 in the repositories, using synaptic.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 19 March 2006, 18:08
Not found - I don't have an existing version of OO 2.x on the system.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 19 March 2006, 20:23
I've have a look through the archive I've downloaded and it just contains rpms, how do I install these on Ubuntu?
Title: Re: Ubuntu Help?
Post by: piratePenguin on 19 March 2006, 20:50
Quote from: Aloone_Jonez
I've have a look through the archive I've downloaded and it just contains rpms, how do I install these on Ubuntu?

Install rpm if it isn't already installed. Then use 'rpm -i package.rpm' to install. Not sure what order to install them in though, just try any first.
Title: A bitch, whine and some help please.
Post by: Aloone_Jonez on 30 April 2006, 14:07
First I want to get some shit off my chest that's been bothering me for sometime about Ubuntu so I'll get the whine and bitch over with first.

I've installed the latest Ubuntu release and it's slogen "Linux for human beings" is a fucking joke, it isn't intuitve or easy to administer, "Linux for geeks" would be far more appropriet. Windows is far easier to learn I don't care what you say if you say otherwise then you're wrong and no it isn't because I'm used to Windows, I've used Acron Risc OS and that was easy, then I used MS-DOS which was harder and now Ubuntu which is just as difficult.

An intuitive OS would allow you to download a package, click on it and it's install for you, may be after prompting for the root password.

An intuitive OS would allow you to easilly configure the application launcher using the GUI.

An intuitive OS would allow you to setup the user access permissions for a dirve via the GUI.

Right so we've established that Ubuntu isn't intuitive or user friendly, that doesn't make it a bad OS. I wasn't expecting Linux to be intuitive or user friendly and it doesn't have a reputation for being easy to use I'm just annoyed that thay make this claim when the reverse is true.

Finally why to so many distros come with old software?

This seems to be the case with almost every distro I've tried, why?

The worst was Knoppix which still ships with OOo 2 beta I mean aren't beta releases not supposed to be suitable for production use as they are usally full of bugs?

Right now for the help part.

How do you install the rpm manager?

How do I go about upgrading all the software?

Ubuntu came with OOo 2.0 (well 1.9.129 actually) and I want to upgrade to OOo 2.0.2, Firefox 1.0.8 and I need the lastest version infact I'd like to upgrade even further to Opera if it's possible, (I've downloaded the package and I don't know how you install it).

Also I'd like to have another go at fixing the codec problems to, has anyone thought of anything new I could try?
Title: Re: Ubuntu Help?
Post by: Refalm on 30 April 2006, 15:01
Have you tried Synaptic yet? ;)
Title: Re: Ubuntu Help?
Post by: GenuineAdvantage on 30 April 2006, 15:49
In ubuntu there is no RPM manager, I don't think. There is a converter to debian package called alien. Like he said, go to the synaptic manager and search for 'alien' and install it. No gui for it though, but it's fairly simple to run. Just type alien (rpm name), then you'll usually get a .deb file. the run

dpkg -i file.deb

with sudo at the beginning of course. This is no guarantee that the package will install though. Usually because of dependency issues. For instance, on ubuntu 5.10 I tried to install a deb I made from an rpm but the sound libraries on 5.10 were too old and not in the repositories (i.e. synaptic). the new beta version of ubuntu seems to be able to handle it but I didn't get it, and doubt I will until its out of beta. Trying other distros till then.

Btw as far as Firefox, I recommend to just install the true newest version 1.5.0.2 since it's faster than the ubuntu one.
If you want to do it, it's not that hard with directions:
https://wiki.ubuntu.com/FirefoxNewVersion?highlight=%28firefox%29
Somewhat of a read but as good as done if directions are followed.
Title: Re: A bitch, whine and some help please.
Post by: H_TeXMeX_H on 30 April 2006, 19:27
Quote from: Aloone_Jonez

An intuitive OS would allow you to download a package, click on it and it's install for you, may be after prompting for the root password.

An intuitive OS would allow you to easilly configure the application launcher using the GUI.

An intuitive OS would allow you to setup the user access permissions for a dirve via the GUI.

Fedora can do all 3 of these :D

Quote from: Aloone_Jonez

Right now for the help part.

How do you install the rpm manager?

How do I go about upgrading all the software?

Ubuntu came with OOo 2.0 (well 1.9.129 actually) and I want to upgrade to OOo 2.0.2, Firefox 1.0.8 and I need the lastest version infact I'd like to upgrade even further to Opera if it's possible, (I've downloaded the package and I don't know how you install it).

Also I'd like to have another go at fixing the codec problems to, has anyone thought of anything new I could try?

RPM MANAGER & UPDATE

Get RPM if you don't already have it:

http://packages.ubuntu.com/cgi-bin//search_packages.pl?version=all&subword=1&exact=&arch=any&releases=all&case=insensitive&keywords=rpm&searchon=names (http://packages.ubuntu.com/cgi-bin//search_packages.pl?version=all&subword=1&exact=&arch=any&releases=all&case=insensitive&keywords=rpm&searchon=names)

might wanna look at yum: (this will let you update things too as long as you have repos to update from, just run "yum update")

http://packages.ubuntu.com/dapper/admin/yum (http://packages.ubuntu.com/dapper/admin/yum)

or apt (never used it but they say it's good, just run "apt-get update")

http://packages.ubuntu.com/cgi-bin//search_packages.pl?version=all&subword=1&exact=&arch=any&releases=all&case=insensitive&keywords=apt&searchon=names (http://packages.ubuntu.com/cgi-bin//search_packages.pl?version=all&subword=1&exact=&arch=any&releases=all&case=insensitive&keywords=apt&searchon=names)

OPENOFFICE2.0.2

Ok, well download OpenOffice from the official site, it should contain lots of rpms. Extract the tgz, then go into "RPMS" and delete "desktop-integration". Now you have 2 choices on how to install this, through rpm or manually:

RPM: Open a terminal, cd into RPMS and type "rpm -Uvih *rpm" (no quotes) then go run "/opt/openoffice.org2.0/program/soffice" no quotes. If you want better integration make a launcher for it.

Manually: Open a terminal, cd into RPMS and extract all the rpms into one folder by running the following in the terminal:

ls *.rpm > /tmp/InstallOOO.txt

then run:

while read line
do
 rpm2cpio "$line" | cpio -id --quiet
done < /tmp/InstallOOO.txt

and finally:

rm -f /tmp/InstallOOO.txt

move the newly made "opt" folder anywhere you want and run soffice inside "/PATHTOTHEOPTFOLDER/opt/openoffice.org2.0/program/soffice"

MPLAYER
Ok, go to:

http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=mplayer&searchon=names&subword=1&version=all&release=all (http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=mplayer&searchon=names&subword=1&version=all&release=all)

and install the mplayer packages for ubuntu, I never got mplayer to compile properly so I dunno how to help you compile it :( Make sure you get the gui version or gmplayer.

Now for the codecs download them from here:

http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20050412.tar.bz2 (http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20050412.tar.bz2)

untar them and put them in /usr/lib/codecs or /usr/lib/win32 either one should work, but if it doesn't try the other.

OPERA

goto http://www.opera.com/download/?platform=linux (http://www.opera.com/download/?platform=linux)

choose Ubuntu and your version, it's a .deb and should install just fine. If not check the "Download this package in TAR.GZ format" option, untar, and run locally.

FIREFOX 1.5 (it has better support for plugins even though it tends to crash a lot more often ... I recommend crash recovery (https://addons.mozilla.org/firefox/1955/) extention)

goto http://www.mozilla.com/firefox/ (http://www.mozilla.com/firefox/)

download, untar, run locally.

Good Luck ;)
Title: Re: A bitch, whine and some help please.
Post by: Duo Maxwell on 30 April 2006, 23:14
Aloone, theres also these options automatix http://ubuntuforums.org/forumdisplay.php?f=77 and easybuntu http://ubuntuforums.org/forumdisplay.php?f=86

Theres some interesting 3rd party projects going on over there, I'm just waiting for Dapper to be released officially, tho I am running the current version on my old PC, I just don't use it often enough, the iBook may be slower but I still like it so much better...
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 1 May 2006, 00:41
The EasyUbuntu thing worked, I can now watch porn on Ubuntu thanks!

H_TeXMeX_H,
I'll have a try tomorrow, it looks kind of long winded but it's wort a shot.

EDIT:
I've lost the OOo download when I upgraded so I had to download it again and I'm pleased to see it now comes in .deb flavour too, this saves me from messing around with rpms but I might give the rpm thing a go as other software might not give me a choice.
Title: Re: Ubuntu Help?
Post by: piratePenguin on 1 May 2006, 00:58
Quote from: Aloone_Jonez
The EasyUbuntu thing worked, I can now watch porn on Ubuntu thanks!
Perhaps you should try Lesbian GNU/Linux (http://www.lesbian.mine.nu/), but perhaps all of us should.
Title: Re: Ubuntu Help?
Post by: H_TeXMeX_H on 1 May 2006, 01:43
Uhhhh ... right ...
Title: Re: Ubuntu Help?
Post by: piratePenguin on 1 May 2006, 01:54
Quote from: H_TeXMeX_H
Uhhhh ... right ...
Just to clarify: I said "perhaps all of us should" just because Aloone isn't the only person here who uses his computer to look at porn...

nothing.. else....

BTW I've never used that distro. It's probably shit. That is if it's not a joke...
Title: Re: Ubuntu Help?
Post by: Duo Maxwell on 1 May 2006, 02:17
http://en.wikipedia.org/wiki/List_of_operating_systems#Fictional_operating_systems
Title: Re: Ubuntu Help?
Post by: H_TeXMeX_H on 1 May 2006, 03:27
Hah ... it is a joke ... :D (it fooled me) it isn't all that far-fetched if you think about it
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 1 May 2006, 18:48
I've seen it before and it fooled me too. :D

I've extracted the files in the OOo .tgz file and there're so many of them:

openoffice.org-base_2.0.2-5_i386.deb
openoffice.org-calc_2.0.2-5_i386.deb
openoffice.org-core01_2.0.2-5_i386.deb
openoffice.org-core02_2.0.2-5_i386.deb
openoffice.org-core03_2.0.2-5_i386.deb
openoffice.org-core03u_2.0.2-5_i386.deb
openoffice.org-core04_2.0.2-5_i386.deb
openoffice.org-core04u_2.0.2-5_i386.deb
openoffice.org-core05_2.0.2-5_i386.deb
openoffice.org-core05u_2.0.2-5_i386.deb
openoffice.org-core06_2.0.2-5_i386.deb
openoffice.org-core07_2.0.2-5_i386.deb
openoffice.org-core08_2.0.2-5_i386.deb
openoffice.org-core09_2.0.2-5_i386.deb
openoffice.org-core10_2.0.2-5_i386.deb
openoffice.org-debian-menus_2.0.2-5_all.deb
openoffice.org-draw_2.0.2-5_i386.deb
openoffice.org-emailmerge_2.0.2-5_i386.deb
openoffice.org-gnome-integration_2.0.2-5_i386.deb
openoffice.org-graphicfilter_2.0.2-5_i386.deb
openoffice.org-impress_2.0.2-5_i386.deb
openoffice.org-javafilter_2.0.2-5_i386.deb
openoffice.org-math_2.0.2-5_i386.deb
openoffice.org-pyuno_2.0.2-5_i386.deb
openoffice.org-spellcheck_2.0.2-5_i386.deb
openoffice.org-testtool_2.0.2-5_i386.deb
openoffice.org-writer_2.0.2-5_i386.deb
openoffice.org-xsltfilter_2.0.2-5_i386.deb

Which packages do I need to install and is there a specific order in which I need to install them?

Is dpkg -i *.* ok or do I need to do something else?
Title: Re: Ubuntu Help?
Post by: H_TeXMeX_H on 1 May 2006, 19:02
Just do "dpkg --install *.deb" (no quotes) that should work. (the order you install them in is not important)

Really I liked it better when they just made a simple archive you could extract and run right away, now I gotta extract all the rpms and then archive it back into a .tgz, too much of a hassle I say.
Title: Re: Ubuntu Help?
Post by: Orethrius on 1 May 2006, 19:36
Portage.  Yet another reason why I use Gentoo.  ;)
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 2 May 2006, 00:17
Thank you for all your help I've finally well nearly got it set up how I want it, Opera and OpenOffice both work fine,all that's left is Firefox (which I don't really need except for the odd Opera unfriendly page) but it shouldn't be aproblem - I've done it beofre so I'll do it again.

H_TeXMeX_H,
I agree with you about OpenOffice, I preferred the binary installer to fucking areound with packages, yes it maybe a Windows-like way but it's much better.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 3 May 2006, 22:16
How do you resume torrents when you've started to download them but you needed to reboot?

The standerd Bittorrent program I use for Windows just restarts them when I load it up be the Gnome one doesn't it prompts me for a Bittorent meta file.
Title: Re: Ubuntu Help?
Post by: WMD on 4 May 2006, 00:30
Just reload the same torrent file from before.  It should resume fine.  That's what it does for me.
Title: Re: Ubuntu Help?
Post by: Aloone_Jonez on 4 May 2006, 15:19
That worked, thanks.