A new nautilus actions available!!!!
Originally Posted by MetalMusicAddict
if you want to mount iso who are movie-dvd's,
you can play iso's right away in a mediaplayer, without mounting
A new nautilus actions available!!!!
Originally Posted by MetalMusicAddict
if you want to mount iso who are movie-dvd's,
you can play iso's right away in a mediaplayer, without mounting
In fact Nautilus-actions use a Glib function to parse the command line, and it seems that this function parse the # character as the sign of comment and so ignore the end of the line. To workaround it, just put a backslash before the # sign like this :Originally Posted by maxdevis
Code:file://%d/%f\#%d/%f.srt
Originally Posted by maxdevis
Let's try this little rewrite of it and check if it makes it works better :
and use this as parameters in Nautilus-actions :Code:#!/bin/bash # # nautilus-mount-iso image_name=`basename $2 .iso` foo=`gksudo -u root -k -m "" /bin/echo "got r00t?"` sudo mkdir /media/"$image_name" if sudo mount -o loop -t iso9660 "$1" /media/"$image_name" then if zenity --question --title "ISO Mounter" --text "$2 Successfully Mounted. Open Volume?" then nautilus /media/"$image_name" --no-desktop fi exit 0 else sudo rmdir /media/"$image_name" zenity --error --title "ISO Mounter" --text "Kan niet mounten $2!" exit 1 fi
I don't manage to test it because gksudo doesn't works on my Fedora box and when I removed it, the script didn't work because sudo ask for a password under X even though it didn't ask for it in command line.Code:%d/%f %f
Great work. Now i can send files to my BT devices
Label: SenSend to Bluetooth Device
Path: gnome-obex-send
Parameters: %M
File pattern: *
Appears if selection contains only files.
Cheers
jherran at kedesfase dot com
http://dtm-es.com
http://portfoliomanagerapp.com
http://www.kedesfase.com
looking at the first posts on this thread I followed the link to nautilus-actions homepage. There is available a new release (1.0), and even a breezy deb package.
now my three cents on custom actions:
***********
Enqueue in xmms
Path: xmms
Parameters: %M -e
File Pattern: *
Folders/Files: Both
Multiple? checked
***********
When you copy files from CD onto hard disk, they carry their permissions with them and remain unwritable. This is easy to fix from the command line but time consuming in the GUI. This action allows you to recursively set the writable flag on selected files and directories.
Label: Recursive writable
Tooltip: Make all of the selection writable, including all subfolders.
Action: chmod
Parameters: -R u+w %M
Files/Folders: Both (or you could make this just apply to folders).
Cheers,
Toby Haynes
enqueue in XMMS:
(displays only for audiofiles and folders in contrast to method above)
for files:
path: xmms
parameter: -e %M
symbol: /usr/share/xmms_mini.xpm
filter: *.mp3; *.ogg; *.wav (and whatever you want)
only files: checked
multiple checked: checked
Scheme:
file
for folders:
path: xmms
parameter: -e %M
symbol: /usr/share/xmms_mini.xpm
filter: *
only folders: checked
multiple checked: checked
Scheme:
file
play in XMMS:
for files:
path: xmms
parameter: %M
symbol: /usr/share/xmms_mini.xpm
filter: *.mp3; *.ogg; *.wav (and whatever you want)
only files: checked
multiple checked: checked
Scheme:
file
for folders:
path: xmms
parameter: %M
symbol: /usr/share/xmms_mini.xpm
filter: *
only folders: checked
multiple checked: checked
Scheme:
file
tag with Easy Tagger
path: easytag
parameter: %M
symbol: /usr/share/EasyTAG.xpm
filter: *
only folders: checked
multiple checked: not checked
Scheme:
file
Last edited by Bazon; March 11th, 2006 at 09:14 AM.
Easy convert webshots .wbz to .jpg using wbz2jpg for nautilus-actions:
download and follow the instuctions here http://www.angelfire.com/darkside/wbz2jpg/
then in nautilus-actions
Label: Convert to JPEG
Tooltip: Converts wbz to jpg
Path: /usr/bin/wbz2jpg
Parameters: %M %M.jpg
File Pattern: *.wbz
only files: checked
multiple checked: checked
scheme: file
I can't seem to get it to work for more than one file at a time, but it works.
Last edited by jms830; May 7th, 2006 at 08:50 PM.
I'm happy to annouce you that it is now possible to share your actions on the official web site of Nautilus-actions.
There is already a few configs submited and you have the possibility to submit your own configs too.
the configuration repository can be found at the following address :
http://www.grumz.net/configlist
You can found more information about this here
Happy sharing !
Gnome easy install of deb files by right clicking on them.
I've made a script to install deb files from the right click menu. Please be kind it's my first Linux script. Very easy to use, with progress bar.Originally Posted by Sevoma
Copy and paste the following script into a file call it "installer" and save it in your home folder, then make it executable.
#!/bin/bash
#
# nautilus-deb-installer
package_name=`basename $1`
if zenity --question --title "Alert" --text "Do you wish to install the package $package_name?"
then
foo=`gksudo -u root -m "Please enter your password to install $package_name" /bin/echo "0"`
sudo dpkg -i "$1" | zenity --progress --pulsate --title "Please Wait" --text $"Installing $package_name"
zenity --info --title "Installation Complete" --text "The package $package_name has been installed"
else
zenity --info --title "Installation aborted" --text "The package $package_name was not installed"
exit 1
fi
Then in Nautilus Actions:
Label: Install Package
Path: /home/<your username>/installer
Parameters: %M
File Pattern: *.deb
Files only
Then when you right click on a deb file you will be able to install it.
Last edited by sellotape; April 1st, 2006 at 02:51 AM.
Bookmarks