Built-in Applications

Explore the application suite and .gxm format

Application Suite

guideXOS includes a variety of built-in applications that showcase the capabilities of the operating system. All applications are GUI-based and run in their own windows.

โœจ Quick Launch:

Access all applications from the Start menu or use the apps command to see what's installed!


Built-in Applications

๐Ÿ“ Notepad

A simple text editor for creating and editing text files:

  • Features: Open, edit, save text files
  • Keyboard shortcuts: Ctrl+S (save), Ctrl+O (open)
  • File formats: .txt, any plain text
  • Launch: Click Start โ†’ Accessories โ†’ Notepad

๐ŸŽจ Paint

A bitmap graphics editor for creating and editing images:

  • Tools: Pencil, brush, eraser, fill bucket, line, rectangle, circle
  • Color picker: RGB color selection
  • Canvas: 800x600 default size
  • File formats: .bmp (bitmap images)
  • Launch: Click Start โ†’ Graphics โ†’ Paint

๐Ÿงฎ Calculator

A functional calculator application:

  • Operations: +, -, ร—, รท
  • Functions: Square root, percentage, memory
  • Input: Click buttons or use keyboard
  • Launch: Click Start โ†’ Accessories โ†’ Calculator

๐Ÿ“‹ Console

Command-line interface for system control:

  • Commands: 30+ system commands
  • History: Up/down arrows to recall commands
  • Auto-launch: Opens automatically at boot
  • Launch: Click Start โ†’ System โ†’ Console

๐Ÿ“ File Manager

Browse and manage files graphically:

  • Features: Navigate directories, view files
  • Operations: Copy, move, delete, rename
  • Views: List view with file details
  • Launch: Click Start โ†’ System โ†’ File Manager

๐ŸŒ Web Browser

Basic web browser with HTTP support:

  • Protocol: HTTP (HTTPS not supported)
  • Rendering: Basic HTML rendering
  • Navigation: URL bar, back/forward buttons
  • Launch: Click Start โ†’ Internet โ†’ Web Browser

๐Ÿ’ฌ IRC Client

Internet Relay Chat client:

  • Features: Connect to IRC servers, join channels
  • Commands: /join, /part, /msg, /nick
  • Protocol: Standard IRC (port 6667)
  • Launch: Click Start โ†’ Internet โ†’ IRC Client

๐Ÿ“Š Task Manager

Monitor system resources:

  • Process list: View running applications
  • Memory usage: See RAM consumption
  • Performance: CPU and memory graphs
  • Launch: Press Ctrl+Shift+Esc or Start โ†’ System โ†’ Task Manager

๐Ÿ–ผ๏ธ Image Viewer

View image files:

  • Formats: BMP images
  • Features: Zoom, pan, fullscreen
  • Navigation: Next/previous images
  • Launch: Click Start โ†’ Graphics โ†’ Image Viewer

โš™๏ธ Settings

System configuration:

  • Display: Resolution, refresh rate
  • Network: IP configuration
  • System: About, version info
  • Launch: Click Start โ†’ System โ†’ Settings

GXM Executable Format

guideXOS uses a custom executable format called .gxm (guideX Module):

Format Structure

GXM File Structure:
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Header              โ”‚
โ”‚  - Magic: "GXM\0"    โ”‚
โ”‚  - Version: 1        โ”‚
โ”‚  - EntryPoint offset โ”‚
โ”‚  - Code size         โ”‚
โ”‚  - Data size         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Code Section        โ”‚
โ”‚  (Native x86 code)   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Data Section        โ”‚
โ”‚  (Constants, strings)โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Metadata            โ”‚
โ”‚  (Name, icon, etc.)  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

How GXM Works

  1. Compilation: C# application compiled with NativeAOT
  2. Packaging: Native binary wrapped in GXM format
  3. Loading: OS allocates memory for code and data
  4. Execution: Jump to entry point, application runs
  5. API Access: Apps call OS functions for GUI, file I/O, etc.

Creating GXM Applications

// 1. Write C# application
public class MyApp
{
    public static void Main()
    {
        Window win = new Window("My App", 400, 300);
        win.Show();
    }
}

// 2. Compile with NativeAOT
dotnet publish -r guidexos-x64

// 3. Package as GXM
gxm-packager myapp.exe -o myapp.gxm

// 4. Copy to /bin directory
cp myapp.gxm /bin/

// 5. Run from Start menu or console
gx> exec /bin/myapp.gxm

API Libraries

Applications can use these OS APIs:

  • GUI.dll - Window, Button, TextBox, Label, etc.
  • Graphics.dll - Drawing primitives, images
  • FileSystem.dll - File and directory operations
  • Network.dll - Sockets, HTTP, DNS
  • System.dll - Memory, process, threading

Launching Applications

Method 1: Start Menu

The easiest way - click the Start button and browse categories:

Click [Start] button
    ↓
Select category (e.g., "Accessories")
    ↓
Click application name (e.g., "Notepad")
    ↓
Application launches in new window

Method 2: Console Command

Use the console to launch apps by name or path:

gx> apps
Installed Applications:
  notepad.gxm
  paint.gxm
  calc.gxm
  browser.gxm

gx> exec notepad
Launching Notepad...

gx> exec /bin/paint.gxm
Launching Paint...

Method 3: Desktop Icons

Double-click icons on the desktop to launch favorite apps.

Method 4: File Manager

Navigate to /bin in File Manager and double-click .gxm files.

๐Ÿ’ก Pro Tip:

Use Alt+Tab to quickly switch between running applications!


Related Topics