Category: Uncategorized
-
How to run Eclipse with debug info sent to console
By running it from command line with arguments -consoleLog -debug
-
How to build JAR from Eclipse plugin project
Right click project in project explorer window, choose “Export…“, then choose “Deployable plug-ins and fragments” under “Plug-in Development“. After that everything should be simple – when choosing directory to export be aware that inside that directory plugins subdirectory will be created and plugin jar will be placed in it (rather than in directory itself).
-
Clean package cache
Run pkg clean. Quite logical, but I keep forgetting command.
-
Importing SSL certificates into Mono store
Run cert-sync –user /etc/ssl/cert.pem. Omit –user to synchronize for entire system (note that this installs them in /usr/share/.mono rather than /usr/local/share/.mono). Without this you might be experiencing errors like “Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED” or similar
-
When application is not listed in preferred applications in MATE
Reason for this is application .desktop file missing MimeType specification. For example for me mplayer and thunderbird are not listed as choices for video and mail respectively. To fix this edit application’s .desktop file (in /usr/local/share/applications directory, or in ~/.local/share/applications) and run update-desktop-database afterwards (with -v to show its warnings). For thunderbird I usedMimeType=x-scheme-handler/mailtoand for…
-
Get list of manually installed packages
To get list of manually installed packages (ie, those not installed as dependencies) use this command:pkg query -e ‘%a = 0’ %o | sort