Re: [ubuntu-uk] backup home folder

2010-09-17 Thread Neil Greenwood
On 17 September 2010 01:27, David D Lowe daviddlowe.fl...@gmail.com wrote:
 On 16/09/10 22:02, Tommy Pyatt wrote:
 You may be able to compress it first into a .tar.gz or other compressed
 archive of some sort, then you could store it anywhere. I think I've
 done that before, but i'm not certain.


 Last time I tried that, it took half an hour before spitting out an
 error message.

 David D Lowe


You need to make sure there's enough space to store the archive, but
that's the best way to make sure that permissions are maintained.

NTFS isn't good enough, in my experience. As a minimum, it makes every
file executable. I can't remember what happens about user names, but I
don't think it works. Ext2/3/4 or another Linux filesystem works OK.

I normally do as Tommy suggested and use an archive though.


Cofion/Regards,
Neil.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Conky doesn't display on XFCE desktop

2010-09-17 Thread Matt Sturdy
Hi guys,

I recently made the switch to XFCE, and mostly it's working well.  Quick,
clean interface etc.

The one thing I can't fix is Conky.  It used to display on the nautilus
desktop... and it still starts up with no errors... but I can't see where it
goes!

starting from the command line gives

m...@alida:~$ conky
Conky: desktop window (1e3) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x4a1)
Conky: drawing to double buffer

and my conf file is fairly standard:

m...@alida:~$ cat .conkyrc

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
## apparently this is not needed in XFCE
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Stop stuff going to stdout
out_to_console no

# Use double buffering (reduces flicker)
double_buffer yes

# fiddle with window
use_spacer right

# Use Xft?
use_xft yes
xftfont andalemono:size=8:weight=700
xftalpha 0.8
text_buffer_size 2048
uppercase yes

# Update interval in seconds
update_interval 5.0

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
uppercase no # set to yes if you want all text to be in uppercase

# borders
draw_borders no
#stippled_borders 3
#border_margin 9
#border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color black
#default_color white

own_window_colour brown
own_window_transparent yes

# Alignment
alignment top_right

# Gap between borders of screen and text
gap_x 10
gap_y 30

# load lua script(s)
lua_load /home/matt/bin/conky/readfile.lua

# stuff after 'TEXT' will be formatted on screen
TEXT
${voffset -20}${alignc 80}${color orange}${font OpenLogos:size=90}v${font}
${voffset -35}${color orange}$nodename ${hr 2}$color
$sysname $kernel on $machine
Uptime $uptime

${color orange}WORLD TIMES ${hr 2}$color
Time in UK: ${goto 130}${tztime Europe/London %H:%M  %d/%b}
Time in Barcelona: ${goto 130}${tztime Europe/Madrid %H:%M  %d/%b}
Time in Cochin: ${goto 130}${tztime Asia/Kolkata %H:%M  %d/%b}
Time in São Paulo: ${goto 130}${tztime Brazil/East %H:%M  %d/%b}

${color orange}INFO ${hr 2}$color
${if_running banshee-1}${execi 5 BansheeNowPlaying|fold -w 60}${else}Banshee
is not running${endif}

${lua readfile /home/matt/bin/script_data/TheLatestBugle.txt}

${lua readfile /home/matt/Desktop/UPDATES.txt}
${color orange}CPU ${hr 2}$color
${freq}MHz   ${goto 100}Temp: ${acpitemp}°C  ${goto 200}GPU Temp: ${execi 5
nvidia-settings -q GPUCoreTemp -t}°C
Processes:$processes ${alignr}$running_processes running
Load: ${loadavg}
$cpubar
${cpugraph 00 ff}
${goto 15}CPU% ${goto 70}MEM% ${goto 155}NAME ${goto 250}PID${font
andalemono:weight=0:size=8}
${goto 15}${top cpu 1} ${goto 70}${top mem 1}  ${goto 155}${top name 1} ${goto
250}${top pid 1}
${goto 15}${top cpu 2} ${goto 70}${top mem 2}  ${goto 155}${top name 2} ${goto
250}${top pid 2}
${goto 15}${top cpu 3} ${goto 70}${top mem 3}  ${goto 155}${top name 3} ${goto
250}${top pid 3}
${goto 15}${top cpu 4} ${goto 70}${top mem 4}  ${goto 155}${top name 4} ${goto
250}${top pid 4}${font}

${color orange}MEMORY | DISK ${hr 2}$color
RAM:   $memperc%   ${membar 6}$color
Swap:  $swapperc%   ${swapbar 6}$color

Filesystems:  ${fs_free /}  free of  ${fs_size /}
${fs_bar 6 /}$color

${color orange}NETWORK ${hr 2}$color
Address: ${addr wlan0}  on $gw_iface
Down: $color${downspeed wlan0}/s ${alignr}Up: ${upspeed wlan0}/s
${downspeedgraph wlan0 25,140 00 ff} ${alignr}${upspeedgraph wlan0
25,140 00 00ff00}$color
Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}



Has anyone else had/fixed this problem?

Otherwise... some pointers on how to investigate this further would be
awesome.

Cheers!
Matt
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] MS vs. OO - and Adobe!

2010-09-17 Thread Glen Mehn
  On 16/09/2010 18:19, Tony Pursell wrote:
 On Thu, 2010-09-16 at 18:13 +0100, Steve Fisher wrote:
 Well that answers part of it, but not why mine still works, 64bit
 browser (Chromium) and iPlayer works fine.


 Steve
 It seems that what you cannot do is download programs because that needs
 Air and Air does not install on Lucid. I.e you can only watch programs
 streamed in your browser.


You can install 32 bit air on 10.04, even 64-bit. Essentially, you need 
to download the .bin (not the .deb) version.

I use it for tweetdeck and iplayer-- though my iplayer often hangs when 
downloading.

http://www.omgubuntu.co.uk/2010/09/how-to-install-adobe-air-in-ubuntu-10-10-64bit/

(there are other similar suggestions)

Glen

-- 
Glen Mehn
e: glen.m...@oba.co.uk | t: @gmehn
m: +44 7942 675 755 | w: http://glen.mehn.net
b: http://glen.mehn.net/mba


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Conky doesn't display on XFCE desktop

2010-09-17 Thread Philip Newborough
On Fri, Sep 17, 2010 at 10:13 AM, Matt Sturdy matt.stu...@gmail.com wrote:
 Hi guys,
 I recently made the switch to XFCE, and mostly it's working well.  Quick,
 clean interface etc.
 The one thing I can't fix is Conky.  It used to display on the nautilus
 desktop... and it still starts up with no errors... but I can't see where it
 goes!
 starting from the command line gives
 m...@alida:~$ conky
 Conky: desktop window (1e3) is subwindow of root window (15a)
 Conky: window type - override
 Conky: drawing to created window (0x4a1)
 Conky: drawing to double buffer
 and my conf file is fairly standard:
 m...@alida:~$ cat .conkyrc

 # Create own window instead of using desktop (required in nautilus)
 own_window yes
 own_window_type override
 own_window_transparent yes
 ## apparently this is not needed in XFCE
 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

Hey Matt :)

Have you tried playing around with the 'own_window' settings/values? I
use the following when running Conky in Xfce:

own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

It looks like the only difference is the value given for 'own_window_type'.

Cheers
 -- Philip

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Shredding HDD data

2010-09-17 Thread John Matthews
  On 11/08/10 13:07, Alan Pope wrote:
 On 11 August 2010 12:47, John Matthewsjake...@sky.com  wrote:
   I tried to install it, from the repository, it says its installed, but I
   cant find it any where. Where would it install to?
 
 This lists the files in the package:-

 http://packages.ubuntu.com/lucid/i386/secure-delete/filelist

 /usr/bin/sdmem
 /usr/bin/sfill
 /usr/bin/srm
 /usr/bin/sswap

 And this indicates they have man pages:-


 /usr/share/man/man1/sdmem.1.gz
 /usr/share/man/man1/sfill.1.gz
 /usr/share/man/man1/srm.1.gz
 /usr/share/man/man1/sswap.1.gz

 Cheers,
 Al.

Hi Al,

sorry its taken so long to get back on this, and now I see both urls are 
page unavailable now, so dont know what is going on there. I tried 
installing secure-delete, it says its installed, but I its not in any of 
the drop down menus. Do you know how I can find it to start it, or is 
now gone.

Thanks.

John.

-- 
Ubuntu User #30817


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Conky doesn't display on XFCE desktop

2010-09-17 Thread Matt Sturdy
On 17 September 2010 10:57, Philip Newborough
corenomi...@corenominal.orgwrote:

 On Fri, Sep 17, 2010 at 10:13 AM, Matt Sturdy matt.stu...@gmail.com
 wrote:
  Hi guys,
  I recently made the switch to XFCE, and mostly it's working well.  Quick,
  clean interface etc.
  The one thing I can't fix is Conky.  It used to display on the nautilus
  desktop... and it still starts up with no errors... but I can't see where
 it
  goes!
  starting from the command line gives
  m...@alida:~$ conky
  Conky: desktop window (1e3) is subwindow of root window (15a)
  Conky: window type - override
  Conky: drawing to created window (0x4a1)
  Conky: drawing to double buffer
  and my conf file is fairly standard:
  m...@alida:~$ cat .conkyrc
 
  # Create own window instead of using desktop (required in nautilus)
  own_window yes
  own_window_type override
  own_window_transparent yes
  ## apparently this is not needed in XFCE
  own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

 Hey Matt :)

 Have you tried playing around with the 'own_window' settings/values? I
 use the following when running Conky in Xfce:

own_window yes
own_window_transparent yes
own_window_type desktop
 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

 It looks like the only difference is the value given for 'own_window_type'.

 Cheers
  -- Philip

 --
 ubuntu-uk@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
 https://wiki.ubuntu.com/UKTeam/



Hey Philip!

You're a star!  Thanks, that's working perfectly now!

I'd tried a few things, but hadn't hit on that... aaah, back to system
monitoring bliss...  :)

Cheers!
Matt
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Shredding HDD data

2010-09-17 Thread azmodie
On 17 September 2010 11:04, John Matthews jake...@sky.com wrote:

   On 11/08/10 13:07, Alan Pope wrote:
  On 11 August 2010 12:47, John Matthewsjake...@sky.com  wrote:
I tried to install it, from the repository, it says its installed,
 but I
cant find it any where. Where would it install to?
  
  This lists the files in the package:-
 
  http://packages.ubuntu.com/lucid/i386/secure-delete/filelist
 
  /usr/bin/sdmem
  /usr/bin/sfill
  /usr/bin/srm
  /usr/bin/sswap
 
  And this indicates they have man pages:-
 
 
  /usr/share/man/man1/sdmem.1.gz
  /usr/share/man/man1/sfill.1.gz
  /usr/share/man/man1/srm.1.gz
  /usr/share/man/man1/sswap.1.gz
 
  Cheers,
  Al.

 Hi Al,

 sorry its taken so long to get back on this, and now I see both urls are
 page unavailable now, so dont know what is going on there. I tried
 installing secure-delete, it says its installed, but I its not in any of
 the drop down menus. Do you know how I can find it to start it, or is
 now gone.

 Thanks.

 John.

 --
 Ubuntu User #30817


 --
 ubuntu-uk@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
 https://wiki.ubuntu.com/UKTeam/


secure-delete is a command line tool and must be run from the terminal.

i believe the command you  are looking fro is srm.

try typeing man srm in terminal.

i personaly have not used it.

i have used wipe command in the past .

http://www.ubuntu-unleashed.com/2008/01/securely-wipeerase-files-in-ubuntu.html

hope this helps.

azmodie
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] MS vs. OO

2010-09-17 Thread Glen Mehn
  On 16/09/2010 23:31, David King wrote:
 Alan Pope wrote:
 On 15 September 2010 09:10, Mark Harrisonm...@ascentium.co.uk  wrote:

 1: I've not used MS Office for about 5 years now, however the one time I
 needed to was in 2007 for a really complex mailmerge, which is one area
 where MSO is still better than OOo :-(

 I once made the mistake of saying on a LUG mailing list I have to use
 Microsoft office at work at which point it was pointed out that I
 didn't have to work for that company by one of the members of the
 list. This is of course true, and for some people it is indeed
 possible and desirable to make a career choice based only on whether
 they get to use free software all day or not. An example of such a
 person would be Bradley Kuhn. Personally that's not a choice I'm going
 to make because I'm a pragmatist, and the software I use on a daily
 basis is only part of the decision making process.

 Unfortunately OpenOffice.org is incompatible with the systems we use
 at work every day. This frustrates me, but that frustration is
 tempered with the knowledge that we have hundreds of quite chunky
 boxes powering the Enterprise that are all running Linux :D

 I too have to use MS Office 2007 at work. We used to use MS Office 2003
 which was quite good, but 2007 is really lousy to use, with a terrible
 ribbon interface and it seems quite a few bugs.

 I would much prefer to use OpenOffice.org at work, or other high quality
 software.

 A friend of mine recently bought an Apple Mac, which came with MS Office
 2008. Compared to the Windows version 2007, the Mac version is
 fantastic. It has menus, a toolbar and a floating palette like a DTP
 program. This Mac version of Office is definitely a well-designed
 program, and something that the Linux community should be looking to
 emulate.

 I hope that future software will NOT have stupid ribbon interfaces, but
 will continue to have sensible menus and palettes that help people to be
 more productive.

 Where I work, the switch to Office 2007 has seriously reduced
 productivity. The only plus side to this is that I have been getting
 more overtime (and thus more pay). But it really has caused a lot of
 headaches. I really wish that OpenOffice.org was up to the task of doing
 what MS Office can do (in relation to what we need to where I work,
 which does not include mailmerge, but does include a lot of page
 layouts, complicated financial charts and lots of complicated nested
 tables).

 At least I know that the company does use Linux, at least for its file
 servers, but we have Windows XP on the desktop. I expect they could
 change everything to either Linux or Mac, but within a large
 organisation getting everyone retrained is expensive and time-consuming,
 although they have wasted a lot on changing to Office 2007.

 But I do believe that for startups and small companies, using OpenOffice
 is probably the best option for an office suite rather than any MS
 software (as well as Linux on the desktop instead of Windows).
Hmmm.. Much as I am an enormous free software advocate (linux user since 
1993, professionally since 1998), I have to disagree with you here. The 
answer is, unfortunately, It depends on what you're doing.

This below is all my 2p.

Office software is a large, complicated beast, that's used by everyone 
from programmers to office admins to statisticians. The Ribbon interface 
is a choice, which does some things well and other things poorly. I know 
the OOO interface team is looking at the pros and cons of a ribbon type 
interface. It takes a bit of getting used to, but once you understand 
how it works (and where all the functionality is), it can make things 
clearer-- particularly for the new user.

I personally think OOO and MSO have their own pros and cons-- this comes 
from working for 12 years as an IT and business consultant on strategy 
and ops work, and using unix based tools (I'm VI over emacs, for 
instance), but in the last 5 years making extensive use of both sets of 
office products.

Word wins out over Writer, I think, for the following reasons:
- Track Changes is just easier to use.
- Comments make more sense-- you highlight a section to comment, rather 
than picking a point, so when there's a long comment or a tricky bit of 
comprehension, it helps. A lot. Especially when you're 
co-writing/editing a 50pp+ document with people speaking different 
languages in six timezones.
- Writer's styles  formatting is just inconsistent. Sometimes styles 
get applied, sometimes they don't. Sometimes styles change (revert to 
default) between iterations of the same document on the same OS on the 
same install of OOO.

Excel and Calc are closer, though I think Excel still has a slight edge
- Pivot tables support pivot charts and more data types
- Excel has more keyboard shortcuts (think: ctrl-d/ctrl-r to fill 
down/right), although they're hiding both of these
- Slightly better/more user friendly interface for things like the Solver
- Calc 

Re: [ubuntu-uk] meeting tonight 9PM

2010-09-17 Thread Alan Bell
as predicted a meeting was indeed held and the minutes are available
here https://wiki.ubuntu.com/UKTeam/LastMeeting

Key points to note:

* If you are involved in any kind of interesting activity then do bung
it on the team report.

* There is a current opportunity for a business to get some advertising
exposure by sponsoring an Ubuntu installfest in the Leeds area.


Actions recorded in the meeting were:

 *  Daviey to work with the website editorial team Wednesday 22nd

 *  AlanBell to form an editorial team

 *  daubers to mail list relating to progress and next steps on the
improving support project

 *  AlanBell to put Monotoko in touch with someone at canonical to ask
about sponsorship of Leeds installfest

 *  CyberJacob to investigate automating the profile roulette page

the next meeting https://wiki.ubuntu.com/UKTeam/NextMeeting is on
Tuesday 28th September

Alan.

-- 
Alan Bell
The Open Learning Centre


Web: http://www.theopenlearningcentre.com

Mob: +44 (0)7738 789190
Tel: +44 (0)844 3576000

The Open Learning Centre is a trading name of Bell Lord Ltd,
a company registered in England and Wales #05868943.
VAT Registration #GB 901 4715 55 


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] MS vs. OO

2010-09-17 Thread Gordon Burgess-Parker
  On 17/09/2010 12:16, Glen Mehn wrote:


 Word wins out over Writer, I think, for the following reasons:
 - Track Changes is just easier to use.
 - Comments make more sense-- you highlight a section to comment, rather
 than picking a point, so when there's a long comment or a tricky bit of
 comprehension, it helps. A lot. Especially when you're
 co-writing/editing a 50pp+ document with people speaking different
 languages in six timezones.
 - Writer's styles  formatting is just inconsistent. Sometimes styles
 get applied, sometimes they don't. Sometimes styles change (revert to
 default) between iterations of the same document on the same OS on the
 same install of OOO.


Interestingly I have both Office 2007 and OO 3.2.1 and I would make the 
following observations.
Word has the ability to print several pages on one sheet whereas OO does 
not. (Same machine, Windows 7, same printer).
However, the print booklet function in Word 2007 is well and truly 
broken (whether they have fixed that in 2010 I don't know, and as it's 
extremely unlikely that I shall upgrade to 2010 given the excellence of 
the current OO version, I probably will never find out!) - the OO 
version (print brochure) is very good.
The Ribbon I find pretty good. It doesn't take too long to find 
everything, but I also like the menus and icons of OO as well.
The MAJOR problem I have with Word 2007 is that if you use the default 
OOXML format, then to send a document to a non-2007 (or 2010) user, you 
HAVE to do a Save-As into .doc format, which means that you then have 
TWO versions of the document. In OO all you need to do is 
File-Send-Email Document as Microsoft Word and it automatically converts 
ODF to ,doc IN THE EMAIL, so you effectively only have ONE version of 
the document on your HDD.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] backup home folder

2010-09-17 Thread alan c
On 16/09/10 09:57, Alan Lord (News) wrote:
 One gotcha that you should be aware of when using a fresh operating
 system install is that usernames and groups in linux are actually really
 numbers (UID and GID) and the name is mapped to the UID in /etc/passwd.

 If you are the first user (the admin user) on Ubuntu your UID should be
 1000 - try typing

 ls -n

 in a terminal window.

 When you install a new system the user you create during that install is
 assigned the UID and GID 1000. Clearly, if you back up your
 home/username directory and you are not the first user (perhaps your UID
 is 1002 for example) then you will need to be aware of this and change
 the UID/GID of your home directory's data.

To help me be more clear on this:
Am I correct in understanding that as long as the original
/home/username
is copied or backed up while being signed on as first user, then the 
subsequent paste into the new install will be ok?

-- 
alan cocks
Ubuntu user

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] backup home folder

2010-09-17 Thread Alan Lord (News)
On 17/09/10 13:35, alan c wrote:
 On 16/09/10 09:57, Alan Lord (News) wrote:
 One gotcha that you should be aware of when using a fresh operating
 system install is that usernames and groups in linux are actually really
 numbers (UID and GID) and the name is mapped to the UID in /etc/passwd.
snip /
 To help me be more clear on this:
 Am I correct in understanding that as long as the original
 /home/username
 is copied or backed up while being signed on as first user, then the
 subsequent paste into the new install will be ok?

Hi Alan,

How does this work?

When every user is created on a linux system they are assigned a UID 
number (and usually a GID of the same). These tend to happen 
sequentially so the first user (the one you create when installing 
Ubuntu) will get UID 1000. The next 1001 etc etc - there *may* be gaps 
as some applications might create users when they get installed. 
Although looking at my /etc/passwd it looks as though Ubuntu uses UIDs  
1000 for applications.

So:

/home/user1 will be stored on the file system with UID/GID of 1000.
/home/user2 1001
/home/user3 1002 etc etc,

It isn't a *major* headache of the UIDs from one system to the next 
don't match when moving a backup, you just have to be aware of this and 
change as necessary: either use:

sudo vipw

to edit /etc/password and change the user's UID/GID to the right ones, or:

sudo chown newuser: -R /home/newuser

I'd be a little more careful with this one in case there are any system 
files/hidden files stored in your home dir. I don't think there should 
be but I'm sure a quick search/find could tell you.

HTH

Al

-- 
The Open Learning Centre
http://www.theopenlearningcentre.com


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Using Wubi on a dual partition machine

2010-09-17 Thread Jacob Mansfield
On 16/09/10 23:03, Jim Price wrote:
 On 16/09/10 18:24, Jacob Mansfield wrote:

 so I can't get ubuntu NBR
  
 You can - just install whatever ubuntu 10.04 you can by whatever means,
 then install the ubuntu-netbook package, which will bring with it the
 rest of the bits you need for the netbook interface. I've not tried it,
 so I can't comment on how well it works.


I'll give it a try

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] backup home folder

2010-09-17 Thread alan c
On 17/09/10 14:18, Alan Lord (News) wrote:
 On 17/09/10 13:35, alan c wrote:
 On 16/09/10 09:57, Alan Lord (News) wrote:
 One gotcha that you should be aware of when using a fresh
 operating system install is that usernames and groups in linux
 are actually really numbers (UID and GID) and the name is
 mapped to the UID in /etc/passwd.
 snip /
 To help me be more clear on this: Am I correct in understanding
 that as long as the original /home/username is copied or backed
 up while being signed on as first user, then the subsequent paste
 into the new install will be ok?

 Hi Alan,

 How does this work?

 When every user is created on a linux system they are assigned a
 UID number (and usually a GID of the same). These tend to happen
 sequentially so the first user (the one you create when installing
 Ubuntu) will get UID 1000. The next 1001 etc etc - there *may* be
 gaps as some applications might create users when they get
 installed. Although looking at my /etc/passwd it looks as though
 Ubuntu uses UIDs 1000 for applications.

 So:

 /home/user1 will be stored on the file system with UID/GID of
 1000. /home/user2 1001 /home/user3 1002 etc etc,

 It isn't a *major* headache of the UIDs from one system to the
 next don't match when moving a backup, you just have to be aware of
 this and change as necessary: either use:

 sudo vipw

 to edit /etc/password and change the user's UID/GID to the right
 ones, or:

 sudo chown newuser: -R /home/newuser

 I'd be a little more careful with this one in case there are any
 system files/hidden files stored in your home dir. I don't think
 there should be but I'm sure a quick search/find could tell you.

Thanks Alan.
I am dealing with fairly basic systems so it will be easiest for me to
work  only as the first user for the backups and the subsequent install.

I am also looking at some other aspects of  /home/username  also
however I will post in a new subject.
-- 
alan cocks
Ubuntu user

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Pasting home directory into new and version upgrade installs?

2010-09-17 Thread alan c
I have a friend with Ubuntu 9.04 and I will do a version upgrade for 
them soon. One option is to version upgrade online to 9.10 and then, 
at another convenient future date,  version upgrade to 10.04 LTS, 
which they will stay with for a longer time.

Another option is to do a clean reinstall of Ubuntu 10.04.1 LTS now, 
and then re-configure to match the user's apps and data.

One suggestion I have received is, that after a clean reinstall of 
10.04.1, I could then replace the clean /home/username directory with 
the copy of the directory from the user's 9.04 which I would have 
created earlier in careful backups.

Thinking of this last option, I find a number of questions come to mind.
What is the effect of brutally just replacing /home/username from an 
earlier version, possibly two or so versions old? The user has one app 
for example, Digikam (in Ubuntu) which they regularly use, and this I 
guess uses a number of kde libraries whatever.  I cannot help 
wondering what sort of clean up  (or chaos) I might be faced with, 
perhaps out of my depth too, by following this latter approach.

I would welcome comments here.

tia
-- 
alan cocks
Ubuntu user

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Pasting home directory into new and version upgrade installs?

2010-09-17 Thread Liam Proven
On 17 September 2010 21:11, alan c aecl...@candt.waitrose.com wrote:
 I have a friend with Ubuntu 9.04 and I will do a version upgrade for
 them soon. One option is to version upgrade online to 9.10 and then,
 at another convenient future date,  version upgrade to 10.04 LTS,
 which they will stay with for a longer time.

 Another option is to do a clean reinstall of Ubuntu 10.04.1 LTS now,
 and then re-configure to match the user's apps and data.

 One suggestion I have received is, that after a clean reinstall of
 10.04.1, I could then replace the clean /home/username directory with
 the copy of the directory from the user's 9.04 which I would have
 created earlier in careful backups.

 Thinking of this last option, I find a number of questions come to mind.
 What is the effect of brutally just replacing /home/username from an
 earlier version, possibly two or so versions old? The user has one app
 for example, Digikam (in Ubuntu) which they regularly use, and this I
 guess uses a number of kde libraries whatever.  I cannot help
 wondering what sort of clean up  (or chaos) I might be faced with,
 perhaps out of my depth too, by following this latter approach.

 I would welcome comments here.

Get them onto the LTS release *now* and then you can safely leave 'em
there 'til 2012. *Don't* put them onto 9.10, it's already obsolescent.

Me, personally, I'd say wipe  reload. It's easier than doing 9.04 -
9.10 followed by 9.10 - 10.04.

Just move /home into a separate filesystem, if it isn't already, make
a note of any apps and config you need, then reformat / and install
10.04 into it. Let the install procedure pick up the existing
/home/$username folder - it should sort things out for you. If
possible, avoid replacing it later; have it there, /in situ/, first.

-- 
Liam Proven • Info  profile: http://www.google.com/profiles/lproven
Email: lpro...@cix.co.uk • GMail/GoogleTalk/Orkut: lpro...@gmail.com
Tel: +44 20-8685-0498 • Cell: +44 7939-087884 • Fax: + 44 870-9151419
AIM/Yahoo/Skype: liamproven • MSN: lpro...@hotmail.com • ICQ: 73187508

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/