Ubuntu 14.04 Shotwell profiles

I would like to know if I can run Shotwell photo manager within the same ubuntu username with different profiles. I have a series of photos, pictures and imagery. some of them are personal photos...

execute Bash script on form submission through browser in php

I am trying to execute bash command(to open an application in system) via a browser in php. (Example) If I run the command in terminal it opens up Shotwell(image viewer) and displays the image. I...

Best way to get rows changed in an sqlite db

I'm watching an sqlite db which an app uses. I want to know what changes have been made since I last checked. I can dump to sql and diff against the last dump, but it seems there should be a...

How can I generate ascii "graphical output" from R?

I believe R can generate stem-and-leaf for ascii histograms, and scatter plots using this code from Matt Shotwell. Can it also generate ASCII based line graphs, like this from GNUPlot?

Blurred borders in Cairo

What is proper way to draw a blurred rectangular border using the Cairo API? I am writing a patch for Shotwell to add a blurred shadow to the thumbnails in the thumbnail view. For now I am...

SQLite update fields with replacing words

I'm not good in SQLite, so there came the question: how can I update certain column from fields like /media/Soft/furtherpath to /media/username/Soft/furtherpath? The problem is that after...

Why do gnome apps ignore parts of gtk 3 themes?

I am extremely new to making gtk 3 themes, and I have created a theme that is working with any app that is using titlebars, but any gnome app (such as shotwell, or rhythmbox) is ignoring the theme...

Converting from YUY2 to RGB24 from V4L2 API

I am trying to use the V4L2 API to capture images and put the images into an opencv Mat. The problem is my webcam only captures in YUYV (YUY2) So I need to convert to RGB24 first. Here is the...

How to program a "decimal HTML decoder"?

I wish to create (in the R language) a "decimal HTML decoder" such as the one implemented in this website: http://www.hashemian.com/tools/html-url-encode-decode.php But I'm not sure where to...

SQLite Database structure for image library

I'd like to create an application for managing, searching, and displaying a database of image files, similar to Picasa or Shotwell, but I have little experience with databases. I intend to use...

Creating tiff 16 bit images and jpg thumbnails from it

I'm using magick++ to create 16 bit tiff images. They are monochromatic, so all three channels have the same values. Once the image is completed I create png or jpg thumbnails from it. I can...

Set all images to landscape with bash

In the file explorer or in shotwell some images appear to be in portrait mode some are in landscape. But the identify command can't differentiate them : Landscape : IMG_0064.JPG JPEG 3648x2736...

Process image using opencv

I have a number of microscopic images and I want to apply detection algorithms on those images using OpenCV. For that, I need to apply some image processing methods. But I am not sure which will...

Cimg Display fullscreen

I have written a C++ program to perform a slide show that works perfectly sequentially and randomly on my ubuntu desktop and also on the target Raspberry Pi where the slide show should run. This...

What is the relationship between Vala VAPI and GObject Introspection?

First, some context: I'm a Python developer who has written a medium-sized application using PyGObject, taking advantage of GObject Introspection to access things like GSettings, etc. Some of my...

Ruby SQLite wrong argument type

Code @db = SQLite3::Database.new 'db.db' works perfectly with ruby-1.9.3-p194 and returns error with ruby-2.0.0-p353 (rvm 1.24.7): wrong argument type nil (expected Hash) (TypeError) I...

I want to place an image in tpp presentation in linux

I want to place an image in a tpp presentation. I am using the code below to show the image --exec shotwell Desktop/a.png However when I run tpp filename.tpp then it is showing me this error...

Page print log a copy and qr tracking with greycode or barcode auto inserts

Looking for a robust system to track, print & scan and make copies from an image database as well as hack edit speedily a formal PDF documents in relevance to diagrams or schematics in them for...

How to get an object from an json array of objects based on a value inside an object in python?

I have a json array of objects that looks like this: { "testcases": { "testcase": { "custom-fields": { ...

Is there a generic update notification/pub sub system for GTK?

I'm building a PyGTK application with several widgets that when changed, need to notify other widgets about the change. I would like to avoid code like this: def on_entry_color_updated(self,...

Finding a modified image - image forensics

I have a couple of standard ways of detecting a modified image such as Luminance gradient Copy move detection Metadata Extraction Histogram analysis ELA(Error level analysis) Quantization matrix...

in linux can't find a file even though "locate" returns its location

I installed postgis-9.3 on ubuntu 14.04, it should have a function called "shp2pgsql". when I "locate" its location, it returns the results, but actually it's not there. [email protected]:~$ locate...

gentoo ask me to reinstall all packages I just have unmerged

I want to completely unmerge webkit-gtk in the system, to do that, I firstly check all the packages that are dependent on webkit-gtk by: enquire depends webkit-gtk ae429-3777 chenming # equery...

Roll Your Own Linked List/Tree in R?

I'm trying to wrap my head around the basic concepts of the R programming language and am finding it difficult since R is geared towards statistics instead of general-purpose programming. I can't...

Importing Users into Active Directory

I'm trying to create a script that will import a bunch of users into AD using the following CSV file. I need the users to be created into a custom OU based on the department and if the OU does not...

Ubuntu 18.04 libosmesa6 depends libglapi-mesa (= 18.0.0~rc5-1ubuntu1) but 18.0.5-0ubuntu0~18.04.1 is to be installed

Quite a few people encounter this issue, especially those who want to use Gym and Mujoco for reinforcement learning. The installation process is frustrating, but luckily some people spot part of...

Picasso fails to decode some images: skia decode returned false

Update: It seems that this question boils down to that some images are correctly decoded, while some don't. If I convert the non-working JPEGs to pngs, they work. None of my images taken directly...

How to fix the errors encountered while processing installation

I wanted to reinstall java which was accidently deleted, using this post. As mentioned in the above post on runningsudo apt install default-jre, I got this error: Reading package lists......