Few minor correction for the XPS13
This commit is contained in:
336
readme.org
336
readme.org
@@ -47,7 +47,7 @@ http://www.howardism.org/Technical/Emacs/literate-devops.html
|
||||
https://github.com/Jguer/yay
|
||||
|
||||
** Installation
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
#+BEGIN_SRC bash
|
||||
sudo pacman -S yay
|
||||
#+END_SRC
|
||||
|
||||
@@ -65,11 +65,12 @@ sudo pacman -S yay
|
||||
https://git-scm.com/
|
||||
|
||||
** Installation
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
yay -S git
|
||||
#+BEGIN_SRC bash
|
||||
yay -S git
|
||||
#+END_SRC
|
||||
|
||||
** Configuration
|
||||
[[file:dotfiles/git.org][dotfiles/git.org]]
|
||||
- =~/.gitconfig=
|
||||
- =~/.gitignore_global=
|
||||
|
||||
@@ -77,7 +78,7 @@ yay -S git
|
||||
https://github.com/so-fancy/diff-so-fancy
|
||||
*** Installation
|
||||
#+begin_src bash
|
||||
yay -S diff-so-fancy
|
||||
yay -S diff-so-fancy
|
||||
#+end_src
|
||||
|
||||
*** Configuration
|
||||
@@ -85,12 +86,6 @@ yay -S diff-so-fancy
|
||||
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
|
||||
#+end_src
|
||||
|
||||
** TODO Github interface - Hub
|
||||
*** Installation
|
||||
#+begin_src bash
|
||||
yay -S hub
|
||||
#+end_src
|
||||
|
||||
** Credential Helper setup with Pass
|
||||
This is explained in a further part: [[*Integration with Git][Integration of Pass with Git]].
|
||||
|
||||
@@ -98,11 +93,12 @@ This is explained in a further part: [[*Integration with Git][Integration of Pas
|
||||
https://github.com/thestinger/termite
|
||||
** Termite
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
yay -S termite
|
||||
#+BEGIN_SRC bash
|
||||
yay -S termite
|
||||
#+END_SRC
|
||||
|
||||
*** Configuration
|
||||
[[file:dotfiles/termite.org][termite.org]]
|
||||
- =~/.config/termite/config=
|
||||
|
||||
*** Cheatsheet
|
||||
@@ -121,8 +117,8 @@ yay -S termite
|
||||
|
||||
** TODO [#C] Unicode Rxvt
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
yay -S rxvt-unicode
|
||||
#+BEGIN_SRC bash
|
||||
yay -S rxvt-unicode
|
||||
#+END_SRC
|
||||
|
||||
*** Configuration
|
||||
@@ -132,8 +128,8 @@ Most of Urxvt configuration is done in =~/.Xresources=
|
||||
https://wiki.archlinux.org/index.php/Bash
|
||||
|
||||
** Bash Completion
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
yay -S bash-completion
|
||||
#+BEGIN_SRC bash
|
||||
yay -S bash-completion
|
||||
#+END_SRC
|
||||
|
||||
** TODO [#B] Configuration
|
||||
@@ -146,16 +142,22 @@ yay -S bash-completion
|
||||
https://github.com/tmux/tmux
|
||||
|
||||
** Installation
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
yay -S tmux
|
||||
#+BEGIN_SRC bash
|
||||
yay -S tmux
|
||||
#+END_SRC
|
||||
|
||||
** Configuration
|
||||
After configuration is generated.
|
||||
#+begin_src bash
|
||||
tmux source-file ~/.tmux.conf
|
||||
#+end_src
|
||||
|
||||
** Session Manager - Tmuxinator
|
||||
https://github.com/tmuxinator/tmuxinator
|
||||
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S tmuxinator
|
||||
yay -S tmuxinator
|
||||
#+END_SRC
|
||||
|
||||
*** Special sessions
|
||||
@@ -170,8 +172,10 @@ This is used with rofi.
|
||||
** TODO [#A] Multiple Tmux configuration
|
||||
- one with no line for neomutt
|
||||
- one complete for coding
|
||||
|
||||
** TODO [#B] Configuration: theme
|
||||
https://github.com/seebi/tmux-colors-solarized
|
||||
|
||||
** TODO [#A] To check
|
||||
- https://github.com/gpakosz/.tmux
|
||||
- https://gist.github.com/MohamedAlaa/2961058
|
||||
@@ -187,8 +191,8 @@ https://github.com/seebi/tmux-colors-solarized
|
||||
|
||||
* TODO [#C] Fonts
|
||||
** Installation
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
yay -S ttf-inconsolata nerd-font-complete ttf-linux-libertine
|
||||
#+BEGIN_SRC bash
|
||||
yay -S ttf-inconsolata nerd-fonts-complete ttf-linux-libertine ttf-emojione
|
||||
#+END_SRC
|
||||
|
||||
** TODO [#C] Default fonts
|
||||
@@ -199,13 +203,6 @@ Maybe use:
|
||||
- Serif Font: Libertine
|
||||
- Sans Font: Linux Biolinum
|
||||
|
||||
** Nice fonts
|
||||
- https://github.com/be5invis/Iosevka
|
||||
** Emojis
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
yay -S ttf-emojione
|
||||
#+END_SRC
|
||||
|
||||
** Cheatsheet
|
||||
| Command | Usage |
|
||||
|-----------+--------------------------|
|
||||
@@ -216,7 +213,7 @@ yay -S ttf-emojione
|
||||
https://github.com/neovim/neovim
|
||||
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
#+BEGIN_SRC bash
|
||||
yay -S neovim
|
||||
#+END_SRC
|
||||
|
||||
@@ -244,7 +241,7 @@ https://github.com/daeyun/vim-matlab/
|
||||
https://www.gnu.org/software/emacs/
|
||||
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
#+BEGIN_SRC bash
|
||||
yay -S emacs
|
||||
#+END_SRC
|
||||
|
||||
@@ -254,8 +251,8 @@ Add a systemd service to automatically run Emacs deamon in the background on sta
|
||||
|
||||
Then run:
|
||||
#+BEGIN_SRC bash
|
||||
systemctl enable --user emacs
|
||||
systemctl start --user emacs
|
||||
systemctl enable --user emacs
|
||||
systemctl start --user emacs
|
||||
#+END_SRC
|
||||
|
||||
In order to open the emacs client: =emacsclient -create-frame --alternate-editor=""=
|
||||
@@ -266,7 +263,7 @@ Then, add a shortcut to i3 config to open an emacsclient.
|
||||
[[file:~/.spacemacs.d/spacemacs.org][file:~/.spacemacs.d/spacemacs.org]]
|
||||
|
||||
*** SpellCheck with Aspell
|
||||
#+BEGIN_SRC bash :tangle ~/dotfiles-install.sh
|
||||
#+BEGIN_SRC bash
|
||||
yay -S aspell aspell-en aspell-fr
|
||||
#+END_SRC
|
||||
|
||||
@@ -307,6 +304,43 @@ max-cache-ttl 60480000
|
||||
default-cache-ttl 60480000
|
||||
#+END_SRC
|
||||
|
||||
* Launcher - Rofi
|
||||
https://github.com/DaveDavenport/rofi
|
||||
|
||||
** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S rofi
|
||||
#+END_SRC
|
||||
|
||||
** Setup rofi as a dmenu replacement
|
||||
Setup rofi as a dmenu replacement in =~/.i3/config=:
|
||||
#+BEGIN_SRC
|
||||
bindsym $mod+d exec --no-startup-id rofi -show run
|
||||
#+END_SRC
|
||||
|
||||
** Run sudo commands with rofi
|
||||
https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551
|
||||
|
||||
Use ~sudo -A~, that will open a rofi prompt to ask for the password.
|
||||
|
||||
For that to work, we need to add the following code to =~/.profile=:
|
||||
#+BEGIN_SRC bash
|
||||
export SUDO_ASKPASS=~/bin/askpass-rofi
|
||||
#+END_SRC
|
||||
|
||||
The =askpass= script is:
|
||||
#+BEGIN_SRC bash
|
||||
#!/bin/sh
|
||||
|
||||
# Take password prompt from STDIN, print password to STDOUT
|
||||
# the sed piece just removes the colon from the provided
|
||||
# prompt: rofi -p already gives us a colon
|
||||
rofi -dmenu \
|
||||
-password \
|
||||
-no-fixed-num-lines \
|
||||
-p "$(printf "$1" | sed s/://)"
|
||||
#+END_SRC
|
||||
|
||||
* Password Manager: Pass
|
||||
https://www.passwordstore.org/
|
||||
|
||||
@@ -315,8 +349,6 @@ https://www.passwordstore.org/
|
||||
yay -S pass
|
||||
#+END_SRC
|
||||
|
||||
** TODO Connect the GPG key
|
||||
|
||||
** Initialize the password store as a git repository
|
||||
#+BEGIN_SRC bash
|
||||
pass git init
|
||||
@@ -335,7 +367,7 @@ https://github.com/carnager/rofi-pass
|
||||
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S rofi-pass
|
||||
yay -S rofi-pass
|
||||
#+END_SRC
|
||||
|
||||
Then we can add a shortcut to =rofi-pass= on i3 config.
|
||||
@@ -354,7 +386,7 @@ This is explained [[*Integration with Pass: the password manager][here]].
|
||||
https://github.com/languitar/pass-git-helper
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S pass-git-helper
|
||||
yay -S pass-git-helper
|
||||
#+END_SRC
|
||||
|
||||
*** Configuration
|
||||
@@ -385,7 +417,7 @@ https://github.com/jarun/Buku
|
||||
|
||||
** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yaourt -S buku
|
||||
yay -S buku
|
||||
#+END_SRC
|
||||
|
||||
** Integration with Rofi
|
||||
@@ -460,13 +492,13 @@ https://github.com/qutebrowser/qutebrowser
|
||||
|
||||
** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S qutebrowser
|
||||
yay -S qutebrowser
|
||||
#+END_SRC
|
||||
|
||||
** View Pdf inside qutebrowser with pdfjs
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S pdfjs
|
||||
yay -S pdfjs
|
||||
#+END_SRC
|
||||
|
||||
*** Usage
|
||||
@@ -483,7 +515,7 @@ When opening a pdf file on qutebrowser, you'll be ask for options:
|
||||
Add the key-binding on =~/.config/qutebrowser/config.py=
|
||||
|
||||
#+BEGIN_SRC
|
||||
config.bind('<Ctrl-p>', 'spawn --userscript password_fill')
|
||||
config.bind(',p', 'spawn --userscript password_fill')
|
||||
#+END_SRC
|
||||
|
||||
The =password_fill= script can be found on [[https://github.com/qutebrowser/qutebrowser/blob/master/misc/userscripts/password_fill][github.com]].
|
||||
@@ -708,54 +740,48 @@ This looks for contacts in your emails.
|
||||
** TODO Integration with Mutt
|
||||
|
||||
* TODO Chat Application
|
||||
** Gui Chat Application - Franz
|
||||
https://github.com/meetfranz/franz
|
||||
*** Installation
|
||||
Download the AppImage and run it.
|
||||
|
||||
** Weechat
|
||||
https://weechat.org/files/doc/stable/weechat_user.en.html
|
||||
|
||||
Installation
|
||||
#+begin_src bash
|
||||
yay -S weechat
|
||||
yay -S weechat
|
||||
#+end_src
|
||||
|
||||
Then we install some dependencies
|
||||
#+begin_src bash
|
||||
yay -S tcl lua ruby
|
||||
yay -S tcl lua ruby
|
||||
#+end_src
|
||||
|
||||
Enable mouse support:
|
||||
#+begin_src text
|
||||
/mouse enable
|
||||
/mouse enable
|
||||
#+end_src
|
||||
|
||||
*** TODO Theme
|
||||
https://www.bfoliver.com/technology/2017/07/15/weechat/
|
||||
|
||||
https://alexjj.com/blog/2016/9/setting-up-weechat/
|
||||
#+begin_src conf
|
||||
/set weechat.look.prefix_same_nick "⤷"
|
||||
/set weechat.look.prefix_error "⚠"
|
||||
/set weechat.look.prefix_action "⚡"
|
||||
/set weechat.look.bar_more_down "▼▼"
|
||||
/set weechat.look.bar_more_left "◀◀"
|
||||
/set weechat.look.bar_more_right "▶▶"
|
||||
/set weechat.look.bar_more_up "▲▲"
|
||||
/set weechat.look.prefix_suffix "╡"
|
||||
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
|
||||
/set weechat.color.separator 31
|
||||
/set buffers.color.current_fg 31
|
||||
/set buffers.color.current_bg white
|
||||
/set buffers.color.hotlist_message_fg 229
|
||||
/set buffers.color.hotlist_private_fg 121
|
||||
/set buffers.color.hotlist_highlight_fg 163
|
||||
/set buffers.color.number 239
|
||||
/set buffers.color.number_char 245
|
||||
/set weechat.bar.title.conditions "${inactive}"
|
||||
/set weechat.bar.title.color_fg black
|
||||
/set weechat.bar.title.color_bg 31 #Or white if 31 does nothing
|
||||
/set weechat.look.prefix_same_nick "⤷"
|
||||
/set weechat.look.prefix_error "⚠"
|
||||
/set weechat.look.prefix_action "⚡"
|
||||
/set weechat.look.bar_more_down "▼▼"
|
||||
/set weechat.look.bar_more_left "◀◀"
|
||||
/set weechat.look.bar_more_right "▶▶"
|
||||
/set weechat.look.bar_more_up "▲▲"
|
||||
/set weechat.look.prefix_suffix "╡"
|
||||
/set weechat.color.chat_nick_colors red,green,brown,blue,magenta,cyan,white,lightred,lightgreen,yellow,lightblue,lightmagenta,lightcyan
|
||||
/set weechat.color.separator 31
|
||||
/set buffers.color.current_fg 31
|
||||
/set buffers.color.current_bg white
|
||||
/set buffers.color.hotlist_message_fg 229
|
||||
/set buffers.color.hotlist_private_fg 121
|
||||
/set buffers.color.hotlist_highlight_fg 163
|
||||
/set buffers.color.number 239
|
||||
/set buffers.color.number_char 245
|
||||
/set weechat.bar.title.conditions "${inactive}"
|
||||
/set weechat.bar.title.color_fg black
|
||||
/set weechat.bar.title.color_bg 31 #Or white if 31 does nothing
|
||||
#+end_src
|
||||
|
||||
*** TODO Configuration
|
||||
@@ -772,6 +798,7 @@ Then alt-enter is bound to insert a new line:
|
||||
/set plugins.var.perl.multiline.magic_paste_only on
|
||||
/key bind meta-ctrl-M /input insert \x0a
|
||||
#+end_src
|
||||
|
||||
And enter is bound to =magic_enter= that directly sends the message if its one line, and if its multiple line, waits a little bit and then sends the message:
|
||||
#+begin_src conf
|
||||
/key bind ctrl-M /input magic_enter
|
||||
@@ -800,14 +827,9 @@ https://github.com/wee-slack/wee-slack
|
||||
|
||||
Dependency:
|
||||
#+begin_src bash
|
||||
yay -S python2-websocket-client
|
||||
yay -S python2-websocket-client
|
||||
#+end_src
|
||||
|
||||
** TODO Terminal Based - Slack-Term
|
||||
https://github.com/erroneousboat/slack-term
|
||||
|
||||
*** Installation
|
||||
|
||||
** TODO Using Emacs
|
||||
* Redshift
|
||||
http://jonls.dk/redshift/
|
||||
@@ -824,7 +846,7 @@ https://wiki.archlinux.org/index.php/Isync
|
||||
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S isync
|
||||
yay -S isync
|
||||
#+END_SRC
|
||||
|
||||
*** TODO Configuration
|
||||
@@ -861,7 +883,7 @@ https://marlam.de/msmtp/
|
||||
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S msmtp
|
||||
yay -S msmtp
|
||||
#+END_SRC
|
||||
|
||||
** Mail Indexer - Notmuch
|
||||
@@ -991,7 +1013,6 @@ yay -S nnn
|
||||
https://wiki.archlinux.org/index.php/PCManFM
|
||||
|
||||
* TODO [#B] Image viewer
|
||||
|
||||
** TODO Write a script to open any type of image using the corresponding program
|
||||
| Filetype | png | pdf | svg |
|
||||
|----------+-----+---------+---------|
|
||||
@@ -1036,7 +1057,7 @@ yay -S sxiv
|
||||
* TODO [#B] Windows Manager - i3
|
||||
** TODO Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S i3-gaps
|
||||
yay -S i3-gaps
|
||||
#+END_SRC
|
||||
|
||||
** TODO Packages to install/understand
|
||||
@@ -1051,17 +1072,6 @@ https://github.com/i3/i3/blob/next/contrib/per-workspace-layout.pl
|
||||
For instance, default to tabbed windows for workspace dealing with matlab figures.
|
||||
*** Figures / Matlab
|
||||
|
||||
** TODO [#C] Scratchpad
|
||||
This mode is activated using =cmd-s=.
|
||||
|
||||
| Command | Usage |
|
||||
|---------+------------------------|
|
||||
| =p= | Music Player - ncmpcpp |
|
||||
| =m= | Mail Reader - neomutt |
|
||||
| =c= | Calculator - insect |
|
||||
|
||||
To close the current Scratchpad, use =cmd-bsp=
|
||||
|
||||
** TODO [#B] CheatSheet
|
||||
| Command | Usage |
|
||||
|---------+-------|
|
||||
@@ -1071,7 +1081,7 @@ https://polybar.github.io/
|
||||
|
||||
** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S polybar
|
||||
yay -S polybar
|
||||
#+END_SRC
|
||||
|
||||
** TODO [#C] Configuration
|
||||
@@ -1086,26 +1096,6 @@ Polybar is launched automatically from i3 config.
|
||||
- [ ] switch theme (dark/light)
|
||||
- [ ] suspend, restart, hibernate, lock
|
||||
|
||||
** Display unread emails
|
||||
Let's say we want to display unread emails, and when clicking on that we open our mail client.
|
||||
|
||||
#+BEGIN_SRC
|
||||
[module/unread_mail]
|
||||
type = custom/script
|
||||
|
||||
label-font = 2
|
||||
format-underline = ${colors.background}
|
||||
click-left = termite -e "tmuxinator start neomutt" &
|
||||
format = <label>
|
||||
exec = ~/.config/polybar/scripts/unread_mails.sh
|
||||
interval = 1
|
||||
#+END_SRC
|
||||
|
||||
A custom script =~/.config/polybar/scripts/unread_mails.sh= is just returning the unread emails.
|
||||
|
||||
** TODO [#C] Create multiple bars
|
||||
https://www.reddit.com/r/unixporn/comments/92guq6/i3polybar_animated_polybar_drop_down_menus/?utm_name=u_tdehaeze
|
||||
|
||||
** TODO [#C] Add Conky to polybar
|
||||
* TODO [#C] Compositor - Compton
|
||||
https://wiki.archlinux.org/index.php/Compton
|
||||
@@ -1113,16 +1103,16 @@ https://github.com/chjj/compton
|
||||
|
||||
** Installation
|
||||
#+begin_src bash
|
||||
yay -S compton
|
||||
yay -S compton
|
||||
#+end_src
|
||||
|
||||
** TODO [#B] Configuration
|
||||
=~/.config/compton.conf=
|
||||
|
||||
** GUI Configuration
|
||||
** TODO GUI Configuration
|
||||
To install:
|
||||
#+begin_src bash
|
||||
yay -S compton-conf
|
||||
yay -S compton-conf
|
||||
#+end_src
|
||||
|
||||
Then run =compton-conf=
|
||||
@@ -1130,7 +1120,7 @@ Then run =compton-conf=
|
||||
** Automatic run as daemon
|
||||
Compton is run from i3 config in the background (=-b= option)
|
||||
#+BEGIN_SRC bash
|
||||
exec --no-startup-id compton -b
|
||||
exec --no-startup-id compton -b
|
||||
#+END_SRC
|
||||
|
||||
* TODO [#C] Notification Manager - Dunst
|
||||
@@ -1189,60 +1179,7 @@ Run ~qt5ct~ to manage QT Themes.
|
||||
** XFT Themes
|
||||
Some configuration are located in =~/.Xresources=.
|
||||
|
||||
* Launcher - Rofi
|
||||
https://github.com/DaveDavenport/rofi
|
||||
|
||||
** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S rofi
|
||||
#+END_SRC
|
||||
|
||||
** Setup rofi as a dmenu replacement
|
||||
Setup rofi as a dmenu replacement in =~/.i3/config=:
|
||||
#+BEGIN_SRC
|
||||
bindsym $mod+d exec --no-startup-id rofi -show run
|
||||
#+END_SRC
|
||||
|
||||
** Run sudo commands with rofi
|
||||
https://github.com/DaveDavenport/rofi/issues/584#issuecomment-384555551
|
||||
|
||||
Use ~sudo -A~, that will open a rofi prompt to ask for the password.
|
||||
|
||||
For that to work, we need to add the following code to =~/.profile=:
|
||||
#+BEGIN_SRC bash
|
||||
export SUDO_ASKPASS=~/bin/askpass-rofi
|
||||
#+END_SRC
|
||||
|
||||
The =askpass= script is:
|
||||
#+BEGIN_SRC bash
|
||||
#!/bin/sh
|
||||
|
||||
# Take password prompt from STDIN, print password to STDOUT
|
||||
# the sed piece just removes the colon from the provided
|
||||
# prompt: rofi -p already gives us a colon
|
||||
rofi -dmenu \
|
||||
-password \
|
||||
-no-fixed-num-lines \
|
||||
-p "$(printf "$1" | sed s/://)"
|
||||
#+END_SRC
|
||||
|
||||
* TODO [#A] Advanced config
|
||||
** TODO [#A] Deactivate startup mac sound
|
||||
#+BEGIN_SRC bash
|
||||
sudo nvram SystemAudioVolume=%80
|
||||
#+END_SRC
|
||||
|
||||
** TODO [#B] Webcam
|
||||
https://github.com/patjak/bcwc_pcie/wiki/Get-Started
|
||||
|
||||
Explain how this is working now
|
||||
|
||||
** TODO [#C] Trackpad
|
||||
The configuration is here: =/etc/X11/xorg.conf.d/30-touchpad.conf=
|
||||
|
||||
** TODO [#A] Startup programs
|
||||
Should I use i3 or systemd for that?
|
||||
https://www.reddit.com/r/linux/comments/132gle/eli5_the_systemd_vs_initupstart_controversy/
|
||||
** TODO [#C] Printer
|
||||
https://wiki.archlinux.org/index.php/CUPS
|
||||
Web based administration: http://localhost:631/
|
||||
@@ -1283,19 +1220,6 @@ https://wiki.archlinux.org/index.php/Powertop
|
||||
|
||||
Alternative: pm-utils
|
||||
|
||||
** TODO [#A] Suspend / Hibernate
|
||||
https://bbs.archlinux.org/viewtopic.php?id=215091
|
||||
https://loicpefferkorn.net/2015/01/arch-linux-sur-macbook-pro-retina-2014-avec-dm-crypt-lvm-et-hibernation/
|
||||
|
||||
https://0xadada.pub/2016/03/05/install-encrypted-arch-linux-on-apple-macbook-pro/#configuring-wireless
|
||||
|
||||
https://medium.com/@tigersoldier/macbook-pro-2015-with-arch-linux-4f8d3a2c0de5
|
||||
To work around this problem, disable the driver before suspend: =sudo rmmod brcmfmac=
|
||||
On wake up, re-enable the driver: =sudo modprobe brcmfmac=
|
||||
|
||||
*** Current behavior
|
||||
Actually, it seems that the first suspend is working. After that the macbook go out of the suspend after few seconds
|
||||
|
||||
** TODO [#A] Lid open/close
|
||||
Should automatic show lock screen
|
||||
|
||||
@@ -1308,18 +1232,6 @@ https://wiki.archlinux.org/index.php/USB_storage_devices
|
||||
https://wiki.manjaro.org/index.php?title=ExFAT_file_system
|
||||
AUR package: bash mount
|
||||
|
||||
** TODO [#C] NAS Synology
|
||||
*** Script to mount and umount
|
||||
https://blog.whabash.com/posts/mounting_synology_nas_shared_folder_nfs_ubuntu_16_10
|
||||
=~/bin/nas=
|
||||
|
||||
*** TODO Automatic Backup of folders?
|
||||
AUR package: synology backup
|
||||
*** TODO Automatic Mount of NAS folder
|
||||
https://wiki.archlinux.org/index.php/NFS
|
||||
https://hoarding.me/rclone-scripts/
|
||||
https://blog.whabash.com/posts/mounting_synology_nas_shared_folder_nfs_ubuntu_16_10
|
||||
*** TODO [#A] Install beets on the nas?
|
||||
** TODO [#C] Format disks
|
||||
https://gparted.org/
|
||||
|
||||
@@ -1328,15 +1240,8 @@ https://gparted.org/
|
||||
** TODO [#B] Bluetooth
|
||||
Bluetooth: Gui: https://github.com/blueman-project/blueman
|
||||
|
||||
*** TODO Bluetooth mouse MX Anywhere
|
||||
https://blog.onee3.org/2016/09/how-to-get-logitech-mx-anywhere-2-to-work-with-ubuntu/
|
||||
|
||||
*** TODO Bluetooth headset
|
||||
** TODO [#B] Wifi
|
||||
https://0xadada.pub/2016/03/05/install-encrypted-arch-linux-on-apple-macbook-pro/#ref:note:1
|
||||
** TODO [#B] Temperature and Fan control
|
||||
https://github.com/dgraziotin/mbpfan
|
||||
https://0xadada.pub/2016/03/05/install-encrypted-arch-linux-on-apple-macbook-pro/#fine-tuning
|
||||
Fan are controlled by mbpfan. The config file is =/etc/mbpfan.conf=
|
||||
|
||||
#+BEGIN_SRC bash
|
||||
@@ -1352,33 +1257,28 @@ sudo systemctl enable thermald
|
||||
sudo systemctl start thermald
|
||||
#+END_SRC
|
||||
|
||||
** TODO [#B] Refind / Grub
|
||||
https://github.com/EvanPurkhiser/rEFInd-minimal
|
||||
https://www.pclosmag.com/html/Issues/200709/page07.html
|
||||
*** TODO Switch from Refind to Grub
|
||||
https://www.reddit.com/r/archlinux/comments/a2euuz/switching_from_refind_to_grub/?utm_name=u_tdehaeze
|
||||
** TODO [#B] Lock Screen
|
||||
https://github.com/pavanjadhaw/betterlockscreen
|
||||
|
||||
*** Installation
|
||||
#+begin_src bash
|
||||
yay -S betterlockscreen
|
||||
yay -S betterlockscreen
|
||||
#+end_src
|
||||
|
||||
* TODO [#C] LaTeX
|
||||
** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S texlive-most
|
||||
yay -S texlive-most
|
||||
#+END_SRC
|
||||
|
||||
Biber support for the bibliography:
|
||||
#+BEGIN_SRC bash
|
||||
yay -S biber
|
||||
yay -S biber
|
||||
#+END_SRC
|
||||
|
||||
Support for source code using minted:
|
||||
#+BEGIN_SRC bash
|
||||
yay -S minted
|
||||
yay -S minted
|
||||
#+END_SRC
|
||||
|
||||
** Personnal classes/packages
|
||||
@@ -1430,6 +1330,8 @@ https://wiki.archlinux.org/index.php/MATLAB#Installation
|
||||
yay -S matlab
|
||||
#+END_SRC
|
||||
|
||||
If there is a problem when opening a Simulink file, check the solution [[https://fr.mathworks.com/matlabcentral/answers/361053-can-t-reload-usr-local-matlab-r2017b-bin-glnxa64-libmwdastudio-so][here]].
|
||||
|
||||
** SageMath
|
||||
http://www.sagemath.org/
|
||||
https://wiki.archlinux.org/index.php/SageMath
|
||||
@@ -1563,11 +1465,11 @@ sudo pip3 install papis
|
||||
** TODO Vdirsyncer - Sync calendars
|
||||
*** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S vdirsyncer
|
||||
yay -S vdirsyncer
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_SRC bash
|
||||
sudo pip install requests-oauthlib
|
||||
sudo pip install requests-oauthlib
|
||||
#+END_SRC
|
||||
|
||||
*** Cheatsheet
|
||||
@@ -1579,13 +1481,13 @@ sudo pip install requests-oauthlib
|
||||
http://vdirsyncer.pimutils.org/en/stable/tutorials/systemd-timer.html?highlight=systemd
|
||||
|
||||
#+BEGIN_SRC bash
|
||||
systemctl --user enable vdirsyncer.timer
|
||||
systemctl --user start vdirsyncer.timer
|
||||
systemctl --user enable vdirsyncer.timer
|
||||
systemctl --user start vdirsyncer.timer
|
||||
#+END_SRC
|
||||
|
||||
To check the status of the service:
|
||||
#+BEGIN_SRC bash
|
||||
systemctl --user status vdirsyncer.service
|
||||
systemctl --user status vdirsyncer.service
|
||||
#+END_SRC
|
||||
|
||||
** TODO Calendar Client - Khal
|
||||
@@ -1701,12 +1603,12 @@ https://github.com/l3ib/nitrogen/
|
||||
https://pwmt.org/projects/zathura/
|
||||
** Installation
|
||||
#+BEGIN_SRC bash
|
||||
yay -S zathura
|
||||
yay -S zathura
|
||||
#+END_SRC
|
||||
|
||||
Then add dependecies to view specific files:
|
||||
#+BEGIN_SRC bash
|
||||
yay -S zathura-pdf-mupdf zathura-djvu zathura-ps zathura-cb
|
||||
yay -S zathura-pdf-mupdf zathura-djvu zathura-ps zathura-cb
|
||||
#+END_SRC
|
||||
|
||||
It seems that mupdf is better that poppler to view pdf.
|
||||
|
||||
Reference in New Issue
Block a user