Migrating kde data from kde3 to kde4

2010-06-13 Thread Stan Goodman
I have installed oS v11.2 on a clean HD in a box that also contains 
another HD which contains v11.1/kde3. I want to copy the data from the old 
system to the newer one, which is no problem except for the data of the 
kde apps.

If it were not for the great difference between the two kde versions, I 
would simply carry over the .kde directory, and be assured that I had 
captured all the data. But the v11.1 system contains both .kde and .kde4 
directories, and I am not at all sure of how they interrelate.

I would be grateful to anyone for comments, advice, and warnings on 
migrating kde data from one system to the other.

-- 
Stan Goodman
Qiryat Tiv'on
Israel

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Migrating kde data from kde3 to kde4

2010-06-13 Thread Boris shtrasman
If you are going to use kde 4.4 make sure to copy your resource files for
example if you are using kaddressbook backup the file :
** *.kde/share/apps/kabc/std.vcf*

After resent upgrade (from 4.3.4 to 4.4.3) there was a bug that did not
display the contacts.
I would recommend to copy also all related to kmobiletools since in resent
version it dosn't exist anymore.

On Sun, Jun 13, 2010 at 10:05 AM, Stan Goodman
wrote:

> I have installed oS v11.2 on a clean HD in a box that also contains
> another HD which contains v11.1/kde3. I want to copy the data from the old
> system to the newer one, which is no problem except for the data of the
> kde apps.
>
> If it were not for the great difference between the two kde versions, I
> would simply carry over the .kde directory, and be assured that I had
> captured all the data. But the v11.1 system contains both .kde and .kde4
> directories, and I am not at all sure of how they interrelate.
>
> I would be grateful to anyone for comments, advice, and warnings on
> migrating kde data from one system to the other.
>
> --
> Stan Goodman
> Qiryat Tiv'on
> Israel
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>



-- 
-- 
-- Boris Shtrasman 
|Gnu/Linux Software developer   |
| IM   : bori...@jabber.org   |
| URL  : myrtfm.blogspot.com|
___
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Migrating kde data from kde3 to kde4

2010-06-13 Thread Stan Goodman
On Sunday 13 June 2010 10:20:20 Boris shtrasman wrote:
> If you are going to use kde 4.4 make sure to copy your resource files
>  for example if you are using kaddressbook backup the file :
> ** *.kde/share/apps/kabc/std.vcf*
> 
> After resent upgrade (from 4.3.4 to 4.4.3) there was a bug that did not
> display the contacts.
> I would recommend to copy also all related to kmobiletools since in
>  resent version it dosn't exist anymore.
> 
> On Sun, Jun 13, 2010 at 10:05 AM, Stan Goodman
> 
> wrote:
> > I have installed oS v11.2 on a clean HD in a box that also contains
> > another HD which contains v11.1/kde3. I want to copy the data from
> > the old system to the newer one, which is no problem except for the
> > data of the kde apps.
> >
> > If it were not for the great difference between the two kde versions,
> > I would simply carry over the .kde directory, and be assured that I
> > had captured all the data. But the v11.1 system contains both .kde
> > and .kde4 directories, and I am not at all sure of how they
> > interrelate.
> >
> > I would be grateful to anyone for comments, advice, and warnings on
> > migrating kde data from one system to the other.

What I have is 4.3.5.

Mobile tools are not an issue, as I don't have a mobile phone.

What I had intended to do was to copy over the .kde4 directory in toto to 
the same directory in the new system. The question really is what, if 
anything, do I need to do with the .kde directory. 

-- 
Stan Goodman
Qiryat Tiv'on
Israel

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Fwd: gcc-4.5.0 Success Story with Freecell Solver

2010-06-13 Thread Shlomi Fish

--  Forwarded Message  --

Subject: gcc-4.5.0 Success Story with Freecell Solver
Date: Sunday 13 Jun 2010, 17:21:00
From: Shlomi Fish 
To: Freecell Solving Discussions 


Executive summary: I have built installed gcc-4.5.0 and after Freecell Solver 
ran faster, after I compiled it with gcc-4.5.0.

I've recently gone over my LWN.net ( http://lwn.net/ ) backlog and saw this 
feature about gcc-4.5.0:

http://lwn.net/Articles/387122/

It mentioned the "Link-Time Optimisation" feature (using the -flto flag) which 
piqued my interest on how well it will work for Freecell Solver ( 
http://fc-solve.berlios.de/ ). So I set out to try it out.

I downloaded gcc-4.5.0 (which took a while due to the large archive size and 
problems in finding a fast mirror), unpacked it, and read the INSTALL/ notes. 
After running the appropriate ./configure call, I typed make and waited. For 
many hours. But it built up successfully, and I was able to install it.

I used the following command, which I've stored in a shell script:

[shell]
#!/bin/bash
~/Download/unpack/prog/gcc/gcc-4.5.0/configure \
--prefix="$HOME"/apps/prog/gcc-4.5.0
[/shell]

After installing gcc, I patched fc-solve's CMakeLists.txt to check for the 
availability of the -flto flag and also enable it at link-time. This went 
well, and I benchmarked Freecell Solver after being compiled with it.

The end result was that it made the standard Microsoft FreeCell 32,000 boards 
benchmark take 91.0577080249786 seconds instead of 93.6305630207062 seconds , 
an improvement of over 2.5 seconds and of roughly 2.75%. (Going down to 351.43 
boards per second). So it seems like an impressive gain.

That was on my Pentium 4-2.4 GHz stationary machine running Mandriva Linux 
Cooker.

Then I set out to do the same on my newer Core Duo x86-64 laptop also running 
Mandriva Cooker. I installed gcc this time restricting the --enable-languages 
to c and c++ so it will take less time. After installing it in a prefix, I 
realised CMake could not find its -flto flag . As it turns out, it was not 
enabled because gcc-4.5.0 could not find libelf-devel. Installing it resolved 
it.

The difference there was less dramatic than on my P4 machine - about 0.5 
seconds were saved out of about 35 seconds running time. However, in general, 
I'm happy with the results.

Thanks to all the gcc developers for their hard work on making gcc better, 
including improving the performance of many programs.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
Original Riddles - http://www.shlomifish.org/puzzles/

God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-
-- 
-
Shlomi Fish   http://www.shlomifish.org/
http://www.shlomifish.org/humour/ways_to_do_it.html

God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Migrating kde data from kde3 to kde4

2010-06-13 Thread Dotan Cohen
Stan, for KDE 3 -> 4 I copy over only the individual apps' settings,
such as Kmail. Those should be in ~/.kde[4]/share/apps. You can copy
over that whole directory, but I prefer doing it app by app.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Migrating kde data from kde3 to kde4

2010-06-13 Thread Stan Goodman
On Sunday 13 June 2010 19:35:59 you wrote:
> On 6/13/10, Stan Goodman  wrote:
> > If it were not for the great difference between the two kde versions,
> > I would simply carry over the .kde directory, and be assured that I
> > had captured all the data. But the v11.1 system contains both .kde
> > and .kde4 directories, and I am not at all sure of how they
> > interrelate.
> 
> FWIW: at some point I surely went through the KDE3->KDE4 move (on
> Fedora) and I do not recall it ever affecting me. I keep /home on a
> separate partition, so when I upgrade the system it remains intact.
> Since I don't recall doing anything specific I suspect that either no
> directory names needed to be changed or the update took care of
> everything. I don't see any ~/.kde{3,4} directories on any of my
> machines (on 4.4.{2,3} now), so everything was transparent (and I
> don't recall anything breaking in KDE).

I too keep /home on a separate partition, and have thought about keeping 
the same /home partition intact across upgrades, but I have never dared to 
do so. So my situation is different enough from yours that I still need to 
ask the following question more explicitly:

Dotan suggests carrying over only ~/.kde[4]/share/apps/. Since 
e.g. kmail is represented in both .kde and .kde4, presumably I should 
carry over both appName directories. But apps also have subdirectories 
~/.kde[4]/share/config/, so there are altogether four appName 
subdirectories needed for each  kde app. I'd bother copying at all only 
for kmail and kaddressbook, because that is where imprtant data are.

But when v11.2 and kde4 install kmail and kaddressbook, will they actually 
make use of these directories that came from kde3?

> 
> Of course, maybe it is just thanks to some RedHat/Fedora sorcery, but
> chances are KDE took care of it.
> 
> Why not backup your new ~/.kde{,4}, move the old ~/.kde over, start
> KDE and see what happens?

Good plan. Thanks much.

-- 
Stan Goodman
Qiryat Tiv'on
Israel

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Migrating kde data from kde3 to kde4

2010-06-13 Thread Dotan Cohen
On 14 June 2010 00:03, Stan Goodman  wrote:
> I too keep /home on a separate partition, and have thought about keeping
> the same /home partition intact across upgrades, but I have never dared to
> do so. So my situation is different enough from yours that I still need to
> ask the following question more explicitly:
>

I also keep a separate /home. Each distro get the user name as per the
distro name and installed partition, and when I've checked that
everything works then I simply move my personal files from one
/home/user to another.

For instance, my current username is karmic1 because I am using Ubuntu
9.10 in sda1. When I installed Ubuntu 10.04 to sda2 I called the user
lucid2. That was a bad distro, so I'm still using the old karmic1 user
and booting into Ubuntu 9.10.


> Dotan suggests carrying over only ~/.kde[4]/share/apps/. Since
> e.g. kmail is represented in both .kde and .kde4, presumably I should
> carry over both appName directories. But apps also have subdirectories
> ~/.kde[4]/share/config/, so there are altogether four appName
> subdirectories needed for each  kde app. I'd bother copying at all only
> for kmail and kaddressbook, because that is where imprtant data are.
>

You must check if your kmail install is using the file from .kde or
.kde4. It is only using one.


> But when v11.2 and kde4 install kmail and kaddressbook, will they actually
> make use of these directories that came from kde3?
>

In the specific case of Kmail, yes.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: gcc-4.5.0 Success Story with Freecell Solver

2010-06-13 Thread Amos Shapira
There was an item on slashdot about LLVM project, have you tested it?

On 6/14/10, Shlomi Fish  wrote:
>
> --  Forwarded Message  --
>
> Subject: gcc-4.5.0 Success Story with Freecell Solver
> Date: Sunday 13 Jun 2010, 17:21:00
> From: Shlomi Fish 
> To: Freecell Solving Discussions 
>
>
> Executive summary: I have built installed gcc-4.5.0 and after Freecell
> Solver
> ran faster, after I compiled it with gcc-4.5.0.
>
> I've recently gone over my LWN.net ( http://lwn.net/ ) backlog and saw this
> feature about gcc-4.5.0:
>
> http://lwn.net/Articles/387122/
>
> It mentioned the "Link-Time Optimisation" feature (using the -flto flag)
> which
> piqued my interest on how well it will work for Freecell Solver (
> http://fc-solve.berlios.de/ ). So I set out to try it out.
>
> I downloaded gcc-4.5.0 (which took a while due to the large archive size and
> problems in finding a fast mirror), unpacked it, and read the INSTALL/
> notes.
> After running the appropriate ./configure call, I typed make and waited. For
> many hours. But it built up successfully, and I was able to install it.
>
> I used the following command, which I've stored in a shell script:
>
> [shell]
> #!/bin/bash
> ~/Download/unpack/prog/gcc/gcc-4.5.0/configure \
>   --prefix="$HOME"/apps/prog/gcc-4.5.0
> [/shell]
>
> After installing gcc, I patched fc-solve's CMakeLists.txt to check for the
> availability of the -flto flag and also enable it at link-time. This went
> well, and I benchmarked Freecell Solver after being compiled with it.
>
> The end result was that it made the standard Microsoft FreeCell 32,000
> boards
> benchmark take 91.0577080249786 seconds instead of 93.6305630207062 seconds
> ,
> an improvement of over 2.5 seconds and of roughly 2.75%. (Going down to
> 351.43
> boards per second). So it seems like an impressive gain.
>
> That was on my Pentium 4-2.4 GHz stationary machine running Mandriva Linux
> Cooker.
>
> Then I set out to do the same on my newer Core Duo x86-64 laptop also
> running
> Mandriva Cooker. I installed gcc this time restricting the
> --enable-languages
> to c and c++ so it will take less time. After installing it in a prefix, I
> realised CMake could not find its -flto flag . As it turns out, it was not
> enabled because gcc-4.5.0 could not find libelf-devel. Installing it
> resolved
> it.
>
> The difference there was less dramatic than on my P4 machine - about 0.5
> seconds were saved out of about 35 seconds running time. However, in
> general,
> I'm happy with the results.
>
> Thanks to all the gcc developers for their hard work on making gcc better,
> including improving the performance of many programs.
>
> Regards,
>
>   Shlomi Fish
>
> --
> -
> Shlomi Fish   http://www.shlomifish.org/
> Original Riddles - http://www.shlomifish.org/puzzles/
>
> God considered inflicting XSLT as the tenth plague of Egypt, but then
> decided against it because he thought it would be too evil.
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>
> -
> --
> -
> Shlomi Fish   http://www.shlomifish.org/
> http://www.shlomifish.org/humour/ways_to_do_it.html
>
> God considered inflicting XSLT as the tenth plague of Egypt, but then
> decided against it because he thought it would be too evil.
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Problems of a desktop Linux distribution GUI sudo

2010-06-13 Thread Elazar Leibovich
When using my Ubuntu I used to make the following pattern, whenever an
update symbol showed up in the "taskbar" above (in gnome it's the upper
panel), I clicked on it, entered my password to sudo up the privileges of
the update process, and installed the needed packages to the machine.

Then I thought, wait a mintue, this is happening all too often! The only
security signature I trust here is the shape of the symbol on the taskbar! A
malicious program can immitate the update GUI, and lure me to leverage its
permissions very easily.

It can't be that bad, I thought, I can probably only sudo a known program.
Alas, in the latest version of Ubuntu the sudoers file says

%admin ALL=(ALL) ALL

and the default user is indeed in the admin group.

Is that really a problem (I'm probably not the only one who noticed it)? Is
it like that in other distributions?

In Windows when you're asked to leverage a permission of a program, it shows
you the digital signature of the executable asking for privileges (or at
least that's how it looks like in the dialog), which is not a very good
solution IMHO, but it's at least better than nothing.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Problems of a desktop Linux distribution GUI sudo

2010-06-13 Thread geoffrey mendelson


On Jun 14, 2010, at 8:49 AM, Elazar Leibovich wrote:


It can't be that bad, I thought, I can probably only sudo a known  
program. Alas, in the latest version of Ubuntu the sudoers file says


%admin ALL=(ALL) ALL



At least it still requires you to enter a password. This prevents a  
random person walking up to your computer and deleting or installing  
software, etc.


If you don't like it you are welcome to create an "adminstrator"  
account, change root so that you can log in to it, and comment out (or  
delete) that line.
What doing any of them breaks, I have no idea and accept no  
responsability for anything breaking.




In Windows when you're asked to leverage a permission of a program,  
it shows you the digital signature of the executable asking for  
privileges (or at least that's how it looks like in the dialog),  
which is not a very good solution IMHO, but it's at least better  
than nothing.


That started as an add-on to Windows XP, Windows Defender which  
originally was Giant Anti-Spyware. Not surprisingly, although it  
really worked, was not a pain to have on your system, and was free (as  
in beer, not FOSS), very few people used it. So it was made an  
integral part of Windows Vista and was the number one complaint. There  
were many postings about how to turn it off. :-(


Geoff.


--
geoffrey mendelson N3OWJ/4X1GM Jerusalem Israel geoffreymendel...@gmail.com
I do multitasking. If that bothers you, file a complaint and I will  
start ignoring it immediately.








___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Problems of a desktop Linux distribution GUI sudo

2010-06-13 Thread Elazar Leibovich
On Mon, Jun 14, 2010 at 9:12 AM, geoffrey mendelson <
geoffreymendel...@gmail.com> wrote:

>
> On Jun 14, 2010, at 8:49 AM, Elazar Leibovich wrote:
>
>>
>> It can't be that bad, I thought, I can probably only sudo a known program.
>> Alas, in the latest version of Ubuntu the sudoers file says
>>
>> %admin ALL=(ALL) ALL
>>
>>
> At least it still requires you to enter a password. This prevents a random
> person walking up to your computer and deleting or installing software, etc.
>
> If you don't like it you are welcome to create an "adminstrator" account,
> change root so that you can log in to it, and comment out (or delete) that
> line.
> What doing any of them breaks, I have no idea and accept no responsability
> for anything breaking.


And that's exactly the reason I don't want to change the distribution's
workflow. This is not a problem for me, I guess that I can figure out which
application is requesting the permission by a quick terminal session, but if
I expect to use Ubuntu in home desktop of a non-power user, and if
(hopefully) someday linux will gain nontrivial market share, that would be a
problem.


>
>
>> In Windows when you're asked to leverage a permission of a program, it
>> shows you the digital signature of the executable asking for privileges (or
>> at least that's how it looks like in the dialog), which is not a very good
>> solution IMHO, but it's at least better than nothing.
>>
>
> That started as an add-on to Windows XP, Windows Defender which originally
> was Giant Anti-Spyware. Not surprisingly, although it really worked, was not
> a pain to have on your system, and was free (as in beer, not FOSS), very few
> people used it. So it was made an integral part of Windows Vista and was the
> number one complaint. There were many postings about how to turn it off. :-(
>
That's why I said it's not a very good solution. Moreover, I fear that
people will get used to clicking OK when those messages pops, and would
ignore entirely what is written in them.
Anyone knows what's the approach in OSX?

>
> Geoff.
>
>
> --
> geoffrey mendelson N3OWJ/4X1GM Jerusalem Israel
> geoffreymendel...@gmail.com
> I do multitasking. If that bothers you, file a complaint and I will start
> ignoring it immediately.
>
>
>
>
>
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il