Recent

Author Topic: Lazarus Desktop Environment  (Read 17235 times)

LazaruX

  • Hero Member
  • *****
  • Posts: 597
  • Lazarus original cheetah.The cheetah doesn't cheat
Lazarus Desktop Environment
« on: July 14, 2010, 01:00:12 pm »
LazDesk-E

A cross compatible Desktop Environment, not that difficult with Lazarus/FPC.
What is a Desktop Environment (DE) ?
A DE is just some applications together running in a Windows Manager which will provide you basic functionality, like a Desktop, a Panel (Application bar), File Manager, and so on.
The main idea behind this project is to create a Desktop Environment which will work on Windows, GNU/Linux and MacOS X systems at least, maybe more in the future.

The main idea is to have the following programs all made with Lazarus and distribute them in a package that will become the DE.

What do we need?

- Compiler: FreePascal
- IDE: Lazarus

- Desktop:??
- File Manager:??
- Panel - Application bar:??
- Control Panel:??
- Task Manager:??

- Calculator:??
- Text editor:??
- Browser: ??

- Chat Client:??


I think we should not have an Office Suite, cause OpenOffice or Abiword are there much more time and are probably more stable/compatible than what we could make.

My syggestion is to use the GTK2 toolkit, because this is much easy to use and works on all 3 the systems, while other toolkits don't always.
Why not QT? Well, GTK has been there longer than QT and GTK is an easier interface than QT in my opinion, but maybe later on we can also provide a redistribute with the QT version of the programs.
The application should have a near similar interface, to be similar, so that this DE will have its own style.   

Having the elements what I mentioned above will already be a nice DE, at the level of IceWM, FVWM (which are also Window Managers)

I had suggested this in the past, and people had complained that its too difficult to make such a thing in a cross compatible way, but I don't agree and am sure its possible.

How does it work?

Imagine a WM starts, with just an empty Desktop. We load up our applications, taskbar,...that's it!

What do you think about it?
Who wants to work on it? On what?



skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Lazarus Desktop Environment
« Reply #1 on: July 14, 2010, 01:24:23 pm »
What do you think about it?
I'm sorry guys, but imho it's waste of time!

Such DE would be welcomed on Linux Systems only. (I wonder if it's even possible to replace Windows and Mac OS X default environments)

But I'd suggest to use fpGUI, instead of Qt or Gtk, since it's language native.
« Last Edit: July 14, 2010, 01:26:22 pm by skalogryz »

Laksen

  • Hero Member
  • *****
  • Posts: 802
    • J-Software
Re: Lazarus Desktop Environment
« Reply #2 on: July 14, 2010, 01:44:35 pm »
My syggestion is to use the GTK2 toolkit, because this is much easy to use and works on all 3 the systems, while other toolkits don't always.
Why not QT? Well, GTK has been there longer than QT and GTK is an easier interface than QT in my opinion, but maybe later on we can also provide a redistribute with the QT version of the programs.
The application should have a near similar interface, to be similar, so that this DE will have its own style.
Why not use LCL? ;) That would make it run on anything, and make usage of native theming a possibility. I think this is imperative to any kind of success
Sure, later on we could build a WM even with it's own widgetset built entirely in FreePascal :)

Quote
What do you think about it?
Who wants to work on it? On what?
Well, I think it's a nice idea. It would surely help my plans to take over the desktop market with my OS :P

I'll gladly help if the project can be done abstract and portable enough

Such DE would be welcomed on Linux Systems only. (I wonder if it's even possible to replace Windows and Mac OS X default environments)
It's possible to some degree in Windows(KDE). You can change the window manager if I'm not mistaken, but that's alot of work(I can't remember which one that did that)

Quote
But I'd suggest to use fpGUI, instead of Qt or Gtk, since it's language native.
Again, I propose we go widgetset independent and use LCL :)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Lazarus Desktop Environment
« Reply #3 on: July 14, 2010, 02:09:19 pm »
Again, I propose we go widgetset independent and use LCL :)
what prevents from using fpGUI through LCL?

Laksen

  • Hero Member
  • *****
  • Posts: 802
    • J-Software
Re: Lazarus Desktop Environment
« Reply #4 on: July 14, 2010, 02:20:02 pm »
Again, I propose we go widgetset independent and use LCL :)
what prevents from using fpGUI through LCL?
Absolutely nothing, I think. Is the LCL interface to fpGUI stable?

LazaruX

  • Hero Member
  • *****
  • Posts: 597
  • Lazarus original cheetah.The cheetah doesn't cheat
Re: Lazarus Desktop Environment
« Reply #5 on: July 14, 2010, 02:25:23 pm »
Well, about which widget we should use its not a big problem, since we are using Lazarus, in 2 minutes we compile the app on the widget we want, ...

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12641
  • FPC developer.
Re: Lazarus Desktop Environment
« Reply #6 on: July 14, 2010, 02:45:48 pm »
Again, I propose we go widgetset independent and use LCL :)
what prevents from using fpGUI through LCL?

If I see the supported components/widgetset list in the wiki, just about everything?

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Lazarus Desktop Environment
« Reply #7 on: July 14, 2010, 04:02:33 pm »
I'm very interested in seeing how to replace Desktop and Application Panel using LCL.

I really doubt in possibility of this for Windows and MacOSX. And i also think it's not so easy to be implemented for Qt and Gtk2 as well. Just because "desktop" and "application panel" is base (or root) of Desktop environment.

Since fpGUI is not based on any DE explicitly (i can be wrong here), it should be possible to create a stand-alone DE using it (based on XWindows) with its own Desktop and Applications panel.

As you guys have already noted I wanted to point, that fpGUI-widgetset is not ready for the usage.

To sum things up:
1) it's possible to replace almost all system native applications and utilities with LCL based;
2) it's next to impossible to write LCL based Desktop Environment;

Btw, I don't think that LCL is a good library for writing DE. It's the excellent library to port Windows (Delphi) code and system native application.
« Last Edit: July 14, 2010, 04:07:39 pm by skalogryz »

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2673
Re: Lazarus Desktop Environment
« Reply #8 on: July 14, 2010, 06:33:14 pm »
Replacing the windows desktop with your own "desktop" (=shell) app is not that difficult. We use it for some of our software installations, where the user is allowed to only run our software.

For the current user (in the registry):
HKCU\Software\Miscrosoft\Windows NT\CurrentVersion\Winlogon
  Shell REG_SZ c:\full\path\to\your\app.exe
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Lazarus Desktop Environment
« Reply #9 on: July 14, 2010, 07:31:56 pm »
Replacing the windows desktop with your own "desktop" (=shell) app is not that difficult. We use it for some of our software installations, where the user is allowed to only run our software.
Kiosk mode? most of system lock viruses are working the same way :)

well... i must admit then, writing cross-platfrom Object Pascal ED is possible! But does it worth it?
« Last Edit: July 14, 2010, 07:34:38 pm by skalogryz »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Lazarus Desktop Environment
« Reply #10 on: July 15, 2010, 05:24:24 am »
Quote
If I see the supported components/widgetset list in the wiki, just about everything?
You mean this one? Hasn't it been updated or it really reflects the current status?

LazaruX

  • Hero Member
  • *****
  • Posts: 597
  • Lazarus original cheetah.The cheetah doesn't cheat
Re: Lazarus Desktop Environment
« Reply #11 on: July 15, 2010, 11:29:21 pm »
>what prevents from using fpGUI through LCL?

Again which Widgset we will be using is not much important now, in Lazarus you can change widgest very fastly. So this is not a problem, if we decide fpGUI, GTK, QT, lcl, or whatever, that's not a problem now.

>I'm very interested in seeing how to replace Desktop and Application Panel using LCL.

There are more professional ways obviously, but a dirty way of doing this is to just load a Panelon boot and hide the existing panels. As desktop we could use the existing ones in the beginning, or use a Full Screen Form as a desktop.

We already have:

Audio Player: Cactus Juckebox
File Manager: Seksi Commander??? Double Commander???
Text Editor: LazPad
...
...

http://wiki.freepascal.org/Lazarus_Application_Gallery
http://wiki.freepascal.org/Projects_using_Lazarus

The question is now:

who is intrested in this project? In which part of the project???

I mean, I have been trying IceWM and that is called a Desktop Environment too (apart of beeing a Window Manager), we can make better, much better. Just starting as a bounch of applications whom are united under one creator (Lazarus/FPC).

I am ready to create the application panel and the start menu.

Laksen

  • Hero Member
  • *****
  • Posts: 802
    • J-Software
Re: Lazarus Desktop Environment
« Reply #12 on: July 15, 2010, 11:51:46 pm »
I'm still interested!

I'm very interested in the desktop and application bar. Those are pretty much the core components

I think we should create a wiki page for it. I don't think it'll take of here

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12641
  • FPC developer.
Re: Lazarus Desktop Environment
« Reply #13 on: July 17, 2010, 07:17:04 pm »
Replacing the windows desktop with your own "desktop" (=shell) app is not that difficult. We use it for some of our software installations, where the user is allowed to only run our software.

For the current user (in the registry):
HKCU\Software\Miscrosoft\Windows NT\CurrentVersion\Winlogon
  Shell REG_SZ c:\full\path\to\your\app.exe

Are shells win32 apps or winnt ones?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2673
Re: Lazarus Desktop Environment
« Reply #14 on: July 17, 2010, 08:13:47 pm »
Replacing the windows desktop with your own "desktop" (=shell) app is not that difficult. We use it for some of our software installations, where the user is allowed to only run our software.

For the current user (in the registry):
HKCU\Software\Miscrosoft\Windows NT\CurrentVersion\Winlogon
  Shell REG_SZ c:\full\path\to\your\app.exe

Are shells win32 apps or winnt ones?

whats the difference between win32 and winnt apps ? You can use any app as shell (even notepad.exe)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018