gprename - how to access

Asked by srikumar

gprename worked well with Ubuntu 15.04
after installing Ubuntu 15.10 the gprename icon is missing from the desktop menu bar.
Ubuntu software centre indicates that gprename is installed.
how to access gprename ?

thank you
srikumar

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
srikumar
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
srikumar (ssrikumar) said :
#1

any suggestions?
OR
is there any similar program for Ubuntu 15.10?
Thank you
Srikumar

Revision history for this message
srikumar (ssrikumar) said :
#2

have uninstalled gprename, re-booted Ubuntu 15.10 and installed gprename from the software center

ran gprename from the terrminal
and locked the gprename icom onto the menu bar

ran gprename - a white blank screen appears breifly and then disappears

any way to get gprename working?
Thank you
Srikumar

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

if you open a terminal and start gprename manually, do you get error messages in the terminal window?

Revision history for this message
srikumar (ssrikumar) said :
#4

Thank you for responding.

ssrikumar@ssrikumar-OEM:~$ gprename
Path doesn't exist!
ssrikumar@ssrikumar-OEM:~$

A white blank screen appears briefly and it then disappears.

I have installed Ubuntu 15.10 on another computer and gprename works OK.

Also tried this:-
ssrikumar@ssrikumar-OEM:~$ Gprename
No command 'Gprename' found, did you mean:
 Command 'prename' from package 'perl' (main)
 Command 'gprename' from package 'gprename' (universe)
Gprename: command not found
ssrikumar@ssrikumar-OEM:~$

Also tried this:-
ssrikumar@ssrikumar-OEM:~$ sudo apt-get install gprename
[sudo] password for ssrikumar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
gprename is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Hope this helps.
Thank you.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

What do you get for the terminal commands

echo $HOME
ls ~
gprename ~

Revision history for this message
srikumar (ssrikumar) said :
#6

output from terminal:-

ssrikumar@ssrikumar-OEM:~$ echo $HOME
/home/ssrikumar
ssrikumar@ssrikumar-OEM:~$ ls ~
Desktop Downloads Fonts Pictures Templates
Documents examples.desktop Music Public Videos
ssrikumar@ssrikumar-OEM:~$ gprename ~

on pressing enter - gprename started working!

Thank you.

Revision history for this message
srikumar (ssrikumar) said :
#7

Sometimes gprename does not work.
then after running the instructions in # 5, it works again.

any way to make this setting permanent?

Thank you
srikumar

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

You could try adding ~ to the command line in the desktop file.

sudo gedit /usr/share/applications/gprename.desktop

change
Exec=gprename
into
Exec=gprename ~

Revision history for this message
srikumar (ssrikumar) said :
#9

Thank you for your response.

gprename is working at present.
will try your suggestion in case it does not respond again.

will close this question , for now.

Revision history for this message
srikumar (ssrikumar) said :
#10

using Ubuntu 17.10 with the latest updates
gprename works when run from Terminal
but cannot lock the program to favourites (lock the icon to the menu bar)
how to do this?
Thank you.

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

It seems that the newest version of gprename does not provide a gprename.desktop file for standalone execution any more.
You could try creating one.

Revision history for this message
srikumar (ssrikumar) said :
#12

Thank you, but I do not know how to do that.
Is there any other software that could be used to replace "gprename".

Any suggestions?
Thank you.

Revision history for this message
Manfred Hampl (m-hampl) said :
#13
Revision history for this message
srikumar (ssrikumar) said :
#14

Thank you for your response. Have read through the contents on the above link.

This is too technical for me to understand.
Will wait for an upgrade amendment.

Will close this question for the moment.
Thank you.

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

Creating a desktop launcher is not that hard.
Try the following:

open a terminal and issue the command
gedit gprename.desktop

This will open an editor with the remark "file not found, creating a new one"
Paste the following contents into the editor window:

[Desktop Entry]
Version=2.6
Name=GPRename
Comment=To rename files and directories in batch
Exec=gprename
Icon=/usr/share/pixmaps/gprename/gprename.png
Terminal=false
Type=Application
Categories=Utility;FileManager;

save the file and close the editor
issue the commands

sudo cp gprename.desktop /usr/share/applications/
sudo chmod a+x /usr/share/applications/gprename.desktop
rm gprename.desktop

Revision history for this message
srikumar (ssrikumar) said :
#16

Worked like a dream.
Thank you very much.