Tag Info

Hot answers tagged

6

if you create a .hidden file with each of those names in it (1 line each) they will not be displayed in nautilus (ubuntu's default file manager) unless you set it to show hidden files, i am sure you can delete the install ones but i am not sure about the rest ** does not work in thunar bug 110521 How to hide files and folders in Nautilus?


6

It is because the shell is expanding the ".*" to be ".." or up one directory. In this case it is best, IMO, to use find Become root sudo -i run find find /home/$user -exec chown $user:$user {} \; Change $user to the appropriate user name In theory, chown should work with the -R and without the wildcard sudo chown -R $user:$user /home/$user but I ...


5

Each folder contains a file called ... This file is special in that it points to the directory containing the current working directory. For example: $ pwd /path/to/dir $ cd .. $ pwd /path/to Because you specified .* as an argument, the shell expands this to every file starting with a ".", including ... This means that your operation ran on everything in ...


3

When you log in or start a new shell then some scripts get parsed. Exactly which scripts depend on which shell you use (e.g. ksh, csh, tsch, bash, dash, pinosh, ...) and if it is a log-in shell or not. If you are using Ubuntu's defaults then it is likely that it will contain this: # set PATH so it includes user's private bin if it exists if [ -d ...


2

It is safe for the most part as long as you don't click the format check box. I've installed Ubuntu myself in this way for three releases now, and have not lost any data. However most would encourage you to backup before attempting this. When the partitioning window shows up while installing Ubuntu click the format box on the / But do not format /home ...


2

I do not believe there is any way to do this using QML only, without C++. I am a C++ Qt developer, but I don't use QML much, so there may be some way that I am not aware of. My understanding of QML is that it is primarily used for describing a UI for which any non-trivial backend code is implemented in either PyQt or C++. Additionally, QML is meant to ...


2

Check out the howto: https://help.ubuntu.com/community/Partitioning/Home/Moving The basic steps are as follows: Setup your new partition Backup and edit your fstab to mount the new partition as /media/home (just for the time being) and reboot. Use rsync to migrate all data from /home into /media/home. Edit fstab again so the new partition mounts as /home ...


2

Converting the /home folder to NTFS is neither wise, nor recommended, and possibly not possible! The home folder contains user configurations as well as user data. Ubuntu maintains user specific permissions for folders and files. The permissions format used by Ubuntu is specific to ext3, ext4 formats. In other words, Ubuntu cannot preserve folder and ...


1

After doing a search for the string /Desktop, I found this setting in ~/.config/user-dirs.dirs The setting to change in that file is XDG_DESKTOP_DIR="$HOME/Desktop" and you can use whatever directory you like. I set it to XDG_DESKTOP_DIR="$HOME". Then log out and back in again.


1

My advice won't solve all your problems, but you may find it enough. You could have only a bunch of directories in the NFS server. i.e., the Documents directory. To do so, mount your nfs server home somewhere like /media/nfs_server/home. Then change the contents of the file ~/.config/user-dirs.dirs There you can change the Documents default dir and set it ...


1

You can use the adduser command from the recovery mode to add a new user. For example, if you were to create a user with administrator privileges named john, the command would look like this: adduser john --group sudo If the old home directory is intact and properly mounted, you could try specifying its path: adduser john --group sudo --home ...


1

LVM itself doesn't enable resizing /home, you can do this even if you don't use LVM. LVM does make it considerably easier to resize the partition, as you can do this with a simple lvresize command (followed by resizing the filesystem if you're enlarging, preceded by resizing the filesystem if you're shrinking). Resizing PC partitions is fiddly and ...


1

What you can do is let each distro have its own /home, and mount your personal partition under some other path like /shared-disk. The home directories can be symlinked from each distro, so that /home/bob in any given distro is a link to /shared-disk/bob. In addition to having the same user names on all the distros, you have to make sure that the numeric ...



Only top voted, non community-wiki answers of a minimum length are eligible