General :: Script To Run When Terminal Starts?
Jun 2, 2010
I have a small script that I wish to run whenever a gnome-terminal is initialized from an x-win session (gnome). The script has been tested and is working, where does it need to be implemented?I tried emplacing the script in /etc/profile.d as 'gnome-terminal.sh' but was unable to create the file.
View 1 Replies
ADVERTISEMENT
Dec 27, 2010
Can anyone tell me what command can be used so that the Linux Centos Server starts mysqld, httpd and ftpd services at boot time automatically?
View 2 Replies
View Related
Jan 24, 2010
if you do the command conky in terminal, it starts conky ofcourse, but it also shows output to that terminal so you can't do any other commands to that terminal, Is their an option like you can do with the '&' sign in other cases? If you do the '&' sign with conky it still gives output, also the conky -d command gives output...
View 9 Replies
View Related
Feb 8, 2011
The problem is that Ubuntu will only boot into a terminal, asking for my username and password. Googling this problem seems to indicate that it may be a problem with graphics drivers.I've tried commands such as "sudo dpkg-reconfigure -phigh xserver-xorg" and "startx" which I found through googling the problem, but neither of these did any good. I also tried reinstalling Ubuntu, but the problem didn't go away.I can still boot into Windows so it's not the end of the world, but I'd like to get Ubuntu working.
View 5 Replies
View Related
May 2, 2010
After upgrading to Lucid, gnome-terminal and xterm both start in the root directory (/); I'd like for them to start in my home directory instead. I had added "cd /home/myname" to the end of .bashrc, and this worked well as a temporary fix, but was never necessary in Karmic. Furthermore, modifying .bashrc in this way renders Nautilus' "Open in Terminal" menu item useless, as it still opens the home directory instead of the folder Nautilus was viewing.
View 9 Replies
View Related
Jan 2, 2011
I want to start a program which starts from terminal window and needs sudo permission. How can I start it from Application menu without need of any permission?
View 2 Replies
View Related
Jun 26, 2011
Maverick Meerkat 10.10Type 'yes' in the terminal without the quote marks and hit enter causes a loop, cpu starts to run high.
View 3 Replies
View Related
May 30, 2010
I'm running CentOS 5.4 on i386 machine with 2.6.18-194.3.1.el5Whenever I login into Gnome, a gnome-termial window comes up. Instantly title says root@localhost before settling with user@localhost with current directory as ~/Downloads. Only happens with my particular user account (normal user), not with root as I tried. I also have KDE, Xfce, Fluxbox as other option at login, but terminal only shows up when I log into Gnome (not kde, xfce or fluxbox)I've done and
1. cronetab -e
Nothing there.
2. Don't have ~/.xinitrc ~/.session
3. Nothing in ~/.bashrc or ~/.bash_profile
4. Nothing in /etc/rc.local
View 4 Replies
View Related
Feb 10, 2010
Sometime after I upgraded to ubuntu 9.10 I've been having trouble with my wireless network connection.It will usually log on to the network, then disconnect a shortly after. Then try to connect again, usually successfully, then it cuts off again. Then connects again, then disconnects. FWIW, ubuntu 9.10 works on a different machine pretty consistently, so I don't think its a problem with the router.
View 2 Replies
View Related
Apr 6, 2010
I downloaded "debian-504-i386-netinst.iso" and burnt it to a dvd. When I boot the machine with the CD in the drive, Win Xp still starts and nothing happens. How can overcome this.
View 14 Replies
View Related
Mar 5, 2011
Is there a terminal emulator which works well in an Ubuntu desktop and provides the following features which Mac OS X's Terminal application has? Re-wrapping text when the window is resized.A Clear command which clears scrollback (as the shell clear does not) and does not clear the cursor's line (typically containing a prompt).
View 2 Replies
View Related
May 10, 2010
Is it possible to make terminal (xfce4-terminal) transparent from bash script?
Maybe by enabling compostion?
View 1 Replies
View Related
Apr 22, 2010
I have a favorite REXX program called fv2. When I was a Windows user I had an icon for fv2 on the Quick Launch bar. Click that icon, and the program ran. Now, as a Linux (Ubuntu) user it is necessary to go through several steps to run fv2.
1) Launch a terminal by clicking on the terminal icon at the top of the screen. What's that area called? The GNOME panel?
2) Enter: ~/Desktop/RexxScripts
3) Enter: regina fv2
I run fv2 several times per day and would really like to have the convenience of a clickable icon.
View 3 Replies
View Related
Jan 7, 2011
When i log in any time,the applications which was left open before the last time i logged in,opens autometically.I have closed all applications and rebooted my PC but i find no difference.
View 6 Replies
View Related
May 26, 2010
How can I make terminal applications immune to terminal emulator close, but still able to use all virtual terminal features?
egin{UPDATE}I want my terminal application remain alive and accessible if I accidentally close terminal emulator. This functionality is provided by screen and tmux, but they have issues with colors and they flush screen.Yes,I can run the shell inside screen, but I do not want the shell remain alive unless there is some other program running.
end{UPDATE}I see this must be something like screen, but without VT100 terminal emulation, something which will just apply whatever application does with "terminal proxy"'s terminal (like outputting something to stdout/stderr or using stty to set terminal options) to the terminal this proxy runs in.
// I know about screen and altscreen on, but it makes either this (screen with TERM=screen):
or this (screen with TERM=rxvt-unicode):
while I want this (rxvt-unicode without screen):
I have figured out that everything looks fine if I compile rxvt-unicode with USE=-xterm-color (in fact vim looks like on the second picture even without screen if I add this USE flag) and set TERM=screen-256color, but I do not like this workaround because it actually changes colors and I can't be sure that it will always change them only this way:
View 4 Replies
View Related
Jun 19, 2010
Right now when I start a program from a terminal I can't use that terminal instance again until I close the program.
I am a new user of linux, and I want to know if there is a way to execute a program/application from a terminal without blocking the terminal until the program ends.
View 3 Replies
View Related
Apr 26, 2011
I am using Firefox 4 on Linux with the DownThemAll extension. On random occasions DownThemAll will start on its own against my will, such as:
When I press Enter after entering a link in the address bar
When I click an entry from the address bar
When I click a link on a page
One possible solution might be to remove DownThemAll and reinstall it. However removing the extension doesn't clear any of its settings, so I am stuck.
View 1 Replies
View Related
Aug 8, 2010
After deleting a ntfs partition, grub is giving me troubles. My fdisk -l gives:
Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 121600 946035720 f W95 Ext'd (LBA)
/dev/sda5 3825 4716 7164958+ 7 HPFS/NTFS
[Code]....
I have one harddrive and a DVD drive. In the bios, the harddrive is mentioned first. So (hd0,5) should point to the /dev/sda6.
BUT when I start my computer, it returns to the grub prompt. The command root gives: (hd0,6).
Why? It should be (hd0,5).
At the grub prompt I enter: root (hd0,5) and configfile /grub/grub.conf and the computer boots fine to fedora.
How can I tell grub use the correct partition?
View 11 Replies
View Related
Jun 20, 2010
Basically, I installed Debian Lenny creating two RAID 1 devices on two 1 TB disks during installation. /dev/md0 for swap and /dev/md1 for "/"
I did not pay much attention, but it seemed to work fine at start - both raid devices were up early during boot, I think. After that I upgraded the system into testing which involved at least upgrading GRUB to 1.97 and compiling & installing a new 2.6.34 kernel ( udev refused to upgrade with old kernel ) Last part was a bit messy, but in the end I have it working.
Let me describe my HDDs setup: when I do "sudo fdisk -l" it gives me sda1,sda2 raid partitions on sda, sdb1,sdb2 raid partitions on sdb which are my two 1 TB drives and sdc1, sdc2, sdc5 for my 3rd 160GB drive I actually boot from ( I mean GRUB is installed there, and its chosen as boot device in BIOS ). The problem is that raid starts degraded every time ( starts with 1 out of 2 devices ). When doing " cat /proc/mdstat " I get "U_" statuses and 2nd devices is "removed" on both md devices.
I can successfully run partx -a sdb, which gives me sdb1 and sdb2 and then I readd those to raid devices using " sudo mdadm --add /dev/md0 /dev/sda1 ". After I read devices it syncs the disks and after about 3 hours I see fine status in mdstat. However when I reboot, it again starts with degraded array. I get a feeling that after I read the disk and sync array I need to update some configuration somewhere, I tried to " sudo mdadm --examine --scan " but its output is no different from my current /etc/mdadm/mdadm.conf even after I readd the disks and sync.
View 1 Replies
View Related
May 8, 2011
gentoo linux starts but hangs after displaying some lines, no error message, no panic, just stops after about 20 lines
View 2 Replies
View Related
Jan 5, 2010
I've been having a problem in Ubuntu 9.10 recently where starting about 2 minutes after startup my computer slows down and becomes unresponsive. I believe the problem is associated with a high IOWait because I have the system monitor applet on my Gnome Panel and it displays 100% IOWait every time my system starts to slow down. I have tried booting into other kernel version and the problem persists. I don't really know what IOWait is or how to diagnose this problem further. I've looked around online and it seems like you have to find a specific process that is causing the IOWait, but I don't understand how to go about doing that.
View 6 Replies
View Related
Feb 3, 2010
When i open my pc and load ubuntu 9.10 a black screen opens and i should write my user and then my password i was doing something in the terminal last time but i don't remember what how can i fix it ? i don't care if i lost data
View 4 Replies
View Related
Jun 20, 2011
what's the easiest way (in, let's say, ubuntu) to be notified when someone (besides me) starts using my wireless network ?
View 8 Replies
View Related
Mar 1, 2010
some times network disconnected automatically. if we restart rhe server it automatically starts to work. again 2 or 3 days, the same senario is happening. on this server 2 database is running, it makes lot of problem to us. what will be the problem? is any connection parameter is there? (ie i mean only 50 numbers of client connection is only allowed like.) or any problem in NIC card or NIC driver.
View 4 Replies
View Related
Jan 16, 2011
I have just installed ubuntu 10.10 on a separate partition on my hardrive and when the screen starts up its in double vision and shaky. Have you had any such probs with ur installs. If so whats the cure. It clears after awhile and never had any probs with the old ubuntu OS.
View 2 Replies
View Related
Jan 30, 2010
how to modify (or get rid of) the sound (music) that is played when the computer starts ? (with ubuntu).
View 5 Replies
View Related
Oct 6, 2009
I am using vsyslog() function in my application to write logs to syslog. I could see the logs in /var/log/syslog as follows.
Oct 6 11:25:23 machine application [4544]: cleanup code starts
What is this number [4544] stands for?
View 2 Replies
View Related
Dec 14, 2010
hello
I tried to find a good subject but it was the best of mine, anyway I'll explain it here.
some time I do some thing like installing a new application in Linux terminal of my office PC but it take a long time and I have to go home during its installation or configuration process that it is not good to cancel it.My current solution is abandoning the process until next day. I wanted to know is there any way to redirect an input and out put of a terminal to another one, if it works I can continue my abandoned process by ssh to my Linux office PC and redirect that terminal to my new remote sshed terminal from my home.
Thank a lot for any help.
View 4 Replies
View Related
Mar 18, 2010
I have and avi file and an ac3 file that contains an alternate audio stream. I run mplayer like: mplayer -audiofile foo.ac3 bar.avi
mplayer takes the audio stream from the ac3 file as expected, but when I try to scroll the video using arrows or pgup/pgdown keys, the audio gets desynced: mplayer just starts playing the audio stream from the beginning. Do I have to pass any additional command line arguments in order to make it scroll properly without desyncing audio?
View 1 Replies
View Related
Aug 2, 2010
what are the programs or process that gets execututed when a linux start. ie starting from the grub (linux bootloader)
View 3 Replies
View Related