Ubuntu :: Creating Desktop Shortcut With Root Permissions?
Oct 20, 2010
I am using Lubuntu 10.10 and have installed my application that I need. What I need is a link to the desktop that will execute the program from the /usr/share/test directory. When I execute the program I need to use "Sudo" in order to run in. how would I add a symbolic link the desktop with the appropriate permission to run the executable without compromising security. I tried everything but cannot get it to execute under ubuntu:
PHP Code:
[code]....
View 2 Replies
ADVERTISEMENT
May 12, 2010
I have a java program that needs to be launched with root privileges (from an account that doesn't have root privileges) from a desktop shortcut. The command would look something like this: java -jar /file/location/whatever.jar I've searched and searched and can't figure out how to do this. EDIT*** I would like it to pop up and ask for the root password before it launches the application.
View 3 Replies
View Related
Feb 27, 2011
I'd like to open a directory with the F12 key. I haven't any problem getting Keyboard Shortcuts to run programs, but cannot figure out how to have it open a directory.I tried making a link to the directory and using that, but still no go. Edit: The directory I want opens when I use its link Can't find anything on the net for this. Most just mention that we can create custom keyboard shortcuts. I tried using /home/directory/directorydesired, but no go.
Edit: The directory I want opens when I use the link
View 3 Replies
View Related
Feb 9, 2011
as I found an easy way to create a shortcut for the terminal on the net, I was trying to apply the same method to create a shortcut for gedit, which is a great text editor that I use very often.I don't know what when wrong but I must miss something because it obviously doesn't work.Here is what I did:1.ran: sudo gconf-editor2. went to /apps/metacity/keybinding_commands3. Set "command_2" to "gedit" (I also tried with "gedit-2" as it is the name of it in the list of the applications in the apps folder)4. went to to /apps/metacity/global_keybindings5. set "run_command_2" to the key I wanted, <Control><Shift>g(I tried as well with other combinations such as <Alt>g, <Shift>g, no successAnyone knows what I didn't do or did wrong?(I suppose that it comes for the name of the command on step 3, but I don't know what could be the name to put (if you guys could also tell me where to find a kind of list for the names to put in, like for others programs, it would be nice)
View 5 Replies
View Related
Aug 10, 2011
Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?
View 3 Replies
View Related
May 1, 2010
I try to use rsync for backing up some directories and I have to following problem: some files have permissions that prevent me from running rsync under my own user id. So I run it under root using the option "-a" which according to the man page should preserve the permissions, owner and group information:
However, when I run this under root, the directories created in the backup location get user root and group root while ordinary files keep the original user and group. What am I missing here? How can I get rsync to preserve the user and groups for all files, including directories?
Here is a command to illustrate my problem
Code:
sudo rsync -a /home/youruser /tmp
If you try that and terminate with Ctrl-C after a few seconds, there will be a directory /tmp/youruser where the directories contained within are owned by root group root.
View 2 Replies
View Related
Apr 27, 2010
I have a little problem: I have a share folder on Ubuntu server: - Dump That folder is share with SAMBA and everyone can put files on it
My problem is the following: When someone create a folder, the folder permissions are automatically set with:
(let's take my username: Yann)
Owner: Yann
Group: Yann
Clearly that's wrong.. I want the Group to be auto set has "users" so everyone can access the folders on that share. Anyone know how to change this ? chmod and chown is getting a bit boring
View 2 Replies
View Related
Jul 12, 2011
I have created a ftp user in centos 5,but it got all permissions to delete files in other location,view the entire directory and create any folder in every place. How to deny this permissions to the particular user.And please help me to give permissions only to a specified location given by the root.
View 4 Replies
View Related
Aug 10, 2009
how to get a shortcut for opening a terminal as root? I mean something I could put in my gnome panel and then just click and get a dialog asking for the root password. Or maybe just open the terminal and automatically do "su -" (maybe this is easier actually). In Debian/Ubuntu this can be achieved doing "gksu gnome-terminal". In F10 I got it done using beesu, but it doesn't work anymore in F11:
Code: $ beesu gnome-terminal
(beesu:17788): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
(beesu:17788): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
Failed to contact the GConf daemon; exiting.
View 9 Replies
View Related
Apr 1, 2010
I've got a small issue that when a Windows user creates a new folder through Windows Explorer (from the menu or by right clicking) the new folder is only accessible to that particular user.Example:user SABKAR (member of the HR group) creates a new folder called MarcTestMenu in a shared Samba directory through Windows Explorer:# ls -l# drwxr-sr-x 2 sabkar hr 48 2010-04-01 10:36 MarcTestMenuAt this point user MORAMY cannot copy a file or open the directory MarcTestMenu. MORAMY gets a 'not accessible' error message in WindowsIf I su to the Samba box and issue this command:# chmod 6770 MarcTestMenu/I now get the follow permissions on the directory:# drwsrws--- 2 sabkar hr 48 2010-04-01 10:38 MarcTestMenuand user MORAMY can access and copy files to the directory.
View 7 Replies
View Related
Jul 11, 2011
I'm very new to Linux, i'm running Ubuntu and i'm trying to install a program. In the instructions it says "Check that you ARE NOT root, never run similar tools as root! just change file permissions". How do i check if i'm root or what am I supposed to do here?
View 7 Replies
View Related
Jun 27, 2010
I tried to create a shortcut to an app I wanted in the plasma dashboard. When I did so, I found that it was owned by root! When I looked at the permissions of the other app icons, they were owned by me, the user.Why did plasma make my newly created app launcher owned by root?I'm so used to the way KDE 3 worked. It was so much simpler. I could click anywhere on that desktop to add shortcuts and they were owned by me, not root. I don't understand why they changed this.
View 9 Replies
View Related
Jan 25, 2011
I'm having this problem when i want to delete an icon on my desktop.The icon won't allow me to delete it as it will show error "The specified location is not supported. I attached a screenshot of my desktop. The file that i want to delete is "g on 192.168.0.182.volume". It was a link to my shared network.I've tried delete via terminal but when i viewed my desktop using "ls -a" , the file didn't show up.Or maybe easy solution is my removing my gnome-desktop
View 9 Replies
View Related
Jan 26, 2010
I have been trying to make a shortcut to my downloads folder on my desktop but I only seem to be able to create "link to downloads" folder. I thought this was just the same thing as a shortcut but when I run some programs from the folder they do not work correctly. They only work from the real 'downloads' folder and not the 'link to' folder
View 6 Replies
View Related
Apr 7, 2010
I download the new version of teamspeak since using the synapitcs install me an older version. my problem is to start the new teamspeak I have to go to the console and type ./starterscript_of_teamspeak Is there anyway to put a botton icon to make me this instead using the console to start it ?
View 9 Replies
View Related
Aug 6, 2010
This is about Lubuntu 10.04 and not Ubuntu 10.04.I have a few shortcuts on my desktop with images that doesn't look so good, not sure why and if it's possibly to configure it.
View 1 Replies
View Related
Jan 23, 2011
I just installed Kubuntu with my ubuntu install via Synaptic, just to try it out, and so far it's working great, except for one thing: I have no idea how to make a desktop internet shortcut in Rekonq (The default web browser), and I've tried opening a shortcut I made in Firefox, but it opens it Kate! And when I changed what to open it with to Rekonq, I just got an error page in Rekonq!
View 2 Replies
View Related
Feb 15, 2011
I have been trying to active the shortcut <Super>+D to minimize all active windows and show desktop. Compiz is already install on my system,that I have tried all possible combinations of "show desktop" functionality in Compiz and Gnome itself. However, whenever I use the shortcut, it activates(maximize) one window first, and it shows desktop if I use the shortcut second time. Actually same thing happens when I press the "show desktop" button on the panel as well
View 4 Replies
View Related
Jul 19, 2011
Unless there is some better way to quickly open xterm?
View 1 Replies
View Related
Jul 31, 2011
I wrote bash script that uses zenity and a choice to install various programs, tested it and it works, but only when I call it from terminal. I wanted to add it in gnome main menu. The script is /home/eee/zenity.sh. In accessories I added an entry with command:
Code:
/home/eee/zenity.sh
, but since there is no terminal it starts zenity, but it does not work. I have also tried
Code:
gksu gnome-terminal -x /home/eee/zenity.sh
[Code].....
View 4 Replies
View Related
Jan 12, 2011
I'm using Zorin OS 4 Lite, which is a variant of Lubuntu 10.10. For some unknown reason, the desktop shortcut on PCManFM is pointing to my home folder, so I have all my personal files covering my Desktop (kind of annoying to be honest ). And when I try to add a shortcut to the Desktop it adds it to my home folder instead. Seems like there's some kind of hard link between the Desktop shortcut in PCManFM menu and my home folder. However, I can't find where it is or how to fix this. Has anyone else had this problem? How do I fix this?
View 9 Replies
View Related
Feb 27, 2011
How can i save firefox bookmarks to my desktop for a shortcut? I tried to drag and drop from the bookmarks menu and i get a error message. Im running ver 10.10 ubuntu.
View 9 Replies
View Related
Nov 17, 2010
using the command ln -s ~/Desktop ~/.local/share/Trash I get this message.ln: creating symbolic link `/home/denish/.local/share/Trash': File exists But the link isn't in my desktop. So I tried accessing the Trash folder using cd. I cd into ~/.local/share then try the following command.cd Trash I get this message. bash: cd: Trash: No such file or directory When I type ls in the share folder I get the following.
gsettings-data-convert gvfs-metadata Trash
So the trash folder is in there but i can't access it. Why? Also I want a computer shortcut in my desktop like in windows where I can access all the folders from.
View 4 Replies
View Related
Mar 24, 2011
When ctrl alt d or the icon on the bottom left corner is pressed, it sometimes doesn't show the desktop and instead restores hidden windows. Is there a way to access the desktop directly, without only one shortcut ? I was also wondering how useful are these hidden windows (sometimes, the icon in the application bar is bar after being idle for a while).
View 11 Replies
View Related
Jan 2, 2010
I have created .NET 2.0 windows application setup with MySQL database on the XP and I have installed same setup on the Ubuntu. Right now full setup of my windows application (Desktop application) using WINE installed successfully but I'm facing one major problem. but when I'm trying to open my application using shortcut from desktop its not opening.
View 1 Replies
View Related
Jul 4, 2015
Is there any shortcut to move to desktop ? On debian wheezy there was "CTRL+ALT+D" .
View 3 Replies
View Related
Dec 14, 2009
I am attempting to recreate terminal commands with a Fedora desktop launcher shortcut to start x360mediaserve. The commands in the terminal work as below:
Code:
cd /opt/x360mediaserve-0.0.2
./start 192.168.2.126
But attempting to run from a desktop launcher, it doesn't work, with the command line:
Code:
sudo /opt/x360mediaserve-0.0.2/start 192.168.2.126
I have also attempted to create a shell script, from which to launch via desktop launcher:
Code:
#!/bin/bash
cd /opt/x360mediaserve-0.0.2
./start 192.168.2.126
which also doesn't work.
View 6 Replies
View Related
Jan 3, 2010
This should be simple, but I just don't see it. KDE 4 desktopI have an application located in /usr/Kompozer that I'd like to add a shortcut to on my desktop. It's not on the menu. Runs fine from the command line. Right clicking on desktop doesn't seem to have what I need. I tried using Dolphin file manager, but still no joy. Can copy, but again can't paste a shortcut on the desktop... or so it seems.
View 3 Replies
View Related
Sep 13, 2010
I installed matlab for linux via the installer. When I type into the terminal as normal user:
Code:
matlab
the program starts perfectly fine. I want now a click-able icon on the desktop (KDE3.5). So when I produce the application shortcut, no matter how I do define the command, it will not start. I did put Command: matlab (tried also matlab glnx86) I joined in advanced: start in terminal (but it does not work either) I did join the complete and correct path...... Somehow....I do not understand why it starts from the console in user-mode without problems with the command but not while using a shortcut.
View 6 Replies
View Related
Sep 11, 2010
In order to avoid switching user, is it possible to open dolphin in root mode. If yes, what is the command, and the keyboard shortcut to enter it.
View 3 Replies
View Related