lukesmithxyz / larbs Goto Github PK
View Code? Open in Web Editor NEWLuke's Auto-Rice Bootstrapping Scripts: Installation Scripts for My Arch Linux Meta-Distribution
License: GNU General Public License v3.0
Luke's Auto-Rice Bootstrapping Scripts: Installation Scripts for My Arch Linux Meta-Distribution
License: GNU General Public License v3.0
Line 19 in 8dd18e1
Maybe user should be aware of options, which are available. Like x86_64-efi on modern systems.
https://wiki.archlinux.org/index.php/GRUB#Install_grub-uefi_package
A minor nitpick: but when switching to tty6 you are first presented with a login prompt rather than the status progress of packages being installed.
To reproduce just type the command upgr
into the terminal, and then kill the process with Ctrl+c
at any point when your repositories are being downloaded and updated. LARBS will tell you "Upgrade complete" when really it should be "Upgrade failed".
notes:
things I tried:
I've waisted lots of time trying to fix this. Unfortunately I took a gamble and ran LARBS before backing up. I am ready to reinstall whole system. Any help appreciated.
There is a typo which prevents LARBS from installing. Line 209 it must be dialog --infobox
instead of dialog --info
. But after fixing this, LARBS still keeps hanging on this dialog. I don't know why this is happing though.
I run larbs.sh on a fresh arch linux installation inside virtualbox.
After the installation completed I logged in using the new created user but running startx
wouldn't start X.
Does the script only work on physical machines ?
Hey Luke, somewhat long time fan here! first time writing to you, let me just say keep doing what your doing, you're awsome!
anyway, i finely got the hang of all the keybinds of all the programs you use and let me say they are awsome!
so i started editing stuff to my liking, the problem is that i have managed to brake the key layout, it reverts back to US, and the i3 blocks i have been messing with gave me some problems, anyway i tried reinstalling but it wont start from fresh,at least the i3blocks...so is there an easy or manegable way of starting from scratch besides a full new instal arch install, i know i could delete the dot files but im gessing theres more hidden files in the system that needs to be removed. thanks and sorry for the erros.
Yesterday I tried LARBS and when typing the username I wrote a capital letter. LARBS kept installing everything and when finished, the user was never created, as the username can't have a capital letter.
It's not really a big deal, but ya know
This might be more appropriately logged with voidrice, but I just reinstalled Arch using LARBS.
When I attempt to go to the beginning of a line using ^A the escape sequence just gets inserted.
Any ideas?
I think this should be sed -i "s/#Color^/Color/g" /etc/pacman.conf
changed to sed -i "s/^#Color/Color/g" /etc/pacman.conf
.
Packer is listed as discontinued/problematic on the Arch wiki: https://wiki.archlinux.org/index.php/AUR_helpers#Discontinued_or_problematic
Iโd suggest changing to something like yay.
So I attempted to do the command "sudo pacman -S firefox" since firefox doesn't seem to be installed. However, when I use "sudo" I get spat a syntax error in a bunch of lines. I can go around this when logged into root (without doing startx) but then the wifi doesn't work since the network manager doesn't execute.
After the install this file was missing:
https://github.com/LukeSmithxyz/voidrice/blob/master/.vim/luke/prose.vim
It's not a big issue but vim wasn't working properly.
Anyway, thank you for your videos, you got me into archlinux, i3wm and linux in general.
Sorry for my bad english.
The forums are down so this is the only other place that I could get your attention. I sent you a couple of emails this past week, but only the most recent one is what I would consider highly important. The emails are between the addresses listed on our Github profiles. I'm wondering if my emails are even reaching you at all, but my provider is Protonmail so that might be what's causing them to be caught by your spam filter or whatever.
Can you at least tell me here so that I can know what's going on?
Following a fresh Arch Linux install guided by Luke's Full Arch Linux Install (SAVAGE Edition!) video, I downloaded LARBS via the curl command provided on the github page and executed the script with the other command on the github page. I selected all the options except for emacs and whatever was under GIMP (I forgot the name).
I'm running on a Lenovo B5400 laptop, connected through wifi which I enabled by it's corresponding nmcli command prior to running the script, it installed all of the 90+ programs successfully prior to the hickup (being stuck at the "Getting rid of that retarded error beep sound...") and now the only output I see is wlps4s0 deauthenticating and reauthenticating every 300 seconds. This has been going on for well over half an hour.
The lmc
scripts should have been worked, but i don't know why i can't change the volume.
Already do mod++
to increase the volume but still doesn't work either.
Playing with i3blocks scripts provided I realized many where not working due to the fact the ~/.larbs directory was missing. I could not find where in the installation script it was supposed to be created.
It's weird that i was't asked what driver i want to use.
Might you perhaps add a dialogue option ?
Hey Luke,
so after making a fresh install of Arch i decided to try your larbs, which is kinda looking good :)
Problem is, i cant change my keyboard layout.
i tried to edit ~/.scripts/remap
line 5 changed us to de
no changes
commented line 5 and uncommented line 9
no changes
tried in terminal loadkeys de-latin1
got the message:
Couldn't get a file descriptor referring to the console
same command as sudo: no message but still no change.
before i forget: after every change i logged out and logged in again.
oh noes!
Hi Luke,
I made a quick review on your scripts. Here's a suggestion :
Use the banner command to display bannered texts (pacman -S banner && banner some text # you know how to use man for more options ;) )
Lines 51 to 68 in d58aa68
Regards, Mirko
i'm trying to swtich from us international to sv-latin1, but the config-file ~/.scripts/remap
doesn't exist. the ~/.scripts
directory does however exist, and contains the following files/directories:
.getkeys cron pix statusbar tools SCRIPTS.md larbs.png ttymaps.kmap unix
am i missunderstanding something in the Mod+F1
document? please help, luke !!
i tried editing with both nano and vim, but none work, as the file doesn't exist!
It's by no means a required dependency since all of the LARBS programs/scripts run fine without it. However, the LARBS greeting message definitely doesn't work as intended - it only works on my Arch Linux after I install dunst. Discord also crashes upon receiving a push notification, since there is no system notification daemon to which it can pipe its output.
For example, there can only be one instance of calcurse
running at a time - if you have an instance open on workspace 1
and try to open another on workspace 2
, you'll just see a flash on the screen momentarily and nothing happens.
Sometimes it can be hard to keep track of whether you have a singleton application open on one of your workspaces. How about we make it so that instead of having $mod+y
remind us that our brain is showing its age, it switches to that instance? Heck even a dunst
notification telling us which workspace our instance is on would be extremely helpful.
I can think of one way to solve this, e.g. storing a variable as an empty file inside of the RAMdisk and checking whether it exists. However this is quite a dirty solution though, and I don't know how else I'd do it so it sounds like something pretty difficult to do.
Other distributions often package their own version of Firefox, I want something like this for LARBS. I don't really know how it's done on other distros, but I'll tell you the wishlist:
I toyed around with just creating a custom ~/.mozilla/firefox/
"profile", but that was hard to make changes to and it never worked how I wanted. My problem may have been there's simply no good documentation I can find on it, so I trashed this and am looking for the way other distros do it.
So if anyone can shed any light on how to proceed please feel free to say what you know. A lot of Firefox documentation online seem to be either outdated or absent on this issue, but I may not've looked in the right places.
Hi,
just tested larbs.sh on a new install of Arch.
Script runs fine, creates the user, install all the programs. When I log in on the newly created user, there are no configuration files on the home directory. In the /root directory, on the other hand, I find a .config folder with ranger configs.
LARBS isn't the most friendly open source project to be contributing for. There's an issue tracker which makes it easy for everyone to know what bugs need to be fixed and submit their patches for them, but other than that only Luke knows how he wants LARBS to look like and the endgame goal that he wants to work towards - Luke, if you share with us your vision then it would be a win-win for everyone.
Atm everyone is just doing their own thing by themselves, and instead of having a centralized forum for suggestions it's split between Github and Luke's forum.
Scope creep, duplication of efforts, and feature bloat are problems that'll inevitably become apparent as LARBS becomes bigger and better. Even if there's no big ambitions for LARBS, it would be super helpful for even a tiny team of volunteer devs to be on the same page in knowing what features need to be implemented or polished.
This was voiced by user @exploxd on LukeSmithxyz/voidrice#64 but I've gotten other emails to the same effect.
After running LARBS, even when the line export PATH=$PATH:$HOME/.scripts
is in ~/.bash_profile
, some users still cannot run scripts in ~/.scripts/
natively.
Notes:
echo $PATH
, the scripts directory is not present.Possible causes:
$PATH
as the default value.$PATH
from being exported properly.If anyone has any ideas as to what could be causing this, feel free to share.
LARBS Readme.md says it should work on already configured systems, but are they only systems without a window manager installed?
I tried installing LARBS on a fresh install and switched to a terminal login as root using manjaro-gnome-18.0-stable-x86.64.iso
I selected an already created user that was made during the manjaro installation
The LARBS script finishes, but upon reboot I get the following error:
mount: /usr/lib/libmount.so.1: version `MOUNT_2.33` not found (required by mount)
mount: /usr/lib/libmount.so.1: version `MOUNT_2.33` not found (required by mount)
mount: /usr/lib/libmount.so.1: version `MOUNT_2.33` not found (required by mount)
/init: line 13: can't open /proc/cmdline no such file
:: running early hook [udev]
failed to prase kernel command line, ignoring: No such file or directory
starting version 239
:: running hook [udev]
::Triggering uevents..
:: running hook [keymap]
:: Loading keymap.. done.
:: running hook [resume]
ERROR: resume, no device specified for hibernation
:: mounting '' on real root
mount: /usr/lib/libmount.so.1 version `MOUNT_2.33` not found (required by mount)
You are not being dropped into an emergency shell
sh: can't access tty; job control turned off
System info:
Lenovo thinkpad T420 i5 4gb RAM 180GB ssd
manjaro-gnome-18.0-stable-x86.64
I'm thinking about removing the feature of the user choosing what programs to install at the first run in favor of just installing the same bare necessities and then giving some suggested programs in the offline README. As context:
Originally I gave users the choice of installing Waterfox, qutebrowser or Firefox. The AUR build of Waterfox is painfully long and often fails, so I don't include it anymore---and I don't actively maintain my qutebrowser configs. Firefox is, for all intents and purposes the default LARBS browser, so it will probably just be installed by default. I've also developed a custom profile with some minor cleanups and privacy features to make Firefox bearable by default.
Originally I gave users the choice of whether to install TeX packages or Libreoffice or nothing for document creation. At this point, I think there's no point in having either (TeX is a huge install which probably turns people off in the middle, and LO is lame of course). I also don't feel that having pandoc is a good idea just because it's a long install. If users want any of these programs, they can easily install them later.
I will probably have R markdown installed by default though since R is installed for the calculator (R Markdown is only 2.4M more). It gives you well-formatted documents with much less drain.
Since I was giving users these options, I tacked on other options like terminal decorations, Blender, GIMP and some other things, but I might as well get rid of them. (I'll probably make GIMP installed by default though).
If anyone things that I should maintain these choices, say now or I'll probably change them very soon. It would just save some effort and time for everyone if these extra packages were left to the user to install.
It's dangerous to have push access directly from tue user home folder anyways because of the sensitive nature of some of the stuff that can go in it. The README.md
is fine and can stay, but I find myself deleting .git
pic.jpg
and LICENSE.md
every time.
On that note GNU Stow would solve some of these problems. An example dotfiles repo that uses it is https://github.com/mohabaks/dotfiles
https://github.com/LukeSmithxyz/LARBS/blob/master/larbs.sh#L113
would be more readable if there were line break and if packages were sorted into logical blocks (video, audio, basic tools, etc)
So far I have noticed mod+x(lock screen) and mod+u(drop down terminal) stop working over time. Not sure what is causing this as other mod+keys work fine. Like ranger and terminal and things I use on a normal basis still work.
Ran the script and after some time I was able to startx.
I assume polybar was supposed to be there after reading your help file but it wasn't.
Script was run on a clean install of archlinux after following along with your youtube video + install guide on archlinux.org.
Don't know if it's relevant but I only chose to install the Fonts and Music options.
(now running polybar-git from AUR btw)
Any help in debugging this? I am completely unfamiliar with i3, I'm a KDE noob who's only been using Linux for a year, wanted to start using i3 and liked your rice, but not on my main machine, so installed Arch on this laptop and voila, this appears. Nothing weird going on in dmesg or journalctl either.
i3 says it has some errors, when loading. It's worth noting that I actually ran larbs, overwriting an existing user on antergos which already had i3 installed. Although running the script again to make a new user doesn't change anything about this artifacting.
I'm currently unaware of how to copy and paste things in larbs, so hopefully this dusty log pic will do.
Can you provide some documentation on how the weather works within i3blocks and how to configure it.
My Ranger shortcut "nouns" didn't work properly after a fresh LARBS install, until I cloned the shortcut_sync repo and ran the script manually and then they started working again. The muttwizard doesn't appear in my home directory, either. LARBS requires you to run with root privilege so naturally it looks for /home/root/
but can't find it.
Examples:
Line 49 in 9314088
Line 56 in 9314088
(I have to note though that I tried these dotfiles in a VM with a Windows host. I will try to run them in a "real" Arch environment later this week)
The cool transparency effect in the terminal is not working. When I try to start compton manually, it throws the following error:
vsync_drm_wait(): VBlank ioctl did not work, unimplemented in this drmver?
when trying to fill some texboxes in firefox (default browser), somehow the written chars disappear. does anyone else having problems in that case?
Just curious,
Looks like grub-install
in chroot.sh script can take two different targets:
I was wondering maybe about integrating a check to see what processor architecture the machine is, that is installing LARBS
...then maybe opinionated and doing the respective target for x86 or i386?
I don't know if it's of any worth necessarily but might be cool! haha
On a fresh installation icons are not shown properly at status bar.
Fixed it by installing ttf-emojione.
Sorry, i didnt do screenshot before fixing. But its reproducible 100% time.
I'm running on a VM, and it's awful. Polybar not loading, terminal black, manual not working, etc.
I allocated 2GB of ram, is that enough?
Edit: wallpaper not showing up either ;(
I think xorg-xbrightness is needed to control the screen brightness
the new user and the old user can't exicude sudo
error:
| user is not inthe sudoers-file
by trying to cange the file the file is Emty
Hey Luke.
I installed a fresh build of Arch using pacstrap, etc. From that fresh build I ran LARBS which executed without errors. startx however threw a few errors so I knew something wasn't installed correctly.
Looking at the source, I see the manual install of yay, which was not installed on my host post script run, so I knew something was broken. Replicating the steps in the script manually, I saw that the pacman installed apps installed fine.
Yay's manual install however showed an interesting error:
sudo -u "" tar -zvf yay.tar.gz
"root is not in the sudoers file...."
It appears that the sudoers file is missing the following line....
root ALL=(ALL) ALL
Adding and rerunning LARBS seems to fix the issue,
super F1 not functioning + background not loading + compton not making ST transperant.
Evrything worked fine on a previous install.
after reinstall runnisng the bash.sh script again dident fix annything + no errors during install.
you can just close this if you want
isn't the terminal shortcuts (i.e. cfib, d, e ... etc) works out of the box, or we have to do add each manually again? some reason any of the shortcuts work on my machine.
It would be nice if it was possible to import downloaded Pacman tarballs into some arbitrary folder of this repo. What I imagine is that this would be just a matter of figuring out how to compare the MD5/SHA1 hashes of the tarballs, and verifying that they match the one that would otherwise be downloaded by LARBS.
There are valid reasons why people may want to download a version of LARBS with batteries included rather than a more minimal version. Slow internet, no access outside of public WiFi hotspots, or installing on multiple computers at the same time.
I realize that this may be a request for a feature that is out of the scope of LARBS, but I wanted to get this suggestion out there for future reference.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.