⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

veridian_kernel/desktop/
mod.rs

1//! Desktop subsystem
2//!
3//! Provides desktop environment functionality including font rendering,
4//! window management, and graphical user interface components.
5
6pub mod a11y;
7pub mod animation;
8pub mod app_switcher;
9pub mod desktop_ext;
10pub mod desktop_icons;
11pub mod display_manager;
12pub mod file_assoc;
13pub mod file_manager;
14pub mod font;
15pub mod image_viewer;
16pub mod kde_session;
17#[allow(unused)]
18pub mod launcher;
19pub mod mime;
20pub mod notification;
21pub mod panel;
22pub mod pdf;
23pub mod renderer;
24pub mod screen_lock;
25pub mod session_config;
26pub mod settings;
27pub mod syntax;
28pub mod systray;
29pub mod terminal;
30pub mod text_editor;
31pub mod wayland;
32pub mod window_manager;
33pub mod xwayland;
34
35use crate::error::KernelError;
36
37/// Initialize the desktop subsystem
38pub fn init() -> Result<(), KernelError> {
39    println!("[DESKTOP] Initializing desktop subsystem...");
40
41    // Initialize font rendering
42    font::init()?;
43
44    // Initialize Wayland compositor
45    wayland::init()?;
46
47    // Initialize window manager
48    window_manager::init()?;
49
50    // Initialize terminal system
51    terminal::init()?;
52
53    // Initialize file manager
54    file_manager::init()?;
55
56    // Initialize text editor
57    text_editor::init()?;
58
59    // Initialize system tray
60    systray::init();
61
62    // Initialize application launcher
63    let _ = launcher::init();
64
65    println!("[DESKTOP] Desktop subsystem initialized");
66    Ok(())
67}