Ubuntu :: Alacarte Won't Start Up From The Shell

Jan 8, 2010

When I try to start alacarte from the shell, I get: Traceback (most recent call last):

[Code]...

The reason I start from the shell is because I noticed that it would crash after starting up in system monitor. This problem started after I tried to remove a program from the list which had already been manually removed. When this program was unchecked, the list went completely blank. I tried to revert the list, but it didn't work. Is there any hopes of repair?

View 8 Replies


ADVERTISEMENT

Ubuntu :: Doesn't Alacarte Clean Up?

Apr 12, 2010

Ever since I first discovered alacarte (gnome menu editor) I have been creating lots of menus and submenus for gnome menu so I can always find what I want. To avoid having to redo them, whenever I try another gnome based distro or do a fresh install I always copy ~/.local/share/desktop-directories and applications (and a couple of other files, I forget right now) so I can use the same menus in those.

Well, I don't use these custom menus so much lately so have gone for a much simpler solution of creating a "Favourites" submenu and just adding apps I use a lot. It was while rummaging around .local today I noticed there are hundreds of left over files from long since deleted custom menus (like 18 months+) that I have been copying from one distro to another all this time. Why on earth doesn't alacarte delete all these deleted menus and applications files?

I just did a little experiment: I deleted everything out of these folders so I was basically left with the stock gnome menu with no customizations. I then added a new submenu and then added 3 random apps to to it. I then went and deleted two of those apps and when I went to check, sure enough ~/.local/share/applications contained the 3 files instead of one.

View 2 Replies View Related

Ubuntu :: Alacarte Menu Editor Compatibility?

Jul 12, 2010

I've just recently downloaded Lubuntu 10.04 and tried it. It was nice because it was light on my machine.My only problem is, is that it doesn't have a graphical menu editor, and I don't know how to edit menus other than using GUIs.

I've read something about alacarte-menu-editor being able to be used in Lubuntu. I would just like to confirm if it DOES work with Lubuntu.

View 9 Replies View Related

Ubuntu :: Alacarte Menu Editor Not Working Properly?

Nov 14, 2010

Ive had a look around and couldn't find anything that helped so i thought id ask,i have ubuntu net-book 10.10, the menu editor isnt running properly its really hit and miss i have icons that appear even if ive unchecked them and icons that dissappear even though ive checked them and i also keep having to delete duplicate program entrys in the menu editor and its been a problem pretty much since instalationive tried running Alacart as Sudo and editing the menu in that way but i still have the same hit and miss problem with icons being there at randomim really new to Ubuntu and only know what ive recently picked up reading these types of forums so im not sure if im doing something wron

View 1 Replies View Related

OpenSUSE :: Cleaner Applications Menu With Alacarte?

Apr 21, 2010

Is there a way to clean up OpenSuse's applications menu with alacarte? It takes forever for me to find an existing menu item if I want to change or delete it, but deleting existing pre-defined groups (such as "Amusement", "Art and Culture", and "Games for Kids") doesn't work. They simply won't delete.

View 2 Replies View Related

Ubuntu :: Deleting Alacarte Entry Disables Autostart Of Gnome-panel?

Jun 1, 2011

I edited my menu using alacarte. There was an unchecked entry of "Panel", so I deleted that entry. After a reboot, my gnome-panel autostarts no more. I reset everythin in alacarte, but I still have to start gnome-panel manually.

How is that possible? Why depends a simple menu entry from the boot configuration? I hate this so much, because I've made 14 reinstalls the last 3 weeks because of those stupid fails. Is there anybody out there having a solution for me (except reinstalling Ubuntu.

View 2 Replies View Related

OpenSUSE :: Clean Up Alacarte - Move Around Launchers In Application Browser

May 19, 2010

I like openSuSE, but the main thing I miss from Ubuntu is the ability to have complete control over the applications menu. Ubuntu had a clean menu where everything was one level deep, with pretty basic categories. But opening alacarte in openSuSE (running 11.2 with GNOME) is an absolute mess. There are categories for "Astronomy", "Kidsgames", and a whole bunch of folders that I would never use. And it's nearly impossible to get rid of them. Selecting delete almost never works; the closest I've gotten was to re-name a whole bunch of ".directory" files so that the system wouldn't find them, but it still created the majority of them, only this time with generic folders over the default icons.

Plus, I would like to be able to change which application goes to which category in the Application Browser. That menu is much more clean, but I would like to create a "Games" section for it, and move my text editors from Utility to Development. I know that most of the .desktop files are in /usr/share/applications (I have a couple in /usr/local/share), the directories are defined in /usr/share/desktop-directories and ~/.local/share/desktop-directories, and the menu itself seems to define categories in /etc/xdg/menus/applications.menu. But despite knowing all of this, I still have no idea how to clean up alacarte and how to move around launchers in the Application Browser.

View 4 Replies View Related

Ubuntu :: Start A Shell Script With Startup?

May 6, 2011

I wrote a script, and what to make it surring with ububtu as startup shell.

View 9 Replies View Related

Server :: Booting In Shell And Then Start Graphic?

Nov 6, 2010

I have installed ubuntu desktop (not server) because some users want to access the gui (because of their applications). Now what I want to manage is: 1- boot the system in shell mode. 2- if someone want, use startx command to enter graphic mode for his own. otherwise he can continue to use pure terminal shell.

Is it possible to do such thing? how?

View 4 Replies View Related

Ubuntu :: Shell Script To Shutdown Virtual Machines. Copy, And Than Start VM?

Mar 16, 2011

I need to make my 1st ever script to backup VMware workstation VMs to a folder which is then backed up offsite.Here is what I have so far (will be croned):

Code:
sudo vmrun -T ws stop "/home/gareth/vmware/NagiosWeb/NagiosWeb.vmx" soft
sudo vmrun -T ws stop "/home/gareth/vmware/UbuntuBackup/UbuntuBackup.vmx" soft

[code]....

View 1 Replies View Related

Fedora :: Modify Start Up Files Of Sh-based Shell

Sep 2, 2011

i need to add a line in the login start up file(s) (one of ~/.bash_profile, ~/.bash_login, or ~/.profile) and startup file run by my shell when started as a non-login shell (~/.bashrc) so as to set up my account envirnoment for one of my courses.I don't know how to proceed with this. I tried doing this in my ubuntu enviroment and my system got locked after that.

View 3 Replies View Related

Programming :: Start Servers Which Are Running On Pc With One Shell Scrip

May 19, 2010

I want to start servers which are running on my pc with one shell script.

what I wrote is.

#!bin/sh
cd /home/HUNT/server1
gnome-terminal
sh script/server start_with_output

[Code].....

Result I got is:

A new terminal opened with current directory as /home/HUNT/server1 and server started running.

What I didn't get: second terminal and second server were not running.

View 6 Replies View Related

General :: Auto Start Shell Script On Other Actions?

Aug 6, 2011

I have a particular script xxxx in folder yyyy. How can i start/execute xxxx whenever i open or cd into yyyy.

View 3 Replies View Related

Programming :: Start Up A Shell Script When The System Starts?

Mar 1, 2010

This is on Fedora 11. How do I start up a shell script when the system starts?

View 6 Replies View Related

Software :: GNU Screen Doesn't Start Shells As A Login Shell?

Mar 22, 2010

I want to have an ls' output colorization in gnu screen. Colorization in my system (Slackware 13) is realized by aliasing of ls in /etc/profile.d/coreutils-dircolors.sh:

Code:
$ alias ls
alias ls='/bin/ls $LS_OPTIONS'
where $LS_OPTIONS is
Code:
$ echo $LS_OPTIONS
-F -T 0 --color=auto

But in screen this alias isn't defined. It seems like /etc/profile script isn't executed at shell starting in screen. I think it happens because screen starts a shell not as a login shell. I tried to correct it by adding to ~/.screenrc or to /etc/screenrc. The problem is the same. By the way when I start screen as a root I haven't this problem. What's wrong?

View 3 Replies View Related

Programming :: Start A Process And Send Input To It In A Shell Script?

Jun 9, 2011

I'm building a Linux From Scratch system and partially automating it. I will likely want to do it again, and I would like to try to almost completely automate it.

My current approach is a script that takes an input file and sequentially runs each line in a new instance of bash. If one fails, it gives me the number of the step that failed so that I can use the "--step" option to resume after I fixed the issue.

This has some problems:
A varible created on one line will not be accessible on the next line. This is because each line is run in a separate shell (the reason for this is so that the commands in the input file and the script's internal variables can't interfere). You can't switch users or use chroot, again because each line is run in a separate shell.

What would be nice is to be able to start a bash process in the background and send commands to its stdin. I guess that a named pipe would work, but the named pipe will be gone after a chroot. Is there a way to do it without relying on the filesystem? Also, how do I know if the command failed?

View 14 Replies View Related

Debian Multimedia :: Gnome-shell Does Not Start Logging In Via Gdm3 Greeter

Oct 8, 2015

Some days ago (2015-09-28) I installed Debian testing amd64. Log in as a user failed and instead of the Gnome UI there was a sad face with the text: „Oh no! Something has gone wrong. A problem occurred and the system can't recover.

All extensions have been disabled as a precaution. Log out“.

The relevant output of journalctl (run as root) said:

etc/gdm3/Xsession[5379]: cannot connect to brltty at :0
- /etc/gdm3/Xsession[5379]: Service 'org.kde.kaccessibleapp' does not exist.
- gnome-session[5379]: x-session-manager[5379]: WARNING: Application 'gnome-shell.desktop' killed by signal 5
- gnome-session[5379]: x-session-manager[5379]: WARNING: App 'gnome-shell.desktop' respawning too quickly
- x-session-manager[5379]: Unrecoverable failure in required component gnome-shell.desktop

[Code] ...

After some investigating, I found three work-arounds.

(1) Use gdm3-autologin: In /etc/gdm3/daemon.conf, remove the double crosses and insert own user name
AutomaticLoginEnable = true
AutomaticLogin = <own user name>
Disadvantage: Only one user can have access to the Gnome ui. If you log out, you enter the gdm3 greeter and … see above.

(2) Turn off gdm3 by running 'systemctl stop gdm3' as root, log in into a terminal as a user and run startx.

(3) Install package lightdm and make it to the standard display manager with 'dpkg-reconfigure lightdm'.
Disadvantage: Energy manager and screensaver settings of the Gnome control center are ignored.

The easiest way, however, especially if there are several users, is logging in via the gdm3 greeter.

View 10 Replies View Related

General :: Shell Script To Shutdown Virtual Machines / Copy And Than Start VM?

Mar 16, 2011

I need to make my 1st ever script to backup VMware workstation VMs to a folder which is then backed up offsite. Here is what I have so far (will be croned):

Code:

sudo vmrun -T ws stop "/home/gareth/vmware/NagiosWeb/NagiosWeb.vmx" soft
sudo vmrun -T ws stop "/home/gareth/vmware/UbuntuBackup/UbuntuBackup.vmx" soft
**copy or rsync to /home/gareth/vmware-backup/ dir**

[code]....

1. Just to confirm, I need to place the above in a file with #!/bin/bash at the top and make it executable.

2. How do I know when the VMs have safely shut down so I can start the copy? I guess I can either a. wait a specified amount of time b. run some sort of if statement to confirm they are off.

3. How do I use Rsync or cp to copy to the backup folder?

4. How will I know the copy is complete so that I can start the VMs again?

View 3 Replies View Related

Debian Multimedia :: Alacarte Won't Add Folders Under "Games" Menu

Mar 21, 2011

Alacarte won't add folders under "Games" menu, and when I dragged an icon into one of the subfolders that was already there, that icon and the folder I was dragging it to went poof.

I really don't want to learn the freedesktop.org standards just to edit my main menu. What is wrong with this?

View 2 Replies View Related

General :: Bash Shell Script To Check / If Empty Files Are Being Created & Start Process

Jun 25, 2010

I have an Ubuntu server in which a file is dumped every hour and a new file for the next hour and the process continues. If there is any problem due to which the creation of file stops then empty files are created every minute till the process is killed & started again. I need help to make a shell script to check if the empty files are being created and then kill the process and start it again.It would be a great help if anyone can help me regarding this.

View 9 Replies View Related

Ubuntu :: Using 10.04-server 64bit AMD With Fluxbox - Matlab In A Shell The Shell Does Not Display Characters Anymore

Jul 26, 2010

I am using ubuntu10.04-server 64bit AMD with fluxbox. After I ran Matlab in a shell (without GUI) the shell does not display characters anymore, but will execute any command, I just can't see the characters that I'm typing.. I use aterm and xterm, does anybody know why that is, am I missing a package?

View 1 Replies View Related

Ubuntu :: Switch Desktop Shell From Unity To Gnome-shell?

Apr 14, 2011

Is there any way I can switch my desktop shell from unity to, say, gnome-shell? I can switch using other console shell I like (bash, csh, fish, etc.). Assume that there is a stable alternative desktop shell, I should be able to choose, too.

(For console shell, we goes to /etc/passwd. But for desktop, I can't find the way to config.)

View 2 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

Fedora :: Stuck With Bash Shell / Changing Default Shell To Tcsh?

Mar 14, 2010

I want to change my default shell to tcsh. I used

Code:
usermod -s /bin/tcsh username
command as given at url

But if I open a new shell, it is still a bash shell.

How do I make my default shell as tcsh?

View 6 Replies View Related

Software :: Export A Variable To Parent Shell In Shell Scripting?

May 21, 2009

Is there a way to export a variable to parent shell in shell scripting ?

View 3 Replies View Related

Programming :: Shell Scripting / Create A Shell Script Similar To Ls?

Jun 5, 2011

I am trying to create a shell script similar to ls, but which only lists directories. I have the first half working (no argument version), but trying to make it accept an argument, I am failing. My logic is sound I think, but I'm missing something on the syntax.

Code:
if [ $# -eq 0 ] ; then
d=`pwd`
for i in * ; do
if test -d $d/$i ; then
echo "$i:"
code....

View 10 Replies View Related

General :: Write A Shell Script Instead Of Shell Function?

Apr 27, 2011

I would like know when it is necessary or advisable to write a shell script instead of shell function ?

View 3 Replies View Related

Programming :: Bash-shell-like Less Functionality In The Python Shell?

Jun 25, 2010

Is there some type of functional way to read things in the Python shell interpreter similar to less or more in the bash (and other) command line shells?

Example:

Code:

>>> import subprocess
>>> help(subprocess)
...
[pages of stuff to read]
...

I'm hoping so as I hate scrolling and love how less works with simple keystrokes for page-up/page-down/searching etc.

View 4 Replies View Related

General :: Open A New Shell From A Shell And Switch Between Them?

Jan 18, 2011

I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?

View 3 Replies View Related

Programming :: Prevent "leak" Into Shell From A Customized Shell Menu Script?

Dec 15, 2009

I've created a simple script based menu. This menu will be accessed by only a certain users via ssh.When user logs in, the menu will automatically run. (configured at user's .bash_profile).How do I force the session to close when user hits Ctrl-C or Ctrl-Break ?In a nutshell, I don't want user to have access to shell.

View 11 Replies View Related







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