I flash the bootloader on flash demonstrator(windows) I work on ubuntu 17.04 64 bit, dfu-util 0,8 installed,

ATTRS{idProduct}=="1001", ATTRS{idVendor}=="0110", MODE="664", GROUP="dialout"
ATTRS{idProduct}=="1002", ATTRS{idVendor}=="0110", MODE="664", GROUP="dialout"
ATTRS{idProduct}=="0003", ATTRS{idVendor}=="1eaf", MODE="664", GROUP="dialout" SYMLINK+="maple", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idProduct}=="0004", ATTRS{idVendor}=="1eaf", MODE="664", GROUP="dialout" SYMLINK+="maple", ENV{ID_MM_DEVICE_IGNORE}="1"
Is the serial device appearing at all ?
Note. If you downloaded the bootloader from a few months ago, it did not originally enumerate as a serial device before you uploaded your first sketch
This is because the bootloader is only the DFU device, and the Serial (or other USB e.g. HID ) devices are created as part of the sketch, as part of the core (even if you don’t call Serial.begin())
But a lot of people found this confusing, so I updated the bootloader to contain a dummy sketch that does some Serial.print()’s
Hence, if you have just installed the bootloader, and open the Serial Monitor, you should see it spitting out messages
If you don’t see that, you have not selected the correct Serial port, or the bootloader is not working correctly

but when I try to upload “blink” I get the same error as shown in first image
Once the USB bootloader is installed, Boot0 and 1 need to be set back to low to prevent the MCU entering its internal Serial bootloader
What appears to be happening in your case is that the IDE is not sending the signal to the sketch to tell it to reboot into the bootloader, ready for upload.
However I’m not a linux user so someone else will need to help you debug what you are doing wrong
https://www.arduino.cc/en/Guide/Linux#toc6

I forget which pin it is on each bootloader version
Check in config.h
#elif defined TARGET_GENERIC_F103_PC13
#define LED_BANK GPIOC
#define LED_PIN 13
#define LED_ON_STATE 0
// Button (if you have one)
#define BUTTON_BANK GPIOC
#define BUTTON_PIN 14
#define BUTTON_PRESSED_STATE 1
– have the command line ready e.g. dfu-util -a 2 -D sketch.bin, just short of hitting enter
– press reset (on blue pill – not your pc)
– hit enter (you have 6 fast blinks of time to do that, miss that repeat all over)