1
vote
1answer
46 views

How can I get a file's UbuntuOne URL from the terminal?

How can I get the UbuntuOne URL from a file in a bash script? Here's what my script does so far: I run the script via Nautilus Actions, and it requires one parameter and an URL in the clipboard. The ...
3
votes
1answer
181 views

Is it possible to add an option to the context menu in nautilus to open media in an existing VLC instance?

I've unchecked VLC's option - 'only allow one instance', since it would help simultaneous playbacks. But sometimes it is desirable to just open a new file in the already running one. Is it possible to ...
1
vote
0answers
52 views

how to list opened nautilus tabs with qdbus?

I am trying to dig into qdbus for nautilus to get a list of opened tabs; I managed to do this so far: sites=(`qdbus |grep nautilus -i`); for siteSrc in ${sites[@]};do list=(`qdbus $siteSrc`); for ...
0
votes
2answers
171 views

Archive manager started instead of executing a shell-script

When I double click on a .sh (the file is executable) file in Nautilus the archive manager is started instead of executing the script. How can I make Nautilus show the dialog (execute/edit/...) again? ...
2
votes
0answers
157 views

How do I upload pictures to picasa using Nautilus scripts?

I'm looking for a Nautilis script to upload a picture to a Picasa Album using GoogleCL Here is my script : zenity --info --title "File" --text "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" --height 18 ...
1
vote
2answers
2k views

Why doesnt the “Script” option show up on right clicking in the desktop in Ubuntu 12.10? How to make it appear?

When you right click on a Linux desktop, a menu appears which contains entries like "New folder", "Change desktop background", "Paste", "Scripts", etc. But on a fresh install in Ubuntu 12.10, the ...
11
votes
2answers
731 views

How can I programmatically change a file's icon?

If I select an icon in Nautilus and select Properties, I can click on the icon presented there. This gives me a file-chooser dialog to select a new icon image. I would like to do this via a script of ...
7
votes
2answers
5k views

How to change default action when running a .sh file?

Every time I want to run a .sh file, Ubuntu asks whether I want to Run in Terminal/Display/Run it. Is there a way to set default action for some sh files? -- I am using Ubuntu 12.04 without any ...
1
vote
1answer
110 views

Fix Nautilus URIs in a Python script

I have a very basic Python script I wrote mostly for learning purposes. It opens a terminal in the current folder. However, I can't get it to work in folders with accented characters in the URI ...
2
votes
1answer
1k views

How to keep Unity panel always on top? [closed]

I am working on a script that will allow you to use a video as a wallpaper. This script uses xwinwrap and mplayer, when i have the script running the video is shown as a wallpaper and with ...
8
votes
3answers
1k views

How can I add a script to nautilus for running selected file as administrator?

How can I add a script to nautilus for running selected file as administrator (not open as administrator)? And if it is possible, I want to run this file as administrator without entering my password. ...
17
votes
3answers
882 views

How can I initiate Nautilus file operations from the command line?

How can I start Nautilus's "File Operations" GUI from the command line? My goal is to include this in a Nautilus script.
1
vote
1answer
551 views

Nautilus Open in Remote Terminal

As I already wrote, open-in-erminal package does not work for remote hosts for me Nautilus "open in remote teminal" fails after login. So I decided to try to write my own script to do same ...
4
votes
1answer
991 views

How can I get a set of files into the Zeitgeist index for dash access?

I understand, based on a number of other sources, that files will not appear in a dash search until they have been opened, due to the search drawing from zeitgeist. As an example, this is ...
1
vote
2answers
192 views

How to add a contextual menu item to .psd files in Nautilus?

How to add a contextual menu item to .psd files in Nautilus? The menu item would execute a script and pass it the path of the file.
3
votes
2answers
228 views

Automatic desktop/work environment setup

I have this strange thing I am trying to do, so before I jump into it I was curious if someone knows about existing solution or maybe have an advice as far as implementation. I run a small software ...
14
votes
2answers
2k views

How can I write Nautilus scripts in Python?

I want to write a Nautilus script in Python. Is that possible? If it is possible, how can I do that?
1
vote
2answers
417 views

Nautilus doesn't show my desktop until I kill it

Something's wrong with nautilus. When I boot my computer and it logs in, Gnome shows, things are running, I can run programs and everything, but my desktop has no icons. I have to open a terminal and ...
1
vote
3answers
471 views

How can I manage saved complete web pages and their directories (e.g n.html and n_files) in Nautilus

Using an arbitrary web browser, e.g. firefox, you can save a web page (complete web page), for which it saves the html file, say n.html, and web page elements in a corresponding directory, n_files. ...