LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-04-2010, 02:50 PM   #1
rosco136
Member
 
Registered: Apr 2005
Location: England
Distribution: openSUSE 11.0, 11.1
Posts: 49

Rep: Reputation: 15
Can be the KDE3 KPager be downloaded and compiled in KDE4?


I have been using openSUSE 11.0 for some time now and love the feel of KDE3.
Especially KPager, which shows me at a glance what is open on each desktop.

This is really important when I am doing cad design with my Win-XP CAD, running in vmware in one desktop, interacting with my linux CAD in another desktop, gathering data from the www with Firefox in another dektop, while my emails and Skype are on the 5th desktop.

So, on a 'spare' pc I decided to try openSUSE 11.2, KDE4 version.
To keep it short, I am extremely uncomfortable with KDE4.
It may be fine for wizzie, pretty applications but I find it extremely cumbersome - dare I say it - like Windows 7 !!

And worse still, there is no KPager functionality.

So, finally,

Can the KDE3 KPager be downloaded from source and be compiled in KDE4?

If not, how long will KDE3 be around before it is superseded by KDE4?

I think that the older I get, the more I dislike change!!
 
Old 02-04-2010, 03:19 PM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
It should b, especially if it is a QT application.
Have you tried browsing kde for it or a similar pager?
 
Old 02-05-2010, 02:23 AM   #3
rosco136
Member
 
Registered: Apr 2005
Location: England
Distribution: openSUSE 11.0, 11.1
Posts: 49

Original Poster
Rep: Reputation: 15
Can be the KDE3 KPager be downloaded and compiled in KDE4?

Quote:
Originally Posted by Mr-Bisquit View Post
It should b, especially if it is a QT application.
Have you tried browsing kde for it or a similar pager?
Thanks for your reply.

I don't know if it is a QT application, I shall investigate.

I have been trying to find a similar pager and will continue to do so.
 
Old 02-05-2010, 02:25 AM   #4
rosco136
Member
 
Registered: Apr 2005
Location: England
Distribution: openSUSE 11.0, 11.1
Posts: 49

Original Poster
Rep: Reputation: 15
Can the KDE3 KPager be downloaded and compiled in KDE4?

Quote:
Originally Posted by Mr-Bisquit View Post
It should b, especially if it is a QT application.
Have you tried browsing kde for it or a similar pager?
Thanks for your reply.

I don't know if it is a QT application, I shall investigate.

I have been trying to find a similar pager and will continue to do so.
 
Old 03-09-2010, 02:08 PM   #5
rhood
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 1
I got kpager to compile with KDE 4!

I was very sad when kpager dissappeared, since I haven't found any replacement that gives the option of showing actual pixmaps of the windows on the desktops instead of just icons for the applications the windows belong to, and I like my pager down in the corner and larger than I would like a standard panel.

Here's what I did to get it to work on my machine (a 64-bit Fedora 12 system)... no guarantee it will work for anyone else, though.

1) Setup- I made sure my installation had qt 4 on it and set up my .bashrc so that the QTDIR QTLIB, etc environment variables were pointing to the right version of qt (they were originally set for qt 3, even though I also had 4 installed) and that my LD_LIBRARY_PATH and PATH let me find the right version of qmake and the qt libraries. Also made sure that I had the development packages installed for qt4 (so I had the header files) and that I also had the KDE headers and libraries and all that stuff (kdelibs package and kdelibs-devel or whatever package provides the kdeinit4_kuiserver... I think I added a bunch of extra packages too because I wasn't completely sure which packages were needed since I haven't really done any compiling of KDE stuff before).

2) I got the source code by doing
"svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/utils/kpager/" in some convenient directory

3) in the directory with the code, I created bin and obj directories for convenience

4) edited the kpager source code as follows:
Comment out the '#include "kpageradapter.h"' and 'new KPagerAdaptor(this);' in kpager.cpp.
Comment out any lines in the code that #include .moc files (there are four or five places -- most at the end of files, but one elsewhere).
Since I like the pager to show up without a titlebar and decorations, in kpager.cpp I also changed the constructor call from ": KXmlGuiWindow(parent)" to ": KXmlGuiWindow(parent,Qt::FramelessWindowHint)" (without the quotes).

5) in the directory with the kpager code, I did "qmake -project" to create a qt project (.pro) file. Edited the .pro file so that it had "TARGET=kpager", "DESTDIR = ./bin/", "OBJECTS_DIR = ./obj/", "INCLUDEPATH += /usr/include/kde4", "QT += qt3support" and
"LIBS += -L/usr/lib64/ -lkdeinit4_kuiserver" (of course without the quotes, and modify as necessary for the location of the files on your system).

6) in the directory with the code, do "qmake", then "make". At that point, kpager ran, so I copied the kpager program to somewhere in the PATH (I have a ~/bin directory in my PATH for installing my own stuff in my home directory, or you could put it in usr/local/bin or somewhere for everyone to use, or whatever.

I actually run kpager on the gnome desktop instead of KDE because I like gnome better. So I logged in to a gnome session and from a terminal, I did "kpager &". Configured it how I like it (horizontal layout with 4 desktops and showing pixmaps instead of icons). Held down alt while I moved the pager to where I wanted it, also resized it to how I like it by holding down alt and right-clicking. Once sized and positioned, I did System->Preferences->StartupApps from the gnome menu. On the options tab checked "remember running applications". Closed everything except the pager (the terminal window is all I had open), logout, log back in and then in the same dialog, unchecked the "remember running applications" box. Now whenever I log in, kpager opens up automatically and is sized and positioned how I like it without a titlebar, etc.

I am happy to have kpager on my desktop again and hope that someone will see the light and add kpager back in to future releases of KDE or at least make the new plamoid pagers or whatever they're using now show what the windows look like as pixmaps/images instead of just application icons. (Maybe they do somehow, but I couldn't find it if they do).

The end.
 
1 members found this post helpful.
Old 03-09-2010, 02:16 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Thank you rhood for a most useful first post.

Welcome to LQ
 
Old 02-28-2011, 06:52 PM   #7
elyd
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Trying to compile kpager for opensuse 11.3 (64bit)

I tried to follow rhood's instructions to compile kpager for opensuse 11.3 (64bit). In the make stage, the compiler cannot find 'settings.h' I tried to find 'settings.h' in my system. There are only two copies, none of these worked.

I also miss kpager and appreciate your help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem when upgrading from KDE3.5 to KDE4.2 sri429 Linux - Desktop 5 06-22-2009 12:14 PM
Downgrading KDE4 to KDE3.5 nikhil010586 Linux - Desktop 3 06-01-2009 05:08 PM
KDE4 with KDE3 apps Calgarian Linux - Hardware 1 03-18-2009 12:29 PM
How can I make KDE4 familiar, like KDE3 Phoxis Fedora 4 08-18-2008 11:52 AM
KDE3 with KDE4 widgets don_wombat_73 Linux - Software 1 07-23-2008 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration