Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/xorg.py
AgeCommit message (Collapse)Author
2022-08-11Cleaned up argument loading slighly. (#1419)Anton Hvornum
* Cleaned up argument loading slighly. Also flipped some --silent logic to avoid double negatives. --plugin and --conf {'plugin': ...} should now both work. * Tweaked xorg profile to use list instead of strings. Because strings causes some issues through add_additional_packages() as it ends up as [(xorg, xorg-xinit), nano] instead of a flat list of packages or string. * Tweaked xorg profile to use list instead of strings. Because strings causes some issues through add_additional_packages() as it ends up as [(xorg, xorg-xinit), nano] instead of a flat list of packages or string.
2022-05-09Updated base.pot, added new translation strings from *.py files, updated ru ↵Alexmelman88
locale (#1146) * Create base.po * Add files via upload * Delete base.po * Add files via upload * Delete base.mo * Add files via upload * Update base.pot * Update base.po * Delete base.mo * Add files via upload * Delete base.mo * Add files via upload * Update base.po * Delete base.mo * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Update desktop.py * Update minimal.py * Update xorg.py * Update server.py * Update desktop.py * Update server.py * Update guided.py * Add files via upload * Add files via upload * Update guided.py * Add files via upload * Add files via upload
2022-05-02Fix #1106 (#1119)Daniel Girtler
* Fix #1106 * flake8 * flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
2022-02-06Flexible menu 2 (#916)Werner Llácer
* Correct definition of btrfs standard layout * New version of the FlexibleMenu * Added new functionality to Selector * Created a GeneralMenu class * GlobalMenu is made a child of GeneralMenu * Some refining in GeneralMenu secret is now a general function * log is invoked in GeneralMenu directly * Correction at GeneralMenu * Materialize again _setup_selection_menu_options. Gives more room to play * Callbacks converted as methods Synch() (data area and menu) decoupled from enable() and made general before any run * script swiss added to the patch set * Only_hd gets a new implementation of the menu flake8 corrections * swiss.py description added * New version of the FlexibleMenu * Added new functionality to Selector * Created a GeneralMenu class * GlobalMenu is made a child of GeneralMenu * changes from the rebase left dangling * Modify order of execution between exec_menu and post_processing. Added selector_name as parameter for exec_menu * minor corrections to the scripts * Adapt to PR #874 * Solve issue #936 * make ask_for_a_timezone as synonym to ask_timezone * Adapted to nationalization framework (PR 893). String still NOT adapted * flake8 complains * Use of archinstall.output_config instead of local copy at swiss.py * Problems with the last merge * more flake8 complains. caused by reverted changes re. ask*timezone * git complains Co-authored-by: Anton Hvornum <anton@hvornum.se>
2022-02-05Routine to properly print and save config data (#888)Werner Llácer
* Created a standard function to show/save the config parameters * flake8 complains * Correct definition of btrfs standard layout * Solve issue #936 * Moved output_configs to lib/configuration.py
2021-12-31Adds amdgpu and radeon to the kernel modules, in the right order. (#823)Anton Hvornum
2021-11-18Added a log message for when xorg fails a certain step. (#731)Anton Hvornum
* Added a log message for when xorg fails a certain step. * Fixed f-string issues. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-10-12Remove duplicate packagetheaeonsolution
2021-09-15Adding linux -headers for nvidia-dkmsAnton Hvornum
This should address #585, as I don't see any nvidia-dkms other than when linux-zen and linux-lts is chosen, I chose to put the -headers logic in the same section. If this is needed for vanilla `linux` kernel as well, then move the logic one line up.
2021-05-27Add descriptions for top-level profilesDylan M. Taylor
2021-05-24removed builtins usage and added gfx_package key in configYash Tripathi
2021-05-15One package per line formatting in profiles - easier to read/maintainDylan Taylor
2021-05-15Whitespace changesDylan Taylor
2021-05-15Final whitespace changes I thinkDylan Taylor
2021-05-15A couple more small fixesDylan Taylor
2021-05-15Try to remove some unused importsDylan Taylor
2021-05-15Very selectively fix some PEP 8 issues with profilesDylan Taylor
2021-05-12Replaced the magic __builtin__ global variable. This should fix mypy ↵Anton Hvornum
complaints while still retaining the same functionality, kinda. It's less automatic but it's also less of dark magic, which makes sense for anyone but me.
2021-04-29Cleaning up packages. (#374)Anton Hvornum
* Cleaning up packages. installer now relies on __packages__ definition. Which will work with external libs to more easily gather packages used by installer and profiles. * Added back the logic for the log message, where we inform if we're adding the boot loader to root or boot. * Added __package__ definition to profiles and the installer. These packages can be used as an indication from outside libraries of what could *possibly* be installed. For instance an offline-tool could source these, it would source more than it needed to, but it would give a quick rundown of what might be needed. * Removed import of __base__packages__ as it's now just __packages__ after a lot of stream-lining. * Explosion misspelling. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-28install nvidia-dkms when running linux-zen/ltsadvaithm
2021-04-22fixed another messed up importadvaithm
2021-04-22readded some commits that got removedadvaithm
2021-04-22merged with masteradvaithm
2021-04-19Update some functionsSecondThundeR
Here are list of changes: - Added IP/subnet validation using Python's `ipaddress` module - Added workaround for network configuration modes where user can enter DHCP or IP without brackets. - Returned local printing options for some functions to keep `The above list...` - Moved booleans for `generic_select` below options and text parameters - Imported some functions from `archinstall` to reduce the`archinstall.` part of the lines. - Reduced variable name length for simplicity - Fixed some typos
2021-04-17Replace input with generic_select where necessarySecondThundeR
Here are list of changes: > From now on, `generic_select` will be called "Select function", for clarity - Slightly updated select function - Removed options output for some functions, where it's better to do with select function - Added sorting for all lists passed to select function - Replaced `dict.values()` with `dict` as options parameter - Simplified input checking for all functions that use the select function - Added temporary *(for now)* workaround for passing `?` and `help` inputs - Merged fix for `partition.format()`
2021-04-11Fixed PR #273. Moved the graphic drivers into hardware since they are ↵Anton Hvornum
hardware specific, in the long run maybe we move them into 'drivers' or something. And moved the user interaction from gfx_drivers into user_interactions. And removed the import from installer.py to __init__.py since we don't want to import 'global functions' in extension imports.
2021-04-10Multiple restructuring changesDylan Taylor
2021-04-09Merge pull request #251 from advaithm/torxed-v2.2.0Anton Hvornum
Split drivers from xorg and create a seprate profile for wayland. Remove the use of sddm from sway and raise issues with the nvidia drivers
2021-04-09renamed driver.py to gfx_driver.py. also explictly check if we are using the ↵advaithm
propritery nvidia drivers
2021-04-08Add minimal profile and implement idea of 'top-level' profilesDylan Taylor
2021-04-08sway, wayland specific files. drivers has also been split from xorgadvaithm
2021-04-07Add minimal profile and implement idea of 'top-level' profilesDylan Taylor
2021-01-26Fixes #86 by properly raising the the correct exceptions. This will happen ↵Anton Hvornum
when required steps are skipped. And the error message is to simply restart the installer.
2020-10-19Fix typos.Varun Madiath
2020-09-30Added gnome as a profile (and application for application specific steps). ↵Anton Hvornum
Also tweaked xorg to not be so intrusive when used for anything other than awesome WM. Tweaked awesome WM to accomodate this change.
2020-09-30Finalized magic function _prep_function(). Gets returned when a profile is ↵Anton Hvornum
imported through archinstall.select_profile() user-interaction helper function. Asks for additional user-input right away rather than half way into the installation. This makes sure user input is taken care of before starting the installation. Although it complicates the code layout a tiny bit. Profiles need a __name__ and a _prep_function combo in order to be safely executed by select_profile(). select_profile() will not attempt to run or execute the code in any way unless those to conditions are met. In theory :)
2020-09-30Fixing awesome and xorg for first test run.Anton Hvornum
2020-09-29Fixed some selection processes.Anton Hvornum
2020-09-29Adding a baseline xorg profile that can be called from other profiles. Such ↵Anton Hvornum
as the awesome profile, and in the future gnome and kde.