Software :: Starting Shell Script In GUI

Jan 9, 2011

I need to start a (bash) script in XFCE or GNOME so that, by double clicking its icon, it opens in a new shell window where it can be stopped with ctrl+c. As it is, when I start it, it runs in background (does not open window), so I need to manually start terminal and kill process. Also I don't see the output and that is important.

View 7 Replies


ADVERTISEMENT

Ubuntu :: Starting In The Shell?

Jan 1, 2011

How can I start up my Ubuntu Linux in the shell? Then how could I make sure to also get back to gnome?

View 1 Replies View Related

Programming :: Starting First Shell Script?

Mar 28, 2010

I've been recently interested in shell scripts.. and my friend wants me to create a script that allows you to ping.Ive been trying to find info about how i could set this up but found nothing..also all i really need to create a shell script is the note pad and set it as a .bat file?? or do i need a program to make a shell?

View 8 Replies View Related

Debian :: Starting Dash As A Login Shell?

Aug 22, 2010

"When first starting, the shell inspects argument 0, and if it begins with a dash '-', the shell is also considered a login shell" - from the dash man page. Could someone please explain this to me in a way that I actually understand?

View 1 Replies View Related

Ubuntu :: Starting Gnome Shell At Login?

Nov 13, 2010

I just installed GS following the instructions here:[URL]... and the classic way of getting GS to start at login (adding gnome-shell --replace in start up applications) doesnt work.

To start GS now we have to use the command "~/gnome-shell/source/gnome-shell/src/gnome-shell --replace" via the terminal adding that to start up doesnt work either, does anyone know how to get GS to start at login?

View 6 Replies View Related

Ubuntu :: Starting Nautilus From Shell Doesn't Work / Why Is So?

Jun 9, 2011

When I type nautilus in shell and run, the nautilus doesn't start.
while I use Alt-F2 and then type nautilus, the nautilus start.
why?

View 4 Replies View Related

Software :: Crond Not Starting Shell Based Apps / Sort This?

Nov 17, 2010

I tried using cron to start rtorrent. But I couldnt start it successfully. My crontab looks like this.

Code:
# m h dom mon dow command
40 22 17 11 * rtorrent
My cron is running properly. How could I start a new shell , so that rtorrent could run using cron.

View 2 Replies View Related

Ubuntu :: E233 - Cannot Open Display - When Starting Gvim On Root Shell

Aug 30, 2009

However, "E233: cannot open display" error appears when starting gvim on ubuntu 8.04root shell.

E233: cannot open display Press ENTER or type command to continue # kdesudo gvim /etc/fstab kdesudo: cannot connect to X server.

View 5 Replies View Related

Debian Multimedia :: Skype Starting Every Time When Open Interactive Root Shell

Jan 20, 2015

I recently "upgraded" to the latest skype and now every time I open an interactive root shell, up pops skype. I can close skype then control-C in the terminal window to get the shell I want, but this is annoying to say the least. Maybe my google-foo is off, but all I can find is articles on how to run skype as root, which is no use. I've tried searching the startup files for "skype" (case independant), but so far all I can find is "LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/ /usr/bin/skype" in the root .bashrc which shouldn't be starting the app.

what could be causing this?

(Running Wheezy)

View 2 Replies View Related

OpenSUSE Install :: 11.4 Insists In Starting X - Stopped With Message On Tty1 "Starting YaST2"

Jul 18, 2011

I installed OS11.4 on my old laptop, Compaq Armada E500., 512MB RAM, ATI Rage Mobility. During installation I chose "minimal server" and added some development packages, lxde and a little more. I chose to start in runlevel 3 which is full networking without X. Still, when computer is booted it tries to start Xorg which doesn't work because of some problem w driver. The start-up seems to stop there, it never loads completely - seems most things in runlevel 3 are not started (see below) I can manually login on laptop and fix it - but never permanently, same thing again after reboot.

I have checked /etc/inittab & yast - both states default runlevel is 3. I have checked services to be started both directly, browsing directory /etc/rc.d/rc3.d/, and with YaST, it is very clear X should not load during boot. But, as said, it does.. I don't really care about the driver problem right now, I can fix that later when I have more time. So how do I stop X from getting started automatically?

More info, if needed: The installation also stopped with message on tty1 "Starting YaST2" and tty8 showing errors with graphics driver (mach64). The system seemed to be installed though, so I simply rebooted (issuing "reboot" from tty2).

[Code]....

I'm not completely sure where it stops, network is configured but keyboard is wrong and mysql & everything after is not started, so somewhere between S02network and S06kbd. I'm going to use it as a server for testing purposes so no X is actually needed - however I do want to have X & lxde installed just in case, my Internet connection at home is terribly slow so I need most things I might need in the future installed today.

View 1 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

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

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

Server :: Add To The Shell Script That Will Allow To Generate The File Using The Shell Script?

Jan 24, 2010

Quote:

/usr/local/bin/mencoder /root/video1.avi -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=300:acodec=libfaac:abitrate=64 -srate 22050 -oac lavc -vf scale=360:240 -o /root/output_temp_video1.flv

[code]....

View 2 Replies View Related

Programming :: How To Turn Non-interactive Shell Into Interactive Shell?

Feb 4, 2011

I have a situation where I am in a non-interactive shell. I have tried from within my non-interative shell to spawn an interactive shell but my output still does not goto me. Isn't there a way I can somehow go into /proc or somwhere and make the output my /dev/tty1? Or some way else to remedy this?The situation arises because I drop from my restricted shell environment (a sort of CLI interface), into the actual Linux shell. I cannot change the code of the CLI environment I am just faced with being in the linux shell environment and its non-interactive. Its very annoying to have to put > /dev/tty1 after every command I type.

Not to mention it seems damn near impossible to get pagers like more and less to work properly when your in a non-interactive shell.

View 2 Replies View Related

Fedora :: Lag When First Starting Up

Dec 8, 2009

When I first boot up my machine and log in or close my laptop lid then open it, after about half a minute in gnome my entire desktop begins to lag. It lasts for a few minutes then it's completely gone and doesn't happen again until next boot or if I close then reopen my laptop. It's a really bad lag too, where the mouse is practically umovable and I can't click anything.

I have an hp g60-549dx with a duel core 64-bit pentium 4 and an intel gma 4500M.

My Kernel is 2.6.31.6-162.fc12.x86_64

Compiz is enabled and after that lag everything runs flawlessly.

So far I've tried making an xorg.conf and changing the AccelMethod as recommended here, [url], but it didn't work.

View 4 Replies View Related

Fedora :: NFS Not Starting On 14?

May 31, 2011

I've just updated to Fedora 14 from Fc10 via preupgrade ( going Fc10 - Fc11 - Fc12 -Fc14 ).The process has been pretty good except that now in Fc14 I have problems with NFS and have lost networking. A portion of the bootlog shows this:

Code:
Starting cups: Starting LSB: Mount and unmount network filesystems....
[ OK ]

[code]....

View 10 Replies View Related

Debian :: Boot Without Starting X

Jun 3, 2015

I just installed debian 8.0.0..I installed it without "desktop-environment" during tasksel, but instead installed it with "sudo apt-get install xorg gnome-core" atferwards.I want x-win to be present but I do not want it to start during boot.

Adding "GRUB_CMDLINE_LINUX_DEFAULT=text" to the grub config used to work but for this new debian it does not change anything. Yes, I did do update-grub2 after editing the grub file, and I also confirmed in /var/log/messages that "text" is present with the kernel command. "sudo update-rc.d gdm3 remove" also has no effect,what I do gnome starts at boot time.

View 8 Replies View Related

Fedora Servers :: Starting VMs Without VMM?

Feb 7, 2010

I have an installation of F12 where I used VMM to create and run four virtual machines.

If I set the machines to start at boot in VMM, but set my host to not boot all the way into X, the VMs don't boot.

IS that suppoed to be that way? Does VMM's auto-boot of VMs depend on some X or GNOME stage?

If so, what's the best way to fire up the VMs such that it doesn't conflict with any subsequent use of startx? (Don't eant to end up with double the machines just because I had a need to fire up X on the host.)

View 1 Replies View Related

OpenSUSE :: Strigi Not Starting On KDE 4.3 In 11.1

Aug 4, 2009

I just upgrade to KDE 4.3 and it is great release, one problem I have found with it is that The Strigi Desktop File Indexer does not want to start. The error that I get is "Strigi service failed to initialize, most likely due to an installation problem.", does anyone here know if Strigi logs things like this and were? "We must plan for freedom, and not only for security, if for no other reason than only freedom can make security more secure."

View 9 Replies View Related

OpenSUSE :: Skype Is Not Starting Up?

Sep 5, 2009

I have decided to start using my SUSE 11.0 now and getting to know it a bit.... I have tried to install skype, I succeeded installing it BUT it's not starting up when I am trying to open the program. Absolutely nothing happens when i am clicking on the icon. Anyone who has any suggestions to what I can do in order to make it work?

View 9 Replies View Related

OpenSUSE :: Virtualbox Not Starting?

Jul 28, 2010

So after a series of uninstalling and reinstalling VirtualBox to get the updated version, I was able to get it installed and working but it seemed to be crashing my computer as everytime i walked away for 10 minutes and came back, it would be at the login screen. It never did it while I was on it though so I never saw any errors. Now after a couple days of that... Whenever I start it I get an error:

Failed to create VirtualBox COM object
The application will now terminate.
Could not load the settings file '/home/user/.VirtualBox/VirtualBox.xml'

[code]....

View 6 Replies View Related

OpenSUSE :: Pidgin 2.7.3 Not Starting On 11.3

Aug 15, 2010

I just updated pidgin from 2.6 to 2.7.3 but when i start i get this entries

Stacktrace:
Native stacktrace:
/usr/lib/libmono.so.0(+0xa7162) [0xb5723162]
/usr/lib/libmono.so.0(+0xe3c04) [0xb575fc04]
[0xffffe40c]
/lib/libc.so.6(strcmp+0xa) [0xb6b4deea]
/usr/lib/libmono.so.0(mono_domain_assembly_open+0x58) [0xb5796838]
[Code]....

View 7 Replies View Related







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