The Linux Community Forum

Support => General Help & Advice => Topic started by: Smither on March 20, 2010, 02:34:53 pm

Title: My general help questions
Post by: Smither on March 20, 2010, 02:34:53 pm
I've noticed I ask a lot of questions, most of which don't warrent a new topic, so I made this topic.
(Currently dual-booting 7 (64bit) & Ubuntu Studio (64bit) on a 4GB Intel Core 2 Duo machine with D-link wireless & an 8800.)

- First, Wine.
I know it's been explained to me before, but I still didn't quite get it. How do I fully switch from latest version to stable version? (and visa versa for future reference.) I've tried just using the Ubuntu Software centre, but it somehow doesn't fully remove either, so I'm left with a stable version that won't run itself, and a latest version that won't run the programs I want to run (Steam, specifically that chat feature & the Touhou games).

- Second, Firefox add-ons.
At the moment, I have the download status bar, Java, various adobe things & Foxit reader on 7 (used to have No-script & Foxy proxy for security in XP, but I don't really know how they work and now no-script is getting annoying & after turning Foxy proxy on, nothing worked) and on Ubuntu I only have a flash player & a pdf reader.
What does everyone recomend for Linux and (if I may ask) Windows?
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on March 20, 2010, 02:58:55 pm
WINE:
To COMPLETELY remove WINE, uninstall it from the synaptic package manager (NOT the software centre), mark it for 'complete removal', and then go to your 'home' directory, and delete the .wine directory (this directory is hidden, so you will have to enable 'show hidden files' from 'View' on the toolbar) .

Then reinstall the version you want (preferably from the synaptic package manager) then open a terminal and type:
Code: [Select]
winecfg
to configure WINE (and recreate the .wine dir).

BE AWARE: deleting the .wine directory will delete ALL the windows programs that you previously installed with wine, and the wine configuration files.

As for FireFox... I don't use firefox anymore, Google Chrome is MUCH faster
Title: Re: My general help questions
Post by: Smither on March 23, 2010, 07:17:58 pm
Thanks for that, I'll have to start actually trying the solutions people give me. ^^

Anyway, new story. I'm back at home now and I'd try some things out while I'm here.

- Third, connecting.
I've got Windows7 to connect to our BT voyager router (after a lot of bother then eventually realizing we just need to enter the code on the bottom of the router), but I'm having problems with Ubuntu.
(click to show/hide)

Any help?

- Fourth, Firefox.
Foxy proxy and No script are giving me real grief now, and disabling them makes it worse. 4 out of 5 times, after I post on any forum, the post gets lost and I can't recover it. :(

- Fifth, where the fun begins. BD
We've had this Dell dimension 3100 since about 2004, and I've decided to try and convert my family (who are all PCs, even though all our relatives are macs) to Linux by getting Ubuntu to work on it.
(click to show/hide)
It still runs aggravatingly slow, though it's better now than it was about 2 hours ago before updating, and I'm wondering if there's something I can do to the software to make it run any better. I read on another website (http://opensource.bureau-cornavin.com/belkin/index.html) that there can be some problems with the driver. I'm hoping to get everything to run better than XP.

- Sixth, users & sharing.
There are now 4 computers in this house all using the same Router.
(click to show/hide)
If, say, they all used Ubuntu, would it be possible to create some sort of network? I've never bothered with the concept of users until now, even back in XP, we all just used the same admin account.
a) I want there to be 6 accounts on this computer at least (not including the root), one for every member of this house with the same access as I do now with the default accout and a guest account. I also want this account deleted because it's name as the root password (yes, I was an idiot). Just so everyone can stay logged in to they're own email/facebook/etc. without having to log out of everything whenever someone wants to use the computer.
b) After that, would it be possible to let everyone sign in from every computer in this house? To whatever extent thats achievable . . .

- Seventh, email.
I can loggin to my yahoo chat account with Empathy, but would it be possible to do the same with my yahoo email & Evolution (or Thunderbird)? Would this also be possible for my brother & sister who use MSN/hotmail?
Title: Re: My general help questions
Post by: goldendragonuk on March 23, 2010, 07:32:21 pm

- Sixth, users & sharing.
There are now 4 computers in this house all using the same Router.
If, say, they all used Ubuntu, would it be possible to create some sort of network? I've never bothered with the concept of users until now, even back in XP, we all just used the same admin account.
a) I want there to be 6 accounts on this computer at least (not including the root), one for every member of this house with the same access as I do now with the default accout and a guest account. I also want this account deleted because it's name as the root password (yes, I was an idiot). Just so everyone can stay logged in to they're own email/facebook/etc. without having to log out of everything whenever someone wants to use the computer.
b) After that, would it be possible to let everyone sign in from every computer in this house? To whatever extent thats achievable . . .

i just set up a home network used an old box i had lying around used that as a server put all the files we need on that one and then we have our own accounts on our own computers and connect through a network drive for the shares

my server is linux wifes laptop is windows and my pc at current is windows and although had some issues with shared folder untill i learned about nautilus (thanks mark) all seems to be running smoothly (wifes using wireless on her laptop to connect to server). also on the server each user (me and wife) has their own home directories where we can store stuff :) wasnt to hard to setup. i used samba to link the linux machine to the windows
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on March 23, 2010, 09:28:49 pm
Third Connecting:

As long as you've not deleted/overwritten the network settings for your home network, all you should have to do is disable the proxy settings in firefox.

Open firefox then click Edit > Preferences > Advanced > Network > then the 'Settings' button under 'Connection'...then put the tick in the 'No Proxy' box, and click OK.

Before you put the tick in the 'No Proxy' box write down the proxy settings in case it removes them.

Your internet should now work at home...to make it work at work again you will have to put the tick back in the 'Manual proxy configuration' box

Or use a different browser for home, such as Opera or Chrome, 'without' a proxy server set.

Another option would be to add another user for home or work, and have different settings in Firefox for each user... which is probably the best option, as you can change the setting for anything when logged in as 'work'(user) and then when you log back in as 'normal' user your setting will not have changed.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on March 23, 2010, 10:01:50 pm
Fifth, where the fun begins:

If you are running Ubuntu Karmic 9.10, the Belkin Wireless G USB adapter will be detected as a Ralink rt73 (this is the chip used) and will work immediately... This adapter IS supported in 9.10, so this is unlikely to be the cause of the slowdown.

I take it you mean the internet is slow?... things to check:
how far from the router (signal strength)
is anyone else connected to the net, and what are they doing (downloading large files)
if there is another PC on the net, is it a windows PC, and are you SURE it is malware free (malware often uses bandwidth)

Make sure all other PCs are switched off, and see if your connection is still slow, if not it isn't a problem with this PC.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on March 23, 2010, 10:09:07 pm
Sixth, users & sharing:

If all you want is internet access from every computer, you don't 'need' them networking (though it can be done), as long as you have a router, the router should take care of network address translation (NAT) and give them all internet access.

Multiple users on a single computer - Yes this can be done very easily too.

Can you let us know exactly what you are trying to achieve.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on March 23, 2010, 10:13:50 pm
Seventh, email

Yes both Evolution or Thunderbird can connect to Yahoo email, as either IMAP or POP3 clients, but hotmail is different, currently there are NO IMAP server settings available for hotmail though I do believe you can connect as a POP3 client.

Apparently there ARE IMAP server settings for Hotmail+, but not 'vanilla' Hotmail
Title: Re: My general help questions
Post by: goldendragonuk on March 24, 2010, 01:17:04 am
Seventh, email

Yes both Evolution or Thunderbird can connect to Yahoo email, as either IMAP or POP3 clients, but hotmail is different, currently there are NO IMAP server settings available for hotmail though I do believe you can connect as a POP3 client.

Apparently there ARE IMAP server settings for Hotmail+, but not 'vanilla' Hotmail

this is correct currently there are no IMAP settings for users on free hotmail (tried setting up email other day) had to use pop3 which was annoying so pretty much ditched hotmail and used my google account which also has IMAP settings. (don't fancy paying M$ for something that's available free)

just an added note for "Fifth, where the fun begins:"

try restarting your router this generally fixes alot of probs with sluggish internet connections
Title: Re: My general help questions
Post by: Smither on March 24, 2010, 11:48:25 am
Fourth:
Ok, I'm still having issues with posts being lost but it's less frequent (though still mostly on this forum :( ).

Fifth:
Seems our internet was borking yesterday :/. I guess I'm just too used to a dual-core and the Celeron is the problem for me.

Sixth:
After sleeping on it, I've decided to scrap the multicomputer thing. At the moment, there are 3 people (mother, brother & sister) using that computer and I only think that number will go down (well, I will occasionally use it to do maintanece like backing-up). I want it so that when each of them login, they're automatically logged into their chat, email, mybook, facespace or whatevertheybloodyuse, and so they (especially my mum with her ebay & amazon acounts) don't to have to worry about signing in and out of 6 different places everytime there's a change of user. Also would be nice if changing the appearence of one acount changes it for the others ('casue that really bothers my brother).
I want there to be only one set of programs that everyone can use and everyone can add to for everyone to use, for all users to be locked out of other's acounts, files, and everything specific to that user, but for everyone to have the root access like I do now on my computer (because mum might phone me with a problem and I'd need to get her to do it from her acount when everyone else is out). So 4 users, each with the enough access to fix any problems or add programs but no access to others acounts, but only one of them (mine) that can change users, groups & maybe unlock other acounts for when someone inevitable forgets their password.

Seventh:
IMAP, POP3? What? O~o;
I think I'll deal with this a little later . . . ^^;
Title: Re: My general help questions
Post by: goldendragonuk on March 24, 2010, 02:41:30 pm
Sixth:
After sleeping on it, I've decided to scrap the multicomputer thing. At the moment, there are 3 people (mother, brother & sister) using that computer and I only think that number will go down (well, I will occasionally use it to do maintanece like backing-up). I want it so that when each of them login, they're automatically logged into their chat, email, mybook, facespace or whatevertheybloodyuse, and so they (especially my mum with her ebay & amazon acounts) don't to have to worry about signing in and out of 6 different places everytime there's a change of user. Also would be nice if changing the appearence of one acount changes it for the others ('casue that really bothers my brother).
I want there to be only one set of programs that everyone can use and everyone can add to for everyone to use, for all users to be locked out of other's acounts, files, and everything specific to that user, but for everyone to have the root access like I do now on my computer (because mum might phone me with a problem and I'd need to get her to do it from her acount when everyone else is out). So 4 users, each with the enough access to fix any problems or add programs but no access to others acounts, but only one of them (mine) that can change users, groups & maybe unlock other acounts for when someone inevitable forgets their password.

In ubuntu karmic (cant say for any other system only used ubuntu) you can go to System>Administration>Users and Groups (click the keys at the bottom type password and you can edit remove add users)

from here there's a few settings you can change ie for access purposes. may i suggest not giving root with root they can change accounts passwords and if knowledgeable enough (or even a quick google search) they can enter other family members folders if you don't allow them root this isn't possible.

Im sure i read somewhere you can actually restrict what commands to certain groups but if i recall it requires a long and painful process.

Best thing to do set it up correctly the first time and you shouldn't have an issues with not giving them root access.

as for remembering passwords for ebay, amazon etc just let firefox remember them each visit that way when your mum opens up ebay will auto log her in :)

Seventh:
IMAP, POP3? What? O~o;
I think I'll deal with this a little later . . . ^^;

these are just email protocols

Internet Message Access Protocol (IMAP)
Post Office Protocol (POP)

For example you have folders for certain emails to be kept in like receipts etc. Hotmail, Gmail and Yahoo and no doubt all the little email providers allow this

With IMAP set up, this will allow you to see the whole folder structure you have and keep all email within them folders.

However POP3 doesn't see the folders just the emails which will result in a mess of emails not knowing which folder they belong into etc.

Hope that explained it.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on March 24, 2010, 07:22:50 pm
Sixth:

You are asking for 2 conflicting things here... first you say give everyone root access, then you say lock them out of other users accounts... root access specifically means 'FULL access to everything with FULL privileges' so effectively you can have one or the other.
It would be possible to unlock/activate the root account, then lock down user accounts requiring them to log out then log back on as root, but even then you would be giving them the root password and tempting them to log in as root every time for added 'power' (which is dangerous).
Another way for you to be able to 'fix' their problems from 'your' house without giving them root access would be to create an 'admin' account (only you know password) with root access, and RDP into it from your house, and lock down their user accounts.

When you say automaticaly logged in to their chat etc... just autostart these apps in individual user accounts.

As far as I'm aware, without root access there is no way to have one users appearance changes act system wide.

Same for program installation...without root access... no way to install programs system wide.

So your first decision really needs to be, do you want to allow them system wide root access... they would still have their own home folders/settings, but 'could' if they wanted to do ANYTHING.
Title: Re: My general help questions
Post by: Smither on March 27, 2010, 02:02:28 am
Gah, have to remember to come to this place more.
So your first decision really needs to be, do you want to allow them system wide root access... they would still have their own home folders/settings, but 'could' if they wanted to do ANYTHING.

Sixth:
OK, easier question.
I have a mother, brother & sister who all share the same half-decade old Dell Dimension.
My brother is warming to Linux because A, it's working now, and B, it's the first option in the GRUB. :|

Currently, they all use that same Admin acount for everyday use (lol, wtf MS?), and they all have lots of websites they sign into. Bearing in mind that my mum has difficulty remembering her +20 passwords, and stays signed into most, yet has to sign out of some crucial ones for peace of mind, what would you recomend?
Also, is it possible to transfer all her favourites/bookmarks from Win IE to Linux Firefox?

Eighth:
(click to show/hide)

So then I had the idea to use Ubuntu Studio's Jack. I could start a Touhou game in window mode (if it doesn't crash linux completely, which it has done), get wine to send the game's audio to the Jack audio server instead of the output jacks, then record it to an audio file of my choice, play the game to get the SFX I want to play, then we could edit & convert that file later...

I just want to know, is this possible, or am I asking too much of myself & my computer?
Title: Re: My general help questions
Post by: goldendragonuk on March 27, 2010, 02:26:13 am
Also, is it possible to transfer all her favourites/bookmarks from Win IE to Linux Firefox?


just wrote this out quick but thought i would add it to tips and tricks section for others

http://forum.linux.co.uk/index.php/topic,492.0.html

just follow the steps quickest way is using a USB thumb drive.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on March 27, 2010, 05:10:47 am
To capture audio directly from your soundcard to a file:

First create a file in you home directory called :
.asoundrc   (make sure you include the full stop)
if one doesn't already exist (remember, you will need to enable 'show hidden files')

Copy the following to the .asoundrc file:
Code: [Select]
pcm.copy {
type plug
slave {
pcm hw
}
route_policy copy
}
and save the file.

Now in a terminal type:
Code: [Select]
alsamixer
then hit the 'tab' key  once to select 'Capture' (at top).

now use the arrow keys to move to 'Capture' (at bottom) and hit the spacebar to select it, now use the PgUp/PgDn keys to raise the volume to about 33%

Now use the arrow keys again to move to 'Mix' and hit the spacebar to select it.

Now if you type:
Code: [Select]
arecord -d 10 -c 2 -f S16_LE -r 44100 -t wav -D copy foobar.wav
in a terminal, it will record 10 seconds of audio from your soundcard to a file called foobar.wav and place it in your home directory.

If you require longer than 10 seconds, just change the '-d' parameter in the command from '10' to your required length.

If you aren't sure how long you want to record, set the '-d' parameter to any large value... say 1800 (half hour)
This way when you have reached the end of the recording you can just hit 'Ctrl-C' to quit.

BE AWARE - The audio is saved in .WAV format, so 10 secs = approx 1.5mb... 30mins = approx 270mb
And whilst recording make sure the volume in your system tray isn't set too high... about 30% will do
Title: Re: My general help questions
Post by: Smither on March 27, 2010, 12:36:44 pm
IE yo Firefox fix.
Godlike knowledge on recording your soundcard.
Thanks guys, the group and I really appreciate it. ^^
Title: Re: My general help questions
Post by: goldendragonuk on March 28, 2010, 09:45:31 pm
no problem's :) need anything else don't hesitate to ask :)
Title: Re: My general help questions
Post by: Smither on April 05, 2010, 12:51:18 pm
*sigh* A plethora of problems . . .

Ninth, I formatted the Dell's hard drive (after dumping all 60GB of it's contents onto an external), and tried to put Ubuntu back on it, but the DVD drive in it is shot so it can't read DVDs for extended periods of time, so I plugged the HDD into MY computer, and used my optical drive. This worked fine for the Dell, which is now utterly fine running Ubuntu, but it messed up my GRUB. It just gave me an error message everytime it tried to boot up, so I had to put another partition with linux on it.

Long story short, my computer's working fine now and I can boot up 7, Ubuntu Studio and both Ubuntu 9.10's, but if it happens again, where I need to fix the GRUB, is there a less . . . crude solution than just putting another Linux on it?

Tenth, I was going to just post a problem with wine, but now EVERY thing is just . . . wrong! Dx
-Firefox crashes every time I move away from a youtube video. I can watch it, but if I try to close the window or the tab, or click back, or click another video, it freeses and I have to Force Quit.
-There's no sound, not from Skype, not from Youtube vids, not from MuseScore. All volume adjustments are at max, the desktop icon, my headphone slider (which are plugged into the rear output jack), all the sliders in the sound preferences. Sound works fine on Win7, but nothing from Ubuntu Studio.
- Everything's working a lot slower. I've typed some of this post very quickly and it's occasionally taken a few seconds for what I typed to appear, programs are loading slower.
- The update manager couldn't connect to search for any updates.
Help! ;_;
Title: Re: My general help questions
Post by: Mad Penguin on April 05, 2010, 02:40:26 pm
Mmm, sounds like the experience could be a little smoother for you .. (!)

Re; grub

When installed the "new" grub system creates a file called /boot/grub/grub.cfg .. this should contain all the profiles your machine "knows" about including your multi-boot / windows options. If you get to a point where Windows (or something else) has screwed the boot process to the point where grub can no longer process this file, the solution is to boot off the live CD, mount your root filesystem, then re-run grub-install, which 'should' re-activate your grub configuration.

For example, booting off a CD and assuming you have a single SATA drive with a boot partition, swap partition and root partition;

Starting a terminal session, Applications -> Accessories -> Terminal

Code: [Select]
mount /dev/sda3 /mnt
chroot /mnt
mount /dev/sda1 /boot
grub-install /dev/sda
umount /mnt/boot
exit
umount /mnt
<reboot>

Notes; fdisk -l will list all the hard drives you have and the respective partitions, for example;
Quote
$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0001dfa3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          33      265041   83  Linux
/dev/sda2              34       52251   419441085   8e  Linux LVM
/dev/sda3           52252       55898    29294527+  83  Linux
/dev/sda4           55899      121601   527759347+   5  Extended
/dev/sda5           55899       56421     4200966   82  Linux swap / Solaris
/dev/sda6           56422       66865    83891398+  83  Linux
/dev/sda7           66866       79920   104864256   83  Linux
/dev/sda8           79921       92975   104864256   83  Linux
/dev/sda9           92976      121601   229938313+  83  Linux

Re; further problems - something on your machine is screwed or crashed .. assuming a reboot has not fixed your problems;

Boot from the live CD, OR boot the machine single into single user mode.
(Press ESC while booting, then select Ubuntu recovery mode from the menu)

From the terminal prompt, do;
Code: [Select]
fsck -f /dev/sdxx

For each of your Linux partitions .. it does sound rather like something had been corrupted. Failing this, boot up the machine proper and start a terminal session, enter 'root' user mode by typing "su" and entering the root password. Then do;
Code: [Select]
apt-get install smartmontools
When this completes do;
Code: [Select]
smartctl -a /dev/sda
And see what it says .. specifically you're looking at the lines numbered: 1, 5, 194, 195, 196, 197, 198, 199 and 200. Typically these numbers should be zero apart from 194 which should probably be in the 20-50 range. This is what a healthy disk looks like;
Quote
  1 Raw_Read_Error_Rate     0x002f   100   100   051    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0026   252   252   000    Old_age   Always       -       0
  3 Spin_Up_Time            0x0023   079   073   025    Pre-fail  Always       -       6395
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       6
  5 Reallocated_Sector_Ct   0x0033   252   252   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   252   252   051    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0024   252   252   015    Old_age   Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       2241
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   252   252   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       7
191 G-Sense_Error_Rate      0x0022   252   252   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0022   252   252   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0002   064   058   000    Old_age   Always       -       36 (Lifetime Min/Max 20/42)
195 Hardware_ECC_Recovered  0x003a   100   100   000    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   252   252   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   252   252   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   252   252   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0036   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x002a   100   100   000    Old_age   Always       -       0
223 Load_Retry_Count        0x0032   252   252   000    Old_age   Always       -       0
225 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       7

From a drive operating Ok, but under a little scrutiny;
Quote
  1 Raw_Read_Error_Rate     0x002f   100   100   051    Pre-fail  Always       -       234

hth.
Title: Re: My general help questions
Post by: Smither on April 05, 2010, 04:38:22 pm
(click to show/hide)

T~T
(click to show/hide)

EDIT: And now Firefox & sound are working fine . . . wtf?
Took longer than usual to boot past the "UBUNTU STUDIO" screen (didn't show that "filechecking...12%" thing it does sometimes, though), but . . . still . . . wtf?

EDIT2: Rawr! >;c
(click to show/hide)

I should emphasis that I've been using Win7 for the past fortnight because I've been dipping into my games every 2 or so hours, and I have not had a single problem until I tried too write put some music into a score for a friend using some of this fancy-pants software that Studio came with.

I also cannot get any wine to install, not the stable or beta versions, not from Update Manager, Ubuntu Software Center Synaptic Package Manager, or by downloading straight from wineHQ. They simply refuse to install complaining about other versions being install and other things, but I've deleted my .wine folder from my Home folder and deleted two Steam related files from the desktop, yet there's still an "Applications > Wine > Programs > Steam > Steam.exe / Steam Support.html
>:x
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 05, 2010, 07:53:27 pm
Enter this in a terminal, and post back the results
Code: [Select]
sudo apt-get update

Did you uninstall WINE from the synaptic package manager, before trying to reinstall?

When you reinstalled Ubuntu, did you install it to a different partition, or to the same partition as the original version?
Title: Re: My general help questions
Post by: Smither on April 05, 2010, 09:47:50 pm
So now I have Win7 (100GB), Ubuntu Studio (400GB) and two vanilla Ubuntus from January (both 2.5GB).

I can't remember what I've done with wine now . . . I just know I've deleted .wine from my Home, but Applications>Wine>Programs>Steam still exists (with Steam.exe & Steam Support Centre.html in it).

(click to show/hide)
Title: Re: My general help questions
Post by: Mad Penguin on April 05, 2010, 10:02:40 pm
Erm, weird ...

a. Check /etc/hosts, make sure you don't have an entry for gb.archive.ubuntu.com (or anything similar)
b. "ping gb.archive.ubuntu.com" and tell me what IP address it's trying to contact
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 05, 2010, 10:24:45 pm
A couple of things to check -

Can you try a new server... Go to System > Administration > Software Sources... and select the drop down menu (Download from:) select 'Other...'  then click 'Select Best Server'.

also, are you behind a proxy server?... do you have a proxy server selected in you web browser?

The reason I ask about a proxy server set in your web browser, is someone reported having these issues after setting a proxy server in Google Chrome and hitting the 'Apply System Wide' button.

To check proxy settings, open a terminal and type
Code: [Select]
gnome-network-properties
make sure 'Direct Internet Connection' is selected, and click 'Apply System Wide'

I take it you can access the web properly in Ubuntu.
Title: Re: My general help questions
Post by: Smither on April 05, 2010, 10:52:50 pm
I can access the internet, through Firefox and post in this forum, watch youtube vids, use skype, and all that Jazz.
What's came to mind now that you've just mentioned IP addresses and proxies, is we recently replaced our BTvoyager router with a "BTHomeHub" . . . . and I've had the proxy problems I mentioned . . . .

But I'll have to deal with this tomorrow, gotta sleep before my driving test. =_=
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 06, 2010, 08:31:10 am
If you are behind a proxy server you are going to have to add the proxy server details manually for both synaptic and apt-get.

For the Synaptic package manager
Open the Synaptic package manager, and go to: Settings > Preference > Network (tab)... and enter the proxy server details:
username:password@proxyserveraddress
and enter the proxy server port (usually but not always 8080).

Leave out the 'username:password@' part if your proxy server needs no login and password, and obviously the bold parts need replacing with your settings.

For Command-Line 'apt-get'
Edit the /etc/bash.bashrc file as root.
Put these line at the end of the /etc/bash.bashrc file :

export http_proxy=http://username:password@proxyserveraddress:port/
export ftp_proxy=http://username:password@proxyserveraddress:port/

Leave out the 'username:password@' part if your proxy server needs no login and password, and obviously the bold parts need replacing with your settings.
Title: Re: My general help questions
Post by: Smither on April 14, 2010, 04:26:03 pm
Ok, back at my flat now, so I'll probably be using Linux a lot more again and I'll try & respond to this tread a little quicker from now on.

First, not that it's really relevant anymore, but regardless for curiosity:
/etc/host
(click to show/hide)
In a terminal: ping gb.archive.ubuntu.com
(click to show/hide)

Now, if I can get Wine working and Steam chat within it, I'll have almost no reason to bother with 7 (except when I occasionally feel like playing against bots).
Searching for files...
Quote
Name contains: wine
Look in folder: File System
(click to show/hide)
Should I just delete everything in that list so I can start over?
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 06:08:56 pm
No don't delete the stuff from that list...

have you tried uninstalling with:
Code: [Select]
sudo apt-get remove wine --purge

and then installing again with:
Code: [Select]
sudo apt-get install wine

If you get any errors, please post them back here.
Title: Re: My general help questions
Post by: Smither on April 14, 2010, 07:26:08 pm
I'll post this for now, before I reboot:
(click to show/hide)

EDIT: Just tried to run a simple game and it didn't work (it always worked without needing dll's before)
(click to show/hide)

EDIT: I just tried:
Code: [Select]
sudo apt-get update
and all the .exe's on my windows partition still want to be opened with the Archive manager, I'm given no option for wine.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 07:48:24 pm
which dll's are missing... are you sure these dll's weren't installed by some other windows program you installed previously?

what happens when you run:
Code: [Select]
winecfg
Title: Re: My general help questions
Post by: Smither on April 14, 2010, 07:53:30 pm
No, sorry, the dll's have nothing to do with it.
There are 6 games from the "Touhou" series that I like to play, and some of the more recent ones need some dll's put in their folders to run, even in Windows, but I've just tried to play one of the earlier ones, which works "out of the box" (or rar file here) in both Windows and Linux, but I wasn't even given a choice to use wine, it just opened with the Archive manager.

tl;dr Wine is still not properly installed on my computer. Not after you're commands, not after the recommendations I was given by the terminal after your commands had finnished.

EDIT: Just told me wine isn't installed. :/
(click to show/hide)
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 07:58:48 pm
You can't run an exe DIRECTLY from you windows partition, as the required dll's aren't in your ~/.wine/drive_c/windows directory.

you have to INSTALL the program through WINE.

[Edit]
My mistake... Apparently you can, and it will pick the dll's up from the windows drive/partition
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 08:04:12 pm
in Linux... right click on a .exe file and select open with another application...scroll down till you find wine windows program loader... highlight it and select open.

if its not in the list...click use a custom command type wine, and select open.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 08:10:34 pm
try installing WINE from the package manager, or download the .deb file from here and double click it to install

http://wine.budgetdedicated.com/archive/ubuntu/jaunty/wine_1.1.38~winehq0~ubuntu~9.04-0ubuntu1_i386.deb (http://wine.budgetdedicated.com/archive/ubuntu/jaunty/wine_1.1.38~winehq0~ubuntu~9.04-0ubuntu1_i386.deb)

I know it says it's for jaunty, but it's supposed to be for karmic too.
Title: Re: My general help questions
Post by: Smither on April 14, 2010, 08:15:12 pm
Well it worked like that before.

I still don't have a .wine folder in my home folder.

I went back to the C:\Program Files (x86)\Touhou Games\ and tried a couple of them, english and japanese versions, and selected Open with Other application... and I tried everything beginning with W:
Code: [Select]
winebrowser
winebrower
winebrower
winhlp32
wordpad
wordpad
and even typing "wine" as a custom comand, but they all gave the message:
Could not find application.
Could not find wine.

EDIT: Downloaded that .deb file and holy crap, it works!
Well, one of the Touhou games starts up and shows the loading screen.
brb testing everything else then updating.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 08:17:27 pm
try reinstalling WINE from the synaptic package manager
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 08:21:07 pm
or try
Code: [Select]
sudo apt-get install wine1.2
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 08:36:16 pm
I THINK I've found the answer....you were getting 404 errors from the repo you were using to install from...be right back with the answer.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 08:43:20 pm
got to System->Administration->Software Sources
Then select the Third Party Software tab and click Add

in the Apt Line:
ppa:ubuntu-wine/ppa
and click Add Source

Code: [Select]
sudo apt-get update

now try reinstalling wine1.2 from the synaptic package manager.
.
Title: Re: My general help questions
Post by: Smither on April 14, 2010, 08:48:11 pm
Wait, but I just updated my whole system and had no problems, how could I be getting 404's from (presumably) the same place?

Meh, I don't care because IT WORKS!!

Well, sometimes the Touhou games crash on the loading screen, on don't play sound, or are kinda laggy (eventhough the display in the games says 60fps), and they crashed my File browser and even my Gnome session once, but that was happening before.

Even Steam's working!
Well, I'm logged in, but it takes forever to load and the community pages are taking even longer to load.
But I just got the chat to work, so I don't care!
Thanks a lot! :)

(btw, this is all by going to my Win7 partition and double clicking on the .exe files directly)

EDIT: Just tried adding to the software sources and it didn't work.
But that's ok, I think I'll leave wine as it is now, I don't want to suffer a regression and have to go through with this again. :)
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 08:50:56 pm
You're welcome

Thinking about it an .exe run from your windows partition would look for the dll's there first :)

BTW, I think you are getting the 404 errors because one of the PPA repo's (http://ppa.launchpad.net) may be blacklisted for the UK
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 08:57:04 pm
To correct the sound problems....try running

Code: [Select]
winecfg

Select the audio tab, and it should set the sound for you....apply/OK
:)
Title: Re: My general help questions
Post by: Smither on April 14, 2010, 09:12:31 pm
Dx
OK, well all the Steam windows "follow" me.
As in, I start them up on desktop 3, and a switch back to desktop 1, where firefox is, and all the steam windows move to desktop 1, but are still at desktop 3's position. So I can select, minimize, maximize and close the windows, but they don't appear onscreen for desktops 1 or 2, only on 3.

Also making links doesn't work. I like to log into Steam and join my group's chat as soon as I boot up, but I have to wade through my C folder to get there atm, and making links to the C:/Program Files (86)/Steam/ folder and to the Steam.exe file in it don't work when I click them.

And the sound thing is just glitches. Starting the program again, or going full screen for a sec (if it doesn't crash anything vital) solves the problem. I can live with it.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 14, 2010, 09:26:39 pm
You've lost me as far as the multiple desktops goes... can you explain again. what is the command in the links you are creating?

right click the link, select Properties, and look in the  Command:   field
Title: Re: My general help questions
Post by: Smither on April 24, 2010, 09:11:12 pm
Ok, first, the new home page . . . not sure what its for, but w/e.

Now, simple question: How do you get sound coming in to be immediately played back through speakers?

I know its possible because I've just done it in win7.
I have a keyboard and I want be able to let some friends hear it, but up until now I've just been raising the volume of the keyboard, plugging my headset into the microphone jack, and letting the microphone record the keyboard's speakers. Not ideal, as you'd agree.


OK, new plan.
I have a headset (stereo mic with stereo headphones), two speakers, and a keyboard with an output jack.
My computer has the usual green out and pink mic in the front and green out, blue in and pink mic at the back.
It has a 5.1 onboard soundcard and a digital out, though that's less important.

I have some friends on Steam that I'd like to be able to play my keyboard to (the quality is terrible so we use text to communicate) and I have some other friends in Skype that want to call me. Is it possible to let my stream friends hear only my piano and let my skype friends hear only me voice through my mic?
I also need to hear the keyboard, and as plugging a jack in the output silences it's speakers, need whatever mic or in jack its connected to to be played straight back through my speakers. Whether the keyboard's sound and the skype pone call mix in for my output doesn't matter.
Title: Re: My general help questions
Post by: Mad Penguin on April 24, 2010, 10:51:57 pm
w/e ?
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 24, 2010, 11:33:55 pm
To play back audio input from 'line in' to the speakers... easiest way... Install gnome-alsamixer either through synaptic, or in a terminal type:
Code: [Select]
sudo apt-get install gnome-alsamixer
and hit enter.

Now you can find it in the menu Applcations > Sound & Video > GNOME ALSA Mixer... fire it up, and untick the Mute box for Line... and raise its volume.

Steam... Don't know it, but as (I think) it's a Windoze app, it will be getting its sound settings from winecfg so you're going to have to change any setting in there:
Code: [Select]
winecfg
Audio tab... I'm guessing you want to enable the Jack Driver.

Skype... again I don't use it, but I'm fairly sure you can select Audio input and output devices in the application itself.

Quote
Ok, first, the new home page . . . not sure what its for, but w/e.
What does w/e mean?... "What Ever"??
Title: Re: My general help questions
Post by: Smither on April 25, 2010, 09:05:54 am
Uh, thanks. It's worked without any settings changed by recording everything with the one mic, I just wanted to try and separate the keyboard and my voice. I hate to say this, but I used windows for that evening, the driver has a setting to separate all jacks, then set a "default device" for every type of jack (in/out/mic) and then skype and steam have the option of selecting whether they use the default or alt jack. And Jack is just super confusing. @~@

Also, don't you guys use Urban Dictionary (http://www.urbandictionary.com/define.php?term=w%2Fe)?
The new home page only seems to display a few new posts, not every, and it doesn't seem to display new topics, so I can't deduce what its for.
And there are a few topics that are 404'ing for me.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 25, 2010, 01:22:22 pm
Can you post the URLs of the topics that are 404(ing) in the Bugs board please... Unless the Bugs board is on of them :) Can you also state whether they 404 all the time, or just occasionally... Thanks.

Title: Re: My general help questions
Post by: Smither on April 27, 2010, 07:21:32 pm
:(

The new steam client that's based on safari & chrome, or summin, came out of beta today, and now everyone has it.
For some people it works fine, but for others, it barely even runs in XP.
For me, its almost unbearable with wine, I'm in 7 atm, and its ok, but in linux, its just soo laggy.
I'm starting to wander if its worth risking a regression or two, or even breaking it entirely again, and update wine . . .

Also, hot damn working with audio settings in Linux is confusing, frustrating and an all-round pain in the rear! Dx
I just can't get my head around what everything means, what changes what and how I go about implimenting different configurations.
I think I deduce what a button or slider does, or what a particluar setting changes, but then 10 minutes later its seems to be doing something different, or I need to change something else before I get the new setting to take effect.

Any tips on either problems?
Title: Re: My general help questions
Post by: Mad Penguin on April 27, 2010, 07:33:03 pm
>Any tips on either problems?

Yes, don't use WINE, it will *always* be MUCH slower than running on Windows, and if you're looking at anything Games related, Windows games won't run nearly as well on *any* Linux hack as they will on Windows itself.

If you want to play games, do yourself a favor and buy a games console.
Personally I use a 360.

A BMW is generally accepted as a better car than a Skoda, but it your prime requirement is to run tyres specifically designed and engineered to run on a Skoda and *not* on a BMW - then drive the Skoda! My preference is to simply use alternative tyres and avoid the Skoda - but the choice is yours (!)
Title: Re: My general help questions
Post by: Smither on April 27, 2010, 07:52:26 pm
Steam is not a game, it's primarily a publishing client.

You can browse the store, and buy games from the store, many small devlopers use it to publish their games.
The only direct relevance it has to games is it needs to be running to play any steam game.
But most improtant thing about it to me, is that it comes with an IM chat client, which I use a lot.

It ran almost perfectly with the old IE-based UI, but now the new one's official, everything runs very slowly.
It works, its just takes 5 seconds to do anything (change windows, type, send a message, change tabs).

But I think I'm wasting my breath here, I'll go ask the steam forums & the ubuntu wiki for help on these points.
Title: Re: My general help questions
Post by: Mad Penguin on April 27, 2010, 10:17:49 pm
You're jumping through hoops just to run a chat client?!
What protocol are you using??
(Linux/pidgin supports pretty much every chat protocol going, including MSN, Jabber, Yahoo, Facebook, IRC etc etc ... ??)

Title: Re: My general help questions
Post by: Smither on April 27, 2010, 10:43:39 pm
When I log into Steam, using Steam, I log into everything about my acount, much more than just a chat client.
My games, community details, friends list, game stats and much more all becomes "active", for lack of a better word, when I loggin to enforce all sorts of licensing agreements (one game at a time, one client running at a time, each acount only logged into on one computer at a time, etc) concerning the games.

So I doubt a chat client would be able to log into my acount just to access my friends list and groups. But then I've never really thought about it, I just heard about wine and saw it as a way to use Steam chat in linux. If its possible, I'm all ears. :D
Though, its a problem if . . . whatever chat client I've been using can only log into one acount at a time, as Steam acounts have nothing to do with email other than a way to verify acounts and purcases and I tend to be signed into my Skype, Steam and Yahoo acounts at the same time most of the time.

I'll have a try when I'm not busy with pratice exams.

EDIT: I've searched around, and there is no standalone Steam chat client, nor does any major chat client support it. I think its like trying to get a client to talk to facebook chat. :/

And now, wine updated this morning, and now Steam crashes my Gnome session, or whatever the phrase is. I run Steam.exe, a windows saying "Connecting to Steam account Smith5er . . ." as usual, then once that finishes, the screen flicks to the login page, and all my windows have gone when I login again. :/

Time to reinstall an older version of wine . . .
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 30, 2010, 11:12:05 pm
According to this site:
http://www.phoronix.com/scan.php?page=news_item&px=ODE3Mw (http://www.phoronix.com/scan.php?page=news_item&px=ODE3Mw) (and the links)
there WILL be a Steam Client for Linux... they have found code in the OSX launcher which specifically looks for Linux and then tells Steam which libraries to load if Linux is found... this is the CLIENT launcher not the server software.

This is just ONE piece of Linux specific code they have found in Steam... other include what appears to be the FULL Linux client source code on Steams own servers, complete with calls for GNU/Linux libraries.

Make sure you check the links in this article... specially the one to a forum... someone has posted the links to the 4 steam files (on Steams server) that contain the compilable source code... it compiles and apparently works, but nobody has managed to get it to connect so far... but then only a few 'chosen' accounts were allowed to connect whilst the 'Steam OSX Client' was in beta.

So you may be in luck soon... who knows, but it looks likely :)

BTW, Pidgin works with the Facebook Chat protocols :)
Title: Re: My general help questions
Post by: kirrus on April 30, 2010, 11:32:03 pm
It's not the first time there have been rumours or code found to indicate a possible linux steam client. It really comes down to whether they can get enough publishers to provide games for linux to be worth it. It is kind-of a chicken-and-egg suituation, especially since the linux market comparatively is quite small...

Eve online used to be supported under linux (via WINE). I think Microsoft paid them off to cut that off though :(
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on April 30, 2010, 11:39:03 pm
This "appears" to be more than just code snippets though, the FULL source code has been found, I agree that this doesn't definitely mean it will be released, but it would be a lot of trouble for them to go to for nothing, so it would seem at least 'slightly' promising.
Title: Re: My general help questions
Post by: Smither on May 01, 2010, 03:55:32 am
Oh god yes, just as I finished ranting about having to use win7 when half my stuff is kept on my linux partition, this comes up.

Guys, you've made this night a good one for me.
Title: Re: My general help questions
Post by: Smither on May 30, 2010, 09:37:26 pm
My windows partition is full with only a few megabytes left and I'm in the process of deleting lots of files, and moving even more to my home folder for future use, to free up some space. At the moment I'm copying my 32GB user folder and it initially told me that this would take 2 hours. That's gone down to 20 minutes now, but it still says it's going at 23.4MB/s.

Knowing I have a 2.8GHz processor, I can't help but imagine it could go a lot faster. Now, I know that that's not how modern desktop computers work (for starters, the HDD can only read and write so fast), but I do know that I have a lot of processes that aren't essential for file moving running (like Firefox to write this) and I know that it is possible to have a computer almost solely doing one task, but I'm curious how far this can theoretically be taken in Linux and how far it can be practically taken without requiring more time and patience than simply waiting for the file to be copied in a Gnome session.

Any thoughts?
Title: Re: My general help questions
Post by: Mad Penguin on May 30, 2010, 10:20:35 pm
Ok, do you mean 'how fast "can" Linux copy files?' ... ??

How 'bout this;

Quote
gareth@monster:~$ ssh root@watchman
Last login: Sat May 29 12:56:02 2010
Linux watchman 2.6.18-028stab068.3 #1 SMP Tue Feb 16 20:21:42 MSK 2010 x86_64
No mail.
root@watchman:~# dd if=/dev/zero of=/tmp/bigfile bs=1M count=4096
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB) copied, 12.6104 s, 341 MB/s
root@watchman:~#

Bit unlucky actually as the system is a little busy .. when it's idle it gets up to ~ 700Mb/sec ...
Title: Re: My general help questions
Post by: Smither on May 30, 2010, 11:07:25 pm
I was actually thinking more of "What can you do?" than "How fast?"
Title: Re: My general help questions
Post by: Mad Penguin on May 30, 2010, 11:35:44 pm
As in "how many things can you do at the same time?" ??
Title: Re: My general help questions
Post by: Smither on May 30, 2010, 11:57:07 pm
No, just how fast you can get an application to run for how much effort and how you would go about it. I keep thinking back to that psychologist who wanted a super low latency program and you said about running programs without being in a Gnome or X-term or KDE or whatever session.
Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on May 31, 2010, 12:25:44 am
Surely dd isn't the best way to copy "files"... won't it also be copying empty blocks?
Title: Re: My general help questions
Post by: Mad Penguin on May 31, 2010, 01:18:44 am
How fast you can copy files will be 99% dependant on your disk(s) unless you have a 'really' old machine.

Pretty much all computers in recent history are capable of DMA transfers. Essentially the cpu sends track , sector, byte count & memory location info to the disk controller, then goes off to do something else. The disk controller transfers the required information to the requested location, then sends an interrupt to the CPU to tell the computer the transfer is complete.

Note than in this scenario running a GUI etc is unlikely to have much impact on the time taken to copy files unless it's eating all the CPU .. it's all going to come down to your basic IO speed. (Something 'dd' is very good at measuring !)

GUI's only slow things down when your program produces output .. for example;

Quote
find / -ls

Will hammer your machine, not because of the disk IO, but because the work the machine is doing displaying the results and making your terminal scroll.

Try;

Quote
find / > /dev/null

And watch the difference.

Another good low-level test is;

Quote
hdparm -tT /dev/sda

Output from my workstation as an example;

#
Quote
hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   7632 MB in  2.00 seconds = 3817.41 MB/sec
 Timing buffered disk reads:  336 MB in  3.00 seconds = 111.99 MB/sec

Title: Re: My general help questions
Post by: Mark Greaves (PCNetSpec) on May 31, 2010, 03:04:19 am
Ahh... got ya... you were using dd to measure throughput, I thought you were suggesting it as a method :)
SimplePortal 2.3.3 © 2008-2010, SimplePortal