mate-desktop / caja-extensions Goto Github PK
View Code? Open in Web Editor NEWSet of extensions for Caja, the MATE file manager
Home Page: http://www.mate-desktop.org
License: GNU General Public License v2.0
Set of extensions for Caja, the MATE file manager
Home Page: http://www.mate-desktop.org
License: GNU General Public License v2.0
Set of extensions for Caja, the MATE file manager. Debug ----- In order to see caja debug messages, you need to set the CAJA_DEBUG env variable. e.g.: $ CAJA_DEBUG=y caja Notes ----- To test caja-extensions with a custom caja build you need to specify the caja-extension dir. e.g.: $ ./configure --with-cajadir=/usr/local/lib/caja/extensions-2.0/ \ --prefix=/usr/local
This commit let caja-extensions in guix can not show proper language,
for example: show "Chinese" when LC_ALL=zh_CN.UTF8, when I revert this commit and try again,
the problem disapear.
guix system do not use "/usr/share/locale/".
In caja's preferences window, extensions tab, a selected extension may be customized if options are available. I'd like to request that the gksu extension have an option added that allows toggling of the actual command used, between gksu and gksudo.
caja 1.10.4 caja-gksu 1.10.1 on debian sid 32bits
When gksu is disabled in the preferences, the extension is loaded anyway and works correctly.
When enabled, is loaded twice and the second instance correctly fires errors in .xsession-errors about
"Refusing to add non-unique action 'Gksu::open_as_root' to action group 'DirExtensionsMenuGroup"
and several other related gtk errors on every action done in ui.
I straced the process and noticed that all installed extension libraries are always loaded, despite the preference status. I suppose this is by design. But other extensions are not activated if disabled, while gksu is.
I searched anywhere to find a trace of previous installations (mate upgrade is not always straightforward on debian ;-)) but i found nothing. Tell me if I can give other details or run any kind of test.
Regards
Claudio
On openSUSE Tumbleweed we only ship gupnp-1.2 (1.2.1), so no gupnp-1.0. So we can't build caja-extension-sendto-upnp out-of-the-box anymore.
I created the following patch to let it build again:
--- configure.ac
+++ configure.ac
@@ -196,7 +196,7 @@
fi
;;
upnp)
- PKG_CHECK_MODULES(UPNP, gupnp-1.0 >= $GUPNP_REQUIRED,
+ PKG_CHECK_MODULES(UPNP, gupnp-1.2 >= $GUPNP_REQUIRED,
enable_upnp=yes, enable_upnp=no)
if test "${enable_upnp}" != "yes" ; then
sendto_plugin_error_or_ignore "you need gupnp installed to build the upnp plugin"
--- sendto/plugins/upnp/upnp.c
+++ sendto/plugins/upnp/upnp.c
@@ -206,7 +206,7 @@
return FALSE;
g_free (upload_cmd);
- context_manager = gupnp_context_manager_new (NULL, 0);
+ context_manager = gupnp_context_manager_create (0);
g_assert (context_manager != NULL);
g_signal_connect (context_manager, "context-available",
G_CALLBACK (on_context_available), NULL);
Is this the right way to do it? Would you accept a proper PR, the configure.ac thing needs some more love.
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
Making all in upnp
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/caja-extensions-1.27.0/sendto/plugins/upnp'
/bin/sh ../../../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DMATELOCALEDIR=\""/usr/share/locale"\" -I../../.. -I../../../sendto -DDATADIR=\"/usr/share\" -DICONDIR=\"\" -Wall -Wmissing-prototypes -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gupnp-1.6 -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -c -o libnstupnp_la-upnp.lo `test -f 'upnp.c' || echo './'`upnp.c
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DMATELOCALEDIR=\"/usr/share/locale\" -I../../.. -I../../../sendto -DDATADIR=\"/usr/share\" -DICONDIR=\"\" -Wall -Wmissing-prototypes -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gupnp-1.6 -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -c upnp.c -fPIC -DPIC -o .libs/libnstupnp_la-upnp.o
upnp.c: In function 'device_proxy_available_cb':
upnp.c:151:9: error: implicit declaration of function 'gupnp_service_info_get_introspection_async'; did you mean 'gupnp_service_info_introspect_async'? [-Wimplicit-function-declaration]
151 | gupnp_service_info_get_introspection_async (info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gupnp_service_info_introspect_async
make[4]: *** [Makefile:535: libnstupnp_la-upnp.lo] Error 1
The image should be resized with a 50% scale.
Green-Wall-Logo resized50scale
The resized image has the width value set in Custom size input (default: 1000 px).
MATE 1.24.0
1.24.0-1
Release 20.04.2 LTS (Focal Fossa) 64-bit
Kernel Linux 5.4.0-71-generic x86_64
steps to reproduce: Enable orca. Add an application to the desktop by highlighting it in the menus, right clicking it and selecting add this launcher to the desktop. Right click on the new icon and select "run as administrator". Expected results: orca should read the new application. Orca is silent, and can't see the window. In fact, it won't read anything until the application is closed, at which point it resumes as if you'd never launched it.
Don't fail to find upnp if gupnp-1.6 is installed.
configure fails to find upnp if gupnp-1.6 is installed (instead of gupnp-1.2)
remove any installation of gupnp-1.2
install gupnp-1.6
configure
observe that UPNP is not found:
checking for UPNP... no
checking for UPNP... no
configure: WARNING: you need gupnp installed to build the upnp plugin (disabling sendto plugin)
1.26
n/a
not distro specific
not specific to a distro, but see related bug after freebsd update to gupnp 1.5.0:
I would be really nice if, just like nautilus-dropbox, nautilus-seafile was ported to caja. I tried to convince them on haiwen/seafile-client#575 but they considered it not their task.
Seafile is a fully open source alternative to dropbox that can be easily self-hosted.
In caja, terminal should display after right click -> "open in terminal"
Nothing happened.
Steps is quite simple:
No MATE installed
caja version: MATE caja 1.18.3
caja-open-terminal version: 1.18.1-1
Arch Linux Linux arch 4.11.5-1-ARCH #1 SMP PREEMPT Wed Jun 14 16:19:27 CEST 2017 x86_64 GNU/Linux
My WM is openbox 3.6.1-3
I think maybe the problem lies in how the extension finds terminal-emulator, I've installed xfce4-terminal and xterm, no mate-terminal or gnome-terminal installed, so is there somewhere to specify what terminal-emulator I would prefer to use?
Hitting the hot key F4 opens the folder in a Terminal window.
The key F4 is currently not assigned as a shortcut to any Caja function.
F1 to F3 are already assigned.
Furthermore, F4 lies left of F5 which is often used as a make -B
shortcut.
Hitting the hot key F4.
1.24
Running Caja standalone in XFCE 4.14.
1.24.0-1 (focal)
Xubuntu 20.4.2 LTS
Not applicable: Caja is not installed by default on Xubuntu.
To be in French on Ubuntu.
Not in French. Currently it is only in English. I download the new caja-extensions.po with the strings translated, convert it to mo, copied on the good place, it is not yet in French. Maybe it should be an other name for the mo file? Because the package is currently caja-share. But in the po, the strings of all the extensions are present.
Install caja-share on your ubuntu mate, use the french localisation and see.
mate-desktop (1.12.1-1)
caja-share (1.12.0-1)
Ubuntu 16.04
sendto/pidgin and sendto/gajim build without the need of dbus-glib
sendto/pidgin and sendto/gajim still build-require dbus-glib which is deprecated upstream
...
1.24
1.24.0
Debian
1.26.0
1.26.0
Ubuntu MATE 22.04, Ubuntu MATE 23.04, Trisquel 11.
debian bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822595
quote from debian bug:
Hi,
caja-extensions depends on gksu, which is deprecated and
unmaintained. Thus we want to remove it from the archive.caja-extensions should switch to a supported and securer way to
become root, particularly one that doesn't mean running your whole
application as root (including the GUI), e.g. using polkit.Please try to do this before the Stretch release as we're going to
try to remove gksu this cycle.We'll bump this to serious when the list of rdeps is small and we're
getting ready to removing gksu completely.If you have any question don't hesitate to ask.
https://www.freedesktop.org/wiki/Software/polkit/
https://wiki.debian.org/PolicyKitCheers, Emilio
I have updated the code of parrillada (fork of Brasero with Caja support) and released caja-git (fork of nautilus-git). Don't know where to announce it to MATE Desktop community, so I'm doing it here. Hope it's ok.
caja-sendto /usr/share/cups/data/default-testpage.pdf
1.24.0
1.24.0-1
Ubuntu 20.04 LTS
https://bugs.launchpad.net/ubuntu/+source/caja-extensions/+bug/1864432
I miss the nautilus-wipe extension in caja.
No problems with debian at travis ci
Problems with debian at travis ci
https://travis-ci.org/mate-desktop/caja-extensions/jobs/641408674?utm_medium=notification&utm_source=github_status
It's probably caused by 45d8585
1.23.x
1.23.1
Debian
not released
@monsta @sc0w @flexiondotorg ping
Browse a network share with no freezes/hangs
sometimes i can browse a network share without problems, but other times when i go in to a folder on the share, caja freezes/hangs and i need to force quit caja and restart it to start browsing again on the share. i have tried nautilus and that is working fine, no hangs or freezes.
Open caja and it hangs, close it, open it again and it hangs after a while.
1.16
1.16.6
Debian 9
This patch we use in Debian to achieve this...
https://anonscm.debian.org/cgit/pkg-mate/caja-extensions.git/tree/debian/patches/1001_pkg-config-macro-not-cross-compilation-safe.patch?id=9325916788d822c262fe4dbed0cf9424827f6110
Please, create extension for Caja that adds "Search in this folder" menu item to context menu and opens mate-search-tool.
I mean about something like caja-open-terminal.
--- a/xattr-tags/caja-xattr-tags-extension.c
+++ b/xattr-tags/caja-xattr-tags-extension.c
@@ -101,7 +101,7 @@ static gchar *caja_xattr_tags_get_xdg_ta
GFile *location;
GFileInfo *info;
- uri = caja_file_get_activation_uri (file);
+ uri = caja_file_info_get_activation_uri (file);
location = g_file_new_for_uri (uri);
info = g_file_query_info (location,
G_FILE_ATTRIBUTE_XATTR_XDG_TAGS,
It would be nice to have tags support using xattrs. I made an extension that do this (only display them).
1.20.3
Debian 10
$$$ cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.1 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.1 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
$$$ cat /etc/issue
Linux Mint 17 Qiana \n \l
I did not have caja-sendto installed by default (this is not a bug), so the context menu was missing
sudo apt-get install caja-sendto
I had to link a sendto plugin related to bluetooth, which is installed with nautilus-sendto (I do not know if this one was alredy installed or was installed as a dependency of another package.
sudo ln -s /usr/lib/nautilus-sendto/plugins/libnstblueman.so /usr/lib/x86_64-linux-gnu/caja-sendto/plugins/libnstblueman.so
I tried it and it works. So the code related to libnstblueman.so from nautilus-sendto package can be copied to caja-sendto and it should work.
I have released clamtk-mate 0.02.01 and periscopio-mate 1.18.1. The first one adds an entry in caja context menu to scan files or directories for menaces. The second adds an entry in caja context menu to right click any movie or tv show video file and search & download the corresponding subtitle.
https://github.com/darkshram/clamtk-mate/
https://github.com/darkshram/periscopio-mate/
Demo video for clamtk-mate: https://www.youtube.com/watch?v=cUSpfMbjQpc
Demo video for periscopio-mate: https://www.youtube.com/watch?v=j7Hn5Xr1Jk4
As the caja-image-converter name implies, it should convert the image to a different file type (ie. png -> jpg or webp)
We can only rotate or resize the images.
Expected behaviour: claws-mail should open with a composer window with the destination filled in and the file(s) to be sent attached.
Actual behaviour: claws-mail opens but not with a composer window, the destination address is not filled in, and without
the file(s) to be attached.
Steps to reproduce the behaviour: Use Sendto from the context menu on a file showing in caja.
MATE general version: MATE 1.26.0
Package version: 1.26.0
Linux Distribution: Linux Mint 20.3 Una 64-bit
Additional information:
Starting caja-sendto from a command line and trying to send a file can produce these diagnostic messages on the terminal:
** Message: 02:51:19.927: Mailer type: 3
** Message: 02:51:19.928: Command: claws-mail
indicating the correct selection of claws-mail but no parameters are given in the command.
Looking in caja-extensions-master/sendto/plugins/emailclient/emailclient.c (from 1.27.0)
In function "send_files", this line (#242 in my emailclient.c)
cmd = g_strdup_printf (mail_cmd, mailto->str);
seems intended to combine mail_cmd with mailto->str, however it can only do that if the mail_cmd contains a "%s".
For claws-mail, mail_cmd does not have the "%s", so mailto->str is just thrown out.
I believe that for Thunderbird and Evolution mail_cmd does have the %s, but for balsa and claws it doesn't have it, so maybe this problem affects balsa as well (I can't easily test this).
For me the problem can be fixed up in the function "init" by changing these lines:
} else if (strstr (mail_cmd, "sylpheed") || strstr (mail_cmd, "claws"))
type = MAILER_SYLPHEED;
to these:
} else if (strstr (mail_cmd, "sylpheed") || strstr (mail_cmd, "claws")) {
char *mail_cmd_aux = mail_cmd;
mail_cmd = g_strdup_printf ("%s %%s", mail_cmd_aux);
g_free (mail_cmd_aux);
type = MAILER_SYLPHEED;
}
These lines were adapted from the code that follows in emailclient.c for Evolution and I present them for illustration only.
Hi all,
The open in terminal option is really great.
What I am missing, however, is a quick way to launch the terminal from the current directory without having to open the context menu.
Could we provide a default keyboard shortcut such as F4
?
Mint 17.1 32 bit mate edition.
Caja seems to be missing some of the useful extensions that are available in the repo for Nautilus and Nemo.
IMO, caja should have the same client extensions as nemo to provide a consistent/similar "mint" experience on both mate and cinnamon.
While there are more, the two that I find most useful that are missing are:
There is a caja rabbitvcs client available in the rabbitvcs repo, so rolling a package shouldn't be that difficult.
https://github.com/rabbitvcs/rabbitvcs/tree/master/clients/caja
In the larger picture, it would be great if caja had all the same extensions as nemo.
When it doesn't, it makes caja seem like it is not getting the same level of support as nemo.
W: caja-xattr-tags: spelling-error-in-description extention extension
N:
N: Lintian found a spelling error in the package description. Lintian has a
N: list of common misspellings that it looks for. It does not have a
N: dictionary like a spelling checker does. It is particularly picky about
N: spelling and capitalization in package descriptions since they're very
N: visible to end users.
N:
N: Severity: minor, Certainty: certain
N:
N: Check: description, Type: binary, udeb
Should it be possible to bind the action "open in terminal" to the key F4?
(Like in Lubuntu, it is very handy!)
What do you think of this?
Thanks.
Caja Shared folders are configured and work normally.
User is unable to configure and use shared folders from Caja.
Have error message in ~/.xsession-errors
file also
Caja-Share-Message: 11:11:41.190: Called "net usershare add" but it failed: 'net usershare' returned error 255
sudo apt-get install caja-share samba
1.26.0
1.26.0-1
Ubuntu MATE 22.04 LTS
Hi,
let me reaffirm #31 by saying that the open-terminal is really great.
Is there a way to integrate the open-terminal-call into the context menu of a 'folder-button' in caja's location bar?
Sometimes, I'd like to open a terminal in a place a little up in the hierarchy. Also, in list view that takes up the whole height of the window, I sometimes can't find a spot to right click the current folder. Of course, the shortcut is an option I am currently getting comfortable with. But it doesn't help me with my first 'issue'.
If you point me to the place where the context menus are created, I'll be happy to contribute this feature.
Best
Mirco
hello, my english is poor, and i'm not sure if you can understand me.
i just want to make my customed-menu-item show top of context-menu when i right-click on file. Is there anyway to achieve it?
thank you.
I'm currently working on an extension to add support to manage Tags on files. This extension is a new tab on the File Properties window.
You can see the tags associated with a file, add new tags and remove existing ones.
Features:
Current Limitations:
Missing features due to lacking support for extension settings/preferences:
Those missing features can be worked-around with dconf-editor
TODO:
The current name for this extension is caja-xattr-tags-property-page-extension
which I think is too long.. any suggestion ?
Mar 25 23:06:04 olamedia-mint kernel: [206560.620825] caja[22789]: segfault at 0 ip b675f791 sp bff5f9fc error 4 in libc-2.17.so[b66e1000+1ae000]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.