Ubuntu :: Activating Window Through Bash Script

Jun 12, 2010

I'd like to create a bash script that's mapped to hotkey to bring up my Empathy contact list if it's on a separate workspace, mimized to tray, or hidden and hide the window if it's focused.I think I need to use something like wmctrl -l and wmctrl -R, but I can't figure out how to get the window status (minimized to tray, different workspace, etc.)

View 1 Replies


ADVERTISEMENT

Ubuntu :: Split A Bash Terminal Window In To Two Colums?

Mar 11, 2010

Is it possible to split a bash terminal window in to two colums so you can run and see multiple commands at once instead of having to flick between?

View 4 Replies View Related

Ubuntu :: Resume A Bash Script After A Reboot In A Terminal Window?

Apr 6, 2011

this has been driving me crazy all week, no matter what I try it just wont work.I have written a script that installs several programs, half way through it requires the machine to be rebooted.what I've been trying do do without success, is when the system restarts a terminal window opens and the script resumes.I've googled this, and it seems other people have aslo tried and failed to acheive the desired result.ok, I know it would be easy to just run the script without the terminal window (using cron @reboot or rc.local), but I really need the verbose output as the user must make 2 selections on the remaing installations.

View 3 Replies View Related

General :: Bash - Checking Which Window Is Active In A Script?

Aug 8, 2010

In a Linux bash script I can do several things with windows using wmctrl but I'm trying to figure out how to determine what the currently active window is.

View 1 Replies View Related

Debian :: How To Avoid Closing Console - Bash Script - Window

Jul 30, 2011

I have a bash script and I'm dropping a file on script launcher shortcut. Everything seems fine, only that after executing the script console window closes, so I can't see if some messages were produced during execution.

As I just recently switched from Windows, this kind of problem is solved there by adding 'pause' command in batch script, on which user has to press key and script will then continue (finish) or by launching through 'cmd /k' which makes console window persistent.

Googling I found about 'sleep' command and more appropriate for me 'read' command, so I did this:

Unfortunately, I can't see any effect of 'read' command as console windows again terminates after execution. Execution is successful BTW. So what's the catch?

View 9 Replies View Related

Programming :: Get Name(s) Of File(s) Selected In Window Manager (gnome 2.32) In Bash Script?

Mar 12, 2011

Is there any way to get the name(s) of the file(s) selected in the window manager (gnome 2.32) in a bash script?

View 7 Replies View Related

Ubuntu :: Activating Swap File ?

Mar 19, 2010

I am using ubuntu 9.04 on my laptop from past 8 months. These days when I boot my laptop, The booting process takes more time on the following step:

Activating swap file

View 6 Replies View Related

Ubuntu Networking :: Activating The Wireless On Laptop?

Jan 20, 2010

This must be a repost, but I still want to ask, how do I activate the wireless on my laptop? I've been given advice about this a while back, but forgot. Just reinstalled a fresh copy of 9.10

Or is there an alternative way to do this?

View 7 Replies View Related

Ubuntu Networking :: Installing And Activating B43 Driver

Apr 18, 2010

Need to install b43 driver to use monitor mode on my card - versions are compatible, I ran
Code:
sudo apt-get install b43-fwcutter
As told, but instructions end there. Pressed yes to download and extract firmware. Do I need to activate this driver somehow?

Info on wireless card:
Code:
tnt@Artemis:~$ lspci -vnn | grep 14e4
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
Broadcom STA driver is activated in the hardware drivers manager.

View 2 Replies View Related

Ubuntu :: Activating A Partition - Cannot Drag And Drop Anything

May 10, 2011

I want to do is use a partition other than the one the OS is installed on for my data files. Before I installed 10.10 I set up a separate partition for this purpose and formatted it as ext 4. It shows under Places as a "131GB Filesystem". It contains a folder called "lost+found.

When I try to set up folders/directories to use for data using Ctrl+Shift+n nothing happens. The File menu does not have the option to create new directories. I cannot drag and drop anything onto it. The properties shows root as the owner. how to make the partition usable or direct me to where the instructions might be? After going through 400+ pages of a book on using the command line, I haven't found anything to deal with this.

View 9 Replies View Related

Slackware :: Lilo Not Activating ?

May 16, 2011

I finally got everything installed and then slackware setup prompted me to reboot. then i did and it just took me back to windowsxpx64. so then i tried booting off my usb, and it worked, however when i login as root, i just get the bash commandline and not interface or programs or anything. i cannot login as any other user and the setup did not prompt me to make another user account. so how would i activate lilo or make it so i can boot with it to slackware? i rather use grub but for now i would just like to get slackware working right.

View 2 Replies View Related

Ubuntu :: Black Screen After Activating Nvidia Driver?

Nov 29, 2010

I've been using ubuntu fine for a while when I decide to activate my nvidia graphics card.After rebooting, however, I hit nothing but a black screen. I've searched the nets and others have seemed to solve the problem after hitting alt+ctrl+f1/f2 and editing some files after that, but that doesn't work for me. Booting into recover console gives me nothing but a long stream of white words before it runs to --> done. and then it goes back to a black screen. Running from Live CD I can't access my ubuntu files.

View 3 Replies View Related

Ubuntu :: Error Activating XKB Configuration - Bug In Libxklavier Library

Dec 31, 2010

Error activating XKB configuration It can happen under various circumstances:

- a bug in libxklavier library
- a bug in X server (xkbcomp, xmodmap utilities)
- X server with incompatible libxkbfile implementation

Xserver version data: The X.Org Foundation 10300000 If you report this situation as a bug, please include:

- The result of xprop -root | grep XKB
- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

View 2 Replies View Related

Ubuntu Networking :: Slow Login After Activating Wlan0 ?

Apr 1, 2011

I have a strange issue that I cannot put my finger on. Recently,I installed a new Ubuntu 10.04 server. No extra software yet, apart from openssh-server. The wired connection (eth1) works fine. I then added a wireless card with chipset p54pci, which appears to work with the wext driver. Configured /etc/wpa_supplicant, and /etc/network/interfaces as well:

This is wpa_supplicant:

Code:

This is interfaces:

Code:

After a reboot the machine comes up with both NICs active.

If I do a ssh from another Ubuntu machine to this machine (to 192.168.2.100, so the wired address) it takes about 30 seconds before I get the login as: prompt.

If I change the interfaces file so that wlan0 is not started (I comment out the line auto wlan0, and reboot), connecting from another machine with ssh alsmost instantly gives me te login prompt.

I tried switching the order of both NICs in the interfaces file. Also tried changing the sshd config file so that it only listens on the wired ip address. Both did not help.

Does anyone have a clue why logging in with ssh from another machine is very much slower in response with wlan0 activated than without ?

View 2 Replies View Related

Ubuntu :: Natty: Display Goes Blank Without Activating Screensaver

May 13, 2011

This issue was resolved in Lucid and Maverick; now it's back... This happens after only 2-3 minutes, even when the screen saver is set to activate after 20 minutes. I believe this has something to do with ACPI power management.

View 2 Replies View Related

Debian Installation :: Activating DNS On New Install

Nov 30, 2015

I just installed debian Jessie (8) and find that the system cannot resolve URLs. Checking with the "hosts" command confirms this. I am connected to a comcast network in my house. I have looked over some of the documentation and it seems like there are several conflicting ways of setting up the resolver. It is not clear if the install process did this for me. I am assuming that DHCP was installed as the computer had no problem defining IPs for its wlan0 and eth0 ports and I can telnet in from and in-network PC. I have a few questions :

1) I see /sbin/dhclient/,,,,, running so i assume this is the DHCP deamon in use?
2) Before I dig too deep I wonder if an internal firewall is involved. Is there a command to shut it down temporarily?
3) what would I look for to determine if a resolver was installed and which one?

I see from my windows machine an apparent comcast DNS server but I don't believe I can code it into resolv.conf on debian as the OS now overwrites this(I already tried and failed!).

View 14 Replies View Related

Fedora :: Error Activating Xkb Configuration

Mar 2, 2009

Since the last update of xorg/x-server I am receiving following error after logging into my gnome desktop:

Code:

After updating fedora on my laptop there's the same error. I found this thread here in the forums but the link inside is dead. [url]

According to some google-results it has something to do with the gnome settings not being the same as the X-server settings.

View 3 Replies View Related

Fedora :: Gnome-screensaver Not Activating

Dec 11, 2010

I'm running Fedora 12 and the last couple days I have noticed my screensaver will not start anymore. I did a yum update a few days ago don't know if there is a connection between the two. I've just started to Google the topic. Found different culprits ranging from dbus problems to buggy code.

I'm using a x86_64 PC running kernel 2.6.32.23-170.fc12.x86_64. My Gnome version is 2.28.2. The Gnome-screensaver version is 2.28.3-1.fc12.x86_64.

View 1 Replies View Related

Fedora :: What Are The Steps In Activating FTP And Telnet On 10

Jan 11, 2009

SSH is initially installed and activated. What are the steps in activating FTP and Telnet on Fedora 10. I know they are non-secure and probably shouldn't be used at all, but I need to know or at least pointed in the right direction.

View 3 Replies View Related

General :: Unable Activating Eth0 ?

Sep 23, 2010

My box is centos x86 5.4.

I changed lan card and tried to enable eth0 with command "ifconfig eth0 up", but not worked.

Code:

How to enable eth0 and see "inet4 address".

View 14 Replies View Related

Slackware :: Activating Cpu Frequency Scaling ?

May 15, 2011

Slackware64 13.37 multilib, generic kernel (full install)

BIOS: EIST and C3/C6/C7 State support are enabled.

I'm trying to activate cpu frequency scaling following the tutorial on slackwiki: [url]

I can't load any module.

Code:

I've tried all of them but the error is the same. I also rebooted to the huge kernel, however, it gave me the same error.

View 13 Replies View Related

Ubuntu Networking :: Activating Wireless On Acer TravelMate 2480

Feb 7, 2010

I'm fairly new to Ubuntu. I'm struggling to enable wireless on my Acer Travelmate 2480. Wireless was turned on and off in Windows with a button which does nothing in Ubuntu.I think I must be missing drivers or something, but how do I get them if I can't connect to the internet?

View 2 Replies View Related

Ubuntu Multimedia :: Microphone Stops Working Activating The Webcam?

Apr 6, 2010

I've just installed Ubuntu Karmic on a HP pavilion AMD 64 bit.I've a weird problem: the microphone works good, but using skype 2.1 beta, it stops working when te my webcam. Even after restarting skype, the microphone doesn't work. To make the microphone work, it seems to me that I've to reboot.

View 4 Replies View Related

Ubuntu Installation :: Activating Graphics Card Won't Letting To Boot

Sep 19, 2010

I'd been using 10.04 for a while and then one day the computer wouldn't boot. It just loaded up to a low res purple screen with the loading dots on it and froze. I managed to get all my files back and everything and re-install and it was working fine until I enabled the graphics card and then the same problem occurred. I've isolated the problem to the graphics card. It's never given me issues before and I've been running Ubuntu for about 2 1/2 years now so I was kind of surprised.

It's an NVIDEA card by the way. Any suggestions as to what I should do? I need hardware support for graphics because I do some work in 2D and 3D and as such need to be able to do that stuff on my PC. I don't want to have to keep reinstalling to check if the graphics card is working again yet but it's the only thing I can think of =(

View 1 Replies View Related

Ubuntu Multimedia :: Bootscreen Defect After Activating Display Drivers?

Oct 15, 2010

Installed ubuntu 10.10 without any problems. Everything works fine until i installed the ati display drivers. After this ubuntu shows me 3 different screens before login that apparently broken (see attachments). After the last screen the "normal" login screen is shown.If i dont use the drivers everything looks fine, but then my gpu fan (radeon 4890hd) runs at 100% which is a bit noisy.

View 9 Replies View Related

Ubuntu Networking :: Error Activating Driver: 'B43legacy' For BCM4303 On 10.10

Mar 27, 2011

I'm new to Ubuntu as of yesterday, and know very little of Linux in general. I tried RedHat for a while about 10 years ago and remember almost nothing from the experience. I'm up and running with everything working great with one exception -- my wireless. The error: Contents of jockey.log as suggested: -Sorry, it's long. Not sure what (if anything) is relevant.

[Code]....

View 8 Replies View Related

Ubuntu :: Lost Gnome After Activating Open GL In Compiz / Get It Back?

Jun 12, 2011

I ran the compiz --replace command and I was playing about with Compiz. I wanted to active that rotating desktop cube. The screen froze when I activated it and I ended up doing a hard reboot by pressing and holding the power button.

Now, when I log in, the gnome bar at the top has gone, the window 'decorations' have gone (no minimize, etc) and the new gnome launcher on the left of the screen has gone

Any advice on how to get thing back to the way they were?

View 2 Replies View Related

Ubuntu :: Activating Nouveau - Disabling NVIDIA Manual Binary?

Jun 20, 2011

I was having slowdown freezes with the NVIDIA proprietary drivers for Ubuntu 11.04 (additional drivers), so I decided to try the latest binary from nvidia that I had to install manually. I purged the system of the nvidia drivers and then installed the manual nvidia driver (sudo apt-get --purge remove nvidia-*). But I got the same slowdown freeze (just took a lot longer to happen now) and when I uninstalled the manual nvidia driver, X would fail to initialize (no nvidia modules). Is there a package or configuration utility I could use to install the nouveau driver after removing the manual nvidia drivers or am I screwed? Cause the Nouveau driver works fine, I just wanted to see if I could switch to Linux since all the games I play work fine through Wine.

View 1 Replies View Related

Ubuntu :: Activating NVidia Drivers Makes Desktop Disappear?

Aug 6, 2011

When I activate the nvidia and restart, the desktop disappears. I have tried re-installing Ubuntu and mint and it keep happening. The computer is has a single core amd athlon 64, 1.5gb's of ram and a nvidia 7300gs card.

View 9 Replies View Related

Debian :: Activating Network - Root Account ?

May 13, 2010

How do I activate networking? (I am currently logged in from Ubuntu on another computer). I installed Debian Squeeze on an iMac 7.1 (which works perfectly well with ubuntu) from the netinstall CD (today's daily build), and of course I deactivated root login, coming from ubuntu. Now I find I have to enter my root password (login password will not do) to activate networking! Is this a joke? I had the network configured with DHCP during install! So how do I activate the root account, or, more to the point, how do I get by in Debian without activating root login?

View 5 Replies View Related







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