Comments (4)
We're already doing this. Maybe we could just document better (than people look at the dotfiles, in special the dotfiles/example/rocha/.bash_profile
if they want know about startup scripts) or we assume it's done.
from adhocsecurebox.
Oh f**k me. Did not work as expected.
I think instead of do the rigth way (read the documentation and undestand how it is suposed to work) I will just reinvent the wheel!
Anyway, either for my future self (or anyone trying to do the less wrong way) this was the current version of .bash_profile.
The main error I found was, when restarting the Tails, neither /home/amnesia/Persistent/software/bin
or /home/amnesia/Persistent/bin
was added to the path (maybe .bash_profile is ignored.. for every new terminal).
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
umask 077
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
#### Custom additions from original ~/.profile, START __________________________
#### /home/amnesia/Persistent/software/bin .....................................
# @see docs/portable-software.sh
# If this path exists, executable binaries here will have priority over
# /home/amnesia/bin.
if [ -d "/home/amnesia/Persistent/software/bin" ] ; then
PATH="/home/amnesia/Persistent/software/bin:$PATH"
fi
#### /home/amnesia/Persistent/bin ..............................................
# @see docs/portable-software.sh
# If this path exists, executable binaries here will have priority over
# /home/amnesia/Persistent/software/bin and /home/amnesia/bin.
if [ -d "/home/amnesia/Persistent/bin" ] ; then
PATH="/home/amnesia/Persistent/bin:$PATH"
fi
#### Startup scripts ...........................................................
# TODO: this feature was not fully tested yet. (fititnt, 2020-10-24 18:42 UTC)
#
# Note: this code exists both on the my-git-repo/bin/startup-scripts.sh and
# my-git-repo/dotfiles/example/rocha/.bash_profile
# If ~/bin/startup-scripts/ (or ~/bin/startup-scripts-examples/) exists, we
# execute every .sh file there
if [ -d "$HOME/bin/startup-scripts" ];
then
run-parts --regex '.*sh$' "$HOME/bin/startup-scripts/"
elif [ -d "$HOME/bin/startup-scripts-examples" ];
then
run-parts --regex '.*sh$' "$HOME/bin/startup-scripts-examples/"
fi
#### Custom additions from original ~/.profile, END ____________________________
On the docs/zzz-undocumented.sh
I was using just
rm -r ~/bin
ln -s /home/amnesia/Persistent/git/fititnt/TailsOS-for-non-whistleblowers/bin ~/bin
So maybe lets call this a feature.
from adhocsecurebox.
Ok, I just created a release here https://github.com/fititnt/TailsOS-for-non-whistleblowers/releases/tag/v1.0. So I will do some refactoring.
I may not do new releases on future, but this release is just to I care less of more severe refactoring.
from adhocsecurebox.
Things are improving
- tails-do-it : add our custom place to store files
- tails-ui-options-import: import terminal colors, gedit themes, etc
- tails-code: load one portable vscode on disk to the ram and executes
from adhocsecurebox.
Related Issues (20)
- TailsOS with Gnome Online Accounts integration [Integration with Google (Files, Documents, Mail), ownCloud, Microsoft, Facebook, etc)] (quick discussion) HOT 3
- Helper tool for quick export and import cosmetic changes on TailsOS ('dconf dump' / 'dconf load') HOT 2
- MVP of Tails terminal initialization helper "tails-do-it"
- MVP of any strategy to send files from Android phone to Tails HOT 2
- Tails (aka LUKS encrypted disk) message "Error when getting information for the file path/to/file: Structure needs cleaning HOT 1
- VSCode (Electron/Chromium apps) networking through Tor and/or Tails HOT 1
- Design some optionated directory structure for data operations
- Alternative minimal instructions to run this repository without Tails Persistence enabled
- MVP of Thunderbird backup
- MVP of Tails-like concepts on everyday Linux distributions
- YubiKey on Tails
- MVP of zuluCrypt and zuluMount on Tails
- MVP of AppArmor profiles for zuluCrypt & zuluMount on Ubuntu
- MVP of AppArmor profiles for Cryptomator on Ubuntu HOT 1
- MVP of AppArmor profile that only deny access to internet
- MVP of AppArmor profile that only deny access specific folder HOT 1
- Project naming and description
- MVP of Virtual Machines HOT 2
- MVP of encrypted backups resilient to bit rot (Data degradation / Data corruption)
- MVP of Tails as 'Securebox' for backup life cycle of external servers; focus on aid human triggered backups and no especial requirements on remote servers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adhocsecurebox.