Putting "sudo" inside the command field naturally doesn't work (unless your sudoer's are set to do so, which they're not).So how do I get gnome, nautilus or Ubuntu to prompt me for my sudo privileges?
I made gnome launchers (shortcut or what they are called). I selected them : opened by terminal (with some simple commands). The problem is that I have 3 command lines and don't want to use 3 icons (launchers) to execute them. If I edit my launcer on gedit, I get this kind of lines :
I am wondering how to create a launcher with 2 functions in Ubuntu 10.04. The functions I want are both in terminal, and I want them executed in this order:
# sync # echo 3 > /proc/sys/vm/drop_caches
The echo 3 command requires root privileges to run, and I haven't figured out how to do that yet. I am brand new in ubuntu, and have only been using it for about 2 weeks. The reason behind this is that I want a launcher in the bar at the top of the screen that I can click periodically to dump my ram cache, since I have 4 gb of ram, and do not see the point of using 100 percent of that when just sitting on the desktop.
Sorry if this is on the forums some where but I couldn't find what I needed, and not even with Google's mighty help. Basically I have a game, called Age of Conquest III, which I got working just fine, but it won't save any setup or game files unless I run it as sudo from the terminal, example in terminal: Sudo /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III" Now I created a short cut with the command being just: /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III"
What command do I put in my shortcut command to get it to open up like in my terminal command? I tried: Sudo /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III" but this won't open anything.
I'm booting from the bash command line, and I was wondering if there is a way to make it to where when 'gdm' is called it is always called as if it had root permissions. Just so I don't always have to type 'sudo gdm' and enter a password (which would require entering a password twice, since the gdm splash screen also asks for a password.)
I cannot figure how to make a program start-up when Ubuntu boots. I want the "sudo firestarter" command to run so the firestarter icon appears in the panel.
For some reason the general launcher button (+ in circle) in the unity menu has disappeared. I do not know how to restore it. Which means I have great problems to start al apps that are not standard in the menu.
explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?
Code: sudo ifconfig eth0 down sudo /etc/init.d/networking stop
I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:
A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.
I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password
I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.
I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.
The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo
I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?
I'd like to make a launcher that starts a couple of programs at once. When I switch my brain into 'work mode' I'd like one click to start evolution, firefox and sunbird.
I am trying to make an app launcher for Ubuntu which replaces the top bar (default) in gnome. It will be a menu system in the middle of the screen which you would click on parts to bring up lists of apps and locations. What would be the easiest way to do this, and in which code?
On Xubuntu, I right click something like I did on Ubuntu, to add to panel.. It just clicks the program. There is NO options when I right click a program in Applications. It's frustrating.. re's an incredibly unnecessary way that is different than Ubuntu to put an application to my panel.
i was wondering, and maybe hoping, if there was any way i can create a launcher to open a program that must be ran in terminal for it to run. i don't really like opening terminal and going to the program's location to launch it, so is there any way for this to work?
It seems as if I've really done myself in this time. I recently upgraded to 11.04 from 10.10.trouble (not showing titlebars after I had trie to enable the "desktop cube" feature) so I decided the best plan of action was to get rid of Compiz. That turned out to be a mistake. Now I have no launcher or taskbar, and since I'm somewhat, well, inept at this so far I have no idea how to get my desktop back in working order.e managed to install compiz and emerald once again, but I can't get to the startup application editor to make it run automatically. Is there a way to get the default desktop environment handler to kick back in?