Don’t believe nemo actions are useable when using nemo with unity or gnome-shell. Take a look at Edit > Plugins, you’ll see several enabled but not useable.
You can create an extension or a script. script is simple, extension not so much…
#!/bin/bash
unity-control-center appearance
Put in .local/share/nemo/scripts & make executable…
Yes, that solves the problem. Thanks! All desktop actions are now there. Only thing is that this “scripts” appears everywhere, I right click on Nemo…Anyway, I can put some other scripts there to make things easier.
No need to wait for newer Nautilus. I need dual panes. I still use MC for most tasks.
Maybe, we can still use old (gold) Nautilus 3.4 in newer releases?
#!/bin/bash
sleep 10 &&
exec nemo-desktop
exit 0
make executable
then you create another scripts that I saw with @mc3man.
this to change desktop image
#!/bin/bash
unity-control-center appearance
Put in .local/share/nemo/scripts & make executable…
There is some lack of entries in Filter results > Categories. Should Office be shown here as a Category? I can’t remember, if it was there in 17.04 or before, though.
Office was never a category for home lens, I am removing few deprecated online scopes and lenses. Gnote will replace tomboy. And there will be new contacts, calendar, ssh & keyring scopes. Due to lack of zeitgeist patch from new nautilus files and folder search will suffer, but I will put a patched version of nautilus in the ppa later.
About Office, I was not sure, so I asked. Is the new ppa ready or should wait a while? Atm, the folder search is bad even in the default Ubuntu. Nautilus just gets stuck, if you search, and won’t open the folder.
if you’re interested in setting the wallpaper on Nemo without going through Unity Control Center, just add this script:
#!/bin/bash
fn=$1
pwd=`pwd`
picture="$pwd/$fn"
gsettings set org.gnome.desktop.background picture-uri "\"file://$picture\""
Just wish I could figure out how to enable that script only for image files.
Edit: Figured it out…kinda. Best I can make it do is open Unity Control Center if the extension isn’t valid
#!/bin/bash
img_in_arr() {
local img_ext_arr=("jpg","png")
local img_ext=$1
local state=1
for i in "${img_ext_arr[@]}"; do
if [[ $img_ext == $i ]]; then
state=0
break
fi
done
return $state
}
fn=$1
ext=`echo $fn | rev | cut -f1 -d"." -s | rev`
if [ -z "$ext" ]; then
state=1
else
state=img_in_arr $ext
fi
if [[ $state -eq 1 ]]; then
unity-control-center appearance
else
pwd=`pwd`
picture="$pwd/$fn"
gsettings set org.gnome.desktop.background picture-uri "\"file://$picture\""
fi
Just gonna fix it to make sure that it works with an uppercase extensions as well.
For nemo actions it seems some ex. were deficient , i.e missing required fields.
So for that requested one on desktop background this should work
(- in .local/share/nemo/actions file named
appearance.nemo_action
There is a nemo-autostart.desktop installed though it’s slightly flawed (needs a second or 2 delay) and is installed to /usr/share/applications where it does no good.
A ppa build could take care of this by altering the autostart.desktop(.in) file slightly & getting it or a symlink installed to /etc/xdg/autostart.
You could use your script or simply use this in .config/autostart or /etc/xdg/autostart
[Desktop Entry]
Type=Application
Name=Nemo
Comment=Start Nemo desktop at log in
Exec=nemo-desktop
AutostartCondition=GSettings org.nemo.desktop show-desktop-icons
X-GNOME-AutoRestart=true
X-GNOME-Autostart-Delay=2
NoDisplay=false