Fedora :: Graphical Su - How To Set Up A Menu Entry To Be Able To Use App

Apr 26, 2010

There are times that I would like to open an app as root user without having to use the command line in order to do that. I learned of a nice app in the Fedora repos called beesu and I will show you how to set up a menu entry to be able to use this nice app.

From man beesu:

Code:

See man beesu for more information.

Beesu can be installed in Fedora with the following command:

Code:

IMPORTANT: Beesu must be installed in order to successfully complete this tutorial.

You can use beesu from the command line with the following example:

Code:

This will open gedit as root user after the correct root password has been entered into the password prompt. This is great. However, I'd like to open an app as root user without having to use the command line or alt+f2 run box. So, I wrote a small bash script that uses zenity to prompt the user for an app to open as well as the root password.

Copy the following code into a new text file and name it mybeesu.sh.

Code:

You need to change the /path/to bit in step 4 "Command" to reflect the path to which you saved the mybeesu.sh script. Click the OK button to save the new menu item.

Now, when you click the new menu item from the gnome menu, a zenity window will open asking which app you want to open. After that, a second window will open prompting you for the root password. If all goes well, and you entered the correct root password, your desired app should open as if you used su -c 'foo' to launch it.

View 5 Replies


ADVERTISEMENT

Fedora :: Removing Entry From Places Menu

Mar 6, 2010

I'm using Fedora 12 with Gnome and I have a slight problem with my places menu. I have entries in the list that I would like to remove, but cannot figure out how. I multiboot Fedora with Windows 7 and windows 98. My Places menus looks something like this:

Places
Code:
Home Folder
Desktop
Music .....

Now, if you notice there are 2 entries for both my 'Storage' and 'Windows 98' partitions. On of them will actually open up a window showing the contents of the partition, the other displays an error which basically says "Unable to mount, drive is already mounted". Right clicking on the entry has the same effect as left clicking, it just brings up the error message. They do not appear in the Bookmarks menu.

View 11 Replies View Related

Fedora :: Gnome - Entry In Menu - Places Opening With Vlc

Dec 29, 2010

If i select Places -> Home Folder vlc starts and try to open the content of the selected folder.

Any idea which config file i should adjust to solve this behaviour?

View 1 Replies View Related

Red Hat / Fedora :: Menu Lst Entry To The 3rd Drive Intended For Boot?

Feb 18, 2010

what should be my menu.lst entry to the 3rd drive intended for fedora to boot. for now this is what i did but didn't work.

# Other bootable partition config begins
title Fedora (on /dev/sda3)
rootnoverify (hd0,2)
kernel (hd0,2) vmlinuz PMEDIA=idehd
initrd (hd0,2) initrd.gz
# Other bootable partition config ends

View 1 Replies View Related

General :: Fedora 15 Grub2 Graphical Menu "Invisible" Yet There?

Aug 11, 2011

I have Fedora 15 x64 with Gnome-shell installed on a Toshiba Satelite L505 Laptop alongside Windows 7, and Ubuntu 11.04. Fedora was the last installation so it currently has the controls of the grub installation which is what I was going for. I upgraded to Grub2 (1.98 and then some). I did some hunting and found this guide: http://ubuntuforums.org/showthread.php?t=1534689I followed the instructions to the T (or atleast I thought I did) for writing and installing the demo theme on "Fedora 14" which worked without errors on 15.When I rebooted I got:Grub yadayadafor about 1.5 seconds and then the background image for the theme showed up but no menu! I tried shift & Esc, nothing. I pressed enter and it booted fedora 15. this is where i got my first bright idea (First i should mention that the loading box images showed up after i hit enter but still no text). I rebooted again (knowing the order of what the grub menu would be if it were visible) and this time i hit the down arrow 5 times then hit enter, sure enough, and it booted windows. So I can interact with the menu but not "see" it.

View 2 Replies View Related

Ubuntu Installation :: Add Entry To Menu.lst Automatically?

Mar 10, 2010

Update Mgr got me a bunch of updates today, including a kernel (2.6.31-20). I was doing something else, and when it prompted me to do something with menu.lst, I accidentally accepted the default, which I think was to keep menu.lst unchanged.

As a result, the new kernel was installed but not added to menu.lst, so I guess I can't boot to it.

Is there a way to tell my computer, "make the entries into menu.lst automatically"

I guess I could put the entries in manually, but as a beginner, I'm pretty scared to be messing with that file...perhaps if someone has a link to an exceptionally understandable explanation...

View 4 Replies View Related

Ubuntu Installation :: Add Entry To Boot Menu

Apr 2, 2010

i just installed ubuntu 9.10 netbook remix, i made a partition (sda6) for it, first i had only opensuse, and when i was installing ubuntu, i put the bootloader in (sda6) the Opensuse bootloader is installed on MBR,

[code]...

View 5 Replies View Related

Software :: Unable To Add A Gnome Menu Entry?

Jan 4, 2011

I'm trying to add an entry to the gnome menu for every users of a FEDORA 14 system, both

Code:
xdg-desktop-menu install --novendor --mode system osean-programmer.desktop
and
Code:
desktop-file-install osean-programmer.deskto

[Code]....

How to add the application launcher to every user's Desktop during the RPM installation?

View 1 Replies View Related

Debian :: Add New Window Manager Entry To GDM's Session Menu?

Jul 7, 2010

I compiled QLWM window manager but it's not in GDM's session menu. How do i add it there?

View 1 Replies View Related

OpenSUSE :: Loat Program Entry In Applications Menu?

Mar 11, 2011

I have openSUSE 11.4 KDE (64-bit). Very inexperienced Linux user. I just dragged Thunderbird's icon to the lower panel so that it can be launched quickly. But now when I go to Application Launcher -> Applications -> Internet -> E-mail, the Thunderbird entry is no longer visible.How do I bring it back?

View 3 Replies View Related

OpenSUSE Install :: Add Ubuntu Entry To Boot Menu?

Apr 3, 2010

i just installed ubuntu 9.10 netbook remix, i made a partition (sda6) for it, first i had only opensuse, and when i was installing ubuntu, i put the bootloader in (sda6) the Opensuse bootloader is installed on MBR,

Code:
fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb02fb02f

[Code]...

View 9 Replies View Related

Ubuntu :: GRUB4DOS - Menu Entry To Run Memtest Does Not Work

Jan 30, 2010

I just finished an install with 4 OS's. DOS, XP, WIN7, and UBUNTU. They work fine no with problems. However, the menu entry to run memtest does not work, However on my other system it works. The failing system is an i7 and the working one is a Core Duo. Both have a lot of ram. The Ubuntu os was copied with GPARTED. So it is identical.The menu.lst was a copy/paste job and then the HDxx's modified as needed. Please take a look and tell me where I went wrong.menulst.txt

View 4 Replies View Related

Ubuntu :: Installed LibreOffice - Can't Find Menu Entry

Oct 5, 2010

I uninstalled OpenOffice using Software Center and installed LibreOffice from the PPA using the instructions on this page:[url]

I can't find any way to launch it. Applications > Office used to have OpenOffice Writer in it. Now there are no menu items for LibreOffice any darn place.

View 4 Replies View Related

Ubuntu Installation :: Grub2 No Menu Still Boots Into Default Entry?

Mar 4, 2010

I recently upgraded grub -> grub2 on my karmic box. Grub2 worked when chainloaded from legacy grub, and also the first time I tried it standalone. Both times the grub2 menu came up.

I ran vbeinfo at a grub2 command prompt, and found my monitor's native res listed - 1280x1024. I added that to my /etc/defaults/grub and then ran update-grub, and rebooted. This time no menu appeared and the default entry booted straight away. I suspected that the resolution was not supported for some reason or that the way I entered it in the config file was wrong, so I commented it out again in /etc/default/grub, and ran update-grub again - to no avail.

I have since tried lots of different formats for the GRUB_GFXMODE, such as 1280x1024@24, 1280x1024x24, and the normal 640x480, but none of them give me a grub menu. I have even tried using GRUB_TERMINAL=console, to no avail. I have checked the /boot/grub/grub.cfg file each time to make sure my changes were put there correctly by update-grub. I have also made sure that timeout was set to 10, and the hidden timeout was set to 0. My GRUB_CMDLINE_LINUX_DEFAULT="quiet".

I have reinstalled grub2, grub-pc, and grub-common, and I have dpkg-reconfigured them all too. I have no idea what to do to get my grub menu showing up again.

View 6 Replies View Related

Ubuntu Installation :: Grub2 Menu Not Showing New Entry For FreeBSD

Jan 11, 2011

I've just installed FreeBSD 8.1 on /dev/sda4 (FreeBSD slice), without installing the boot loader from FreeBSD (I've selected None when prompted for boot loader in sysinstall). Now I want to use my existing Grub2 from already installed Ubuntu 10.10 to boot FreeBSD also.

After some reading, I've added to the end of /etc/grub.d/40_custom:

After running sudo update-grub, grup.cfg file shows my new entry. The problem is that after restart, I don't see the new entry in the grub menu.

Another question, If i used chainloader +1, that means I need to have the FreeBSD bootloader installed also on /dev/sda4 right? For chainloading booloaders?

I didn't get to that step, I first want to see the entry in the menu.

Any idea what I might be missing/misdoing? (I also checked for blank spaces in the menuentry like the wiki for grub2 says)

View 1 Replies View Related

Ubuntu Installation :: Unable To Add A Manual Grub2 Menu Entry?

May 6, 2011

Having just upgraded to Ubuntu 11.04 from 10.10 I noticed that my Grub menu had not upgraded. The upgrade was not as straight forward as it should have been as the PC hung at the end of the installation resulting in a reboot and running dpkg in safe mode to get it all back up and running.

To fix the incorrect grub menu.lst file which was not updating, I renamed the original file and then ran sudo update-grub. It generated a new and correct file. However, my Windows partition was not listed as a Grub menu option.

[Code]...

View 2 Replies View Related

General :: Add A Menu Entry When I Right Click My Mouse System Wide?

Feb 3, 2010

How can I add a menu entry when I right click my mouse system wide?

View 2 Replies View Related

Programming :: Adding A Entry In The Right Click Menu - Java Opensuse?

May 25, 2011

Ok, first is it possible to take a program I wrote and make it to be a entry in the right menu of a file browser program.

Also, can this happen if the program is developed in Java?

OpenSuSE 11.4
Kde 4
Dolphin(file browser)

View 8 Replies View Related

Slackware :: Install Didn't Automatically Create Menu Entry For Gdm

Sep 25, 2010

I have just installed KDE3.5.10 on S13.1 and have followed all steps required on the site at 'http://slackware.osuosl.org/unsupported/kde-3.5.10-for-slack13.0/' containing the packages, finishing with:

[code]...

You'll probably need to log out and back in again for the profile scripts to add the KDE3 stuff to your $PATH and $XDG_CONFIG_DIRS. When you log back in, KDE3 should start when you run X. Unlike LXDE, this install didn't automatically create a menu entry for gdm. Everything seems to be right, but I can't get the gdm entries I've tried to work. Could somebody who has also installed 3.5.10 kindly post the correct file contents?

View 5 Replies View Related

OpenSUSE Install :: Grub Entry Modification - Cannot Remove From Menu List

Jun 20, 2010

I've recently installed suse x64 kde in dual boot mode with windows. I have 2 primary partitions with ntfs with 1 for windows7 boot and other for data/storage. There is no boot provision for data partition. SUSE install is on extended partition. I am unable to run fdisk -l and boot info script for some reason, kde is freaking me out (used to use gnome for last 4 years). The GRUB shows data as a boot and it added an entry in its menu. I will like to remove that entry from menu list.

View 9 Replies View Related

OpenSUSE Install :: Grub Looses Menu Entry After Kernel Update?

Oct 15, 2010

I have manually added an entry for Ubuntu in my grub menu, using Yast. But every time the kernel is updated, this entry disappears. On the other hand, the one for Windows, that was added during OpenSuse's installation, is still there. So how can I keep this entry for Ubuntu ?

Edit : when I save the menu configuration in Yast, I get the following message :
Code:
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
kbuildsycoca4 running...

[Code]...

View 9 Replies View Related

Ubuntu :: Stop Hiding Boot Menu - Correct Entry In 40_custom

May 9, 2010

I am running ubuntu 10.4 only .

I assume to make the boot menu appear I have to add an entry into 40_custom file. Not quiet sure how to make that entry, or if it has to be positioned a certain way.

View 8 Replies View Related

Ubuntu :: Graphical Volume Manager - Finding Graphical Partition Editors That Work With Lvm2

May 9, 2010

I know how to manage them from a commandline but I was wondering if there are any graphical partition editors that understand and work with lvm2?

View 1 Replies View Related

CentOS 5 :: No "switch User" Entry In K - Menu

May 12, 2011

i'm new to CentOS forums, First things first: OS CentOS 5 KDE 3.5 I'm missing the "switch user" entry in the KDE-Menu. After a lot of searching and trying out different hints, I'm at the end of the rope. What works: I can start a new session via "lock current session". I can switch between sessions with F7, F8, I do have the entries:

[code]....

So can you point me to what's wrong / missing?

View 3 Replies View Related

Ubuntu :: Ambiance Theme Graphical Glitch - Broadcast Box In The "Me Menu" Is Black Text On A Near Black Background

Oct 21, 2010

When Ambiance is selected as the theme, the broadcast box in the "Me Menu" is black text on a near black background. Changing the "Input Boxes" color changed the color of that boxes background on every theme except Ambiance. The problem seems to be with having "Controls" set to Ambiance, because having any other theme customized with Ambiance controls selected causes this bug again.

I really don't want to use any of the other themes because I find them horrid in comparison. how to fix this bug, or if someone would be kind enough to post a proper bug report for this? Can anyone else recreate this error on theirs?

View 1 Replies View Related

Debian :: Automatically Start Graphical (SDL) Program As Root On Non-graphical Debian?

Mar 3, 2009

I'm not a Linux noob, but I am far from guru. I'm running a single board computer with a slightly customized Debian Etch (customized by the SBC vendor). No Gnome/KDE/X installed. My application is a control application which uses SDL (Simple DirectMedia Layer) to paint some basic graphics on the VGA. I need to run it as root because the application calls iopl() to access an IO port.If I run my application manually from the command line, life is sweet. From Googling around, I found http://www.debian-administration.org/articles/28, and hence I:1) Created a script in /etc/init.d2) Executed "update-rc.d scriptName defaults" to link the script into the boot sequenceAll very straightforward. My application starts at boot. But when I try to SSH/SFTP into the SBC, I get "Connection refused". So I can't manage the SBC anymore, and this is a big problem. I am not sure if it's relevant, but my application starts before the SSH daemon.My script looked like:

case "$1" in
start)
echo "Starting my application"

[code]...

View 1 Replies View Related

Red Hat / Fedora :: Add Entry Into Openldap?

May 27, 2011

I was trying to find documentation on how to add an a new object into openldap, however I can not seam to find a good walk through.

Just so everyone knows what I'm trying to do, I need to add a new object called bannerid, this bannerid is a unique id that will help me find student accounts in my openldap directly much quicker.

View 2 Replies View Related

Fedora :: Graphical Boot In F13 ?

Oct 14, 2010

I just installed the Catalyst drivers under FC13 (package xorg-x11-drv-catalyst-10.9-1.fc13.i686 ) and I am superhappy, as it worked straight out of the box.

The only little annoying thing is that I lost the Plymouth graphical boot, which is now substituted with the text scrollbar...

I edited grub.conf and added

Code:

Somewhere I read that that attribute is now obsolete and has to be changed to

Code:

But that did not work either.

View 4 Replies View Related

Red Hat / Fedora :: Make Entry In MBR Of Grub

Jan 18, 2011

I installed centos 5 in my PC. When it come to boot loader section I choose another partition (boot) not master boot record. After installing successfully when I restart my PC it is not showing grub it is going stright away to windows. I have also installed window xp. How to add grub entry in mbr.

View 3 Replies View Related

Fedora :: F13 Not Booting To Graphical Login?

Jul 19, 2010

I recently installed fedora 13, everything was going great, now when my computer boots it shows the slash screen and then a blank screen and nothing. its been doing it the past few days, after a few reboots it'll work but i'm unable to figure out what is causing it and today it won't show the graphical login screen at all. after the Fedora slash screen the screen goes black the power button shuts it down as normal. ctrl - alt - F2 works and lets me login text wise but I can't get the graphical login to work. nor can I boot to KDE or gnome.I do have Nvidia drivers installed, normall it'll show the nvidia slash screen before the graphical login prompt comes up and that doesn't happen. I did try init 5 and it says Nvidia drivers are loaded. 3d was working just fine I haven't done anything that I can think of to provoke this.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved