-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

Happy Desktop - Organize, Save, Restore

   0.99  

Nautilus Script

Score 53%
Happy Desktop - Organize, Save, Restore
zoom


Downloads:  354
Submitted:  Sep 24 2015
Updated:  Nov 21 2015

Description:

This program is used to save and restore the Ubuntu Desktop icon positions when Nautilus is managing the desktop (this is the ubuntu 14.04 default). It also has the ability to automatically align the icons.
It has only tested this with Ubuntu 14.04 but should also work on 14.10 and 15.04 as all of the requirements are installed by default. Ubuntu 12.04 does not use the required gvfs-info.

Requirements:
Nautilus is your file manager
bash, gvfs-info, zenity, gsettings, xprop, sed, grep (these are all installed with the Ubuntu standard installation)

Optional:
xdotool (is used to automatically update/refresh desktop)
Use F5 to manually refresh the desktop icons positions if xdotool is not installed


Install Instructions: Copy all the files to your bin or Nautilus scripts directory (or sub-directories). Make executable and run the script.





Changelog:

0.80 Original Release

0.82 Changes
1) Fix bug when changing screen resolution.
2) Fix bug when icon name has consecutive spaces in the file name. Improved icon positioning at screen extreme right and bottom.
3) Added option to automatically create desktop launch icon on first script run.

0.84 Changes
1) Previously xrandr was used to provide screen resolution information. But xrandr disregards any panels taking up desktop space such as the menu bar or a fixed launcher (when launcher auto-hide is not enabled). Xprop is now used to provide screen information. Xprop has the ability to provide the actual "available screen dimensions" after considering things like the menu bar or a fixed launcher. This improves the icon grid positioning.
2) Suppressed the popup message "Press F5 to manually refresh" after it has been displayed one time. This warning only occurs if you do not have xdotool installed.
3) Added simple validation of input data in the edit boxes with warning box feedback

0.85 Changes
1) fixed problem where desktop icon did not display properly
2) some code optimization

0.86 Changes
1) added language support for the user interface via a lang file.
2) external help file no longer required

0.86a Changes
1)language file now includes English,Español,Français,Italiano,Português

0.87 Changes
1) In some cases if multiple windows were open the desktop refresh was not happening. This version fixes that problem.

0.99 Changes
1) fixed grid calculation error introduced in v0.86 when changing icons per row or icons per column
2) improved menus and translations
3) eliminated the need to create a tmp file during program execution




LicenseGPL
Ubuntu(Happy Desktop script)
Send to a friend
Subscribe
Other  Artwork  from drm200
Report inappropriate content



-

 interesting idea

 
 by elbullazul on: Oct 7 2015
 
Score 50%
elbullazulelbullazul
B00merang Theming
Home

Hi,

I find your concept very interesting. Does it work with Nemo also?


Reply to this

-

 Re: interesting idea

 
 by drm200 on: Oct 7 2015
 
Score 50%

I've not used Nemo, but I think that it would be relatively easy to adapt the program for Nemo. Both Nautilus and Nemo use gvfs to get/store icon position.

Nautilus command to set position:
gvfs-set-attribute "/home/user/Desktop/xyz.png" metadata::nautilus-icon-position 261,40

Equivalent Nemo command:
gvfs-set-attribute "/home/user/Desktop/xyz.png" metadata::nemo-icon-position 261,40

The code to get the Nautilus icon-zoom value would also need to be converted for Nemo ...

So, I think if the gvfs and icon zoom commands were converted it would run on Nemo (assuming all of the required programs are installed/available.)


Reply to this

-

 Re: interesting idea

 
 by drm200 on: Oct 7 2015
 
Score 50%

I've not used Nemo, but I think that it would be relatively easy to adapt the program for Nemo. Both Nautilus and Nemo use gvfs to get/store icon position.

Nautilus command to set position:
gvfs-set-attribute "/home/user/Desktop/xyz.png" metadata::nautilus-icon-position 261,40

Equivalent Nemo command:
gvfs-set-attribute "/home/user/Desktop/xyz.png" metadata::nemo-icon-position 261,40

The code to get the Nautilus icon-zoom value would also need to be converted for Nemo ...

So, I think if the gvfs and icon zoom commands were converted it would run on Nemo (assuming all of the required programs are installed/available.)


Reply to this

-

 New version adds language support for interface

 
 by drm200 on: Nov 1 2015
 
Score 50%

v. 0.86 now adds the ability for you to change the menus to your local language. Presently, it only includes english and spanish. But you can add your own language translations in a few minutes by adding your translations to the happy_desktop_lang file. Just add your translations to the bottom of the file using the same format as was used in Spanish. The new language is immediately available in configuration menu.

If you send me your translations, I will add them to the distribution package.


Reply to this

-

 nemo

 
 by bluedxca93 on: Nov 2 2015
 
Score 50%

gvfs-info $(eval echo ~$USER)/Schreibtisch/* | grep -e 'standard::name: [^ ]\+\|nemo-icon-position: [^ ]\+'

shows my desktop config.


Reply to this

-

 Re: nemo

 
 by drm200 on: Nov 3 2015
 
Score 50%

I installed linux mint cinnamon on a USB to look at NEMO.

When I run this command in bash:
gvfs-info $(eval echo ~$USER)/Desktop/* | grep -e 'standard::name: [^ ]\+\|nemo-icon-position: [^ ]\+'

it shows all icons have the same identical position. I than used this command to look at the raw gvfs data:


gvfs-info $(eval echo ~$USER)/Desktop/*

The raw data also showed that all desktop icons have the same position. So it appears NEMO is not using gvfs to store the actual icon positions. I searched for quite a while on the internet looking for clues about what NEMO is doing but didn't find anything.

Can you recheck your results and confirm what is reported for the actual icon positions?


Reply to this

-

 Re: Re: nemo

 
 by bluedxca93 on: Nov 3 2015
 
Score 50%

gvfs-info $(eval echo ~$USER)/Schreibtisch/* | grep -e 'standard::name: [^ ]\+\|nemo-icon-position: [^ ]\+' | grep icon-position| sort|uniq| wc -l

shows 80 on my computer
Note i used the real folder name Schreibtisch and not desktop. might be something different on your pc!


Reply to this

-

 Re: Re: Re: nemo

 
 by drm200 on: Nov 3 2015
 
Score 50%

when you gvfs-info.... command, it returns an x and y position for each icon. In Nautilus, the x and y represents the actual icon positions. However, when I run this in Nemo, all the x's have the same value and all the y's have the same value ... even though the icons are in different positions .. So Nemo appears to be using a different method to store icon positions .. I found the Nemo schema ... it appears to me that Nemo is using gvfs for some values but not icon positions.

https://github.com/linuxmint/nemo/blob/master/libnemo-private/org.nemo.gschema.xml.in


Reply to this

Add commentBack






-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About GNOME-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2016 GNOME-Look.org Team  
All rights reserved. GNOME-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
GNOME and the foot logo are trademarks of the GNOME Foundation.