Compare commits

..

263 commits

Author SHA1 Message Date
8b52f40ed6
. 2024-11-05 01:25:57 +01:00
Francois B. (Makoto)
e8953e0fe3 . 2020-12-18 21:30:46 +01:00
Francois B. (Makoto)
baee8447f2 16.04 branch remove, 18.04 frozen, 20.04 is the way to go ;) 2020-10-31 23:08:36 +01:00
Francois B. (Makoto)
2ba1d57714 MongoDB CE 4 + vainfo added (20.04 branch) 2020-10-31 23:03:09 +01:00
Francois B. (Makoto)
2fab391ebd ver upd 2020-09-05 15:56:12 +02:00
Francois B. (Makoto)
30a49c6621 vbox (ubuntu repo) -> vbox (oracle repo) 2020-09-05 15:55:40 +02:00
Francois B. (Makoto)
4289c6494a geary flatpak -> apt 2020-08-13 20:51:01 +02:00
Francois B. (Makoto)
3b916d075c ver upd 2020-08-13 20:43:52 +02:00
Francois B. (Makoto)
7383ac3028 Flatseal added 2020-08-13 20:17:38 +02:00
Francois B. (Makoto)
49fb951fee ver upd 2020-08-12 21:13:20 +02:00
Francois B. (Makoto)
562bc36bdf chromium beta (+codecs) PPA added for U20.04/LM20 branch 2020-08-12 21:12:56 +02:00
Francois B. (Makoto)
388ba73a24 LibreOffice Fresh PPA added to both branches 2020-08-10 15:24:00 +02:00
Francois B. (Makoto)
8e2fbd6a98 revert back to deb pkg for xnviewmp 2020-07-31 18:44:38 +02:00
Francois B. (Makoto)
e5843eed42 xnviewmp as flatpak instead of external deb pkg 2020-07-31 17:55:04 +02:00
Francois B. (Makoto)
f49209b1eb ver upd 2020-07-26 14:30:16 +02:00
Francois B. (Makoto)
e4264aa298 nextcloud ext re-added for both branches 2020-07-26 14:29:58 +02:00
Francois B. (Makoto)
0d7ec9e1a7 mkv repo fixed to amd64 only for 20.04 branch 2020-07-10 21:08:29 +02:00
Francois B. (Makoto)
20f215a723 some minor fixes 2020-07-08 21:32:39 +02:00
Francois B. (Makoto)
15ee4b873a chromium removed from 20.04 branch as it's transitional fake trojan package ;) 2020-07-08 21:15:48 +02:00
Francois B. (Makoto)
061eb95cab minor improvements 2020-07-04 21:02:53 +02:00
Francois B. (Makoto)
f8b457bf84 remove old stuff ;) 2020-07-04 20:44:45 +02:00
Francois B. (Makoto)
9635ddbc8d typo 2020-07-04 19:56:41 +02:00
Francois B. (Makoto)
92c52d9d41 add screenfetch to .bashrc as PostTrtFct 2020-07-04 19:53:00 +02:00
Francois B. (Makoto)
15c843106e . 2020-07-04 19:49:34 +02:00
Francois B. (Makoto)
74fbe087f8 . 2020-07-04 19:48:42 +02:00
Francois B. (Makoto)
194e695b8a numlockx enable for lightdm as PostTrtFct 2020-07-04 19:46:16 +02:00
Francois B. (Makoto)
2d3ba2fb2e enablement/rules for ufw added as PostTrtFct 2020-07-04 19:41:32 +02:00
Francois B. (Makoto)
87136c0fb6 enablement/rules for ufw added as PostTrtFct 2020-07-04 19:39:24 +02:00
Francois B. (Makoto)
92c42572f9 unattended-upgrades moved in apps list and as cli opt 2020-07-04 19:31:30 +02:00
Francois B. (Makoto)
e712e67e46 Install/unlock snap+store moved as unrecommanded opt + misc minor changes 2020-07-04 19:25:35 +02:00
Francois B. (Makoto)
083be08546 Pixelorama added 2020-07-02 16:21:17 +02:00
Francois B. (Makoto)
e807282d92 Franz removed 2020-07-01 14:16:35 +02:00
Francois B. (Makoto)
6e42e3f9c1 ver upd 2020-06-17 18:45:45 +02:00
Francois B. (Makoto)
7ce79a6d91 entangle 2->3 for both branches 2020-06-17 18:45:27 +02:00
Francois B. (Makoto)
234d1a2ed4 . 2020-06-15 15:07:16 +02:00
Francois B. (Makoto)
6b189bf120 . 2020-06-15 11:22:13 +02:00
Francois B. (Makoto)
dd2aa50bf4 new ppa for umake 2020-06-15 11:16:55 +02:00
Francois B. (Makoto)
077e23bcd5 cawbird installed by apt repo instead 2020-06-15 11:11:51 +02:00
Francois B. (Makoto)
fedb33271c all snap replaced with flatpak equivalent 2020-06-15 10:48:12 +02:00
Francois B. (Makoto)
9725f59668 ver upd 2020-06-12 17:42:43 +02:00
Francois B. (Makoto)
718741e2eb add-apt-repository cache upd option fir ub2004 only 2020-06-12 17:42:08 +02:00
Francois B. (Makoto)
81da847d02 remove snapd install restriction for Mint20 2020-06-12 16:55:02 +02:00
Francois B. (Makoto)
366ff1255d ver upd 2020-05-30 20:37:42 +02:00
Francois B. (Makoto)
2bc3e85212 small changes in python pkg added by default 2020-05-30 20:37:14 +02:00
Francois B. (Makoto)
6877a6a606 ver upd 2020-05-24 20:16:47 +02:00
Francois B. (Makoto)
45b7b3076e audacity repo added + moving remove useless flatpak in toolAutoremove (-p option) 2020-05-24 20:16:08 +02:00
Francois B. (Makoto)
918551fb5b avidemux repo fct name fixed 2020-05-23 18:28:16 +02:00
Francois B. (Makoto)
fdc1f2b720 handle new option of add-apt-repository to avoid useless update (20.04) 2020-05-23 18:07:27 +02:00
Francois B. (Makoto)
bd79903672 focal installation instruction added 2020-05-23 01:15:44 +02:00
Francois B. (Makoto)
1ecd9714cb ver upd 2020-05-23 01:06:09 +02:00
Francois B. (Makoto)
8d40f8a192 fix typo 2020-05-23 00:48:03 +02:00
Francois B. (Makoto)
fa7c843d9e fix adding docker group in psttrt fct 2020-05-23 00:43:51 +02:00
Francois B. (Makoto)
9e432ce0e0 some adujstements about available/or not package for 20.04 branch 2020-05-23 00:40:57 +02:00
Francois B. (Makoto)
ed7ed50f38 2 old tool removed 2020-05-23 00:26:45 +02:00
Francois B. (Makoto)
46898d7ec8 inxi added to 20.04 branch 2020-05-23 00:24:11 +02:00
Francois B. (Makoto)
30fb76e54d snap-store added to 20.04 branch 2020-05-22 23:40:03 +02:00
Francois B. (Makoto)
d73f99a2a9 1st commit addind Ubuntu 20.04 support (0.6.0-b1) 2020-05-22 23:16:33 +02:00
Francois B. (Makoto)
1bfb9581e5 auto uninstall unused dep while flatpak upd 2020-05-22 22:56:27 +02:00
Francois B. (Makoto)
3db9f46d7a Minor upd of 2020-05-22 21:03:59 +02:00
Francois B. (Makoto)
e1ab8e0766 minor fix in menu 2020-05-03 20:07:13 +02:00
Francois B. (Makoto)
67c155d652 output display minor fix 2020-05-03 20:04:46 +02:00
Francois B. (Makoto)
a5336c4663 aptik remove from 18.04 branch 2020-05-03 19:00:18 +02:00
Francois B. (Makoto)
5c4e781747 menu entry bug fixed 2020-04-25 23:49:58 +02:00
Francois B. (Makoto)
53f5ac6b68 release ver upd 2020-04-25 22:56:45 +02:00
Francois B. (Makoto)
3db26b6deb nightly/beta removed 2020-04-25 22:34:11 +02:00
Francois B. (Makoto)
0acf7f9149 fix missing entry in apps menu 2020-04-25 22:13:54 +02:00
Francois B. (Makoto)
57464ecf3b mongodb repo upd to 4.2 2020-03-18 18:01:12 +01:00
Francois B. (Makoto)
d09222b3ff cleaning old repo 2020-02-28 22:23:57 +01:00
Francois B. (Makoto)
54a9b47c4c VBOX 6.1 repo bug fixed 2020-02-28 21:48:48 +01:00
Francois B. (Makoto)
87952b7ba5 NodeJS upd to 12.x 2020-02-28 21:39:18 +01:00
Francois B. (Makoto)
4faa0d7f1d upd 2020-02-27 23:11:49 +01:00
Francois B. (Makoto)
150ebb76fa first step for Ubuntu 20.04/LM20 integration 2020-02-23 19:09:36 +01:00
Francois B. (Makoto)
7ab46297ac user add to vboxusers group 2020-02-23 17:26:12 +01:00
Francois B. (Makoto)
9a03f5e857 new release 5.2 b2 with many improvements ... 2020-02-22 20:57:42 +01:00
Francois Beckers
179a0e38df . 2019-11-12 13:05:24 +01:00
Francois Beckers
0d7ca500e6 Revert "."
This reverts commit ba056c9227.
2019-11-12 12:56:56 +01:00
Francois Beckers
ba056c9227 . 2019-11-12 12:52:31 +01:00
Francois Beckers
54c36437b6 p7zip as snap removed 2019-09-13 10:01:36 +02:00
Francois B. (Makoto)
a09e312b4e mdadm added 2019-08-17 13:12:01 +02:00
Francois B. (Makoto)
561edd40ff postman added by snap + minor bug fix 2019-07-31 18:57:34 +02:00
Francois B. (Makoto)
f740f25b3e balena-etcher-electron 2019-07-21 20:08:06 +02:00
Francois B. (Makoto)
fb9d927679 . 2019-07-21 19:20:21 +02:00
Francois B. (Makoto)
29a472ab35 vagrant added 2019-07-21 19:18:26 +02:00
Francois B. (Makoto)
ddb0a037ca gnome-twitch-player-backend-mpv-opengl added 2019-07-20 15:37:32 +02:00
Francois B. (Makoto)
3eb6302242 small fix 2019-07-14 19:25:54 +02:00
Francois Beckers
1c5af0377e small changes 2019-07-11 12:52:38 +02:00
Francois Beckers
bb8cbe53c2 ver upd 2019-07-11 11:18:24 +02:00
Francois Beckers
e2c2e450be NodeJS LTS 8 -> 10 2019-07-11 11:17:58 +02:00
Francois Beckers
043c22af87 tig added 2019-07-11 11:04:32 +02:00
Francois B. (Makoto)
a309dfc484 bug fixed on HWE 2019-07-10 22:58:46 +02:00
Francois B. (Makoto)
b8bf632c23 ver upd 2019-07-10 22:50:55 +02:00
Francois B. (Makoto)
8733d5bb18 HWE added 2019-07-10 22:50:00 +02:00
Francois B. (Makoto)
0cc054a187 wine hq repo added 2019-07-10 22:18:22 +02:00
Francois B. (Makoto)
cdc6edf069 ver upd 2019-07-10 19:24:09 +02:00
Francois B. (Makoto)
9938c1fe3d manually downloaded package updated 2019-07-10 19:22:12 +02:00
Francois B. (Makoto)
70601c9663 pycharm pro added 2019-07-10 19:13:15 +02:00
Francois B. (Makoto)
5180c5f7ca ver upd 2019-07-09 23:18:05 +02:00
Francois B. (Makoto)
48089fc932 Oracle Java 10 replaced by OpenJDK 11 2019-07-09 23:15:18 +02:00
Francois B. (Makoto)
21baac1ffa typo version fixed 2019-07-09 23:10:02 +02:00
Francois B. (Makoto)
12c28d94f7 PPA added for youtube-dlg + docker posttrt fct bug fixed 2019-07-09 23:03:38 +02:00
Francois B. (Makoto)
14968329a0 doc upd 2019-07-09 22:42:40 +02:00
Francois B. (Makoto)
8fd27e693c Merge branch 'master' of github.com:shakasan/yggdrasil_ng 2019-07-09 22:36:59 +02:00
Francois B. (Makoto)
d626863284 Nvidia drivers removed + Ubuntu 16.04/Linux Mint 18 removed 2019-07-09 22:36:54 +02:00
whitesource-bolt-for-github[bot]
a49dba0621 Migrate WhiteSource configuration file to json format 2019-06-30 16:07:33 +00:00
Francois B. (Makoto)
8f386bcd59 add new repo for guake 2019-06-30 18:07:26 +02:00
Francois B. (Makoto)
89ee320f0a Etcher removed as no repo available anymore....... 2019-04-25 19:24:03 +02:00
Francois B. (Makoto)
398a2ea680 Lutris added by PPA 2019-04-25 19:16:00 +02:00
Francois B. (Makoto)
f332b0bf8f dcfldd added 2019-03-15 21:35:35 +01:00
Francois B. (Makoto)
6c9d18b0e5 gallery-dl 2019-03-13 19:03:05 +01:00
Francois Beckers
64b63fcc1a ver upd 2019-03-08 09:06:17 +01:00
Francois B. (Makoto)
963225f604 gnome-twitch added by snap 2019-03-03 15:50:35 +01:00
Francois B. (Makoto)
e4e34b4622 ver upd 2019-02-23 16:59:32 +01:00
Francois B. (Makoto)
a06d856d2a nautilus/thunar megasync ext added + megacmd 2019-02-23 16:58:37 +01:00
Francois B. (Makoto)
6f65906c1f MEGASync client re-added 2019-02-23 16:46:24 +01:00
Francois B. (Makoto)
be221799c3 ver upd 2019-02-17 00:20:04 +01:00
Francois B. (Makoto)
392d039f26 small bug fixed 2019-02-17 00:19:15 +01:00
Francois Beckers
db6f0a49c7 youtube-dl install by pip instead of apt 2019-01-28 13:34:36 +01:00
Francois B. (Makoto)
823cdf80a1 small bug fixed 2018-12-28 16:20:46 +01:00
Francois B. (Makoto)
2c9c0293c8 ver upd 2018-12-28 16:18:17 +01:00
Francois B. (Makoto)
a50f29c52c gitkraken added by snap + nvidia upd from 410 to 415 2018-12-28 16:12:41 +01:00
Francois B. (Makoto)
5e4a63bdc6 pdfarranger added by ppa 2018-12-28 15:58:24 +01:00
Francois B. (Makoto)
1734fa97c4 handrabke -> handbrake-gtk/cli + kdenlive added by ppa 2018-12-28 15:30:56 +01:00
Francois B
b4182f283a virtualbox 5.2 -> 6.0 2018-12-19 15:30:35 +01:00
Francois B. (Makoto)
66e288f992 Merge branch 'master' of github.com:shakasan/yggdrasil_ng 2018-12-15 23:47:36 +01:00
Francois B. (Makoto)
00d60968ac MongoDB upd 3.6->4.0 + Makoto repo added 2018-12-15 23:47:30 +01:00
whitesource-bolt-for-github[bot]
ce83b95204 Initial WhiteSource configuration file 2018-12-06 20:25:05 +00:00
Francois B. (Makoto)
7fc9a4245a ver num upd 2018-11-17 18:02:56 +01:00
Francois B. (Makoto)
dfbda273d1 plata theme added by ppa 2018-11-17 17:53:23 +01:00
Francois Beckers
f7f2bee437 some lib and pkg needed for python/pygobject/cairo dev added 2018-11-03 04:49:55 +01:00
Francois Beckers
425fa45c30 youtube-dl(g) added 2018-10-29 10:18:18 +01:00
Francois B. (Makoto)
54ca4f9c35 nvidia 410 added and birdtray by ppa 2018-10-27 23:39:44 +02:00
Francois B. (Makoto)
0d59617556 p7zip-desktop 2018-10-27 22:32:32 +02:00
Francois Beckers
06f4f8d941 kdocker added 2018-10-16 14:37:49 +02:00
Francois B. (Makoto)
e57e2fe33c ver num upd 2018-10-06 19:41:33 +02:00
Francois B. (Makoto)
894e23dfdb i386 ver of libnvidia-gl for driver 396 added to fix issue with Steam 2018-10-06 19:32:58 +02:00
Francois Beckers
28efdeef82 ver upd 2018-10-04 22:20:49 +02:00
Francois B. (Makoto)
9dbc09ab85 tilix added 2018-09-29 20:47:01 +02:00
Francois B. (Makoto)
74ecf16891 idle3 added 2018-08-12 14:55:34 +02:00
Francois B (Makoto)
0210502bd8 upd 2018-08-05 02:22:25 +02:00
Francois B (Makoto)
4f03efbf69 docky added and readme updated 2018-08-05 02:21:13 +02:00
Francois B (Makoto)
bc1cd103af some bugs fixed + owncloud removed 2018-08-04 06:44:27 +02:00
Francois B. (Makoto)
b1543c004f newer version of picard by ppa 2018-07-20 14:39:48 +02:00
Francois B (Makoto)
56cb8ac0c8 set yarn by default for angular cli is upd to new syntax 2018-07-19 01:04:36 +02:00
Francois B. (Makoto)
9576d58a51 . 2018-07-09 09:09:36 +02:00
Francois B. (Makoto)
b32692aaa2 . 2018-07-09 08:59:29 +02:00
Francois B. (Makoto)
30423b07bf web-ext added by npm 2018-07-06 10:53:54 +02:00
Francois B. (Makoto)
da7d3e6be7 jq cli tool added 2018-07-06 10:47:24 +02:00
Francois B. (Makoto)
8f3b0f3f22 npm/gem upd moved to yggInit 2018-06-13 12:18:19 +02:00
Francois B. (Makoto)
25f516fc89 npm update added to updateSystem fct 2018-06-13 12:06:43 +02:00
Francois B. (Makoto)
1868392053 update ruby's gems in updateSystem fct added 2018-06-13 11:23:46 +02:00
Francois B. (Makoto)
3b4e277927 Iridium-Browser added by repo 2018-06-13 08:56:20 +02:00
Francois B. (Makoto)
096d1be3b6 small fix 2018-06-13 05:13:39 +02:00
Francois B. (Makoto)
7b49566215 big otimization (first step) 2018-06-12 13:39:46 +02:00
Francois B. (Makoto)
b6878adcbe small bug fixed 2018-06-12 11:32:27 +02:00
Francois B. (Makoto)
14f9eacde0 small bug in menu 2018-06-12 10:26:27 +02:00
Francois B. (Makoto)
d475987518 ver upd 2018-06-12 09:47:47 +02:00
Francois B. (Makoto)
26011f61bf eslint added 2018-06-12 09:45:50 +02:00
Francois B. (Makoto)
4c5dabfced Slack App added 2018-06-12 09:18:24 +02:00
Francois B. (Makoto)
7421bfac60 MongoDB Compass added 2018-06-12 09:14:11 +02:00
Francois B. (Makoto)
f740ddb228 Boostnotes + Franz added to menus 2018-06-12 09:09:01 +02:00
Francois B. (Makoto)
0fdc714f5c Boostnotes added to cli opt 2018-06-12 08:58:12 +02:00
Francois B. (Makoto)
89c01a326c Franz updated to 5.0.0-beta.18 2018-06-12 08:53:25 +02:00
Francois B. (Makoto)
0ff864d652 ver upd 2018-06-12 00:15:35 +02:00
Francois B. (Makoto)
5093eb0889 ionic + cordova added to JS Dev 2018-06-12 00:12:11 +02:00
Francois B. (Makoto)
9029be5fc8 some ruby package added 2018-06-10 21:19:48 +02:00
Francois B. (Makoto)
e331c77b46 ppa oibaf removed, not reliable ? 2018-06-10 18:42:25 +02:00
Francois B. (Makoto)
bf2e4fc9bb arch amd64 only for vbox repo 2018-06-10 18:34:02 +02:00
Francois B. (Makoto)
022badf4b7 thunar + plugins added 2018-06-10 18:24:08 +02:00
Francois B. (Makoto)
656dce15e1 mysql-workbench added 2018-06-10 18:17:24 +02:00
Francois B. (Makoto)
726aad38ce atom sync by apm removed 2018-06-10 18:16:02 +02:00
Francois B. (Makoto)
ecad0e51dd qt5designer shortcut removed for 18.04 2018-06-10 18:08:54 +02:00
Francois B
5b1f69cdf7 small ui change 2018-06-09 01:47:59 +02:00
Francois B
1d4494abcf add missing hardware menu entry 2018-06-09 01:05:02 +02:00
Francois B
596786ea91 whatismyip added 2018-06-06 15:23:36 +02:00
Francois B
9d40ba995a version upd to beta 4 2018-06-06 11:27:51 +02:00
Francois B
076781657a geany md plugin removed 2018-06-06 10:05:15 +02:00
Francois B
c4cfd08c19 php 7 -> 7.2 2018-06-06 09:33:07 +02:00
Francois B
3613b1bd29 mongodb fixed 2018-06-06 09:19:20 +02:00
Francois B
5f9eae4971 dockerio instead of docker-ce + agave removed 2018-06-06 09:02:07 +02:00
Francois B
2562e9fd83 zeal ppa removed 2018-06-06 08:46:16 +02:00
Francois B
5d805f0d70 shotcut added for 18.04 by snap 2018-06-05 16:29:36 +02:00
Francois B
6b5580aa03 cpu-g added for 18.04 2018-06-05 16:25:21 +02:00
Francois B
878f8f428e syncthing-gtk added for 18.04 2018-06-05 16:17:12 +02:00
Francois B
08ff6b7022 libarc removed 2018-06-05 16:10:42 +02:00
Francois B
1305f24df3 minor upd 2018-06-05 15:22:22 +02:00
Francois B
f47c92d2fa source list file name changed for skype 2018-06-05 14:58:25 +02:00
Francois B
0ebb1bbbd3 readme updated with new install procedure 2018-06-05 14:40:18 +02:00
Francois B
5c02d3c7da small change to improve import libs 2018-06-05 14:29:41 +02:00
Francois B
9095f286b4 small change about var for ygginit 2018-06-05 14:21:47 +02:00
Francois B
2c3a8074f8 comments fixed 2018-06-05 13:39:08 +02:00
Francois B
3ed5da010f angular cli + typescript added 2018-06-05 13:37:59 +02:00
Francois B
c053d40aa1 microcode fct upd 2018-06-05 10:11:13 +02:00
Francois B
040ee70213 Key-ID updated 2018-06-05 10:05:04 +02:00
Francois B
b48faf2c02 add some comments 2018-06-05 09:22:46 +02:00
Francois B
cec17db99c add nitrogen support to cinnamon/nemo (TBT!) 2018-06-05 09:13:53 +02:00
Francois B
85c0ef6c13 android udev updated 2018-06-05 09:00:21 +02:00
Francois B
91e11fb40f bunch of changes 2018-06-05 08:52:09 +02:00
Francois B
fdb4b647ef ver updated 2018-06-04 21:24:19 +02:00
Francois B
11c41b909c cosmetic change 2018-06-04 21:18:08 +02:00
Francois B
cad5f67b2c geany md plugin removed 2018-06-04 21:15:27 +02:00
Francois B
2e45a8a597 cosmetic change 2018-06-04 21:07:20 +02:00
Francois B
2f9c6be444 python3 install fixed 2018-06-04 21:05:55 +02:00
Francois B
471870a65d php-cli updated from 7.0 to 7.2 2018-06-04 20:59:50 +02:00
Francois B
4d1693fa77 small disp bug + mongodb repo fixed 2018-06-04 20:57:43 +02:00
Francois B
39e198e10c ygginit python3-distutils for LM19 only + zeal PPA removed 2018-06-04 20:50:53 +02:00
Francois B
a6612ea590 agave removed 2018-06-04 20:42:05 +02:00
Francois B
b3f83360a4 libacr38u removed 2018-06-04 20:38:36 +02:00
Francois B
2141254397 small bug in fct name for xnview 2018-06-04 20:36:13 +02:00
Francois B
cb1faf4873 . 2018-06-04 19:24:26 +02:00
shakasan
b0324bd859 . 2018-06-04 14:14:53 +02:00
shakasan
376301f05f . 2018-06-04 13:53:20 +02:00
shakasan
5ee1d3ae8f minor change 2018-06-04 13:46:26 +02:00
shakasan
abebc5f64d bunch of bugs fixed 2018-06-04 13:44:23 +02:00
shakasan
943a9bbe83 } forgoten in the code ^^ 2018-06-04 11:09:16 +02:00
Francois B
ec137966be update microde fixed for 16.04 2018-06-03 19:12:53 +02:00
Francois B
d9b7709729 small change in output of addSpecificRepoFct 2018-06-03 19:09:27 +02:00
Francois B
eb5b111bb8 small bug in post trt fct list 2018-06-03 19:03:04 +02:00
Francois B
bdb29a2062 Eclipse is back by snap 2018-05-30 22:45:47 +02:00
shakasan
b7f90ef1ee no logo display in usage fct 2018-05-30 13:38:34 +02:00
shakasan
8d48531f7a comments changes 2018-05-30 13:21:44 +02:00
shakasan
336aea18ca version updated to 0.5.0-b2 2018-05-30 13:20:16 +02:00
shakasan
d369bdbdca cli args management improved + yggInit usage frequency optimized 2018-05-30 13:15:57 +02:00
shakasan
bc8a46fd5d . 2018-05-30 09:09:12 +02:00
shakasan
806e5f0d09 menu bug fixed 2018-05-29 13:02:06 +02:00
shakasan
f1bd6fbddf some indent changes 2018-05-28 15:49:20 +02:00
shakasan
5afbd371d2 purple-facebook repo bug fixed 2018-05-28 15:47:01 +02:00
shakasan
b0c3784a0b gcolor2 added 2018-05-28 15:06:47 +02:00
shakasan
9772f35975 PreTrtFct mechanism added and install fct adapted 2018-05-28 14:03:27 +02:00
Francois B
eec24b3fd8 some messages notif upd 2018-05-27 16:32:39 +02:00
Francois B
306c662209 . 2018-05-27 15:26:04 +02:00
Francois B
8846acf8ff many changes for 18.04 2018-05-27 15:18:46 +02:00
Francois B
0b02f5a9ed many changes for 18.04 2018-05-27 14:17:50 +02:00
Francois B
e18ebfeb94 tmsu removed as no repo available 2018-05-27 02:33:16 +02:00
Francois B
8a9f8d0136 headless steam fct upd 2018-05-27 02:24:25 +02:00
Francois B
169ba609a5 java10 2018-05-27 02:12:07 +02:00
Francois B
19517902e5 bunch of bug fixed 2018-05-27 02:10:54 +02:00
Francois B
3c3d972839 wine install fixed 2018-05-27 01:57:22 +02:00
Francois B
712c540c16 small bug office 2018-05-27 01:51:27 +02:00
Francois B
dfc3f95960 Rhythmbox PPA removed + not upd plugins removed 2018-05-27 01:50:21 +02:00
Francois B
206a801339 microcode cpu upd fct bug fixed 2018-05-27 01:41:44 +02:00
Francois B
b55d9750ed lightdm fct bug bix 2018-05-27 01:38:04 +02:00
Francois B
2725277239 noobslab/ravefinity icons/themes removed - updated (anymore ?) 2018-05-27 01:32:59 +02:00
Francois B
986d3a341a noobslab/ravefinity icons/themes removed - updated (anymore ?) 2018-05-27 01:24:41 +02:00
Francois B
3c73877d53 nvidia drivers fix 2018-05-27 01:07:39 +02:00
Francois B
743bddd145 some changes about source files structure 2018-05-27 00:59:21 +02:00
Francois B
0408fcbe24 some changes about source files structure 2018-05-27 00:58:00 +02:00
Francois B
369732231a repo functions modified for bionic 2018-05-26 23:37:49 +02:00
Francois B
d44af9c308 comments changed for 16.04 2018-05-26 23:36:16 +02:00
Francois B
b83df8fe42 comments changed for 18.04 2018-05-26 23:33:31 +02:00
Francois B
518a25912b warning msg for no supported distro 2018-05-26 23:27:02 +02:00
Francois B
2597a9dd6b functions in external files splited in 16.04 and 18.04 versions to prepare next steps 2018-05-26 23:25:15 +02:00
Francois B
80ed0d1b2e small change in yggInit about umake ppa 2018-05-26 23:16:58 +02:00
Francois B
2b198c4103 some fix about unbound install and menu 2018-05-26 20:54:20 +02:00
Francois B
df59c133b7 small syntax bug 2018-05-26 20:28:26 +02:00
Francois B
ae2511e0a3 small change in nitrogen postTrtFct about shortcut 2018-05-22 19:52:44 +02:00
Francois B
3443bf1f13 steam headless install fixed 2018-05-22 19:28:29 +02:00
Francois B
99145ec623 dropbox replaced by nautilus-dropbox 2018-05-22 19:23:34 +02:00
Francois B
fc5cd07233 add nodejs trtfct to remove craps from ubuntu officiel version of node 2018-05-19 06:18:44 +02:00
Francois B
f10c1a7bd0 small bug about source fixed 2018-05-19 06:08:29 +02:00
shakasan
55e5613a66 add udev android rules to android studio TrtFct 2018-05-17 13:50:07 +02:00
shakasan
6b39242282 some bugs fixed about shortcut icons 2018-05-17 13:15:48 +02:00
shakasan
b0a79d08a6 cpu microcode update fct fixed 2018-05-17 09:08:20 +02:00
shakasan
180e43974c droopscan removed 2018-05-17 08:59:57 +02:00
17 changed files with 3373 additions and 1929 deletions

3
.gitignore vendored Normal file → Executable file
View file

@ -3,4 +3,5 @@ backup/*
deb/*
.remote-sync.json
*.sync-conflict-*
utils/*
utils/*
TODO.txt

8
.whitesource Executable file
View file

@ -0,0 +1,8 @@
{
"generalSettings": {
"shouldScanRepo": true
},
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "success"
}
}

0
LICENSE Normal file → Executable file
View file

49
README.md Normal file → Executable file
View file

@ -1,31 +1,42 @@
# Yggdrasil-NG
![yggdrasil](logo.png)
About
-----
> **Notice** : this script is no longer maintain !
!! Warnings : this is a early beta version !!
The purpose of this script is to provide a tool to install, customize and tweak a fresh installation of Linux Mint / Ubuntu.
The purpose of this script is to provide a full set of tools to install, customize and tweak a fresh installation of Linux Mint 18.x, Ubuntu 16.04 and derivatives
## Installation
Installation
------------
### Linux Mint 20 / Ubuntu 20.04 (Yggdrasil >= 0.6.1-b21)
```
git clone https://github.com/shakasan/yggdrasil_ng.git
cd yggdrasil_ng
chmod +x yggdrasil.sh
./yggdrasil.sh
```shell
curl -L https://packagecloud.io/makoto/stable/gpgkey | sudo apt-key add -
echo "deb https://packagecloud.io/makoto/stable/ubuntu/ focal main" | sudo tee /etc/apt/sources.list.d/makoto.list
sudo apt-get update
sudo apt-get install yggdrasil
```
Credits
-------
### Linux Mint 19 / Ubuntu 18.04 (Yggdrasil <= 0.6.1-b19)
This script has been written by Francois B. (Makotosan)
> - As Linux Mint 20 is released for a while already, this version of Yggdrasil is End of Life and thus is frozen as it.
> - No bugs fixed, features or any changes will be made on this branch anymore.
> - If you still need it, use it at your own risk and without guarantee third parties repositories are still available
> - The latest version of Yggdrasil for this branch is : 0.6.1-b19
* Email : shakasan@sirenacorp.be
* Website : https://makotonoblog.be/
```shell
curl -L https://packagecloud.io/makoto/stable/gpgkey | sudo apt-key add -
echo "deb https://packagecloud.io/makoto/stable/ubuntu/ bionic main" | sudo tee /etc/apt/sources.list.d/makoto.list
sudo apt-get update
sudo apt-get install yggdrasil=0.6.1-b19
```
Licence
-------
## Credits
The script is licensed under the terms of the GPLv3
- Author : Francois B. (Makoto)
- Email : <francois@exoseed.be>
- Website : <https://makotonoblog.be/applications/yggdrasil/>
## Licence
The script is licensed under the terms of the GPL-3.0

293
core_functions.sh Normal file → Executable file
View file

@ -1,14 +1,14 @@
#------------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : Mint 18, Ubuntu 16.04, Elementary and other derivatives #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#------------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : see documentation or man pages #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#-----------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# core functions #
#------------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# core functions #
#-----------------------------------------------------------------------------#
#
# display a simple message + CR
@ -79,9 +79,9 @@ function pressKey () {
}
#
# check if OS is Mint
# check if OS is Mint 18
#
function isMint () {
function isMint18 () {
OS=`lsb_release -d | awk -F':' '{print $2}' | awk -F'\t' '{print $2}'`
if [[ $OS == *"Linux Mint 18"* ]]; then
return 0
@ -90,6 +90,66 @@ function isMint () {
fi
}
#
# check if OS is Ubuntu 16.04
#
function isUbuntu1604 () {
OS=`lsb_release -d | awk -F':' '{print $2}' | awk -F'\t' '{print $2}'`
if [[ $OS == *"Ubuntu 16.04"* ]]; then
return 0
else
return 1
fi
}
#
# check if OS is Mint 19
#
function isMint19 () {
OS=`lsb_release -d | awk -F':' '{print $2}' | awk -F'\t' '{print $2}'`
if [[ $OS == *"Linux Mint 19"* ]]; then
return 0
else
return 1
fi
}
#
# check if OS is Ubuntu 18.04
#
function isUbuntu1804 () {
OS=`lsb_release -d | awk -F':' '{print $2}' | awk -F'\t' '{print $2}'`
if [[ $OS == *"Ubuntu 18.04"* ]]; then
return 0
else
return 1
fi
}
#
# check if OS is Mint 20
#
function isMint20 () {
OS=`lsb_release -d | awk -F':' '{print $2}' | awk -F'\t' '{print $2}'`
if [[ $OS == *"Linux Mint 20"* ]]; then
return 0
else
return 1
fi
}
#
# check if OS is Ubuntu 20.04
#
function isUbuntu2004 () {
OS=`lsb_release -d | awk -F':' '{print $2}' | awk -F'\t' '{print $2}'`
if [[ $OS == *"Ubuntu 20.04"* ]]; then
return 0
else
return 1
fi
}
#
# check if DE is Mate
#
@ -102,97 +162,33 @@ function isMate () {
}
#
# check and install required dependencies for Yggdrasil
# heck if DE is Cinnamon
#
function yggInit () {
typeset ret_code
printf "[INIT]"
runCmd "echo sience-config science-config/group select '$myHomedir ($myHomedir)' | sudo debconf-set-selections" \
"apply settings for science-config pkg"
if ! dpkg --print-foreign-architectures | grep -qi i386; then
printf "[INIT]"
runCmd "sudo dpkg --add-architecture i386" \
"adding i386 architecture"
function isCinnamon () {
if [[ $DESKTOP_SESSION == *"cinnamon"* ]]; then
return 0
else
printf "[INIT] i386 architecture already added [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi
if ! grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep -q ubuntu-make; then
printf "[INIT][UMAKE] PPA not found, adding PPA...\n"
printf "[INIT][UMAKE] PPA not found, adding PPA...\n" &>> $logFile
addPPA "ubuntu-desktop/ubuntu-make"
else
printf "[INIT][UMAKE] PPA found [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi
printf "[INIT][APT] update "
printf "\n[INIT][APT] update\n" &>> $logFile
sudo apt-get update &>> $logFile
ret_code=$?
retCode $ret_code
printf "[INIT]"
installPackage apt "apt-transport-https"
if ! which umake >/dev/null; then
printf "[INIT][UMAKE] not found, installing...\n"
printf "\n[INIT][UMAKE] not found, installing...\n" &>> $logFile
installPackage apt "ubuntu-make"
else
printf "[INIT][UMAKE] found [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi
if ! which gem >/dev/null; then
printf "[INIT][GEM] not found, installing...\n"
printf "\n[INIT][GEM] not found, installing...\n" &>> $logFile
installPackage apt "ruby-dev"
else
printf "[INIT][GEM] found [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi
if ! which snap >/dev/null; then
printf "[INIT][SNAP] not found, installing...\n"
printf "\n[INIT][SNAP] not found, installing...\n" &>> $logFile
installPackage apt "snapd"
else
printf "[INIT][SNAP] found [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi
if ! which npm >/dev/null; then
printf "[INIT][NPM] not found, installing...\n"
printf "\n[INIT][NPM] not found, installing...\n" &>> $logFile
installPackage apt "nodejs"
else
printf "[INIT][NPM] found [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi
if ! which pip3 >/dev/null; then
printf "[INIT][PIP] not found, installing...\n"
printf "\n[INIT][PIP] not found, installing...\n" &>> $logFile
printf "[INIT]"
installPackage apt "python3-pip"
printf "[INIT]"
installPackage pip "pip"
printf "[INIT]"
installPackage pip "setuptools"
else
printf "[INIT][PIP] found [ "$BOLDVERT"OK"$NORMAL" ] \n"
printf "[INIT]"
installPackage pip "pip"
printf "[INIT]"
installPackage pip "setuptools"
return 1
fi
}
#
# update kernel to the latest version
# check and install required dependencies for Yggdrasil
#
function kernelUpdate () {
checkAndInstallDep apt ukuu ukuu \
&& runCmd "sudo ukuu --install-latest --yes" \
"installing latest kernel"
function yggInit () {
msg "Performing some Initializing steps"
runCmd "echo sience-config science-config/group select '$myHomedir ($myHomedir)' | sudo debconf-set-selections" \
"apply settings for science-config pkg"
if ! dpkg --print-foreign-architectures | grep -qi i386; then
runCmd "sudo dpkg --add-architecture i386" \
"adding i386 architecture"
else
printf "i386 architecture already added [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi
installAppsFromList init
}
#
@ -228,6 +224,14 @@ function updateSystem () {
retCode $ret_code
fi
if which flatpak >/dev/null; then
printf "[FLATPAK] update "
printf "\n[FLATPAK] update\n" &>> $logFile
sudo flatpak update -y &>> $logFile
ret_code=$?
retCode $ret_code
fi
repoAdded=0
}
@ -245,7 +249,11 @@ function addPPA () {
if ! grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep -q ${str2search}; then
printf "[PPA] adding : $* "
printf "\n[PPA] adding $*\n" &>> $logFile
sudo add-apt-repository -y $* &>> $logFile
if isUbuntu2004; then
sudo add-apt-repository -yn $* &>> $logFile
else
sudo add-apt-repository -y $* &>> $logFile
fi
ret_code=$?
retCode $ret_code
else
@ -285,17 +293,21 @@ function addKey () {
#
function addRepo () {
typeset ret_code
printf "[REPO] adding : $2 in $1 "
printf "\n[REPO] adding $2 in $1\n" &>> $logFile
echo $2 | sudo tee /etc/apt/sources.list.d/$1 &>> $logFile
ret_code=$?
retCode $ret_code
if [ "$#" -eq 3 ]; then
printf "[REPO] adding : $3 in $1 "
printf "\n[REPO] adding $3 in $1\n" &>> $logFile
echo $3 | sudo tee -a /etc/apt/sources.list.d/$1 &>> $logFile
if [ ! -f /etc/apt/sources.list.d/$1 ]; then
printf "[REPO] adding : $2 in $1 "
printf "\n[REPO] adding $2 in $1\n" &>> $logFile
echo $2 | sudo tee /etc/apt/sources.list.d/$1 &>> $logFile
ret_code=$?
retCode $ret_code
if [ "$#" -eq 3 ]; then
printf "[REPO] adding : $3 in $1 "
printf "\n[REPO] adding $3 in $1\n" &>> $logFile
echo $3 | sudo tee -a /etc/apt/sources.list.d/$1 &>> $logFile
ret_code=$?
retCode $ret_code
fi
else
printf "[REPO] already added [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi
}
@ -308,8 +320,7 @@ function installPackageDpkg () {
printf "\n[PKG] installing $2 from $1\n" &>> $logFile
cd /tmp \
&& wget -q -O $2 $1 &>> $logFile \
&& sudo dpkg -i $2 &>> $logFile
sudo apt-get install -fy &>> $logFile
&& sudo apt-get install -fy /tmp/$2 &>> $logFile
ret_code=$?
retCode $ret_code
if [ "$3" == "yes" ]; then
@ -321,7 +332,7 @@ function installPackageDpkg () {
# install package from repositories
# input : package manager, package name
# package manager available : apt, pip, npm, gem, snap
# TODO: add apm, flatpak, umake?, use yarn instead of npm ?
# TODO: add apm, code, flatpak, umake?, use yarn instead of npm ?
#
function installPackage () {
typeset pkg="$2"
@ -348,7 +359,7 @@ function installPackage () {
if which npm >/dev/null; then
printf "[NPM] Installing $pkg "
printf "\n[NPM] installing $pkg\n" &>> $logFile
sudo npm install -g $pkg &>> $logFile
npm install -g $pkg &>> $logFile
ret_code=$?
retCode $ret_code
fi
@ -371,6 +382,15 @@ function installPackage () {
retCode $ret_code
fi
;;
"flatpak")
if which flatpak >/dev/null; then
printf "[FLATPAK] Installing $pkg "
printf "\n[FLATPAK] installing $pkg\n" &>> $logFile
sudo flatpak install -y $pkg &>> $logFile
ret_code=$?
retCode $ret_code
fi
;;
esac
}
@ -398,6 +418,9 @@ function checkAndInstallDep () {
"snap")
installPackage snap $2
;;
"flatpak")
installPackage flatpak $2
;;
esac
fi
}
@ -410,8 +433,7 @@ function addSpecificRepoFct () {
for i in $AppsRepo; do
appRepo=(${i//;/ })
if [ "${appRepo[0]}" == "$1" ]; then
printf "[ADD] package -- $1 -- repo/ppa "
printf "added by function -- ${appRepo[1]}\n"
printf "[ADD_REPO_PPA][$1][${appRepo[1]}]...\n"
eval "${appRepo[1]}"
repoAdded=$(($repoAdded+1))
fi
@ -425,17 +447,28 @@ function addSpecificRepoFct () {
#
# find and execute Pre/Post install functions for a specific app
# input : unique ID
# input : unique ID, pre/post
#
function processAppTrtFct () {
for i in $AppsTrtFct; do
appTrtFct=(${i//;/ })
if [ "${appTrtFct[0]}" == "$1" ]; then
printf "[TRT] package -- $1 -- "
printf "post install processed by -- ${appTrtFct[1]}\n"
eval "${appTrtFct[1]}"
fi
done
typeset i
if [ "$2" == "post" ]; then
for i in $AppsPostTrtFct; do
appPostTrtFct=(${i//;/ })
if [ "${appPostTrtFct[0]}" == "$1" ]; then
printf "[TRT][POST][$1][${appPostTrtFct[1]}]"
eval "${appPostTrtFct[1]}"
fi
done
else
for i in $AppsPreTrtFct; do
appPreTrtFct=(${i//;/ })
if [ "${appPreTrtFct[0]}" == "$1" ]; then
printf "[TRT][PRE][$1][${appPreTrtFct[1]}]"
eval "${appPreTrtFct[1]}"
fi
done
fi
unset i
}
#
@ -458,8 +491,9 @@ function installAppsFromList () {
for i in $Apps; do
app=(${i//;/ })
if [ "${app[2]}" == "$1" ]; then
processAppTrtFct ${app[3]} "pre"
installPackage ${app[1]} ${app[0]}
processAppTrtFct ${app[3]}
processAppTrtFct ${app[3]} "post"
fi
done
}
@ -502,8 +536,9 @@ function installAppsFromListMenu () {
for i in $Apps; do
app=(${i//;/ })
if [ "${app[3]}" == "${pkgToInstall//\"}" ]; then
processAppTrtFct ${app[3]} "pre"
installPackage ${app[1]} ${app[0]}
processAppTrtFct ${app[3]}
processAppTrtFct ${app[3]} "post"
fi
done
done
@ -561,8 +596,9 @@ function dispLogo () {
printf " ╚██╔╝ ██║ ██║██║ ██║██║ ██║██╔══██╗██╔══██║╚════██║██║██║ \n"
printf " ██║ ╚██████╔╝╚██████╔╝██████╔╝██║ ██║██║ ██║███████║██║███████╗\n"
printf " ╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝╚══════╝\n"
printf "$BOLDROUGE Customize Linux Mint & Ubuntu derivatives made easier\n"
printf "$BOLDROUGE Customize Linux Mint & Ubuntu made easier\n"
printf "$BOLDBLANC ver "$version" - GPLv3 - Francois B. (Makotosan) - makotonoblog.be\n"
printf $NORMAL
printf "\n"
}
@ -570,7 +606,6 @@ function dispLogo () {
# show usage for headless mode
#
function usage () {
dispLogo
dispSysInfos
printf "\n"
printf $NORMAL
@ -583,12 +618,12 @@ function usage () {
printf " "$BOLDVERT"-q"$NORMAL" : install cardreader apps\n"
printf " "$BOLDVERT"-s"$NORMAL" : install Solaar for Logitech Unifying devices\n"
printf " "$BOLDVERT"-t"$NORMAL" : install TLP for Laptops and low energy usage\n"
printf " "$BOLDVERT"-n"$NORMAL" : install lastest Nvidia graphic drivers\n"
printf " "$BOLDVERT"-g"$NORMAL" : install lastest free graphic drivers (nouveau, amdgpu, ati, intel), mesa, ...\n"
printf " "$BOLDVERT"-k"$NORMAL" : update system to the latest kernel\n"
printf " "$BOLDVERT"-k"$NORMAL" : install HWE (Ubuntu's Hardware Enablement Stack)(newer kernel+xorg)\n"
printf " "$BOLDVERT"-g"$NORMAL" : install/unlock SNAP + Store (not recommanded ;-))\n"
printf " "$BOLDVERT"-j"$NORMAL" : install/enable unattended-upgrades (security auto update))\n"
printf " "$BOLDVERT"-u"$NORMAL" : update system (apt,snap,...)\n"
printf " "$BOLDVERT"-p"$NORMAL" : clean useless packages\n"
printf " "$BOLDVERT"-v"$NORMAL" : show verison number\n"
printf " "$BOLDVERT"-v"$NORMAL" : show version number\n"
printf " "$BOLDVERT"-h"$NORMAL" : show help & informations\n"
printf "\n"
}

View file

@ -1,966 +0,0 @@
#------------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : Mint 18, Ubuntu 16.04, Elementary and other derivatives #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#------------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# install functions #
#-----------------------------------------------------------------------------#
#
# install Base Apps (headless)
#
function installBase () {
installAppsFromList base
}
#
# install Base Apps (Menu)
#
function installBaseMenu () {
installAppsFromListMenu base
}
#
# install Office Apps (headless)
#
function installOffice () {
installAppsFromList office
}
#
# install Office Apps (Menu)
#
function installOfficeMenu () {
installAppsFromListMenu office
}
#
# install Multimedia Apps (headless)
#
function installMultimedia () {
installAppsFromList multimedia
}
#
# install Multimedia Apps (Menu)
#
function installMultimediaMenu () {
installAppsFromListMenu multimedia
}
#
# install eBook Apps (headless)
#
function installEbook () {
installAppsFromList ebook
}
#
# install eBook Apps (Menu)
#
function installEbookMenu () {
installAppsFromListMenu ebook
}
#
# install Internet Apps (headless)
#
function installInternet () {
runCmd "echo opera-stable opera-stable/add-deb-source boolean false | sudo debconf-set-selections" \
"setting as do not add repo"
installAppsFromList internet
}
#
# install Internet Apps (Menu)
#
function installInternetMenu () {
runCmd "echo opera-stable opera-stable/add-deb-source boolean false | sudo debconf-set-selections" \
"setting as do not add repo"
installAppsFromListMenu internet
}
#
# Viber (headless)
#
function installViber () {
installPackageDpkg http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb \
viber.deb \
no
}
#
# Viber (Menu)
#
function installViberMenu () {
installPackageDpkg http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb \
viber.deb \
yes
}
#
# Franz (headless)
#
function installFranz () {
installPackageDpkg https://github.com/meetfranz/franz/releases/download/v5.0.0-beta.17/franz_5.0.0-beta.17_amd64.deb \
franz.deb \
no
}
#
# Franz (Menu)
#
function installFranzMenu () {
installPackageDpkg https://github.com/meetfranz/franz/releases/download/v5.0.0-beta.17/franz_5.0.0-beta.17_amd64.deb \
franz.deb \
yes
}
#
# install Misc Utilities Apps (headless)
#
function installMiscUtilities () {
installAppsFromList utilities
}
#
# install Misc Utilities Apps (Menu)
#
function installMiscUtilitiesMenu () {
installAppsFromListMenu utilities
}
#
# install Wine Build (headless)
#
function installWine () {
installAppsFromList wine
}
#
# install Wine Build (Menu)
#
function installWineMenu () {
installAppsFromListMenu wine
}
#
# install Game Apps (headless)
#
function installGames () {
installAppsFromList games
}
#
# install Game Apps (Menu)
#
function installGamesMenu () {
installAppsFromListMenu games
}
#
# Steam (headless)
#
function installSteam () {
runCmd "echo steam steam/purge note | sudo debconf-set-selections" \
"accepting steam licence"
runCmd "echo steam steam/license note | sudo debconf-set-selections" \
"accepting steam licence 2/3"
runCmd "echo steam steam/question select I AGREE | sudo debconf-set-selections" \
"accepting steam licence 3/3"
installPackage apt steam
}
#
# Steam (Menu)
#
function installSteamMenu () {
runCmd "echo steam steam/purge note | sudo debconf-set-selections" \
"accepting steam licence"
runCmd "echo steam steam/license note | sudo debconf-set-selections" \
"accepting steam licence 2/3"
runCmd "echo steam steam/question select I AGREE | sudo debconf-set-selections" \
"accepting steam licence 3/3"
installPackage apt steam
}
#
# install Burning Apps (headless)
#
function installBurningTools () {
installAppsFromList burningtools
}
#
# install Burning Apps (Menu)
#
function installBurningToolsMenu () {
installAppsFromListMenu burningtools
}
#
# install Network Apps (headless)
#
function installNetTools () {
runCmd "echo wireshark-common wireshark-common/install-setuid boolean true | sudo debconf-set-selections" \
"setting Wireshark as root only"
installAppsFromList nettools
}
#
# install Network Apps (Menu)
#
function installNetToolsMenu () {
runCmd "echo wireshark-common wireshark-common/install-setuid boolean true | sudo debconf-set-selections" \
"setting Wireshark as root only"
installAppsFromListMenu nettools
}
#
# install Caja Plugins (headless)
#
function installCajaPlugins () {
installAppsFromList cajaplugins
}
#
# install Caja Plugins (Menu)
#
function installCajaPluginsMenu () {
installAppsFromListMenu cajaplugins
}
#
# install Nautilus Apps + plugins (headless)
#
function installNautilusAndPlugins () {
installAppsFromList nautilus
}
#
# install Nautilus Apps + plugins (Menu)
#
function installNautilusAndPluginsMenu () {
installAppsFromListMenu nautilus
}
#
# install Gimp plugins (headless)
#
function installGimpPlugins () {
installAppsFromList gimp
}
#
# install Gimp plugins (Menu)
#
function installGimpPluginsMenu () {
installAppsFromListMenu gimp
}
#
# install RhythmBox plugins (headless)
#
function installRhythmBoxPlugins () {
installAppsFromList rhythmbox
}
#
# install RhythmBox plugins (Menu)
#
function installRhythmBoxPluginsMenu () {
installAppsFromListMenu rhythmbox
}
#
# install Pidgin plugins (headless)
#
function installPidginPlugins () {
installAppsFromList pidgin
}
#
# install Pidgin plugins (Menu)
#
function installPidginPluginsMenu () {
installAppsFromListMenu pidgin
}
#
# install Nitrogen app (headless)
#
function installNitrogen () {
installAppsFromList nitrogen
}
#
# install Nitrogen app (Menu)
#
function installNitrogenMenu () {
installAppsFromListMenu nitrogen
}
#
# install Beta Apps (headless)
#
function installBeta () {
installAppsFromList beta
}
#
# install Beta Apps (Menu)
#
function installBetaMenu () {
installAppsFromListMenu beta
}
#
# install Nightly Apps (headless)
#
function installNightly () {
installAppsFromList nightly
}
#
# install Nightly Apps (Menu)
#
function installNightlyMenu () {
installAppsFromListMenu nightly
}
#
# install GTK Themes (headless)
#
function installThemes () {
installAppsFromList gtkthemes
}
#
# install GTK Themes (Menu)
#
function installThemesMenu () {
installAppsFromListMenu gtkthemes
}
#
# install Icon Themes (headless)
#
function installIcons () {
installAppsFromList icons
}
#
# install Icon Themes (Menu)
#
function installIconsMenu () {
installAppsFromListMenu icons
}
#
# install Solaar App (headless)
#
function installSolaar () {
installAppsFromList solaar
}
#
# install Solaar App (Menu)
#
function installSolaarMenu () {
installAppsFromListMenu solaar
}
#
# install CardReader Apps (headless)
#
function installCardReader () {
installAppsFromList cardreader
}
#
# install CardReader Apps (Menu)
#
function installCardReaderMenu () {
installAppsFromListMenu cardreader
}
#
# update AMD/Intel CPU Microcode
#
function updateMicrocode () {
oldMicrocode=`cat /proc/cpuinfo | grep -i --color microcode -m 1`
intel=`cat /proc/cpuinfo | grep -i Intel | wc -l`
amd=`cat /proc/cpuinfo | grep -i Amd | wc -l`
if [ "$intel" -gt "0" ]; then
installPackage apt intel-microcode
elif [ "$amd" -gt "0" ]; then
installPackage apt amd64-microcode
fi
newMicrocode=`cat /proc/cpuinfo | grep -i --color microcode -m 1`
printf "[INFO] Microcode updated from "$oldMicrocode" version to "$newMicrocode" version"
printf "\n"
}
#
# fix some config issue with Intel Wireless 6320 cards
#
function fixWirelessIntel6320 () {
runCmd "sudo cp /etc/modprobe.d/iwlwifi.conf /etc/modprobe.d/iwlwifi.conf.bak" \
"backing up config file"
runCmd "echo options iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=8 | sudo tee /etc/modprobe.d/iwlwifi.conf" \
"applying new config"
printf "[INFO] reboot required !!!"
printf "\n"
}
#
# install Webcam Apps (headless)
#
function installWebcam () {
installAppsFromList webcam
}
#
# install Webcam Apps (Menu)
#
function installWebcamMenu () {
installAppsFromListMenu webcam
}
#
# install latest versions of graphic drivers, mesa, .... (headless)
#
function installOibaf () {
addRepo_Oibaf
}
#
# install latest versions of graphic drivers, mesa, .... (Menu)
#
function installOibafMenu () {
addRepo_Oibaf
}
#
# install Nvidia Drivers (headless)
#
function installNvidia370 () {
installAppsFromList nvidia-370
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia370Menu () {
installAppsFromListMenu nvidia-370
}
#
# install Nvidia Drivers (headless)
#
function installNvidia375 () {
installAppsFromList nvidia-375
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia375Menu () {
installAppsFromListMenu nvidia-375
}
#
# install Nvidia Drivers (headless)
#
function installNvidia378 () {
installAppsFromList nvidia-378
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia378Menu () {
installAppsFromListMenu nvidia-378
}
#
# install Nvidia Drivers (headless)
#
function installNvidia381 () {
installAppsFromList nvidia-381
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia381Menu () {
installAppsFromListMenu nvidia-381
}
#
# install Nvidia Drivers (headless)
#
function installNvidia384 () {
installAppsFromList nvidia-384
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia384Menu () {
installAppsFromListMenu nvidia-384
}
#
# install Nvidia Drivers (headless)
#
function installNvidia387 () {
installAppsFromList nvidia-387
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia387Menu () {
installAppsFromListMenu nvidia-387
}
#
# install Nvidia Drivers (headless)
#
function installNvidia390 () {
installAppsFromList nvidia-390
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia390Menu () {
installAppsFromListMenu nvidia-390
}
#
# install Nvidia Drivers (headless)
#
function installNvidia396 () {
installAppsFromList nvidia-396
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia396Menu () {
installAppsFromListMenu nvidia-396
}
#
# install TLP App (headless)
#
function installTLP () {
installAppsFromList tlp
}
#
# install TLP App (Menu)
#
function installTLPMenu () {
installAppsFromListMenu tlp
}
#TODO:
function installKeyIDuDev () {
sudo sh -c "echo '# this udev file should be used with udev 188 and newer\n\
ACTION!=\"add|change\", GOTO=\"u2f_end\"\n\
\n\
# Key-ID FIDO U2F\n\
KERNEL==\"hidraw*\", SUBSYSTEM==\"hidraw\", ATTRS{idVendor}==\"096e\", ATTRS{idProduct}==\"0850|0880\", TAG+=\"uaccess\"\n\
\n\
LABEL=\"u2f_end\"' > /etc/udev/rules.d/70-u2f.rules"
runCmd "sudo service udev restart" \
"restarting UDEV service"
}
#
# install Dev Apps (headless)
#
function installDevApps () {
installAppsFromList dev
}
#
# install Dev Apps (Menu)
#
function installDevAppsMenu () {
installAppsFromListMenu dev
}
#
# install Javascript env (headless)
#
function installJavascript () {
installAppsFromList javascript
}
#
# install Javascript env (Menu)
#
function installJavascriptMenu () {
installAppsFromListMenu javascript
}
#
# install JAVA 10 (headless)
#
function installJava10 () {
runCmd "echo oracle-java10-installer shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections" \
"accepting Oracle Java SE 10 licence agreement"
installAppsFromList java10
}
#
# install JAVA 10 (Menu)
#
function installJava10Menu () {
runCmd "echo oracle-java10-installer shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections" \
"accepting Oracle Java SE 10 licence agreement"
installAppsFromListMenu java10
}
#
# install Mongo DB 3 CE (headless)
#
function installMongo3CE () {
installAppsFromList mongodb
}
#
# install Mongo DB 3 CE (Menu)
#
function installMongo3CEMenu () {
installAppsFromListMenu mongodb
}
#
# install Python Apps (headless)
#
function installPython () {
installAppsFromList python
}
#
# install Python Apps (Menu)
#
function installPythonMenu () {
installAppsFromListMenu python
}
#
# install PHP Apps (headless)
#
function installPHP () {
installAppsFromList php
}
#
# install PHP Apps (Menu)
#
function installPHPMenu () {
installAppsFromListMenu php
}
#
# install QT Apps/tools (headless)
#
function installQT () {
installAppsFromList qt
}
#
# install QT Apps/tools (Menu)
#
function installQTMenu () {
installAppsFromListMenu qt
}
#
# install LUA Apps (headless)
#
function installLUA () {
installAppsFromList lua
}
#
# install LUA Apps (Menu)
#
function installLUAMenu () {
installAppsFromListMenu lua
}
#
# install Ruby Apps (headless)
#
function installRuby () {
installAppsFromList ruby
}
#
# install Ruby Apps (Menu)
#
function installRubyMenu () {
installAppsFromListMenu ruby
}
#TODO:
function installAndroidEnv () {
msg="Installing Android environment"
runCmd "touch /home/$myHomedir/.bashrc" \
"creating .bashrc file if necessary"
sh -c "echo '\n\nexport PATH=${PATH}:/home/'$myHomedir'/Android/Sdk/tools:/home/'$myHomedir'/Android/Sdk/platform-tools' >> /home/$myHomedir/.bashrc"
msg "Adding UDEV rules"
sudo sh -c "echo 'SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0502\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Acer\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0b05\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Asus\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"413c\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Dell\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0489\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Foxconn\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"04c5\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Fujitsu\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"04c5\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Fujitsu-Toshiba\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"091e\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Garmin-Asus\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"18d1\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Google-Nexus\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"201E\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Haier\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"109b\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Hisense\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0bb4\", MODE=\"0666\", OWNER=\""$myHomedir"\" # HTC\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"12d1\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Huawei\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"8087\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Intel\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"24e3\", MODE=\"0666\", OWNER=\""$myHomedir"\" # K-Touch\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"2116\", MODE=\"0666\", OWNER=\""$myHomedir"\" # KT Tech\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0482\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Kyocera\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"17ef\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Lenovo\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"1004\", MODE=\"0666\", OWNER=\""$myHomedir"\" # LG\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"22b8\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Motorola\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0e8d\", MODE=\"0666\", OWNER=\""$myHomedir"\" # MTK\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0409\", MODE=\"0666\", OWNER=\""$myHomedir"\" # NEC\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"2080\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Nook\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0955\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Nvidia\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"2257\", MODE=\"0666\", OWNER=\""$myHomedir"\" # OTGV\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"10a9\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Pantech\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"1d4d\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Pegatron\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0471\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Philips\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"04da\", MODE=\"0666\", OWNER=\""$myHomedir"\" # PMC-Sierra\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"05c6\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Qualcomm\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"1f53\", MODE=\"0666\", OWNER=\""$myHomedir"\" # SK Telesys\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"04e8\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Samsung\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"04dd\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Sharp\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"054c\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Sony\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0fce\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Sony Ericsson\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0fce\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Sony Mobile Communications\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"2340\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Teleepoch\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0930\", MODE=\"0666\", OWNER=\""$myHomedir"\" # Toshiba\n\
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"19d2\", MODE=\"0666\", OWNER=\""$myHomedir"\" # ZTE' > /etc/udev/rules.d/99-android.rules"
runCmd "sudo service udev restart" \
"restarting UDEV service"
createAppShortcut "/home/"$myHomedir"/tools/Android/Sdk/tools/android" \
"/home/"$myHomedir"/.icons/android.png" \
"GNOME;GTK;Development;IDE" \
"Android SDK" \
"local" \
update-menus
}
#
# install Atom App (headless)
#
function installAtom () {
installAppsFromList atom
}
#
# install Atom App (menu)
#
function installAtomMenu () {
installAppsFromListMenu atom
}
#
# install Anjuta Apps (headless)
#
function installAnjuta () {
installAppsFromList anjuta
}
#
# install Anjuta Apps (Menu)
#
function installAnjutaMenu () {
installAppsFromListMenu anjuta
}
#
# install Brackets Apps (headless)
#
function installBrackets () {
installAppsFromList brackets
}
#
# install Brackets Apps (Menu)
#
function installBracketsMenu () {
installAppsFromListMenu brackets
}
#
# install CodeBlocks Apps (headless)
#
function installCodeBlocks () {
installAppsFromList codeblocks
}
#
# install CodeBlocks Apps (Menu)
#
function installCodeBlocksMenu () {
installAppsFromListMenu codeblocks
}
#
# install Geany Apps (headless)
#
function installGeany () {
installAppsFromList geany
}
#
# install Geany Apps (Menu)
#
function installGeanyMenu () {
installAppsFromListMenu geany
}
#
# install IDEA Apps (headless)
#
function installIdea () {
installAppsFromList idea
}
#
# install IDEA Apps (Menu)
#
function installIdeaMenu () {
installAppsFromListMenu idea
}
#
# install Pycharm Apps (headless)
#
function installPyCharm () {
installAppsFromList pycharm
}
#
# install Pycharm Apps (Menu)
#
function installPyCharmMenu () {
installAppsFromListMenu pycharm
}
#
# install Visual Studio Code Apps (headless)
#
function installVisualStudioCode () {
installAppsFromList code
}
#
# install Visual Studio Code Apps (Menu)
#
function installVisualStudioCodeMenu () {
installAppsFromListMenu code
}
#
# install Android-Studio Apps (headless)
#
function installAndroidStudio () {
installAppsFromList androidstudio
}
#
# install Android-Studio Apps (Menu)
#
function installAndroidStudioMenu () {
installAppsFromListMenu androidstudio
}
#
# install SublimeText Apps (headless)
#
function installSublimeText() {
installAppsFromList sublime-text
}
#
# install SublimeText Apps (Menu)
#
function installSublimeTextMenu() {
installAppsFromListMenu sublime-text
}
#
# install CAD Apps (headless)
#
function installCAD () {
installAppsFromList cad
}
#
# install CAD Apps (Menu)
#
function installCADMenu () {
installAppsFromListMenu cad
}
#
# install Teamviewer 13 (headless)
#
function installTeamViewer13 () {
installPackageDpkg https://download.teamviewer.com/download/linux/teamviewer_amd64.deb \
teamviewer13.deb \
no
}
#
# install Teamviewer 13 (Menu)
#
function installTeamViewer13Menu () {
installPackageDpkg https://download.teamviewer.com/download/linux/teamviewer_amd64.deb \
teamviewer13.deb \
yes
}
#
# install/enable Unboud (headless)
#
function enableUnbound () {
installAppsFromList unbound
}
#
# install/enable Unboud (Menu)
#
function enableUnboundMenu () {
installAppsFromListMenu unbound
}

206
install_functions_ub1804.sh Executable file
View file

@ -0,0 +1,206 @@
#-----------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : see documentation or man pages #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# #
# Ubuntu 18.04 / Linux Mint 19 #
# #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# install functions #
#-----------------------------------------------------------------------------#
#
# Viber (headless)
#
function installViber () {
installPackageDpkg http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb \
viber.deb \
no
}
#
# Viber (Menu)
#
function installViberMenu () {
installPackageDpkg http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb \
viber.deb \
yes
}
#
# Slack (headless)
#
function installSlack () {
installPackageDpkg https://downloads.slack-edge.com/linux_releases/slack-desktop-4.3.2-amd64.deb \
slack.deb \
no
}
#
# Slack (Menu)
#
function installSlackMenu () {
installPackageDpkg https://downloads.slack-edge.com/linux_releases/slack-desktop-4.3.2-amd64.deb \
slack.deb \
yes
}
#
# XnViewMP (headless)
#
function installXnViewMP () {
installPackageDpkg https://download.xnview.com/XnViewMP-linux-x64.deb \
xnviewmp.deb \
no
}
#
# XnViewMP (Menu)
#
function installXnViewMPMenu () {
installPackageDpkg https://download.xnview.com/XnViewMP-linux-x64.deb \
xnviewmp.deb \
yes
}
#
# update AMD/Intel CPU Microcode
#
function updateMicrocode () {
msg "CPU Microcode updating"
oldMicrocode=`cat /proc/cpuinfo | grep -i --color microcode -m 1 | awk -F': ' '{print $2}'`
intel=`cat /proc/cpuinfo | grep -i Intel | wc -l`
amd=`cat /proc/cpuinfo | grep -i Amd | wc -l`
if [ "$intel" -gt "0" ]; then
installPackage apt intel-microcode
newMicrocode=`cat /proc/cpuinfo | grep -i --color microcode -m 1 | awk -F': ' '{print $2}'`
printf "[INFO] Microcode updated from "$oldMicrocode" version to "$newMicrocode" version"
elif [ "$amd" -gt "0" ]; then
installPackage apt amd64-microcode
newMicrocode=`cat /proc/cpuinfo | grep -i --color microcode -m 1 | awk -F': ' '{print $2}'`
printf "[INFO] Microcode updated from "$oldMicrocode" version to "$newMicrocode" version"
else
printf "[INFO] No Intel/AMD CPU found"
fi
printf "\n"
}
#
# Key-ID USB Fido U2F device udev rules
#
function installKeyIDuDev () {
printf "[CMD] Adding Key-ID device UDEV rules "
cat << EOF | sudo tee /etc/udev/rules.d/70-u2f.rules
# this udev file should be used with udev 188 and newer\n\
ACTION!="add|change", GOTO="u2f_end"
# Key-ID FIDO U2F
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", ATTRS{idProduct}=="0850|0880", TAG+="uaccess"
LABEL="u2f_end"
EOF
ret_code=$?
retCode $ret_code
runCmd "sudo service udev restart" \
"restarting UDEV service"
}
#
# install Teamviewer 13 (headless)
#
function installTeamViewer13 () {
installPackageDpkg https://download.teamviewer.com/download/linux/teamviewer_amd64.deb \
teamviewer13.deb \
no
}
#
# install Teamviewer 13 (Menu)
#
function installTeamViewer13Menu () {
installPackageDpkg https://download.teamviewer.com/download/linux/teamviewer_amd64.deb \
teamviewer13.deb \
yes
}
#
# install Compass (headless)
#
function installCompass () {
installPackageDpkg https://downloads.mongodb.com/compass/mongodb-compass_1.20.5_amd64.deb \
compass.deb \
no
}
#
# install Compass (Menu)
#
function installCompassMenu () {
installPackageDpkg https://downloads.mongodb.com/compass/mongodb-compass_1.20.5_amd64.deb \
compass.deb \
yes
}
#
# Boostnotes (headless)
#
function installBoostnotes () {
installPackageDpkg https://github.com/BoostIO/boost-releases/releases/download/v0.14.0/boostnote_0.14.0_amd64.deb \
boostnotes.deb \
no
}
#
# Boostnotes (Menu)
#
function installBoostnotesMenu () {
installPackageDpkg https://github.com/BoostIO/boost-releases/releases/download/v0.14.0/boostnote_0.14.0_amd64.deb \
boostnotes.deb \
yes
}
#
# Vagrant (headless)
#
function installVagrant () {
installPackageDpkg https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.deb \
vagrant.deb \
no
}
#
# Vagrant (Menu)
#
function installVagrantMenu () {
installPackageDpkg https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.deb \
vagrant.deb \
yes
}
#
# AppImage Launcher (headless)
#
function installAppImageLauncher () {
installPackageDpkg https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.1.1/appimagelauncher_2.1.1-travis931.f6d5926.bionic_amd64.deb \
appimagelauncher.deb \
no
}
#
# AppImage Launcher (Menu)
#
function installAppImageLauncherMenu () {
installPackageDpkg https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.1.1/appimagelauncher_2.1.1-travis931.f6d5926.bionic_amd64.deb \
appimagelauncher.deb \
yes
}

206
install_functions_ub2004.sh Executable file
View file

@ -0,0 +1,206 @@
#-----------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : see documentation or man pages #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# #
# Ubuntu 20.04 / Linux Mint 20 #
# #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# install functions #
#-----------------------------------------------------------------------------#
#
# Viber (headless)
#
function installViber () {
installPackageDpkg http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb \
viber.deb \
no
}
#
# Viber (Menu)
#
function installViberMenu () {
installPackageDpkg http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb \
viber.deb \
yes
}
#
# Slack (headless)
#
function installSlack () {
installPackageDpkg https://downloads.slack-edge.com/linux_releases/slack-desktop-4.4.2-amd64.deb \
slack.deb \
no
}
#
# Slack (Menu)
#
function installSlackMenu () {
installPackageDpkg https://downloads.slack-edge.com/linux_releases/slack-desktop-4.4.2-amd64.deb \
slack.deb \
yes
}
#
# XnViewMP (headless)
#
function installXnViewMP () {
installPackageDpkg https://download.xnview.com/XnViewMP-linux-x64.deb \
xnviewmp.deb \
no
}
#
# XnViewMP (Menu)
#
function installXnViewMPMenu () {
installPackageDpkg https://download.xnview.com/XnViewMP-linux-x64.deb \
xnviewmp.deb \
yes
}
#
# update AMD/Intel CPU Microcode
#
function updateMicrocode () {
msg "CPU Microcode updating"
oldMicrocode=`cat /proc/cpuinfo | grep -i --color microcode -m 1 | awk -F': ' '{print $2}'`
intel=`cat /proc/cpuinfo | grep -i Intel | wc -l`
amd=`cat /proc/cpuinfo | grep -i Amd | wc -l`
if [ "$intel" -gt "0" ]; then
installPackage apt intel-microcode
newMicrocode=`cat /proc/cpuinfo | grep -i --color microcode -m 1 | awk -F': ' '{print $2}'`
printf "[INFO] Microcode updated from "$oldMicrocode" version to "$newMicrocode" version"
elif [ "$amd" -gt "0" ]; then
installPackage apt amd64-microcode
newMicrocode=`cat /proc/cpuinfo | grep -i --color microcode -m 1 | awk -F': ' '{print $2}'`
printf "[INFO] Microcode updated from "$oldMicrocode" version to "$newMicrocode" version"
else
printf "[INFO] No Intel/AMD CPU found"
fi
printf "\n"
}
#
# Key-ID USB Fido U2F device udev rules
#
function installKeyIDuDev () {
printf "[CMD] Adding Key-ID device UDEV rules "
cat << EOF | sudo tee /etc/udev/rules.d/70-u2f.rules
# this udev file should be used with udev 188 and newer\n\
ACTION!="add|change", GOTO="u2f_end"
# Key-ID FIDO U2F
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", ATTRS{idProduct}=="0850|0880", TAG+="uaccess"
LABEL="u2f_end"
EOF
ret_code=$?
retCode $ret_code
runCmd "sudo service udev restart" \
"restarting UDEV service"
}
#
# install Teamviewer 13 (headless)
#
function installTeamViewer13 () {
installPackageDpkg https://download.teamviewer.com/download/linux/teamviewer_amd64.deb \
teamviewer13.deb \
no
}
#
# install Teamviewer 13 (Menu)
#
function installTeamViewer13Menu () {
installPackageDpkg https://download.teamviewer.com/download/linux/teamviewer_amd64.deb \
teamviewer13.deb \
yes
}
#
# install Compass (headless)
#
function installCompass () {
installPackageDpkg https://downloads.mongodb.com/compass/mongodb-compass_1.20.5_amd64.deb \
compass.deb \
no
}
#
# install Compass (Menu)
#
function installCompassMenu () {
installPackageDpkg https://downloads.mongodb.com/compass/mongodb-compass_1.20.5_amd64.deb \
compass.deb \
yes
}
#
# Boostnotes (headless)
#
function installBoostnotes () {
installPackageDpkg https://github.com/BoostIO/BoostNote.next/releases/download/v0.4.1/boost-note-linux.deb \
boostnotes.deb \
no
}
#
# Boostnotes (Menu)
#
function installBoostnotesMenu () {
installPackageDpkg https://github.com/BoostIO/BoostNote.next/releases/download/v0.4.1/boost-note-linux.deb \
boostnotes.deb \
yes
}
#
# Vagrant (headless)
#
function installVagrant () {
installPackageDpkg https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.deb \
vagrant.deb \
no
}
#
# Vagrant (Menu)
#
function installVagrantMenu () {
installPackageDpkg https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.deb \
vagrant.deb \
yes
}
#
# AppImage Launcher (headless)
#
function installAppImageLauncher () {
installPackageDpkg https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.1.3/appimagelauncher_2.1.3-travis975.7408819.bionic_amd64.deb \
appimagelauncher.deb \
no
}
#
# AppImage Launcher (Menu)
#
function installAppImageLauncherMenu () {
installPackageDpkg https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.1.3/appimagelauncher_2.1.3-travis975.7408819.bionic_amd64.deb \
appimagelauncher.deb \
yes
}

0
logo.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

251
menus_functions.sh → menus_functions_ub1804.sh Normal file → Executable file
View file

@ -1,10 +1,16 @@
#------------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : Mint 18, Ubuntu 16.04, Elementary and other derivatives #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#------------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : see documentation or man pages #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# #
# Ubuntu 18.04 / Linux Mint 19 #
# #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# menus functions #
@ -50,35 +56,19 @@ function showConfigMenu () {
--title "Yggdrasil $version - System Config" \
--menu "System Config" \
25 80 16 \
"Ufw" "Enable Firewall (ufw)" \
"NumLockX" "NumLock Enabled at boot time" \
"TmpRAM" "/tmp stored in RAM" \
"screenfetch" "screenfetch added to .bashrc" \
"historyTS" "TimeStamp enabled in Shell History" \
"unattendedUpgrades" "Enable automatic security updates" \
"Unbound" "Enable Unbound DNS Cache server" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $configMenuOptions in
"Ufw")
clear
enableUFW
pressKey
;;
"NumLockX")
clear
enableNumLockX
pressKey
;;
"TmpRAM")
clear
enableTmpRAM
pressKey
;;
"screenfetch")
clear
addScreenfetchBashrc
pressKey
;;
"historyTS")
clear
enableHistoryTS
@ -86,7 +76,12 @@ function showConfigMenu () {
;;
"unattendedUpgrades")
clear
installUnattendedUpgrades
installAppsFromList unattended-upgrades
pressKey
;;
"Unbound")
clear
installAppsFromList unbound
pressKey
;;
"Back")
@ -110,9 +105,7 @@ function showSysToolsMenu () {
"inxi" "System informations" \
"speedtest-cli" "Bandwidth test" \
"packetloss" "Packetloss test (ping)" \
"OptimizeFirefox" "Firefox SQLite databases optimization" \
"Autoremove" "Remove useless Deb packages" \
"CleanOldKernels" "Removing old kernels (keep 2 last kernels)" \
"SoundCardsDetection" "Sound Cards Detection" \
"Back" "Back" 3>&1 1>&2 2>&3)
@ -126,15 +119,9 @@ function showSysToolsMenu () {
"packetloss")
clear; toolPacketLoss; pressKey
;;
"OptimizeFirefox")
clear; toolOptimizeFirefox; pressKey
;;
"Autoremove")
clear; toolAutoremove; pressKey
;;
"CleanOldKernels")
clear; toolClearOldKernels; pressKey
;;
"SoundCardsDetection")
clear; toolSoundCardsDetection; pressKey
;;
@ -162,10 +149,10 @@ function showThemesInstallMenu () {
case $themesInstallMenuOptions in
"themes")
installThemesMenu
installAppsFromListMenu gtkthemes
;;
"icons")
installIconsMenu
installAppsFromListMenu icons
;;
"Back")
break
@ -186,9 +173,9 @@ function showDevInstallMenu () {
--menu "Install Dev apps from different submenus" \
25 80 16 \
"devbase" "dev apps and tools" \
"java10" "Java 10 dev env" \
"java11" "OpenJDK Java 11 dev env" \
"javascript" "JavaScript dev env" \
"mongodb3ce" "MongoDB 3 CE" \
"mongodbce" "MongoDB CE" \
"php" "PHP dev env" \
"lua" "Lua dev env" \
"ruby" "Ruby dev env" \
@ -199,79 +186,87 @@ function showDevInstallMenu () {
"brackets" "Brackets" \
"codeblocks" "CodeBlocks" \
"geany" "Geany" \
"idea" "Idea" \
"pycharm" "PyCharm" \
"vsc" "Visual Studio Code" \
"androidstudio" "Android Studio" \
"sublimetext" "Sublime Text" \
"cad" "CAD tools" \
"teamviewer13" "Teamviewer 13" \
"boostnotes" "Boostnotes Markdown wiki app" \
"compass" "MongoDB Compass GUI" \
"gitkraken" "Gitkraken git gui" \
"vagrant" "Vagrant" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $devInstallMenuOptions in
"devbase")
installDevAppsMenu
installAppsFromListMenu dev
;;
"java10")
installJava10
"java11")
installAppsFromListMenu java11
;;
"javascript")
installJavascriptMenu
installAppsFromListMenu javascript
;;
"mongodb3ce")
installMongo3CEMenu
"mongodbce")
installAppsFromListMenu mongodb
;;
"php")
installPHPMenu
installAppsFromListMenu php
;;
"lua")
installLUAMenu
installAppsFromListMenu lua
;;
"ruby")
installRubyMenu
installAppsFromListMenu ruby
;;
"qt")
installQTMenu
installAppsFromListMenu qt
;;
"python")
installPythonMenu
installAppsFromListMenu python
;;
"atom")
installAtomMenu
installAppsFromListMenu atom
;;
"anjuta")
installAnjutaMenu
installAppsFromListMenu anjuta
;;
"brackets")
installBracketsMenu
installAppsFromListMenu brackets
;;
"codeblocks")
installCodeBlocksMenu
installAppsFromListMenu codeblocks
;;
"geany")
installGeanyMenu
;;
"idea")
installIdeaMenu
;;
"pycharm")
installPyCharmMenu
installAppsFromListMenu geany
;;
"vsc")
installVisualStudioCodeMenu
installAppsFromListMenu code
;;
"androidstudio")
installAndroidStudioMenu
installAppsFromListMenu androidstudio
;;
"sublimetext")
installSublimeTextMenu
installAppsFromListMenu sublime-text
;;
"cad")
installCADMenu
installAppsFromListMenu cad
;;
"teamviewer13")
installTeamViewer13Menu
;;
"boostnotes")
installBoostnotesMenu
;;
"compass")
installCompassMenu
;;
"gitkraken")
installAppsFromListMenu gitkraken
;;
"vagrant")
installVagrantMenu
;;
"Back")
break
;;
@ -293,6 +288,7 @@ function showAppInstallMenu () {
"base" "Base Apps" \
"office" "Office Apps" \
"multimedia" "Multimedia Apps" \
"ebook" "eBook Apps" \
"internet" "Internet Apps" \
"utilities" "Misc Utilities" \
"games" "Games & tools" \
@ -301,66 +297,89 @@ function showAppInstallMenu () {
"nettools" "Network tools" \
"cajaplugins" "Caja Plugins" \
"nautilus" "Nautilus and plugins" \
"thunar" "Thunar file manager" \
"gimp" "Gimp plugins" \
"rhythmbox" "RhythmBox plugins" \
"pidgin" "Pidgin plugins" \
"nitrogen" "Nitrogen WP Manager" \
"wine" "Wine Builds" \
"snap" "Unlock/Install SNAP + Store" \
"viber" "Viber IM desktop app" \
"slack" "Slack App" \
"appimagelauncher" "AppImage Launcher" \
"xnviewmp" "XNView MP" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $appsInstallMenuOptions in
"base")
installBaseMenu
installAppsFromListMenu base
;;
"office")
installOfficeMenu
installAppsFromListMenu office
;;
"multimedia")
installMultimediaMenu
installAppsFromListMenu multimedia
;;
"ebook")
installAppsFromListMenu ebook
;;
"internet")
installInternetMenu
installAppsFromListMenu internet
;;
"utilities")
installMiscUtilitiesMenu
installAppsFromListMenu utilities
;;
"games")
installGamesMenu
installAppsFromListMenu games
;;
"steam")
installSteamMenu
installAppsFromListMenu steam
;;
"burningtools")
installBurningToolsMenu
installAppsFromListMenu burningtools
;;
"nettools")
installNetToolsMenu
installAppsFromListMenu nettools
;;
"cajaplugins")
installCajaPluginsMenu
installAppsFromListMenu cajaplugins
;;
"nautilus")
installNautilusAndPluginsMenu
installAppsFromList nautilus
;;
"thunar")
installAppsFromListMenu thunar
;;
"gimp")
installGimpPluginsMenu
installAppsFromListMenu gimp
;;
"rhythmbox")
installRhythmBoxPluginsMenu
installAppsFromListMenu rhythmbox
;;
"pidgin")
installPidginPluginsMenu
installAppsFromListMenu pidgin
;;
"nitrogen")
installNitrogenMenu
installAppsFromListMenu nitrogen
;;
"wine")
installWineMenu
installAppsFromListMenu wine
;;
"snap")
installAppsFromListMenu snap
;;
"viber")
installViberMenu
;;
"slack")
installSlackMenu
;;
"appimagelauncher")
installAppImageLauncherMenu
;;
"xnviewmp")
installXnViewMPMenu
;;
"Back")
break
;;
@ -369,20 +388,6 @@ function showAppInstallMenu () {
done
}
#
# show menu to install beta apps from different categories
#
function showAppBetaInstallMenu () {
installBetaMenu
}
#
# show menu to install nightly apps from different categories
#
function showAppNightlyInstallMenu () {
installNightlyMenu
}
#
# show menu about install/config hardware
#
@ -393,72 +398,38 @@ function showHardwareMenu () {
--title "Yggdrasil $version - System Tools" \
--menu "System tools to diagnose and optimize" \
25 80 16 \
"HWE" "Ubuntu Hardware Enablement Stack (newer kernel+xorg)" \
"cardreader" "Apps/tools needed for cardreaders" \
"solaar" "Solaar for Logitech Unifying devices" \
"webcam" "Install webcam neede apps" \
"microcode" "Update Intel/AMD CPU microcode" \
"oibaf" "latest version of free graphic drivers, mesa, ..." \
"nvidia370" "Install Nvidia 370 graphic drivers" \
"nvidia375" "Install Nvidia 375 graphic drivers" \
"nvidia378" "Install Nvidia 378 graphic drivers" \
"nvidia381" "Install Nvidia 381 graphic drivers" \
"nvidia384" "Install Nvidia 384 graphic drivers" \
"nvidia387" "Install Nvidia 387 graphic drivers" \
"nvidia390" "Install Nvidia 390 graphic drivers" \
"nvidia396" "Install Nvidia 396 graphic drivers" \
"tlp" "Install/Enable TLP for better power management " \
"keyid" "Add udev rules for Key-ID FIDO U2F usb key" \
"WI6320" "Fix Intel Wireless 6320 card config problem" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $hardwareMenuOptions in
"HWE")
installAppsFromListMenu hwe
;;
"cardreader")
installCardReaderMenu
installAppsFromListMenu cardreader
;;
"solaar")
installAppsFromListMenu
installAppsFromListMenu solaar
;;
"webcam")
installWebcamMenu
installAppsFromListMenu webcam
;;
"microcode")
updateMicrocode
;;
"oibaf")
installOibafMenu
;;
"nvidia370")
installNvidia370Menu
;;
"nvidia375")
installNvidia375Menu
;;
"nvidia378")
installNvidia378Menu
;;
"nvidia381")
installNvidia381Menu
;;
"nvidia384")
installNvidia384Menu
;;
"nvidia387")
installNvidia387Menu
;;
"nvidia390")
installNvidia390Menu
;;
"nvidia396")
installNvidia396Menu
pressKey
;;
"tlp")
installTLPMenu
installAppsFromListMenu tlp
;;
"keyid")
installKeyIDuDev
;;
"WI6320")
fixWirelessIntel6320
pressKey
;;
"Back")
break
@ -466,4 +437,4 @@ function showHardwareMenu () {
esac
done
}
}

440
menus_functions_ub2004.sh Executable file
View file

@ -0,0 +1,440 @@
#-----------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : see documentation or man pages #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# #
# Ubuntu 20.04 / Linux Mint 20 #
# #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# menus functions #
#-----------------------------------------------------------------------------#
#
# show about dialog box
#
function showAboutBoxMenu () {
whiptail \
--title "About" \
--msgbox "\n
Author : Francois B. (Makotosan)
Email : shakasan@sirenacorp.be
Website : https://makotonoblog.be/
Github : https://github.com/shakasan/yggdrasil_ng
Licence : GPLv3
Version : $version\n
At the beginning, this script has been written to makes my life easier when I have to (re)install my personal computers ;-)
Advices and remarks are welcome ^^" \
20 80
}
#
# show reboot menu
#
function showRebootBoxMenu () {
if (whiptail \
--title "Yggdrasil $version - WARNING - ReBoot" \
--yesno "Are you sure to reboot this computer ?" \
7 42) then
sudo reboot
fi
}
#
# show menu to config system
#
function showConfigMenu () {
while true; do
configMenuOptions=$(whiptail \
--title "Yggdrasil $version - System Config" \
--menu "System Config" \
25 80 16 \
"TmpRAM" "/tmp stored in RAM" \
"screenfetch" "screenfetch added to .bashrc" \
"historyTS" "TimeStamp enabled in Shell History" \
"unattendedUpgrades" "Enable automatic security updates" \
"Unbound" "Enable Unbound DNS Cache server" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $configMenuOptions in
"TmpRAM")
clear
enableTmpRAM
pressKey
;;
"historyTS")
clear
enableHistoryTS
pressKey
;;
"unattendedUpgrades")
clear
installAppsFromList unattended-upgrades
pressKey
;;
"Unbound")
clear
installAppsFromList unbound
pressKey
;;
"Back")
break
;;
esac
done
}
#
# show menu to install system tools
#
function showSysToolsMenu () {
while true; do
sysToolsMenuOptions=$(whiptail \
--title "Yggdrasil $version - System Tools" \
--menu "System tools to diagnose and optimize" \
25 80 16 \
"inxi" "System informations" \
"speedtest-cli" "Bandwidth test" \
"packetloss" "Packetloss test (ping)" \
"Autoremove" "Remove useless Deb packages" \
"SoundCardsDetection" "Sound Cards Detection" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $sysToolsMenuOptions in
"inxi")
clear; toolInxi; pressKey
;;
"speedtest-cli")
clear; toolSpeedtestCli; pressKey
;;
"packetloss")
clear; toolPacketLoss; pressKey
;;
"Autoremove")
clear; toolAutoremove; pressKey
;;
"SoundCardsDetection")
clear; toolSoundCardsDetection; pressKey
;;
"Back")
break
;;
esac
done
}
#
# show menu to install themes/icons
#
function showThemesInstallMenu () {
while true; do
themesInstallMenuOptions=$(whiptail \
--title "Yggdrasil $version - Themes/Icons Install" \
--menu "Install themes/icons from different submenus" \
25 80 16 \
"themes" "GTK themes" \
"icons" "Icons" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $themesInstallMenuOptions in
"themes")
installAppsFromListMenu gtkthemes
;;
"icons")
installAppsFromListMenu icons
;;
"Back")
break
;;
esac
done
}
#
# show menu to install dev apps
#
function showDevInstallMenu () {
while true; do
devInstallMenuOptions=$(whiptail \
--title "Yggdrasil $version - Dev Install" \
--menu "Install Dev apps from different submenus" \
25 80 16 \
"devbase" "dev apps and tools" \
"java11" "OpenJDK Java 11 dev env" \
"javascript" "JavaScript dev env" \
"mongodb" "MongoDB CE 4" \
"php" "PHP dev env" \
"lua" "Lua dev env" \
"ruby" "Ruby dev env" \
"qt" "QT dev env" \
"python" "Python dev env" \
"atom" "Atom" \
"anjuta" "Anjuta" \
"brackets" "Brackets" \
"codeblocks" "CodeBlocks" \
"geany" "Geany" \
"vsc" "Visual Studio Code" \
"androidstudio" "Android Studio" \
"sublimetext" "Sublime Text" \
"cad" "CAD tools" \
"teamviewer13" "Teamviewer 13" \
"boostnotes" "Boostnotes Markdown wiki app" \
"compass" "MongoDB Compass GUI" \
"gitkraken" "Gitkraken git gui" \
"vagrant" "Vagrant" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $devInstallMenuOptions in
"devbase")
installAppsFromListMenu dev
;;
"java11")
installAppsFromListMenu java11
;;
"javascript")
installAppsFromListMenu javascript
;;
"mongodb")
installAppsFromListMenu mongodb
;;
"php")
installAppsFromListMenu php
;;
"lua")
installAppsFromListMenu lua
;;
"ruby")
installAppsFromListMenu ruby
;;
"qt")
installAppsFromListMenu qt
;;
"python")
installAppsFromListMenu python
;;
"atom")
installAppsFromListMenu atom
;;
"anjuta")
installAppsFromListMenu anjuta
;;
"brackets")
installAppsFromListMenu brackets
;;
"codeblocks")
installAppsFromListMenu codeblocks
;;
"geany")
installAppsFromListMenu geany
;;
"vsc")
installAppsFromListMenu code
;;
"androidstudio")
installAppsFromListMenu androidstudio
;;
"sublimetext")
installAppsFromListMenu sublime-text
;;
"cad")
installAppsFromListMenu cad
;;
"teamviewer13")
installTeamViewer13Menu
;;
"boostnotes")
installBoostnotesMenu
;;
"compass")
installCompassMenu
;;
"gitkraken")
installAppsFromListMenu gitkraken
;;
"vagrant")
installVagrantMenu
;;
"Back")
break
;;
esac
done
}
#
# show menu to install apps from different categories
#
function showAppInstallMenu () {
while true; do
appsInstallMenuOptions=$(whiptail \
--title "Yggdrasil $version - Apps Install" \
--menu "Install apps from different submenus" \
25 80 16 \
"base" "Base Apps" \
"office" "Office Apps" \
"multimedia" "Multimedia Apps" \
"ebook" "eBook Apps" \
"internet" "Internet Apps" \
"utilities" "Misc Utilities" \
"games" "Games & tools" \
"steam" "Steam" \
"burningtools" "Disc Burning and tools" \
"nettools" "Network tools" \
"cajaplugins" "Caja Plugins" \
"nautilus" "Nautilus and plugins" \
"thunar" "Thunar file manager" \
"gimp" "Gimp plugins" \
"rhythmbox" "RhythmBox plugins" \
"pidgin" "Pidgin plugins" \
"nitrogen" "Nitrogen WP Manager" \
"wine" "Wine Builds" \
"snap" "Unlock/Install SNAP + Store" \
"viber" "Viber IM desktop app" \
"slack" "Slack App" \
"appimagelauncher" "AppImage Launcher" \
"xnviewmp" "XNView MP" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $appsInstallMenuOptions in
"base")
installAppsFromListMenu base
;;
"office")
installAppsFromListMenu office
;;
"multimedia")
installAppsFromListMenu multimedia
;;
"ebook")
installAppsFromListMenu ebook
;;
"internet")
installAppsFromListMenu internet
;;
"utilities")
installAppsFromListMenu utilities
;;
"games")
installAppsFromListMenu games
;;
"steam")
installAppsFromListMenu steam
;;
"burningtools")
installAppsFromListMenu burningtools
;;
"nettools")
installAppsFromListMenu nettools
;;
"cajaplugins")
installAppsFromListMenu cajaplugins
;;
"nautilus")
installAppsFromList nautilus
;;
"thunar")
installAppsFromListMenu thunar
;;
"gimp")
installAppsFromListMenu gimp
;;
"rhythmbox")
installAppsFromListMenu rhythmbox
;;
"pidgin")
installAppsFromListMenu pidgin
;;
"nitrogen")
installAppsFromListMenu nitrogen
;;
"wine")
installAppsFromListMenu wine
;;
"snap")
installAppsFromListMenu snap
;;
"viber")
installViberMenu
;;
"slack")
installSlackMenu
;;
"appimagelauncher")
installAppImageLauncherMenu
;;
"xnviewmp")
installXnViewMPMenu
;;
"Back")
break
;;
esac
done
}
#
# show menu about install/config hardware
#
function showHardwareMenu () {
while true; do
hardwareMenuOptions=$(whiptail \
--title "Yggdrasil $version - System Tools" \
--menu "System tools to diagnose and optimize" \
25 80 16 \
"HWE" "Ubuntu Hardware Enablement Stack (newer kernel+xorg)" \
"cardreader" "Apps/tools needed for cardreaders" \
"solaar" "Solaar for Logitech Unifying devices" \
"webcam" "Install webcam neede apps" \
"microcode" "Update Intel/AMD CPU microcode" \
"tlp" "Install/Enable TLP for better power management " \
"keyid" "Add udev rules for Key-ID FIDO U2F usb key" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $hardwareMenuOptions in
"HWE")
installAppsFromListMenu hwe
;;
"cardreader")
installAppsFromListMenu cardreader
;;
"solaar")
installAppsFromListMenu solaar
;;
"webcam")
installAppsFromListMenu webcam
;;
"microcode")
updateMicrocode
pressKey
;;
"tlp")
installAppsFromListMenu tlp
;;
"keyid")
installKeyIDuDev
pressKey
;;
"Back")
break
;;
esac
done
}

0
notify.mp3 Normal file → Executable file
View file

1013
repo_functions.sh → repo_functions_ub1804.sh Normal file → Executable file

File diff suppressed because it is too large Load diff

1347
repo_functions_ub2004.sh Executable file

File diff suppressed because it is too large Load diff

93
tools_functions.sh Normal file → Executable file
View file

@ -1,41 +1,15 @@
#------------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : Mint 18, Ubuntu 16.04, Elementary and other derivatives #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#------------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : see documentation or man pages #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# tools and config functions #
#-----------------------------------------------------------------------------#
#
# enable ufw at boot time and add rules for installed apps
#
function enableUFW () {
runCmd "sudo ufw enable"\
"enabling UFW at boot"
if which syncthing >/dev/null; then
runCmd "sudo ufw allow syncthing" \
"adding UFW rules for Syncthing"
fi
}
#
# enable numlock by default on LightDM
#
function enableNumLockX () {
checkAndInstallDep apt numlockx numlockx
if which lightdm >/dev/null; then
runCmd "sudo cp /etc/lightdm/lightdm.conf.d/70-linuxmint.conf /etc/lightdm/lightdm.conf.d/70-linuxmint.conf.yggbak" \
"backing up lightdm original config file"
runCmd "echo -e '\ngreeter-setup-script=/usr/bin/numlockx on' | sudo tee -a /etc/lightdm/lightdm.conf.d/70-linuxmint.conf" \
"enabling numlockx on in lightdm at boot"
fi
}
#
# /tmp in RAM by modifying /etc/fstab
#TODO: add possibily to choose amount of ram
@ -47,35 +21,17 @@ function enableTmpRAM () {
fi
}
#
# add screenfetch exec in .bashrc
#
function addScreenfetchBashrc () {
checkAndInstallDep apt screenfetch screenfetch
runCmd "touch /home/$myHomedir/.bashrc" \
"creating .bashrc file if necessary" \
runCmd "echo 'screenfetch -t' | tee -a /home/$myHomedir/.bashrc" \
"adding screenfetch to .bashrc"
}
#
# cli history cmd timestamp enable
#
function enableHistoryTS () {
typeset ret_code
printf "enabling CLI History TimeStamp "
printf "[CMD] enabling CLI History TimeStamp "
echo "export HISTTIMEFORMAT='%F %T '" | tee -a /home/$myHomedir/.bashrc &>> $logFile
ret_code=$?
retCode $ret_code
}
#
# install/enable auto install of security updates
#
function installUnattendedUpgrades () {
installPackage apt unattended-upgrades
}
#
# display useful system/hardware informations
#
@ -99,41 +55,14 @@ function toolPacketLoss () {
ping -q -c 10 google.com
}
#
# Optimization of SQLite databases of Firefox and Firefox Nightly
#
function toolOptimizeFirefox () {
if (whiptail --title "Firefox SQLite DB Optimization" --yesno "Terminate Firefox and proceed ?" 10 60) then
if which firefox >/dev/null; then
printf "Optimizing Firefox"
pkill -9 firefox
for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM; REINDEX;'; done
printf "\n"
fi
if which firefox-trunk >/dev/null; then
printf "Optimizing Firefox Nightly"
pkill -9 firefox-trunk
for f in ~/.mozilla/firefox-trunk/*/*.sqlite; do sqlite3 $f 'VACUUM; REINDEX;'; done
printf "\n"
fi
fi
}
#
# remove useless packages (depedencies)
#
function toolAutoremove () {
runCmd "sudo apt-get -y autoremove" \
"removing not necessary dependencies"
}
#
# remove old versions of installed kernels
#
function toolClearOldKernels () {
checkAndInstallDep apt ukuu ukuu \
&& runCmd "sudo ukuu --purge-old-kernels --yes" \
"removing old kernels"
"removing useless APT dependencies"
runCmd "sudo flatpak uninstall --unused -y" \
"removing useless FLATPAK dependencies"
}
#

27
vars.sh Normal file → Executable file
View file

@ -1,19 +1,19 @@
#------------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : Mint 18, Ubuntu 16.04, Elementary and other derivatives #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#------------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : see documentation or man pages #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#-----------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# Script's cons. and vars. #
#------------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# Script's cons. and vars. #
#-----------------------------------------------------------------------------#
#
# app version number
#
version="0.4.0"
version="0.6.1-b21"
#
# myHomedir is used in full paths to the homedir
@ -36,6 +36,11 @@ cDate=$(date +%d-%m-%Y)
#
repoAdded=0
#
# ygginit flag for CLI mode
#
ygginitCount=false
#
# shell color codes
#

View file

@ -1,31 +1,45 @@
#!/bin/bash
#------------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : Mint 18, Ubuntu 16.04, Elementary and other derivatives #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#------------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# Yggdrasil NG #
# compatibility : Mint 19, Ubuntu 18.04 #
# author : Francois B. (Makotosan/Shakasan) #
# licence : GPLv3 #
# website : https://makotonoblog.be/ #
#-----------------------------------------------------------------------------#
#
# include functions and vars from external files
#
dir=$(dirname $0)
if [ ! $dir == "/opt/yggdrasil" ]; then
source /opt/yggdrasil/vars.sh
source /opt/yggdrasil/core_functions.sh
source /opt/yggdrasil/repo_functions.sh
source /opt/yggdrasil/install_functions.sh
source /opt/yggdrasil/menus_functions.sh
source /opt/yggdrasil/tools_functions.sh
else
source $(dirname $0)/vars.sh
source $(dirname $0)/core_functions.sh
source $(dirname $0)/repo_functions.sh
source $(dirname $0)/install_functions.sh
source $(dirname $0)/menus_functions.sh
source $(dirname $0)/tools_functions.sh
fi
source /opt/yggdrasil/vars.sh || exit 1
source /opt/yggdrasil/core_functions.sh || exit 1
source /opt/yggdrasil/tools_functions.sh || exit 1
OS=`lsb_release -d | awk -F':' '{print $2}' | awk -F'\t' '{print $2}'`
case $OS in
*"Ubuntu 16.04"* | *"Linux Mint 18"*)
printf "\n"
printf $BOLDROUGE"Yggdrasil for Ubuntu 16.04 / Linux Mint 18 is no longer available.\n"$NORMAL
printf "If you still need it, use an older version of Yggdrasil previous to 0.5.1.\n"
printf "Thanks for using Yggdrasil"
printf "\n"
;;
*"Ubuntu 18.04"* | *"Linux Mint 19"*)
source /opt/yggdrasil/repo_functions_ub1804.sh || exit 1
source /opt/yggdrasil/install_functions_ub1804.sh || exit 1
source /opt/yggdrasil/menus_functions_ub1804.sh || exit 1
;;
*"Ubuntu 20.04"* | *"Linux Mint 20"*)
source /opt/yggdrasil/repo_functions_ub2004.sh || exit 1
source /opt/yggdrasil/install_functions_ub2004.sh || exit 1
source /opt/yggdrasil/menus_functions_ub2004.sh || exit 1
;;
*)
printf "\n"
printf $BOLDROUGE"Linux distro not supported"$NORMAL
printf "\n\n"
;;
esac
#
# check if the script is running in root/sudo
@ -47,157 +61,206 @@ echo "--[ Yggdrasil log ]--[ "$cDate" ]--[ "$cTime" ]-----------------------" >>
# Headless Mode #
#-----------------------------------------------------------------------------#
# display logo in CLI mode
[[ $# -gt 0 ]] && dispLogo
#
# arguments/options management with getopts
while getopts ":h,v,f,c,u,a,d,q,s,t,n,g,w,p,k,T" option; do
while getopts ":h,v,f,c,u,a,d,q,s,t,w,g,j,k,p" option; do
case "$option" in
a) # install all apps
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Installing Apps"
installBase
installOffice
installBurningTools
installEbook
installGames
installSteam
installInternet
installJava9
installMiscUtilities
installMultimedia
installNetTools
installOffice
installWine
installCajaPlugins
installNautilusAndPlugins
installGimpPlugins
installPidginPlugins
installRhythmBoxPlugins
installAppsFromList base
installAppsFromList office
installAppsFromList burningtools
installAppsFromList ebook
installAppsFromList games
installAppsFromList steam
installAppsFromList internet
installAppsFromList java11
installAppsFromList utilities
installAppsFromList multimedia
installAppsFromList nettools
installAppsFromList wine
installAppsFromList cajaplugins
installAppsFromList nautilus
installAppsFromList thunar
installAppsFromList gimp
installAppsFromList pidgin
installAppsFromList rhythmbox
msg "Installing HW related"
installWebcam
installAppsFromList webcam
updateMicrocode
msg "Applying system customizations"
enableUFW
enableNumLockX
addScreenfetchBashrc
enableHistoryTS
installUnattendedUpgrades
msg "Installing external apps"
installViber
installFranz
installBoostnotes
installTeamViewer13
toolAutoremove
exit
installAppImageLauncher
installXnViewMP
;;
f) # full install
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Installing Apps"
installAppsFromList base
installAppsFromList office
installAppsFromList burningtools
installAppsFromList ebook
installAppsFromList games
installAppsFromList steam
installAppsFromList internet
installAppsFromList java11
installAppsFromList utilities
installAppsFromList multimedia
installAppsFromList nettools
installAppsFromList wine
installAppsFromList cajaplugins
installAppsFromList nautilus
installAppsFromList thunar
installAppsFromList gimp
installAppsFromList pidgin
installAppsFromList rhythmbox
msg "Installing HW related"
installAppsFromList webcam
updateMicrocode
installAppsFromList cardreader
msg "Applying system customizations"
enableHistoryTS
installAppsFromList unbound
msg "Installing additional themes/icons"
installAppsFromList icons
installAppsFromList gtkthemes
msg "Installing external apps"
installViber
installBoostnotes
installTeamViewer13
installAppImageLauncher
installXnViewMP
;;
c) # install themes and icons
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Installing Icons/Themes"
installAppsFromList icons
installAppsFromList gtkthemes
;;
w) # nitrogen
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Installing Nitrogen"
installAppsFromList nitrogen
;;
d) # install Unbound DNS Cache
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Installing Unbound"
installAppsFromList unbound
;;
q) # cardreader
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Installing Card Readers Apps"
installAppsFromList cardreader
;;
s) # solaar for logitech devices
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Installing Solaar"
installAppsFromList solaar
;;
t) # tlp (laptop or low energy usage)
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Installing TLP"
installAppsFromList tlp
;;
k) # Ubuntu Hardware Enablement Stack
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Installing HWE (newer kernel+xorg)"
installAppsFromList hwe
;;
g) # Unlock+Install SNAP + Store
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Unlock/Install SNAP + Store"
installAppsFromList snap
;;
j) # unattended-upgrades
if [ $ygginitCount = false ]; then
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
ygginitCount=true
fi
msg "Install/Enable unattended-upgrades"
installAppsFromList unattended-upgrades
;;
u)
msg "Initializing"
yggInit
msg "Updating the system"
updateSystem
msg "Installing Apps"
installBase
installOffice
installBurningTools
installEbook
installGames
installSteam
installInternet
installJava9
installMiscUtilities
installMultimedia
installNetTools
installOffice
installWine
installCajaPlugins
installNautilusAndPlugins
installGimpPlugins
installPidginPlugins
installRhythmBoxPlugins
msg "Installing HW related"
installWebcam
updateMicrocode
installCardReader
msg "Applying system customizations"
enableUFW
enableNumLockX
addScreenfetchBashrc
enableHistoryTS
installUnattendedUpgrades
enableUnbound
msg "Installing additional themes/icons"
installIcons
installThemes
msg "Installing external apps"
installViber
installFranz
installTeamViewer13
toolAutoremove
exit
;;
c) # install themes and icons
yggInit
updateSystem
installIcons
installThemes
exit
;;
w) # nitrogen
yggInit
updateSystem
installNitrogen
exit
;;
d) # install Unbound DNS Cache
yggInit
updateSystem
enableUnbound
exit
;;
q) # cardreader
yggInit
updateSystem
installCardReader
exit
;;
s) # solaar for logitech devices
yggInit
updateSystem
installSolaar
exit
;;
t) # tlp (laptop or low energy usage)
yggInit
updateSystem
installTLP
exit
;;
n) # latest nvidia driver (see menus if need older version)
yggInit
updateSystem
installNvidia396
exit
;;
g) # latest feee graphic drivers, mesa, ...
yggInit
updateSystem
installOibaf
exit
;;
k)
yggInit
updateSystem
kernelUpdate
exit
;;
u)
yggInit
updateSystem
exit
;;
p)
msg "Removing useless dependencies"
toolAutoremove
exit
;;
@ -222,6 +285,9 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,g,w,p,k,T" option; do
esac
done
# if CLI mode, no need to run the menus...
[[ $# -gt 0 ]] && exit
#-----------------------------------------------------------------------------#
# Menu Mode #
#-----------------------------------------------------------------------------#
@ -255,12 +321,12 @@ mainMenuOptions=$(whiptail \
25 80 16 \
"1" "System update" \
"2" "Applications" \
"3" "Applications (BETA)" \
"4" "Applications (Nightly)" \
"5" "Themes & Icons" \
"6" "Dev Apps" \
"7" "System Config" \
"8" "System Tools" \
"3" "Themes & Icons" \
"4" "Dev Apps" \
"5" "System Config" \
"6" "Hardware" \
"7" "System Tools" \
"8" "Add Makoto no Blog repository" \
"9" "Reboot this computer" \
"10" "About Yggdrasil" \
"11" "Quit" 3>&1 1>&2 2>&3)
@ -274,23 +340,23 @@ case $mainMenuOptions in
showAppInstallMenu
;;
"3")
showAppBetaInstallMenu
;;
"4")
showAppNightlyInstallMenu
;;
"5")
showThemesInstallMenu
;;
"6")
"4")
showDevInstallMenu
;;
"7")
"5")
showConfigMenu;
;;
"8")
"6")
showHardwareMenu
;;
"7")
showSysToolsMenu
;;
"8")
addRepo_Makoto
;;
"9")
showRebootBoxMenu
;;
@ -304,4 +370,4 @@ esac # main menu
done # end of main menu loop
clear
exit
exit