Hot answers tagged

15

I don't know of a single-command way to do this. The GUI programs are doing a fair bit of interrogation of the disk to take the "right" approach and you'll need to do some of that work yourself. You don't need sudo, though, and I think the resulting sequence of events is relatively painless. The Short Answer Use udisksctl from the udisks2 package: ...


6

This command work fine for me: dbus-send --session --type=method_call --dest="org.freedesktop.FileManager1" "/org/freedesktop/FileManager1" "org.freedesktop.FileManager1.ShowItems" array:string:"file:///etc/hosts" string:""


5

Another method besides what @christian mentioned that does not require config file edit is to add the folder as a bookmark: Step into the folder you would like to add Bookmarks -> Add Bookmark After you added a folder to the bookmarks, you will be able to drag-and-drop additional folders by dropping them on the Bookmark label.


4

First method Installing caja-open-terminal via : sudo apt-get install caja-open-terminal After type in terminal : caja -q


3

in your home folder, inside .config theres a file called user-dirs.dirs, just edit that file to your liking. Heres a copy of mine XDG_DESKTOP_DIR="$HOME/Desktop" XDG_DOWNLOAD_DIR="$HOME/Downloads" XDG_TEMPLATES_DIR="$HOME/Templates" XDG_PUBLICSHARE_DIR="$HOME/Public" XDG_DOCUMENTS_DIR="$HOME/Documents" XDG_MUSIC_DIR="$HOME/Music" XDG_PICTURES_DIR="$HOME/...


2

The thumbnails are likely cahced in ~/.cache/thumbnails - if Caja uses GnomeDesktopThumbnailFactory or is based on some similar code. A bit more detail here. The thumbnail name is a md5 hash of the file path; file:// + full path Thus: find ~/.cache/thumbnails -name "$(printf "%s" "$file" | md5sum | cut -d' ' -f1)*" Where file is file:///full/path/to/...


2

I am not sure if you are hell bent on getting the image that your thumbnail displays or you just want to get "one" frame out of the video to identify it but if your desire is the latter, may I suggest using cvlc, which is the command line interface of vlc for Linux. After you install it, it can very easily extract frames out of mp4 videos (may be other ...


1

After installing caja-actions, reboot the pc, then run $ caja-actions-config-tool or open it from the menu.


1

Loop mount of simple image file via `/etc/fstab' In a test system of Ubuntu Server 20.04.3 LTS I created an image file similar to yours, $ dd if=/dev/zero of=file.img bs=1M count=1000 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 5.90297 s, 178 MB/s $ sudo mkfs.ext4 file.img [sudo] password for tester: mke2fs 1.45.5 (07-...


1

I believe they’re defined in ~/.config/gtk-3.0/bookmarks. You’d use file:///path/to/directory syntax.


1

Yes, you can run an executable from a file manager such as Caja. Say you have a file hello.c in the home directory /home/User containing a simple "hello, world" program with no GUI, such as: #include <stdio.h> int main() { printf("hello, world\n"); } and the program is compiled by running gcc -o hello hello.c to generate an executable file ...


1

Try this: right click on the file click on "Open with another application" right click on the association you want to remove click on "Forget association" The information is saved in ~/.config/mimeapps.list And is shared also with Files and other programs. So you can use Files to edit those associations too and they will work in Caja.


1

Sorry, this is a long answer. I hope you learn something from it, but I tried to most directly answer your question in the next paragraph and then use the rest of the answer to elaborate on what this means for editing settings outside the caja GUI itself. A lot of caja's info and settings can usually be found stored in a dconf GVariant database (a binary ...


1

Do you have meld installed? If so, the "Differences..." button is provided as part of meld's integration. To change the application invoked would apparently require uninstallation of meld (in which case the "Differences..." button will no longer be present) and installation of a custom application designed to similarly integrate with caja. Bit of background....


1

You can create it with the launcher UI shown, and then edit the resulting ~/Desktop/*.desktop file yourself to add a Path=... line. What doesn't work is if you put Exec=prog_name rather than duplicating the whole path. So it has to look like: ... Exec=/path/to/prog Path=/path/to/ ...


1

I'm not sure about selecting the file, but you're telling caja to open file $filename, when what you really want to do is to open the directory that contains $filename. So instead do this: $ caja ~/Documents/Images However as I stated, this will not select a particular file. That capability does not appear to be present in Caja.


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