New answers tagged

0

You can use the find command to "find" files and folders on your disk. Since your file is most likely in your home folder, first run this command, to scan the home folder: find $HOME | grep "colors.txt" This command will output all results matching "colors.txt". For example, it may return something like this: /home/<your_username>/Desktop/colors....


0

Thank you @steeldriver for pointing it, I was confusing library names with package names. I used sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 this and was able to successfully run CDO.


1

You can look at the command find, it can search for files and directories on a number of criterias. Something like: find /home \( -name "*.JPG" -or -name "*.jpg" \) -type f -print will look through all of /home and sub-directories for files with extension JPG or jpg. Note that Linux filename are case-sentisive, so you might have to look for other ...


1

This problem was reported on Launchpad as Bug #1872268 "Gnome Shell completely freezes in Ubuntu 20.04 when clicking outside of app icon folders (when ubuntu-dock is loaded)". In comment #25, Rson explained a temporary solution I have this same problem. I made a video with the problem and the solution here: https://www.youtube.com/watch?v=...


0

There are fundamental bugs in ubuntu 20.04 that have not been fixed. This is such a basic problem I can't believe it is being treated as a 'medium' severity error. In https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1852183 they claimed to have fixed it, but they haven't - it has just changed a bit. See https://bugs.launchpad.net/ubuntu/+source/mutter/...


1

Here is a very simple solution: for f in * do if [ $(wc -l "$f" | awk '{print $1}') -gt 8 ]; then cat "$f" # print the file content ...


0

This is what resolved the Could not load wine-gecko. HTML rendering will be disabled. message for me: sudo mkdir /usr/share/wine/gecko && cd /usr/share/wine/gecko sudo wget http://dl.winehq.org/wine/wine-gecko/2.47.1/wine-gecko-2.47.1-x86_64.msi # the latest version currently available sudo wget http://dl.winehq.org/wine/wine-gecko/2.47.1/wine-...


1

You need to copy this libstdc++-6.dll from your mingw installation (should be in /usr/lib/gcc/x86-w64-mingw32/9.3-win32/) to the same directory as your exe file. I expect you will get a similar message about libgcc_s_sjlj-1.dll, which you also need to copy. I tested this with 32-bit and on a windows VM, but I hope that that will not make a difference.


0

I think, there are better solutions. But maybe it could be helpful for you until a better solution will appear, which you could accept. Run it in folder with your archives. for arc in ./*.tar.gz; do tar xvf $arc && \ mv $(echo $arc|sed 's/.tar.gz//')/Cscf/*.xml abc && \ mv $(echo $arc|sed 's/.tar.gz//')/Cscf2/*.xml xyz &&...


0

You could also use gocryptfs. In my experience it is significantly faster than cryfs with big encrypted shares, but does not hide the structure (file sizes and number of files). depending on your threat model this may or may not be a problem. To install apt install gocryptfs To initialize the basedir (once) gocryptfs -init basedir To mount basedir (the ...


2

/mnt is an empty directory by default. You can re-create it by running sudo mkdir /mnt But if you had something mounted there, that is not that easy. You probably removed everything from the mounted device.


1

Make sure that you are in the root directory by typing cd /. You should be able to type sudo mkdir mnt to (re)create the mnt folder.


0

See the cups-files.conf RequestRoot directory Specifies the directory that contains print jobs and other HTTP request data. The default is "/var/spool/cups". Files are saved in a format: /var/spool/cups/d*-nnn /var/spool/cups/c* where * is the printer id. c is the control file d is the actual data nnn is the document number. Starts with 001. ...


1

It is not totally safe, as some applications might assume umask to be 0000. For example, when installing extensions to vscode-server running in wsl (from standard vscode in win), it fails on file permissions when trying to move files from temporary location. But if you keep that in mind, you can safely set umask to whatever you want, and if you encounter ...


0

Hey I too had the same problem when i upgraded to 20.04 I think there are too many bugs in this version. So what i did was, i backup all the files and did a fresh installation of Ubuntu 19.10. Still im not planning to upgrade to Ubuntu LTS unless they resolve the bugs


0

I prefer: chown -hR : This will also change ownership of symlinks instead of just the destination files that the symlinks point to.


0

When moving directory during a script execution, you need to consider non-existing or empty directories, and also force override and removal without confirmation: # If old directory exists, and isn't empty if [[ -d old_dir ]] && [[ -n `ls -A old_dir` ]] ; then # Make a new directory (skip if already exists) mkdir -p new_dir # Copy all files ...


1

You could not change ownership or permissions on ntfs partition the way you're trying to do it. You could only mount it with required uid of user you want to be the owner of the partition. Find out your user uid and gid by: $ cat /etc/passwd | grep $(echo $USER) Find out your ntfs partition UUID by blkid command execution. Mount your partition in /etc/...


Top 50 recent answers are included