Friday, April 6, 2018

Change default values in gThumb flickr upload.


I frequently use gThumb to upload pictures to flickr and to avoid upload a file with the wrong privacy settings, I wanted to change the default values in the plug-in.


This is how I did it.


Changes are made in the file xport-to-flickr.ui
(save a backup).


I found the file in /usr/share/gthumb/ui/


So my path was:

/usr/share/gthumb/ui/export-to-flickr.ui



On line 38 we can see that ‘Private photos’ have the value of ‘4’.
21 <row> 22 <col id="0">0</col> 23 <col id="1" translatable="yes">Public photos</col> 24 </row> 25 <row> 26 <col id="0">1</col> 27 <col id="1" translatable="yes">Private photos, visible to family and friends</col> 28 </row> 29 <row> 30 <col id="0">2</col> 31 <col id="1" translatable="yes">Private photos, visible to friends</col> 32 </row> 33 <row> 34 <col id="0">3</col> 35 <col id="1" translatable="yes">Private photos, visible to family</col> 36 </row> 37 <row> 38 <col id="0">4</col> 39 <col id="1" translatable="yes">Private photos</col>
On line 339 the default are set to ‘0’ 336 <property name="visible">True</property> 337 <property name="can_focus">False</property> 338 <property name="model">privacy_liststore</property> 339 <property name="active">0</property> 340 <child>
Change it to a value between 0 and 4. 339 <property name="active">4</property>
No need to restart gThumb. Select a new picture, upload it and check on flickr so that the picture have been uploaded the way you intended. In a similar manner you can find and change any other default value as you see fit.

Thursday, December 14, 2017

System.IsPinnedToNameSpaceTree


I had some residual icons lingering in the navigation pane on a windows 10 and wanted to remove them.

Best way I found was to search the registry for System.IsPinnedToNameSpaceTree and change the value for that icon from 1 to 0.
There's a bunch of hits for System.IsPinnedToNameSpaceTree so make sure to pick the right one, the name of it should be the top value to the right.
If the icon have a rare name, you could search for that name instead and stop when you find System.IsPinnedToNameSpaceTree and set it to zero.

Lastly I should mention that you should first check so the icon can't be removed with a right click and "unpin from quick access", if you have that option - go with it.

Wednesday, September 27, 2017

Are you getting the error message:

Please check the NAS network preferences, and then reopen the app.

From Acronis True Image on your
Synology or Qnap.



You can solve this
by loading the page without ssl (https://).

Just use http:// and you may have to change the port at the end, the default DSM should be changed from :5001 to :5000



DSM example: 

http://"NAS-IP":5000/webman/3rdparty/AcronisTrueImage/index.html

Chaneg "NAS-IP" to the address you got the error massage from in the frist place.

Wednesday, March 30, 2016

SPF Space2u

Updatering: Space2u har publicerat en guide här



 - http://support.space2u.com/sv/epost/allmant/328-skapa-spf-pekare


Jag använder

  "v=spf1 a mx ptr a:mailout.telia.com a:smtprelay1.telia.com include:include.space2u.com -all"  

Av någon anledning så togs mellanslaget mellan domänerna bort när de sparades i DNS:en, därför fick jag ange 2 mellanslag.




Space2u har en SPF include-adress att ange include.space2u.com.
Adressen är inte en domän, utan en include som presenterar alla aktuella exitnoder.

Ange include.space2u.com i Include-fältet på exempelvis https://xnode.org/page/SPF_Record_Creator för att generera ett SPF-record som ser ut exempelvis så här "v=spf1 a mx ptr include:include.space2u.com -all".

Givetvis skall adressen endast användas om ni använder Space2u för e-postleverans.

#Space2u DMARC

Saturday, November 29, 2014

LMDE Mate fail to suspend when closing lid

2012-06-01_09-15-03_HDRI just installed a fresh copy of LMDE on my wife's puter. I noticed that it wouldn't suspend when i closed the lid. This have happened many times before but I just cant seem to remember the remedy, so i type it down here.

Rename the file /etc/acpi/lid.sh to something else.

That's it.

Thursday, November 13, 2014

Blog Archive