Re: How to keep KDE at 3.5 in Sid installations.

2009-05-24 Thread David Baron
On Sunday 24 May 2009 20:24:43 Alejandro Exojo wrote:
> El Miércoles, 20 de Mayo de 2009, David Baron escribió:
> > I am running Sid-installed kde4 and compiled kde3.5 with out a hitch. The
> > appropriate startkde scripts set env variables and /etc/profile sets
> > PATHs appropriately.
>
> Can you please give some information about how you did that? I know how to
> compile from source to a safe directory (I prefer $HOME/local), and then I
> can start apps and even the whole desktop, but only after manual tweaking
> of environment variables.
>
> How do you do to start a KDE 3 session from KDE 4's kdm?
>
> Thanks.
>
> --
> Alex

I modify the startkde script for the kde3 to set initial paths for the kde3 
and also an environmental variable. Here is a snippet, placed after testing 
for preexisting session:

# SET UP PATHS FOR KDE3.5:
export KDEDIR=/opt/kde3.5
export QTDIR=$KDEDIR
export 
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games"
export PATH=$KDEDIR/bin:$PATH
export LD_LIBRARY_PATH="/lib:/usr/lib:/usr/local/lib"
export LD_LIBRARY_PATH=$KDEDIR/lib:$LD_LIBRARY_PATH
export KDEHOME=$HOME/.kde3
export DESKTOP_SESSION=kde3


The kde4 startke sets DESKTOP_SESSION=kde4

Something like this use to be there in the distributed version, a while back.

/etc/profile tests that variable and sets paths accordingly so that kde3 
binary and library paths are ahead of the normal ones.

If this variable is not set, place them after the normal ones because I can 
still run many kde3 apps under kde4.

Here is the profile snippet:
if [ $DESKTOP_SESSION == "kde3" ]; then

#echo "KDE3.5 Session"

# SET UP PATHS FOR KDE3.5:
export KDEDIR=/opt/kde3.5
export KDEDIRS=$KDEDIR
export QTDIR=$KDEDIR
export PATH=$KDEDIR/bin:$PATH
export LD_LIBRARY_PATH=$KDEDIR/lib:$LD_LIBRARY_PATH
export KDEHOME=$HOME/.kde3

else

#echo "KDE4 Session"

# SET UP PATHS FOR KDE4:
export KDEDIR=/usr
export KDEDIRS=$KDEDIR:/usr/local
export QTDIR=/usr/lib/qt4
export PATH=$PATH:/opt/kde3.5/bin
export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/kde4:/usr/local/lib/kde4:/opt/kde3.5/lib
export KDEHOME=$HOME/.kde

fi

This is not perfect. If the DESKTOP_SESSION is not set at all, I get an error 
message from bash but it effects nothing.


The session lists for kdm will contain .desktop entries for both kde versions 
calling the appropriate startkde so I simply choose from the usual dropdown 
menu. The relevant entries are "Name" and any translations you want and "Exec" 
and "TryExec" which point to the desired startkde. Voile.

(Note that conforming to the packaged kde4 which now will use .kde, I moved 
the kde3 stuff to .kde3.)



--
To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to keep KDE at 3.5 in Sid installations.

2009-05-24 Thread Alejandro Exojo
El Miércoles, 20 de Mayo de 2009, David Baron escribió:
> I am running Sid-installed kde4 and compiled kde3.5 with out a hitch. The
> appropriate startkde scripts set env variables and /etc/profile sets PATHs
> appropriately.

Can you please give some information about how you did that? I know how to 
compile from source to a safe directory (I prefer $HOME/local), and then I 
can start apps and even the whole desktop, but only after manual tweaking of 
environment variables.

How do you do to start a KDE 3 session from KDE 4's kdm?

Thanks. 

-- 
Alex


--
To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to keep KDE at 3.5 in Sid installations.

2009-05-21 Thread Frederik Schwarzer
On Thursday 21. May 2009 23:38:17 Lisi Reisz wrote:
> On Wednesday 20 May 2009 16:22:34 Mike Bird wrote:

Hi,


> > We can no longer run Testing anywhere.  Eventually I expect we'll run
> > into video driver problems on new hardware but thus far we've been OK
> > with Lenny.
> 
> Hopefully by then XFCE will be fully usable.  It is well on the way.  Nowhere 
> near as nice as KDE3.5, of course, but it has a huge head start on KDE4.


From the day development versions of KDE 4 compiled, there were users
complaining. Many of them tried to talk to the developers about what could
be improved, many wrote bug reports, some even started contributing, adopted
unmaintained software and some wrote rants about the way KDE 4 sucked in.
All that is helpful in its own way. But there were also those who just
told everyone that they will be switching to GNOME, XFCE, OS X, Vista, XP,
Console, Abacus, whatever.

I never understood the intention of the latter ones. It helps noone. That's
what Twitter is for.

I am only subscribed here for a few days but these days felt like planet.k.o
or kde-de...@k.o about a year ago. If that is the usual chant here, then I
apologize for disturbing the routine.

Regards


--
To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to keep KDE at 3.5 in Sid installations.

2009-05-21 Thread Lisi Reisz
On Wednesday 20 May 2009 16:22:34 Mike Bird wrote:
> We can no longer run Testing anywhere.  Eventually I expect we'll run
> into video driver problems on new hardware but thus far we've been OK
> with Lenny.

Hopefully by then XFCE will be fully usable.  It is well on the way.  Nowhere 
near as nice as KDE3.5, of course, but it has a huge head start on KDE4.

Lisi


--
To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to keep KDE at 3.5 in Sid installations.

2009-05-20 Thread David Baron
The most effective way would be to  compile it. Then the kde3 stuff is in 
/usr/local or /opt or wherever you choose to put in but not in /usr.

I am running Sid-installed kde4 and compiled kde3.5 with out a hitch. The 
appropriate startkde scripts set env variables and /etc/profile sets PATHs 
appropriately.



-- 
To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to keep KDE at 3.5 in Sid installations.

2009-05-20 Thread Mike Bird
On Wed May 20 2009 03:40:48 David wrote:
> > That won't work anymore, KDE 4.2 is in testing.
>
> Thanks, noted. I'll probably downgrade my KDE package versions to
> Lenny, but keep the rest on Sid, for as long as I can, and then either
> downgrade everything to Lenny, try KDE 4.2 again (maybe I can get used
> to it and work around all the problems I had with it when I tried
> recently), or use a different window manager.

For years we were using mostly Stable for servers and mostly Testing
for workstations.  We also had a few Fedora and Ubuntu.  We've tried
KDE 4 a few times over the last two years and every attempt has been
a disaster - a disaster compounded by the excessively rosy claims
from upstream.  Sure KDE 4 is usable - in the same way that Windows
3.1 was usable - but users would kill me if we tried to make them use
Windows 3.1 in 2009.

We can no longer run Testing anywhere.  Eventually I expect we'll run
into video driver problems on new hardware but thus far we've been OK
with Lenny.

Thanks to the Debian KDE team for keeping KDE 3.5 in Lenny.  KDE 3.5
may or may not ever see another bug fix, but it will be a long long
time before KDE 4 catches up with KDE 3.5.

--Mike Bird


-- 
To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to keep KDE at 3.5 in Sid installations.

2009-05-20 Thread David
> That won't work anymore, KDE 4.2 is in testing.
>

Thanks, noted. I'll probably downgrade my KDE package versions to
Lenny, but keep the rest on Sid, for as long as I can, and then either
downgrade everything to Lenny, try KDE 4.2 again (maybe I can get used
to it and work around all the problems I had with it when I tried
recently), or use a different window manager.

> Just do not report bugs to Debian BTS about your system. Just to make it clear
> again, you and whoever tries that are completely on their own.
>

Also noted, and I am aware of this. When I've reported other bugs
(like VLC not working correctly on my system), I mention this, and try
my best to make sure that there are no KDE-related dependencies
involved with the problem.

David.


-- 
To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to keep KDE at 3.5 in Sid installations.

2009-05-20 Thread Modestas Vainius
Hello,

On 2009 m. May 20 d., Wednesday 13:10:23 David wrote:
> My solution, for keeping my machine on the latest Sid, except for KDE,
> which stays on testing (for the moment), is to run a command like
> this:
>
> sudo aptitude dist-upgrade $(cat dist_upgrade_vers.txt)
>
> Where dist_upgrade_vers.txt contains lines like this:
>
> akregator/testing
> amor/testing
> ark/testing
> arts/testing
> ...
>
> I generated that text file, by running and re-running 'aptitude
> dist-upgrade', and then adding /testing (for KDE-related
> packages), until aptitude finally reported that it was going to
> upgrade everything to Sid, except for KDE packages.
That won't work anymore, KDE 4.2 is in testing.

> This probably isn't an ideal solution (KDE 3.5 will probably
> eventually start breaking due to newer libs and so on), but for the
> moment it seems to be working correctly, and I will probably need to
> keep tweaking the text file as needed (and maybe even downgrade my
> entire system to Lenny at some point). But, hopefully it will work
> until KDE 4 reaches a point where I'm happy to switch over (maybe by
> 4.5).
Just do not report bugs to Debian BTS about your system. Just to make it clear 
again, you and whoever tries that are completely on their own.

-- 
Modestas Vainius 


signature.asc
Description: This is a digitally signed message part.


How to keep KDE at 3.5 in Sid installations.

2009-05-20 Thread David
Hi, this has probably been discussed hundreds of times before, and
everyone is tired of the arguments by now, but I thought I might be
able to contribute something, for people who want to use Sid, but stay
with KDE 3.5

My personal preference, is to run Debian Sid on my personal PCs, but
not KDE 4.2. I like having cutting-edge versions of most programs, but
not KDE 4.2 (unstable & crashy, and too many missing features that I
use daily in 3.5).

I researched pinning, but that looked like a real pain, for dozens of
packages (just pinning kdelibs5 doesn't work for me, aptitude still
goes mad).

My solution, for keeping my machine on the latest Sid, except for KDE,
which stays on testing (for the moment), is to run a command like
this:

sudo aptitude dist-upgrade $(cat dist_upgrade_vers.txt)

Where dist_upgrade_vers.txt contains lines like this:

akregator/testing
amor/testing
ark/testing
arts/testing
...

I generated that text file, by running and re-running 'aptitude
dist-upgrade', and then adding /testing (for KDE-related
packages), until aptitude finally reported that it was going to
upgrade everything to Sid, except for KDE packages.

This is basically a very ad-hoc, manual version of pinning, but it
works better for me in the current situation.

This probably isn't an ideal solution (KDE 3.5 will probably
eventually start breaking due to newer libs and so on), but for the
moment it seems to be working correctly, and I will probably need to
keep tweaking the text file as needed (and maybe even downgrade my
entire system to Lenny at some point). But, hopefully it will work
until KDE 4 reaches a point where I'm happy to switch over (maybe by
4.5).

David.


-- 
To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org