@liberatedGuy
@lemmy.mlHi friends,
I have some external hard drives and SSDs, which I use with my Debian 11 machine. I normally use them through the GUI file manager(pcmanfm-qt). I tried to access them from the terminal using commands I found after searching the web, like, fdisk, mount etc. However, the issue is that I have to use sudo when using these commands and as a result after mounting I cannot make changes to my files in the drive(s) without using sudo. The only way to avoid using sudo, is to first go to the required folder in the GUI file manager and then opening the folder in terminal. Is there a way to forego using the GUI file manager completely and only using the terminal entirely to properly access my drives and make changes without using sudo?
EDIT: Someone suggested usbmount. I am sure that works, but it is not packaged for Debian. Instead, as suggested, by another person, I use pmount. It works perfectly for my needs on Debian. Thanks to all for taking the time to respond and help me with my problem.
So, in order to avoid typing "flatpak run", every time I need to run a flatpak program from the terminal, to have gui programs installed using nix appear in my applications menu(rofi, in this case), and to avoid typing the entire path to my .local/bin, I had added the following lines to my .profile:
if [ -d "$HOME/bin" ] ; then export PATH="$HOME/bin:$PATH" fi
if [ -d "$HOME/.local/bin" ] ; then export PATH="$HOME/.local/bin:$PATH" fi
export XDG_DATA_DIRS="/home/guest/.nix-profile/share:$XDG_DATA_DIRS"
if [ -d "/var/lib/flatpak/exports/bin" ] ; then export PATH="/var/lib/flatpak/exports/bin:$PATH" fi
if [ -d "/.local/share/flatpak/exports/bin" ] ; then
export PATH="/.local/share/flatpak/exports/bin:$PATH"
fi
However, for some weird reason, I cannot take advantage of the above lines unless I am in a tmux session or I explicitly type the following command:
source .profile
Any ideas on how to fix this?
EDIT: Adding the following line to .xsessionrc fixed the issue (haven't checked for wayland sessions though).
. $HOME/.profile
#Debian #Debian11 #foss #floss #libre_software #applications #desktop #gui #nix #flatpak #flatpaks #gnu #linux #opensource #open_source #tmux #bash #profile #shell #terminal
When using the Nix Package Manager on Debian 11, I have seen that it doesn’t automatically create .desktop files for GUI programs. This would have been fine if I was using nix to install one or two programs, but I was looking forward to use it a regular package manager. Does anyone know how to automate the process?
Hi guys, Does anyone here know what could be a good libre equivalent to Amazon's Kindle reader?