Tag Info

New answers tagged

-1

Another solution for people who are having this problem except the part about unmatched bits is that running the file without the command "bash". Just use chmod +x 'path to the file' and then run 'the path to the file' in terminal.This is how I solved my problem.


0

I changed my GPU from nvidia to Intel and the copy dialog came back. (it will stay when you switch to nvidia.) and I'm not sure it was because of this:)


1

Another (python) option, offering a bit of a "fancy" report: ---------------------------------------------------------- Newly copied from /home/jacob/map 1 to /home/jacob/map 2: - Naamloos document - pscript_2.py - test123 - monkey_out.txt ---------------------------------------------------------- Unique files in /home/jacob/map 2: - file_in_targetfolder ...


1

Warning: this is for bidirectional syncing, but given that you are ok in doing things manually... I do not know if there is an option for unidirectional behavior in unison --- if anyone knows please feel free to edit this answer. Install unison: sudo apt-get install unison unison-gtk Create this file in the directory $HOME/.unison, call it test.prf (or ...


1

This should get you going. zenity has many more applications beyond the scope of your question; customize this as you like. #!/bin/bash ls -1 ./FolderA | sort > FolderA.txt ls -1 ./FolderB | sort > FolderB.txt FILESTOCOPY=$(diff FolderA.txt FolderB.txt | grep \< | awk '{print $2;}' | zenity --list --title="Select files to be copied" --co$ echo ...


1

You can use ffmpeg program. See Is FFmpeg missing from the official repositories in 14.04? and FFmpeg guide for the instructions on how to install this program. After the installation you can convert an .avi video, for eg, by: ffmpeg -i foo.avi foo.webm With only this raw conversion the quality might not be the best you will get. You'll have to use ...


1

Try the ffmpeg program: ffmpeg -i input.mp4 -ss 00:00:03 -t 00:00:08 output.webm This should get 8 seconds (-t 00:00:08) of input.mp4 (starting 3 seconds into the video -ss 00:00:03) and put them to output.webm as result, i.e. the cut-out is form second 3 to second 11 (don't nail me down if the 3 or the 11 is included then ... )


0

The changes are not permanent, therefore Edit the file /etc/sysctl.conf sudo nano /etc/sysctl.conf Add the line below, eg fs.inotify.max_user_watches=1000000 Reload the changes sudo sysctl -p You should see something like this fs.inotify.max_user_watches = 1000000 and with cat /proc/sys/fs/inotify/max_user_watches 1000000


0

After closing Thunar, and then reopening it the files now show as they are supposed to. Now it would be great if someone could figure out why this is happening, and post a permanent fix, and it's developers fix the offending software, as it is really scary when files go missing!!!!!!!!


2

File attributes are stored in inodes. The attributes that each inode stores are listed in POSIX Inode Specification. When we use ls -l or stat or any other program that get us the file attribute uses the stat(2) system call underneath. Now inodes are filesystem dependent property, they are created as fixed numbers when the filesystem is created. There is ...


2

This may not be a complete answer, but this is what I was able to find from my research. File attributes are stored in inodes and the 'inode tables' are generally scattered throughout the file-system. In general, to find where you have the inode tables (at least in ext3 filesystem), you can run: sudo dumpe2fs /dev/<device> | fgrep 'Inode table' and ...


4

Using the command file or mimetype EG % file conf.ini conf.ini: ASCII text % mimetype conf.ini conf.ini: text/plain % file Screenshot\ from\ 2015-08-17\ 20-32-54.png Screenshot from 2015-08-17 20-32-54.png: PNG image data, 1112 x 700, 8-bit/color RGBA, non-interlaced % mimetype Screenshot\ from\ 2015-08-17\ 20-32-54.png Screenshot from 2015-08-17 ...


2

Click on the dash: Type updates Click on Software & Updates then on the first tab Ubuntu Software change Download from to Main Server. On the Other Software tab disable the Independent repositories Close and Reload Warning: the disable on the Other Software tab might disable updates of some of your software until re-enabled.


1

Another terminal solution with find and sort (by filesize, column 1) $ find . -maxdepth 1 ! -path . -printf "%s %p\n" | sort -n -k1 178 ./somefile.txt 219 ./somefile2.txt 4096 ./c 4096 ./cs2 4096 ./perl 4096 ./python 4096 ./random 4096 ./sh


0

To get a sorted list put everything in MB and sort : du -m * | sort -n Or use tool such as DiskReport to generate a report of full disk tree.


8

You can use: du -d 0 -h directoryname From man du: -d, --max-depth=N print the total for a directory (or file, with --all) only if it is N or fewer levels below the command line argument; If you want a GUI application to do that, you can use Disk Usage Analyzer (or baobab), to check: Or use the 'Properties' feature (in most file ...


10

The -s option for du will give you an output which is just the summary, so swap your command to: du -sh /path/to/directory


5

ls -l /home shows you that there are 2 users - sougata and sougatapc. Each of them will have sub-directories in them such as Downloads, Documents, Pictures etc., which you can list by, ls -l /home/sougata. Your files are stored in these sub-directories, most probably and are not lost. To get a better analysis of your disk, use Disk Usage Analyzer, which ...


1

It is a game made with Scratch (https://scratch.mit.edu/). But it seems to be one of the older (offline) version of Scratch. You can install Scratch with sudo apt-get install scratch or by searching for "Scratch" in the Software Manager


1

The script is legitimate but poorly written. Its purpose is to put files under version control, using subversion, also called svn, if they are not already control. Suppose, for example, that subversion reports the following about your current directory: $ svn status ? something.c M other.h This means that something.c is not currently under ...


0

I followed this link: http://ubuntuforums.org/showthread.php?t=2226702 This solved the problem and I can see my device (Meizu MX4 Ubuntu Edition) in the file manager and transfer files without any problems. Thak you very much!


0

Doh ! If it is just one or a few directories, why not have aliases in your bashrc or whatever init files? For example: alias abc='cd /tmp/"a b c"' Then whenever you want to go in there, just type abc


2

This might be a completely bogus answer, or it might turn out to be absolutely brilliant. I haven't decided yet. Create 3 101GB (100 + 1 for some extra wiggle room) disk image files, and place the disk image files on the respective drives. Then put those disk images in RAID. You should be able to treat "/media/[drive]/image1.img" just like /dev/sda1 in a ...


2

You need to check the system calls that are associated with the relevant commands to get low level idea of whats happening. The tool to trace system calls is strace. For example if i run strace touch foobar.txt to check the system calls associated with creating an empty file using touch the most notable system call (along with others) is : ...


1

The simplest way is to double click on the directory name (assuming it is visible on the screen), then type cd followed by space and click the wheel button on your mouse and it will copy and paste the directory name that you have highlighted. Pressing the enter key will then change to the directory required. I use this procedure all the time and it's not ...


0

Solution made by OP No built-in command found here . But finally I am able to write a C program to use cd(lets call my program icd == (inode cd) ) to enter in a folder using inode value. Here I am posting the raw code. But there is a fundamental problem I have faced here. While coding execution a C code from a bash needed to create child process under the ...


0

This is my answer as I understood the OP. You can do it like this ls /etc/apache2/sites-available > student_site.conf This will add list of files from the directory to a text file.


2

If you need a single file, create an archive tar -cvf sites-available.tar /etc/apache2/sites-available The created archive file is sites-available.tar. To merge all files into one find /etc/apache2/sites-available -print0 | xargs -0 -I file cat file > sites-available.merged And if you need only the filenames find /etc/apache2/sites-available ...


0

This thread reminded me that you can open a directory with vim and browse it from there with arrow keys and enter. Which is about all I wanted. :+1: vim .


1

From Settings -> Displays; There is a place that named "Scale for menu and title bars" or "UI scale" You can use there. One more option unity-tweak-tool; To install; sudo apt-get install unity-tweak-tool To Run from terminal ; unity-tweak-tool


2

You can use the -d command. Quoting from man tar: -d, --diff, --compare find differences between archive and file system This might be very time-consuming, though. Example in action: $ tar -Jcf bin.tar.xz bin $ echo foo >> bin/login.sh $ tar -Jdf bin.tar.xz bin/login.sh: Mod time differs bin/login.sh: Size differs Or, is there something ...


7

You can make Tab rotate the available folders instead of listing them. Edit the file ~/.inputrc and add "\C-i": menu-complete "\e[Z": "\e-1\C-i" If you want it for all users, edit /etc/inputrc instead. Press Ctrl + x and Ctrl + r to make it effective. Now use cdTab to navigate to your folder without writing its name. cdShift + Tab will rotate in the ...


5

You can use shell wildcards. For instance, I can do cd a?b?c?d or cd a\*b\*c\*d And it will expand the wildcards to the actual name and change to that directory. Assuming that's the only directory which matches. If you have both a b c d and a1b2c3d, then cd a?b?c?d will expand to either cd a1b2c3d a b c d or cd a b c d a1b2c3d (the actual order will ...


1

Not sure if that's exactly what your asking for, but zsh has some neat tricks to access a directory by other means than typing the directory's strict name; for one, you can type a part of the name and it will expand to the directory's full name, which allows for very useful things, for example: Hitting TAB...


17

Any entity in (most) file systems on Linux has an unique identifier called an inode. Notice that a file can have more than one name (hardlink), but directories have just one link in all the filesystems I know of. Notice that the concept of inode is local to the filesystem, so that in two different devices (partition or whatever) the uniqueness is not ...


4

You can find this directory in a file manager, e.g. nautilus and just drag and drop it to terminal. If you previously type cd in terminal, you will get the command.


0

You can also use terminal; java -jar /home/al0s/Downloads/asd.jar without installing new things.


1

If you already install java, you can try command line to start minecraft. open the terminal in where the jar file is. for e.g. my "program.jar" file is in Desktop folder. cd Desktop And then execute the command. java -jar program.jar


2

You could try putting them on a diet, however this may work better than that: ;-) Open the Preferences menu via the Files menu Set the Default zoom level to Small Close the Nautilus Window and open another one Default Small


0

After what DevRobot mentioned you'll want to be sure you're using the right version of Java. This tutorial might help: How to set default Java version? java -version Will tell you which version you're running. sudo update-alternatives --config java Will let you select which version of java to use when you have multiple versions installed (open source ...


0

You need to install java. This command installs Java on your system: sudo apt-get install -y openjdk-7-jre openjdk-7-jdk To run Java applications in your browser: sudo apt-get install icedtea-plugin To run Minecraft, you'll need to install Orcale Java: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install ...


0

Like the asker, I too mainly used the Dash for opening applications. There are things (e.g. those mentioned above by others) that can speed up the Dash. However, I found start startup speed remained an issue - presumably due to re-indexing. The best solution for me was to use "Gnome Do" instead. It's very neat and very fast. It's also in the ubuntu ...


2

I would suggest a tool called NitroShare. Install it and it will instantly recognize any other computers on your LAN that are also running NitroShare, even if they're Windows or OS X. You don't even have to know the other IP address. Basically all you do is launch the program, then click on the icon in the upper-right-hand-corner and choose Send Files or ...


0

ifconfig maybe help? vodka@vodka-PC:~$ ifconfig eth0 Link encap:Ethernet HWaddr 0xxxxx inet addr:192.168.1.37 Bcast:192.168.1.255 Mask:255.255.255.0 My IP - 192.168.1.37


0

May not be what you really want but under Preferences, than Display, and Icon Captions you can choose location. Its not the title bar but it's under the files.


0

Steps I've taken I looked into the Nautilus preferences just in case you missed something. You know. Just in case. I looked into the hidden preferences of Nautilus using dconf-editor, in case the option is there but just hidden away. I searched online for a few minutes for solutions I glanced at the source code of the version of Nautilus included in Ubuntu ...


7

The cache folder is a place programs stored data they may need again, it is kept for speed but is not essential to keep. It can be generated again or downloaded again (depending on the data and the program). If your hard drive is really filling up it may be worth checking the .cache folder but it is unlikely to be too huge. If it gets too big you can delete ...


5

As you can deduct from its name, it's a cache. Deleting its content doesn't harm your system. I've removed my cache folder many times without any problems. At the latest after a new login, everything is back to normal. But you will notice an increased activity of your system because the cache of the various programs will be recreated.


1

following the answer of @aman and @tuxdna, because dmg2img doesn't seem to work on compressed dmg images. so i made a bash script (tested on ubuntu 14.10) to automatize the process of : extracting with 7z in a temp folder looking for which partition to mount copy the hfs/hfsplus folder/partition somewhere else delete the temp folder mount the partition ...



Top 50 recent answers are included