- about hacking and linux (soon)
- about food recipes (in french) - https://szorfein-zola-cook-default.edgio.link/
Fingerprint: B5D8 FFD0 D7F1 FB6A 4350 5E31 9CC9 729A 2E36 9CB3
Public key: https://github.com/szorfein/szorfein/blob/main/szorfein.gpg
Use chezmoi to install my dotfiles easily on Gentoo, Arch, Void and Debian.
License: MIT License
Fingerprint: B5D8 FFD0 D7F1 FB6A 4350 5E31 9CC9 729A 2E36 9CB3
Public key: https://github.com/szorfein/szorfein/blob/main/szorfein.gpg
Most of gentoo users use doas instead of sudo because it's less bloated. It would be nice something like
if (/bin/doas)
$ROOT_PREV = doas;
else if (/bin/sudo)
$ROOT_PREV = sudo;
else()
print("No root instalation method");
or something like this. I think that arch distros have doas as well.
Hello, i'm new to arch and linux, i once installed some dots from another repository and applied them, now i want to apply and use this dots because i like them more, when doing "chezmoi apply" it looks for conflicting packages and it gives me this error:
looking for conflicting packages...
:: picom and picom-jonaburg-git are in conflict (compton). Remove picom-jonaburg-git? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependancies)
:: picom and picom-jonaburg-git are in conflict
chezmoi: exit status 1
Can you pls help me? I can't understand :(
I can't figure out what is happening, I am using Arch Linux with xfce4.
Also I'm new to Linux if you don't mind :p
[I] โ chezmoi apply
.dmrc has changed since chezmoi last wrote it [diff,overwrite,all-overwrite,skip
,quit]? skip
Removing old Stow links...
BUG in find_stowed_path? Absolute/relative mismatch between Stow dir .dotfiles and path /home/fattiejb/.local/share/chezmoi/asound/dot_asoundrc_pulse at /usr/share/perl5/vendor_perl/Stow.pm line 966, line 22.
BUG in find_stowed_path? Absolute/relative mismatch between Stow dir .dotfiles and path /home/fattiejb/.local/share/chezmoi/asound/dot_asoundrc_pulse at /usr/share/perl5/vendor_perl/Stow.pm line 966, line 22.
BUG in find_stowed_path? Absolute/relative mismatch between Stow dir .dotfiles and path /home/fattiejb/.local/share/chezmoi/asound/dot_asoundrc_pulse at /usr/share/perl5/vendor_perl/Stow.pm line 966, line 22.
BUG in find_stowed_path? Absolute/relative mismatch between Stow dir .dotfiles and path /home/fattiejb/.local/share/chezmoi/asound/dot_asoundrc_pulse at /usr/share/perl5/vendor_perl/Stow.pm line 966, line 22.
WARNING! unstowing .x would cause conflicts:
Just followed your steps, everything looks fine but when i log in awesomeWM every window is invisible, can only see silhouette
Ran all the instructions word for word, and what ended up happening was that I rebooted after applying and got a black screen with a cursor, I repeated this on 3 separate arch installs and they all ended up the exact same way. If you could shed some light on what is happening that would be awesome
The issue #10 seems to be half resolved, because emerge
is strugling with some flags issues:
emerge: there are no ebuilds built with USE flags to satisfy "app-emacs/emacs-common[games?,gui(-)?]".
!!! One of the following packages is required to complete your request:
- app-emacs/emacs-common-1.8::gentoo (Change USE: +gui)
- app-editors/emacs-27.2-r4::gentoo (Change USE: -gui)
(dependency required by "app-editors/emacs-27.2-r4::gentoo" [ebuild])
(dependency required by "emacs" [argument])
chezmoi: exit status 1
Beast-PC /etc/portage/package.use #
From what I can translate in that message, it seems like there is a missing dash in /etc/portage/package.use/emacs
:
Beast-PC ~ # cat /etc/portage/package.use/emacs
# doom-emacs need json
app-editors/emacs -alsa gui gtk json xft gpm
app-emacs/emacs-common -gui
Beast-PC ~ #
Replacing gui
with -gui
in app-editors/emacs -alsa gui gtk json xft gpm
seems to solve the ermerge problem, however it needs to be updated in the chezmoi repo to be able to run the script without replacing again the -gui
flag with gui
.
Got this. OS: Zorin. Awesomewm already installed. What can i do?
bogdan@laptop:~/.temp$ chezmoi apply
bogdan ALL=(ALL) NOPASSWD: /bin/systemctl poweroff
bogdan ALL=(ALL) NOPASSWD: /bin/systemctl reboot
bogdan ALL=(ALL) NOPASSWD: /bin/systemctl restart tor
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package firefox-esr is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'firefox-esr' has no installation candidate
chezmoi: exit status 100
Followed the manual install instructions on a fresh arch install and got the following errors when running startx
Oops, there were errors during startup!
error while running function
stack trackback:
./module/menu.lua:19: in main chunk
[C]: in function 'require'
/home/ninja.config/awesome/rc.lua:38: in main chunk
error: .module/menu.lua:19: attempt to concatenate a nil value (global 'terminal_cmd')
I am unsure of how to fix this problem or what other information is needed for diagnosis
I use neovim - but assume that doesn't really matter?
I always just copied vim colors to their right place - but doing so with vamp and sci none of the themes work - I get tons of errors. so trying colorscheme sci for example gives me many errors - at the end of those the them looks like it's working just fine. Kinda curiosu why this happens?
error after running chezmoi
Cloning into bare repository '/home/lloscarll/build/xst-git/xst-git/xst'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
==> ERROR: Failure while downloading xst git repo
Aborting...
chezmoi: exit status 1
Thanks for the great dotfiles setup! Wanted to give it a try however after telling chezmoi to apply the changes, I got this message:
gpg: decryption failed: No secret key
I have added my GPG details in the chezmoi config file. However not sure I understand what GPG needs to decrypt. Is there some decrypted file somewhere?
Cheers! Sacha
chezmoi apply
and stow
apperently don't like each other...
I don't even know, what happens...
Everytime you run chezmoi apply
emerge errors because it does not have the propper flag:
Beast-PC ~/.local/share/chezmoi # chezmoi apply
--------------------------------------------------
--> Execute /tmp/3253525432.10-install-packages.sh...
--- Invalid atom in /etc/portage/package.use/awesome:
x11-wm/awesome-4.3-r101::gentoo
--- Invalid atom in /etc/portage/package.license: LUA_SINGLE_TARGET
--- Invalid atom in /etc/portage/package.license:
media-video/nvidia-video-codec-8.2.16::gentoo
--- Invalid atom in /etc/portage/package.license:
x11-misc/pcmanfm-1.3.2-r1::gentoo
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
* Last emerge --sync was 30d 1h 27m 21s ago.
These are the packages that would be merged, in order:
Calculating dependencies \
!!! Problem resolving dependencies for x11-wm/awesome
... done!
!!! The ebuild selected to satisfy "awesome" has unmet requirements.
- x11-wm/awesome-4.3-r101::gentoo USE="-dbus -doc -gnome -test" LUA_SINGLE_TARGET="-lua5-1 (-lua5-2) -lua5-3 -luajit"
The following REQUIRED_USE flag constraints are unsatisfied:
exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1
lua_single_target_lua5-2 lua_single_target_lua5-3 )
chezmoi: exit status 1
Beast-PC ~/.local/share/chezmoi #
Even if you emerge awesome
manually, you still get the same error, most likely because there is a typo in /etc/portage/package.use/dotfiles:
Beast-PC ~/.local/share/chezmoi # cd /etc/portage/package.use
Beast-PC /etc/portage/package.use # ls
alsa awesome dotfiles emacs vim zz-autounmask
Beast-PC /etc/portage/package.use # cat dotfiles
# required by x11-libs/gtk+-3.24.29::gentoo
# required by app-text/zathura-0.4.4::gentoo
# required by app-text/zathura-pdf-mupdf-0.3.6::gentoo
# required by zathura-pdf-mupdf (argument)
x11-libs/cairo X
# required by media-libs/mesa-21.0.3::gentoo
# required by virtual/opengl-7.0-r2::gentoo
# required by media-video/mpv-0.33.1-r1::gentoo
# required by mpv (argument)
media-libs/libglvnd X
# required by sys-auth/polkit-0.119::gentoo[systemd]
# required by sys-apps/accountsservice-0.6.55::gentoo
# required by x11-misc/lightdm-1.30.0-r2::gentoo[gnome]
# required by x11-misc/lightdm-gtk-greeter-2.0.8::gentoo
sys-apps/systemd policykit
# required by x11-misc/rofi-1.6.1::gentoo
# required by rofi (argument)
x11-libs/libxkbcommon X
# required by x11-misc/rofi-1.6.1::gentoo
# required by rofi (argument)
x11-libs/pango X
dev-libs/boost icu
media-video/ffmpeg openh264 vpx
media-video/ffmpegthumbnailer png
media-gfx/imagemagick jpeg
x11-misc/lightdm gtk non_root
dev-python/pillow jpeg
# mpd
media-sound/mpd -network -ipv6 flac libsamplerate
media-video/mpv cli
media-sound/ncmpcpp taglib
# mail
mail-mta/msmtp sasl
mail-client/neomutt gpgme gdbm
# pass
app-admin/pass X zsh-completion emacs
# awesome / lua5-2
x11-wm/awesome -lua_single_target_lua5-1 lua_single_target_lua5-2
dev-lua/lgi lua_targets_lua5-2
dev-python/pillow jpeg
# imlib
media-libs/imlib2 jpeg png
# rofi
x11-misc/rofi windowmode
# fdm
net-mail/fdm examples
Beast-PC /etc/portage/package.use #
likely this line that conflicts by itself:
x11-wm/awesome -lua_single_target_lua5-1 lua_single_target_lua5-2
dev-lua/lgi lua_targets_lua5-2
because -lua_single_target_lua5-1
should be -lua_single_target_lua5-2
.
Even if you correct this by yourself, chezmoi apply
will just replace it again to default and try to emerge.
Emerging everything in dotfile manually is still a pain, and won't follow the next steps in the apply
process of chezmoi, since chezmoi apply
will try to re-emerge the conflict again and again.
\033[0;96m-->\033[0;97m End for /tmp/1140284351.40-systemd-service.sh \033[0m
\033[0;96m--------------------------------------------------\033[0m
Removing old Stow links...
/tmp/2298139983.90-stow.sh: line 31: cd: /home/lloscarll/.dotfiles: No such file or directory
chezmoi: exit status 1
Decided to try installing the theme in a fresh gentoo install. Took me about 1 week...
And now when I try to chezmoi update
, emerge cries:
emerge: there are no ebuilds to satisfy "virtual/libffi".
(dependency required by "www-client/brave-bin-1.28.22::ninjatools" [ebuild])
(dependency required by "brave-bin" [argument])
chezmoi: exit status 1
Most probably virtual/libffi is missing from ::ninjatools ebuilds, can't tell since I am not an experienced gentoo user.
Who's there?
New.
New who?
New Issue!
Ran chezmoi update
again, gave me Brave browser emerge, emerge fine.
except now there is a new error...
chezmoi: template: run_once90-stow.sh.tmpl:5:16 executing "run_once90-stow.sh.tmpl" at <.chezmoi.homedir>: map has no entry for key "homedir"
I am sorry for not giving a plain text and istead I am giving photos.. but GPM broke for some reason when I installed fresh gentoo. Will solve that problem later.
Its demanding github username and pass while running chezmoi apply
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.