Commit Graph

277 Commits

Author SHA1 Message Date
Dylan M. Taylor 64b0ef8540
Fix awesome profile installation 2021-04-12 08:53:38 -04:00
Anton Hvornum 398f95ee56 Merge branch 'master' into torxed-v2.2.0 2021-04-12 00:09:55 +02:00
Dylan Taylor cf46642037 Implement MATE desktop environment 2021-04-11 10:19:25 -04:00
Anton Hvornum 1292c07796
Fixed PR #273. Moved the graphic drivers into hardware since they are 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-11 10:20:33 +02:00
Dylan Taylor 09f252d031 Make desktop.py line match master. 2021-04-10 13:29:20 -04:00
Dylan Taylor f74dab9a5a Don't want prompt twice 2021-04-10 12:14:17 -04:00
Dylan Taylor 5f46f76bd5 Multiple restructuring changes 2021-04-10 11:58:53 -04:00
Dylan M. Taylor d510ad5b98
Delete wayland.py 2021-04-10 11:37:04 -04:00
Anton Hvornum b344c63f04
Merge pull request #268 from dylanmtaylor/remove-greeter-settings-gui
Remove lightdm-gtk-greeter-settings
2021-04-10 11:38:09 +00:00
Anton Hvornum ef702c2f20
Merge pull request #265 from dylanmtaylor/patch-6
i3-sensible-terminal can't find a terminal on new install
2021-04-10 11:37:23 +00:00
Dylan Taylor 29ecf232d4 Remove lightdm-gtk-greeter-settings 2021-04-10 00:21:15 -04:00
Dylan M. Taylor 40b3a935eb i3-sensible-terminal can't find a terminal on new install
Add urxvt, the most preferred terminal according to https://man.archlinux.org/man/i3-sensible-terminal.1
Update i3.py
Update i3.py
2021-04-09 22:13:52 -04:00
Dylan M. Taylor 4550076432
Try to solve #261 and related issues 2021-04-09 18:05:00 -04:00
Dylan M. Taylor 3eeb49bd44
Forgot to commit adding budgie to desktop profile 2021-04-09 16:02:26 -04:00
Anton Hvornum 495cd0d5cb
Update i3.py 2021-04-09 21:42:37 +02:00
Anton Hvornum 5bc8ca361a
Update i3.py 2021-04-09 21:42:24 +02:00
Anton Hvornum 33ad831709
Merge pull request #258 from dylanmtaylor/patch-3
Further i3 simplification and cleanup
2021-04-09 19:36:07 +00:00
Dylan M. Taylor 40df2d6e80 Further i3 simplification and cleanup 2021-04-09 15:32:01 -04:00
Dylan M. Taylor 8d627d0c09
Add more suggested packages to sway 2021-04-09 14:19:46 -04:00
Anton Hvornum 5543cb9eda
Merge pull request #254 from dylanmtaylor/budgie
Add missing cherry-picked commits and implement Budgie
2021-04-09 13:09:28 +00:00
Dylan Taylor 326b96d808 Add budgie implementation 2021-04-09 08:32:58 -04:00
m1ten b86233d7ba add lightdm-gtk-greeter 2021-04-09 08:26:37 -04:00
m1ten 738e60c059 applications/xfce4 2021-04-09 08:26:30 -04:00
m1ten 5499bcc8b9 applications/cinnamon 2021-04-09 08:26:07 -04:00
Anton Hvornum 4664bcf29d
Merge pull request #252 from dylanmtaylor/patch-4
As pointed out to me, sway doesn't officially support display managers
2021-04-09 11:47:03 +00:00
Dylan M. Taylor 02f4392c22 As pointed out to me, sway doesn't officially support display managers 2021-04-09 06:52:18 -04:00
Dylan M. Taylor d50b26498e Add the sway packages from advaithm's 2.2.0 sway work
Remove sddm
2021-04-09 06:51:43 -04:00
Anton Hvornum 3d659dead8
Merge pull request #251 from advaithm/torxed-v2.2.0
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-09 08:08:53 +00:00
Anton Hvornum f45429b099
Merge pull request #247 from dylanmtaylor/patch-3
draft: Cherry-Pick i3 Profiles and Make Common i3 Package
2021-04-09 08:05:12 +00:00
advaithm b85514ae5e renamed driver.py to gfx_driver.py. also explictly check if we are using the propritery nvidia drivers 2021-04-09 13:28:12 +05:30
advaithm 349c3ec5b4 Update sway.py 2021-04-09 13:16:39 +05:30
advaithm 8a39bdde4b added information on how to start sway 2021-04-09 12:13:41 +05:30
advaithm 1a760c591f Update sway.py 2021-04-09 12:05:51 +05:30
Dylan Taylor 82c5241946 This might work to make the i3 profiles as small as possible 2021-04-08 21:24:21 -04:00
Dylan Taylor 7e161d187c Remove post-install hooks from i3 profiles 2021-04-08 21:20:00 -04:00
Dylan Taylor 6a6439daa9 Move more logic into common profile 2021-04-08 21:11:33 -04:00
Dylan Taylor a5eb815b3e Move common packages to common i3 profile 2021-04-08 21:00:55 -04:00
Dylan Taylor 37db6b8973 Add is_top_level_profile = False to i3 profiles 2021-04-08 20:58:52 -04:00
Anton Hvornum 8f7d8df89f Swapped print for log and added return values 2021-04-08 20:57:46 -04:00
Dylan M. Taylor e3ea46ce5c Noticed that some KDE instances weren't changed to i3 when copying
Another one
2021-04-08 20:57:12 -04:00
Anton Hvornum 8c5af80c93 Some language correction and function handling
I more or less copied the language from i3-wm as it was more correct.
Also converted `print()` into `installation.log()` so that we can get some color control and end up in the debug log.
Finally, I added a try/except to handle potential crashes and return return values, since otherwise this would happen every run:
 * https://github.com/archlinux/archinstall/pull/190/files#diff-98d75a109b5337cd7d7c948d2cfc2379bcc51be22dfa3ca6491765f0e0bcaaabR349-R355
2021-04-08 20:57:04 -04:00
advaithm 230c5709cc added _post_install hook. 2021-04-08 20:56:45 -04:00
advaithm 6b5b3180f3 add i3-wm and i3-gaps support 2021-04-08 20:55:54 -04:00
Dylan M. Taylor 6f4b35c4e8
Add i3 profile to desktop.py 2021-04-08 20:54:34 -04:00
Dylan M. Taylor 32c902a4d8
draft: Make i3 package to select i3 configuration 2021-04-08 20:52:47 -04:00
Dylan M. Taylor 8ec18d94bb
Add vim to desktop packages as not everyone likes nano 2021-04-08 18:28:13 -04:00
Dylan M. Taylor 51f533539d
Change xscreensaver to slock 2021-04-08 16:34:17 -04:00
Dylan M. Taylor 9545680459
breeze-icons and oxygen-icons are both needed to not have missing icons 2021-04-08 16:21:46 -04:00
Dylan M. Taylor adb73f5ba6
It was far too minimal to be usable before. 2021-04-08 16:10:33 -04:00
Dylan Taylor 0d194e2606 Initial implementation of LXQt 2021-04-08 15:54:54 -04:00
Dylan Taylor 72f3423798 Integrate XFCE4 with master 2021-04-08 15:41:08 -04:00
Dylan M. Taylor 84e6db27bb Fix another incorrect comment on XFCE4 profile 2021-04-08 15:40:20 -04:00
m1ten eb7497f2aa Update xfce4.py 2021-04-08 15:40:09 -04:00
m1ten c2c1126254 xfce4 2021-04-08 15:39:44 -04:00
Dylan Taylor dfec4b77fd Integrate cinnamon with changes on master. 2021-04-08 15:35:33 -04:00
Dylan M. Taylor 5ec1e1d4f5 Fix incorrect comment. Cinnamon doesn't have any Wayland support yet. 2021-04-08 15:34:21 -04:00
m1ten 0934f4c3e7 Create cinnamon.py 2021-04-08 15:33:37 -04:00
Dylan Taylor e49f983036 Add sway profile to desktop file 2021-04-08 15:15:44 -04:00
Dylan Taylor 8c9b162049 Implement Sway
Try switching from gdm to sddm as gdm pulls in a lot of GNOME packages

Fix comment
Update sway.py
2021-04-08 15:14:26 -04:00
Dylan M. Taylor d8a2437778 Move from awesome to desktop and add wireless config utilities and smartmontools 2021-04-08 13:33:06 -04:00
Dylan Taylor 25309dcfb8 Disable post-install hooks for now 2021-04-08 09:55:35 -04:00
advaithm db068dfe06 Update kde.py 2021-04-08 09:51:11 -04:00
advaithm 57200d3d93 removed post_install hook 2021-04-08 09:51:11 -04:00
Dylan M. Taylor 608bada172 Clean up comments a bit 2021-04-08 09:51:11 -04:00
Dylan Taylor 8fc91c4f18 Fix issue with prep function 2021-04-08 09:51:11 -04:00
Dylan Taylor ea81759e40 Add minimal profile and implement idea of 'top-level' profiles 2021-04-08 09:51:11 -04:00
Dylan M. Taylor c07d63296b It was pointed out that khelpcenter isn't strictly necessary 2021-04-08 09:51:11 -04:00
Dylan M. Taylor 858585e7d7 Switch from metapackage to a more minimal install 2021-04-08 09:51:11 -04:00
Anton Hvornum b8774236dd Added a forgotten return value of _post_install 2021-04-08 09:51:11 -04:00
advaithm 56df79d647 added egl-wayland and changed prompt 2021-04-08 09:51:11 -04:00
advaithm 130f5729a0 ask user for default session over asking if they want wayland 2021-04-08 09:51:11 -04:00
advaithm 210e53ca3e Update kde.py 2021-04-08 09:51:11 -04:00
advaithm 926906d946 merge kde and kde-wayland 2021-04-08 09:51:11 -04:00
Jatin e4ca6d8328 Remove gnome-todo and gnome-sound-recorder from default installation
gnome todo and gnome sound recorder should not be in default installation, honoring the Arch Linux philosophy. These packages are not even pre installed on other major linux distributions.
2021-04-08 09:20:39 -04:00
Dylan M. Taylor 186f12c5f1 Remove chromium from default awesome install
Promotes a consistent installation experience across DEs.
2021-04-08 09:20:39 -04:00
Dylan M. Taylor 8bc1f0d420 Remove evolution from default installation as suggested
It was pointed out that users can install an email client if they want one.
2021-04-08 09:20:39 -04:00
Dylan M. Taylor a3ace5e36e This comment should no longer apply. This is a fairly sane default for GNOME. 2021-04-08 09:20:39 -04:00
Dylan M. Taylor 9c82bde2fc gnome-sound-recorder is probably also desirable 2021-04-08 09:20:39 -04:00
Dylan M. Taylor 81aa1df82a Fix #183 gnome-extras installs far too much bloat
This keeps some of the most useful packages from the defaults.
2021-04-08 09:20:39 -04:00
advaithm 9d6541aaa6 sway, wayland specific files. drivers has also been split from xorg 2021-04-08 14:06:27 +05:30
Anton Hvornum f8bf2b313a
Merging in master into feature branch. 2021-04-08 08:39:37 +02:00
Anton Hvornum 3ba03f9e73
Merge pull request #232 from advaithm/torxed-v2.2.0
removed post_install hook for kde plasma
2021-04-08 06:24:41 +00:00
advaithm 57de67e5fb Update kde.py 2021-04-08 08:26:57 +05:30
advaithm 78d58eb4b7 removed post_install hook 2021-04-08 07:23:37 +05:30
Dylan M. Taylor bf91c66ba8
Clean up comments a bit 2021-04-07 11:54:10 -04:00
Dylan Taylor 99917807bd Fix issue with prep function 2021-04-07 11:33:01 -04:00
Jatin 7e75ff960b
Remove gnome-todo and gnome-sound-recorder from default installation
gnome todo and gnome sound recorder should not be in default installation, honoring the Arch Linux philosophy. These packages are not even pre installed on other major linux distributions.
2021-04-07 19:18:34 +05:30
Dylan Taylor 9756d9ed2d Add i3 selections to desktop file 2021-04-07 09:23:21 -04:00
Dylan Taylor ac7d980f89 Add minimal profile and implement idea of 'top-level' profiles 2021-04-07 08:37:39 -04:00
Anton Hvornum 42470dcc9a Merging changes from master into feature branch to avoid future conflics. 2021-04-07 11:15:42 +02:00
Anton Hvornum 39e354f395
Merge pull request #207 from dylanmtaylor/patch-12
Fix another incorrect comment on XFCE4 profile
2021-04-06 21:14:14 +00:00
Dylan M. Taylor 0a5a929f5b
Fix another incorrect comment on XFCE4 profile 2021-04-06 16:55:04 -04:00
Dylan M. Taylor c6eb3dfbdf
Fix incorrect comment. Cinnamon doesn't have any Wayland support yet. 2021-04-06 16:53:20 -04:00
Dylan M. Taylor 0a1e0641a9
It was pointed out that khelpcenter isn't strictly necessary 2021-04-06 13:45:08 -04:00
Dylan M. Taylor 87514ab515 Noticed that some KDE instances weren't changed to i3 when copying
Another one
2021-04-06 13:28:07 -04:00
Dylan M. Taylor 3e4c5bdb26
Remove chromium from default awesome install
Promotes a consistent installation experience across DEs.
2021-04-06 12:55:15 -04:00
Dylan M. Taylor ee6cd39fe6
Switch from metapackage to a more minimal install 2021-04-06 12:33:13 -04:00
Anton Hvornum a62debde33
Merge pull request #192 from advaithm/kde-hook
Use _post_install for wayland
2021-04-06 16:27:46 +00:00
Anton Hvornum b968bec771
Added a forgotten return value of _post_install 2021-04-06 18:27:30 +02:00
Dylan M. Taylor aed763b763
Remove evolution from default installation as suggested
It was pointed out that users can install an email client if they want one.
2021-04-06 11:33:50 -04:00
advaithm 29d939cfca added egl-wayland and changed prompt 2021-04-06 18:59:05 +05:30
advaithm 5057035f3e ask user for default session over asking if they want wayland 2021-04-06 18:28:18 +05:30
advaithm aea819af15 Update kde.py 2021-04-06 17:36:20 +05:30
advaithm 4f7fc94ecd merge kde and kde-wayland 2021-04-06 13:37:40 +05:30
Anton Hvornum 610d630863
Merge pull request #190 from advaithm/master
post install hook
2021-04-06 07:57:02 +00:00
Anton Hvornum 0df567286e
Swapped print for log and added return values 2021-04-06 09:54:24 +02:00
Anton Hvornum 2f153d4882
Some language correction and function handling
I more or less copied the language from i3-wm as it was more correct.
Also converted `print()` into `installation.log()` so that we can get some color control and end up in the debug log.
Finally, I added a try/except to handle potential crashes and return return values, since otherwise this would happen every run:
 * https://github.com/archlinux/archinstall/pull/190/files#diff-98d75a109b5337cd7d7c948d2cfc2379bcc51be22dfa3ca6491765f0e0bcaaabR349-R355
2021-04-06 09:53:28 +02:00
advaithm f0e40f5676 added _post_install hook. 2021-04-06 07:21:11 +05:30
Dylan M. Taylor 688d0eb78e
This comment should no longer apply. This is a fairly sane default for GNOME. 2021-04-05 13:44:16 -04:00
Dylan M. Taylor d28385bd05
gnome-sound-recorder is probably also desirable 2021-04-05 13:42:03 -04:00
Dylan M. Taylor d5da80d770
Fix #183 gnome-extras installs far too much bloat
This keeps some of the most useful packages from the defaults.
2021-04-05 13:40:40 -04:00
Anton Hvornum dc522b74b9
Merge pull request #179 from advaithm/master
i3 and 13-gaps support
2021-04-05 16:21:43 +00:00
advaithm 4c0c95a88c add i3-wm and i3-gaps support 2021-04-05 20:46:09 +05:30
m1ten f72d3039f7
add lightdm-gtk-greeter 2021-04-04 13:49:37 -04:00
m1ten 771087e75b
applications/cinnamon 2021-04-04 13:38:10 -04:00
m1ten 9576486cfa
added cinnamon 2021-04-04 12:58:05 -04:00
m1ten 107c1d6caa
Create cinnamon.py 2021-04-04 12:57:24 -04:00
Rafael Fontenelle 2b5b1ad83d Fix misspellings 2021-04-04 11:28:54 -03:00
m1ten 77c30fcb04
Update xfce4.py 2021-04-03 17:58:25 -04:00
m1ten 1342a1ae75
Update desktop.py 2021-04-03 17:57:19 -04:00
m1ten dcdd66fd29
applications/xfce4 2021-04-03 16:19:23 -04:00
m1ten 6446670ed4
xfce4 2021-04-03 16:17:51 -04:00
Anton Hvornum 65ec50dae5 Merge PR #113 into torxed-v2.2.0 feature branch.
This merge should add BIOS through MBR support and GRUB.
2021-04-02 10:42:26 +02:00
advaithm f4e616cd9e
updated to latest commits 2021-04-02 09:48:41 +05:30
Anton Hvornum 99dd9b1fb7 New feature: Profile() now supports .packages which returns any defined packages for that specific profile, as well as archinstall.__packages__ contain any packages that Installer() is responsible for. This can be used to quickly gather any required packages and dependencies by archinstall. Not all profiles have it yet, so .packages might return None. 2021-03-25 15:07:49 +01:00
Anton Hvornum cbb4629849 Slimmed down awesome further, also removed abandoned community package libu2f-host. 2021-03-21 16:25:56 +01:00
advaithm 850fd2efa8
Started work on BIOS support 2021-03-12 11:30:32 +05:30
Anton Hvornum 30e66e49ec Fixes #86 by properly raising the the correct exceptions. This will happen when required steps are skipped. And the error message is to simply restart the installer. 2021-01-26 10:57:48 +01:00
Anton Hvornum 9a94a632bf
Slimmed the awesome WM profile a bit more. added a TODO to ask the users to select a browser rather than 'forcing' one on them 2021-01-24 23:52:17 +01:00
Anton Hvornum 73191b921e
terminus font has changed name upstream from terminus-font-otb to terminus-font. Which is one (of probably many) fonts that is required for awesome to render text in menu's etc. 2021-01-24 23:38:20 +01:00
Anton Hvornum 5b7af12a91
Safety checks prohibited this from running
The safety mechanism prevents the installation-code under `if __name__` to run when importing to check for the `_prep_function`.
when the import for `_prep_function` check is executed it imports with a bogus `__name__` override. This is to protect anything under if `__name__` from running just to be able to import and run `_prep_function()`.

After that is done and the actual installation begins, it imports with a proper `__name__`,
The namespace is `filename` minus the `.extension` *(.py)*, normally imports of modules with dashes (`-`) in the name is prohibited, but archintall's import mechanism supports this as it's a string-import via `importlib`.

So modified to `if __name__ == 'kde-wayland'` and that worked great : )
2021-01-22 13:53:04 +01:00
advaithm 7c4fc14322
fixed spaces in kde-wayland.py 2021-01-22 17:03:35 +05:30
advaithm f83129728a
fixed spaces in kde-wayland.py 2021-01-22 17:01:34 +05:30
advaithm 43c92b0aad
fixed tabs and spaces problem 2021-01-22 16:22:30 +05:30
advaithm 6fb2e0c129
plasma-wayland installer 2021-01-22 15:16:35 +05:30
Anton Hvornum 5927060133
Merge pull request #85 from j-james/master
Spell "environment" correctly
2021-01-21 19:30:04 +01:00
j-james 627deb7992
Spell "environment" correctly 2021-01-21 06:56:11 -08:00
advaithm fe1be8d278
reworked kde.py to use sddm instead of hacking xinitrc 2021-01-21 18:57:41 +05:30
Anton Hvornum 53a4a082da
Added a profile for alacritty as well as tweaked the awesome profile and application profile. 2021-01-19 23:34:11 +01:00
Anton Hvornum 95c80b7e83 Slimmed the awesome profile a bit. No need to install tons of dependencies just for the desktop environment. 2020-11-11 23:11:11 +00:00
Varun Madiath 5ded22a5d0 Fix some PEP-8 errors. 2020-10-19 23:07:35 -04:00
Varun Madiath e4f363ce7d Fix typo in function parameter
`suppress_errors` was previously spelt `surpress_errors`
2020-10-19 23:04:14 -04:00
Varun Madiath da59378cc4 Fix typos. 2020-10-19 23:04:14 -04:00
Anton Hvornum 3686842587 Spelling error on file 2020-10-18 12:45:10 +02:00
Anton Hvornum c6eb0386db Spelling error on a variable 2020-10-18 12:31:39 +02:00
Anton Hvornum a73f0b0135 Added a session-storag. This is in an attempt to build away some magic functionality that might otherwise be hard to understand/maintain over a long period of time. Using this in profiles/desktop.py as a test. 2020-10-18 12:28:12 +02:00
Anton Hvornum a60a3ca812 Added profile `desktop.py` which helps users select a desktop environment. Also added `archinstall.generic_select` to help with selecting generic things from a list of options. 2020-10-18 10:46:28 +02:00
Anton Hvornum cf3ccb4788 Cleaned up the awesome wm profile. A few things were test purpose-addons that shouldn't be in the default profile. 2020-09-30 20:47:28 +02:00
Anton Hvornum 6b93650bfd Type-o 2020-09-30 19:34:57 +02:00
Anton Hvornum 7448881582 Added KDE profile (untested) 2020-09-30 18:23:27 +02:00