sudo systemctl mask suspend.target sleep.target hibernate.target hybrid-sleep.target && sudo systemctl restart systemd-logind.service
Search found 1318 matches
- Sun Jun 06, 2021 6:17 am
- Forum: Beginner Questions
- Topic: [Solved] Suspending even though it's disabled under power manager
- Replies: 3
- Views: 681
Re: Suspending even though it's disabled under power manager
Try:
- Fri May 01, 2020 7:07 am
- Forum: Installation & Boot
- Topic: Best place to automount disks
- Replies: 2
- Views: 357
Re: Best place to automount disks
The original correct place to mount things manually was under
/mnt
./media/<username>
is meant for automatic mounting. 'udisks2' mounts things there and things mounted there appear as shortcuts on the left of all the major file managers.- Fri May 01, 2020 6:58 am
- Forum: Software & Applications
- Topic: Drive became read only
- Replies: 8
- Views: 1049
Re: Drive became read only
When a solid state storage device such as a USB flash drive becomes read-only, it means it has died. From now on you will always be able to read from it, but not write to it. Like a data CD.
- Thu Apr 30, 2020 2:21 pm
- Forum: Software & Applications
- Topic: Disable hyperlinks in terminals - how? [SOLVED]
- Replies: 3
- Views: 813
Re: Disable hyperlinks in terminals - how?
I'm using xfce4-terminal 0.6.3 and changing
MiscHighlightUrls=TRUE
to MiscHighlightUrls=FALSE
works, but the path to the file is different from what you wrote. On my computer it's ~/.config/xfce4/terminal/terminalrc
.- Wed Apr 22, 2020 9:01 am
- Forum: Software & Applications
- Topic: Synaptic Package Manager can't fix Broken Package
- Replies: 5
- Views: 1546
Re: Synaptic Package Manager can't fix Broken Package
It looks like your status file is broken. Do this, then try again: sudo mv /var/lib/dpkg/status ~/status.bak sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status sudo apt-get update If this doesn't work, try one of the even older status file backups in /var/backups . You'll need to decompress the...
- Wed Apr 22, 2020 8:54 am
- Forum: Software & Applications
- Topic: Files Won't Delete From Directory
- Replies: 10
- Views: 2749
Re: Files Won't Delete From Directory
Hardware is broken.Input/output error
- Wed Apr 22, 2020 8:45 am
- Forum: Software & Applications
- Topic: Synaptic Package Manager can't fix Broken Package
- Replies: 5
- Views: 1546
Re: Synaptic Package Manager can't fix Broken Package
You can try:
sudo apt-get -f install
sudo dpkg --configure -a
- Wed Apr 22, 2020 8:43 am
- Forum: Software & Applications
- Topic: Held broken packages, can't install wine
- Replies: 3
- Views: 499
Re: Held broken packages, can't install wine
Have you deleted
Also try
and
~/.wine
?Also try
sudo apt-get -f install
and
sudo dpkg --configure -a
- Tue Apr 21, 2020 8:12 am
- Forum: Software & Applications
- Topic: Unable to install .sh file (TIE Fighter from gog)
- Replies: 5
- Views: 767
Re: Unable to install .sh file (TIE Fighter from gog)
If it says 'No such file or directory' but the file is there, it means you've typed it wrong. If the file is in
According to the top of the 418MB file, there should be another file called 'installer-file.sh'.
~/Downloads
, then first do cd Downloads
.According to the top of the 418MB file, there should be another file called 'installer-file.sh'.
- Tue Apr 21, 2020 8:00 am
- Forum: Beginner Questions
- Topic: (Solved) In terminal every command points to Bash
- Replies: 5
- Views: 672
Re: in terminal every command points to Bash
Try reinstalling bash using Synaptic Package Manager. Currently behind the $ are 2 characters, the first one is obscured by my username overlapping it, but it doesn't seem to be a letter, more likely a symbol { [ | The second is ~ These two symbols are meant to be there. The first is a : and the sec...
- Mon Apr 20, 2020 3:24 pm
- Forum: Software & Applications
- Topic: Change default network connection
- Replies: 1
- Views: 406
Re: Change default network connection
In the network configuration, set it so that the wireless network is not connected to automatically.
- Mon Apr 20, 2020 3:21 pm
- Forum: Software & Applications
- Topic: TrueCrypt, VeraCrypt, or ???
- Replies: 27
- Views: 5437
Re: TrueCrypt, VeraCrypt, or ???
... advised that VeraCrypt is more current and more secure. Main improvement of VeraCrypt is a delay in processing password, which make brute force attacks more difficult. Whether this matters depends on what sort of "adversary" you have in mind. For casual busybody security, doesn't matt...
- Sun Apr 19, 2020 10:59 am
- Forum: Other topics
- Topic: laptop doesnt turn off
- Replies: 12
- Views: 1767
Re: laptop doesnt turn off
If you press Esc when the logo is displayed it will show terminal messages instead that might explain why it is not switching off.
Also,
Also,
sudo apt-get purge modemmanager
might fix your problem.- Wed Oct 02, 2019 7:56 am
- Forum: Tutorials
- Topic: Easily set drives to mount automatically at boot
- Replies: 18
- Views: 62614
Re: Easily set drives to mount automatically at boot
Good tutorial! Stickied. 11. Optional - if the disk is a solid state (SSD) you may wish to stop the system writing the time of the last file access to files when they are used. This saves on writes which add wear to the disk. To do this, edit the field that has no label but contains a bunch of opti...
- Fri Sep 27, 2019 2:14 pm
- Forum: Tutorials
- Topic: How to watch TV in VLC media player and schedule automatic TV recordings using the command line
- Replies: 0
- Views: 5576
How to watch TV in VLC media player and schedule automatic TV recordings using the command line
There are several GUI Linux programs that offer to schedule TV recordings. I've tried Kaffeine , Me-TV , MythTV , VLC media player (via its cvlc interface) and xine . However when I tried them I found that they were either buggy or they didn't work at all. All of them except VLC media player seem bl...
- Tue Dec 25, 2018 2:21 pm
- Forum: Beginner Questions
- Topic: Finding unique files (SOLVED except for. possibly OP-specific, anomaly))
- Replies: 33
- Views: 2959
Re: Finding unique files (SOLVED)
That's two unexplained anomalies in one thread: first
find
not finding files that are there, and then rsync
saying that identical files are different. Something is amiss and I suspect it's related to DropBox. I wouldn't rely 100% on these backups if I were you.- Fri Dec 21, 2018 3:55 pm
- Forum: Beginner Questions
- Topic: Finding unique files (SOLVED except for. possibly OP-specific, anomaly))
- Replies: 33
- Views: 2959
Re: Finding unique files
If the two directories exist, contain files, and their contents are viewable (i.e. you have permission to view the contents) then the method I gave will work. You can test the method by creating a directory, putting some files in it, copying it, then deleting a couple of files from the copy. Then co...
- Fri Dec 21, 2018 8:32 am
- Forum: Beginner Questions
- Topic: Finding unique files (SOLVED except for. possibly OP-specific, anomaly))
- Replies: 33
- Views: 2959
Re: Finding unique files
This is what I would do: 1. Create list of the contents of /media/tony/DropBox_A/Dropbox and write it to a file in your home directory: $ cd /media/tony/DropBox_A/Dropbox $ find -type f | sort > ~/file1 2. Create a list of the contents of /media/tony/DropBox_A/Backup_of_dropbox and write it to a sec...
- Wed Oct 10, 2018 5:43 am
- Forum: Software & Applications
- Topic: SOLVED Duplicated Menu Entry - Nautilus
- Replies: 2
- Views: 260
Re: Duplicated Menu Entry - Nautilus
It's probably a bug. The actual files corresponding to the menu entries will be in /usr/share/applications . You can compare them by opening them in a text editor. If you want to you can remove one of the entries from the menu by copying its .desktop file to $HOME/.local/share/applications then addi...
- Wed Oct 03, 2018 5:23 am
- Forum: Beginner Questions
- Topic: (SOLVED) youtube downloader with gui
- Replies: 8
- Views: 1443
Re: (SOLVED) youtube downloader with gui
I'd be interested in trying the command line version, but I'd need some instructions on how to use it. Are there any around? thanks. To download the best quality single-file video: youtube-dl <URL> To see what different quality formats there are to download of a particular video: youtube-dl -F <URL...