convert jpg to pdf

in my Ubuntu 19.10 when trying to convert .jpg to .pdf : convert gives : joso@joso-Aspire-ES1-433:~$ convert ‘/home/joso/Desktop/Marticeva etaziranje/IMG_20200104_102541.jpg’ output.pdf convert: no decode delegate for this image format `JPG’ @ error/constitute.c/ReadImage/562. convert: no images defined `output.pdf’ @ error/convert.c/ConvertImageCommand/3273. I can open jpg file. In terminal: joso@joso-Aspire-ES1-433:~$ file /home/joso/Desktop/Marticeva\ etaziranje/IMG_20200104_102541.jpg /home/joso/Desktop/Marticeva etaziranje/IMG_20200104_102541.jpg: JPEG image data, Exif…

Details

Create new session/window name that contain dot

I have a variable as below (all commands in this post issued in a shell bash/zsh): var=”test.abc” tmux new-window -n ${var}-windows in the new created window I issue this command: var=”test.abc” tmux send-keys -t$var-windows “echo dafsd” Enter I got the error: can’t find pane: abc-windows I try another command: tmux send-keys -t test\.abc-windows “echo dafsd”…

Details

Unknown display causing elongated screenshot

I’m facing some problems with the display. I had this previously but I cannot exactly remember how I solved it then… Okay here is the thing: Login Screen – Misbehaviour What have I tired, didn’t work this time: https://askubuntu.com/questions/398903/unknown-display-besides-laptop-built-in-display-old-question-but-with-no-answer https://askubuntu.com/questions/362081/two-monitors-when-only-having-one-in-13-10 https://askubuntu.com/questions/283018/ubuntu-detects-2-monitors-when-i-only-have-one Look in /sys/class/drm for a list of your computers outputs.Mine was labelled as “card0-VGA-1”.…

Details

Need help with Perl regex commenting out lines in html

I am trying to comment out a line item entry in a bunch of html documents. I need to match a pattern that has a few variations and the substitution will the be matched pattern surrounded by <!– –> The variations are as follows: <li><a href=”latest-news.htm” >Latest News</a></li> <li><a href=”pages/latest-news.htm” >Latest News</a></li> <li><a href=”../../latest-news.htm” >Latest…

Details