This follows up my previous question: How to check if PDF has been digitally signed?.
Just in doubt a document has been digitally signed (e.g. with Adobe), how to remove the signature?
In particular, does "print to file" remove it?
This follows up my previous question: How to check if PDF has been digitally signed?.
Just in doubt a document has been digitally signed (e.g. with Adobe), how to remove the signature?
In particular, does "print to file" remove it?
I'm on Xubuntu 18.04.4 LTS. I received a document, then forwarded it to other people who should be able to modify it. However digital signatures might prevent that.
How do I check if Adobe was used to sign the document? (without Adobe reader)
EDIT: related questions:
I installed android-sdk via apt
, on xubuntu 18.04.4 LTS But there's no android
command in my path! In this question, they locate the tools for a home installation. But I navigated to /usr/local/lib/android/tools
and it just contains the following:
drwxr-xr-x 2 root root 4,0K mars 28 20:10 bin/
-rw-r--r-- 1 root root 1,1K févr. 28 2017 package.xml
drwxr-xr-x 4 root root 4,0K mars 28 20:10 proguard/
-rw-r--r-- 1 root root 69 févr. 28 2017 source.properties
and in bin/
:
lrwxrwxrwx 1 root root 12 mars 11 2019 e2fsck -> /sbin/e2fsck*
lrwxrwxrwx 1 root root 15 mars 11 2019 fsck.ext4 -> /sbin/fsck.ext4*
lrwxrwxrwx 1 root root 15 mars 11 2019 mkfs.ext4 -> /sbin/mkfs.ext4*
lrwxrwxrwx 1 root root 15 mars 11 2019 resize2fs -> /sbin/resize2fs*
lrwxrwxrwx 1 root root 27 mars 11 2019 screenshot2 -> ../../../../bin/screenshot2
lrwxrwxrwx 1 root root 13 mars 11 2019 tune2fs -> /sbin/tune2fs*
This doesn't make sense to me. Is the ubuntu package completely out-of-date?
I saw "Complete Installation Guide for Android SDK / ADT Bundle" as well, but I thought installing the whole android-studio gas-machine wasn't necessary.
My final goal is simply to run an android emulation, in order to install a few apps. I also tried android-x86 within virtualbox, but for some reason some apps I needed didn't appear in the google store.
So could someone explain me first how to install and run the android-sdk emulator
command, or alternatively how to set up an android virtual machine with maximum compatibility?
PS: I tried to use ubuntu-make
as well, but neither the snap install nor the ppa install succeeded to download the android development tools.
[EDIT]
result of dpkg -L android-sdk
:
/.
/usr
/usr/lib
/usr/lib/android-sdk
/usr/lib/android-sdk/tools
/usr/lib/android-sdk/tools/bin
/usr/lib/android-sdk/tools/proguard
/usr/lib/android-sdk/tools/proguard/bin
/usr/lib/android-sdk/tools/proguard/lib
/usr/share
/usr/share/doc
/usr/share/doc/android-sdk
/usr/share/doc/android-sdk/README.Debian
/usr/share/doc/android-sdk/changelog.gz
/usr/share/doc/android-sdk/copyright
/usr/lib/android-sdk/tools/bin/e2fsck
/usr/lib/android-sdk/tools/bin/fsck.ext4
/usr/lib/android-sdk/tools/bin/mkfs.ext4
/usr/lib/android-sdk/tools/bin/resize2fs
/usr/lib/android-sdk/tools/bin/screenshot2
/usr/lib/android-sdk/tools/bin/tune2fs
/usr/lib/android-sdk/tools/proguard/bin/proguard
/usr/lib/android-sdk/tools/proguard/bin/proguardgui
/usr/lib/android-sdk/tools/proguard/lib/proguard.jar
/usr/lib/android-sdk/tools/proguard/lib/proguardgui.jar
/usr/lib/android-sdk/tools/proguard/lib/retrace.jar
Instead I installed from the android site, but only the commandline tools, and then bin
only contains:
apkanalyzer avdmanager lint screenshot2 sdkmanager
and I get some errors when issuing sdkmanager
:
Warning: Could not create settings
java.lang.IllegalArgumentException
at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.<init>(SdkManagerCliSettings.java:428)
at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.createSettings(SdkManagerCliSettings.java:152)
at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.createSettings(SdkManagerCliSettings.java:134)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:57)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
Someone suggests Anbox, but if I understood correctly it's a different emulator. From what I grasped, it has different capabilities and most notably I believe it creates Android devices without any google app preinstalled. If I'm wrong, I'm willing to make a try.
[EDIT 2]
Concerning the above java error, I fixed it following this. Now I just need to get set up on how to install and run an emulator.
In Xfce, how to list and remove all existing non-default mappings associated with CtrlA ?
I installed Xubuntu 18.04.03 recently, and restored part of the ~/.config/xfce4/
directory from a previous backup.
Hitting CtrlA does nothing but Ctrl:
running xev -event keyboard
, I see the "Press" and "Release" of "Control_L", but in between, no "A", just this:
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 39 0 0 0 32 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
In TTY, it works as expected.
Someone on Askubuntu already encountered this problem, but in my case I can't find a mapping similar to CtrlA either graphically in Xfconf "xfce4-keyboard-shortcuts" or by grepping ;a
in ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
.
How to get a functional CtrlA again?
After quite a lot of searching, I see nowhere how to change the colors of my Qt applications.
I already created a custom dark gtk theme in ~/.themes/
by modifying the default Ambiance, but now I need to also change Qt apps. And funnily, they already display in dark (sometimes too dark) so I may have changed it a long time ago (no idea how).
For example I use Scribus and Mendeleydesktop that use Qt (Qt5 and Qt4 respectively).
I tried:
to create a css style sheet with background: blue; color: green;
as a test, but executing:
mendeleydesktop -stylesheet myqtstyle.css
does not affect anything (just complains: Could not parse application stylesheet
)
qt4-config
, no effect.
I searched in gconf-editor
and dconf-editor
if there are settings for Qt, no luck.
I modified the gtk-3.20, gtk-3.0 and gtk-2 files of my theme, no effect.
Does someone have a simple solution for customizing my Qt apps?
I can't find how to open a new svg document with Inkscape, simply from the terminal.
If the document specified as argument (or via -f
) does not exist, there is just an error saying it doesn't exist, and then it opens an unsaved new document.
I tried using the verb FileSaveAs
like this for example:
inkscape --verb FileSaveAs mynewfile.svg
but FileSaveAs does not take arguments, it just opens the graphical window for this action.
I might be persnickety, but I would find it more convenient to be able to create a new file directly from the command line instead of having to launch this window and click to the right directory...
I just upgraded to Ubuntu 16.04 from 14.04, and I use Unity.
The gnome-terminal seem to have lost options to control its appearance and it's very disappointing... :(
For example, I checked with screenshots from the previous version, the font appears wider: indeed for fontsize 11, I could fit 93 characters on a row using a half screen, whereas only 80 now...). I am pretty sure there was an option before to control the aspect ratio of the font, and personally I prefer to have more characters on a line...
Has it disappeared forever? Is there a workaround?
Also, now, there is the scrollbar on the right that does not disappear. How to get rid of it?
I am sorry, I am not experienced with gcc and installing packages from source, and can't fix my problem:
I am trying to install ncmpcpp from source (github) on Ubuntu 14.04 (the reason is that visualizers are colored in version 0.7.1).
So previously I installed mpd, and ncmpcpp from the repository (version 0.5.10) worked great.
Now my installation steps (after having removed ncmpcpp with apt-get):
git clone https://github.com/arybczak/ncmpcpp
cd ncmpcpp
./autogen.sh
The error I get is:
configure: error: libmpdclient >= 2.8 is required!
However, here is the result of apt-cache policy libmpdclient2
:
libmpdclient2:
Installé : 2.9-1ubuntu1
Candidat : 2.9-1ubuntu1
Table de version :
*** 2.9-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
After some googling, I tried this command: ldconfig -p | grep mpdclient
:
libmpdclient.so.2 (libc6,x86-64) => /usr/lib/libmpdclient.so.2
But I can actually verify that pkg-config does not find it:
$ pkg-config --exists --print-errors "libmpdclient2"
Package libmpdclient2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libmpdclient2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libmpdclient2' found
Trying with "libmpdclient"
returns the same.
I searched my computer using sudo find / -name "libmpdclient2.pc"
and nothing came up.
When you read the configure.ac file (whose syntax is unfamiliar to me), you see this, and I wonder if it checks for libmpdclient
or libmpdclient2
:
dnl ==============================
dnl = checking for libmpdclient2 =
dnl ==============================
PKG_CHECK_MODULES([libmpdclient], [libmpdclient >= 2.8], [
AC_SUBST(libmpdclient_CFLAGS)
AC_SUBST(libmpdclient_LIBS)
CPPFLAGS="$CPPFLAGS $libmpdclient_CFLAGS"
AC_CHECK_HEADERS([mpd/client.h],
LIBS="$LIBS $libmpdclient_LIBS"
,
AC_MSG_ERROR([missing mpd/client.h header])
)
],
AC_MSG_ERROR([libmpdclient >= 2.8 is required!])
)
Sorry for the long post, I am out of clues. I have the feeling that this is a package for Archlinux users rather than Ubuntu ones but I like it a lot!