GithubHelp home page GithubHelp logo

xubuntu / xubuntu-installer Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 691 KB

License: GNU General Public License v3.0

Makefile 1.40% Dart 22.66% CMake 22.45% C++ 16.26% C 1.28% Python 4.63% Shell 31.32%

xubuntu-installer's Introduction

This project is obsolete. It has been replaced by Xubuntu and other flavors implementing ubuntu-desktop-bootstrap

Xubuntu Desktop Installer

Created from Ubuntu Flavor Installer starting point for Ubuntu flavors.

screenshot

Getting started

  1. Init submodules:

    git submodule update --init --recursive
  2. Install Subiquity's dependencies:

    make install_deps
  3. Install Flutter

  4. Run the installer:

    flutter pub get
    flutter run -d linux
    

Look and feel

The desktop installer has an entry point that allows passing in the name of the flavor displayed throughout the installation wizard, the desired flavor-specific theme, and the flavor’s own installation slides together with delegates for localization.

import 'package:ubuntu_bootstrap/ubuntu_bootstrap.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:yaru/yaru.dart';

import 'slides.dart';

Future<void> main(List<String> args) {
  return runInstallerApp(
    args,
    flavor: UbuntuFlavor.xxx,
    theme: yaruMagentaLight,
    darkTheme: yaruMagentaDark,
    localizationsDelegates: AppLocalizations.localizationsDelegates,
    slides: [
      buildFirstSlide,
      buildSecondSlide,
      buildThirdSlide,
    ],
  );
}

Image assets

Images such as logos and theme previews can be customized by overriding assets used in the desktop installer by creating assets by the same name in the flavor installer. Whenever the desktop installer shows images, it looks up the application (flavor) assets first and if not found, falls back to the one in ubuntu_provision or ubuntu_bootstrap. Therefore, a flavor can freely choose to override a subset or all images.

The full set of image assets is visible at:

xubuntu-installer's People

Contributors

bluesabre avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

Simon Steinbeiß avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.