Programming :: Sub Classed Gtk::VScale Looses Scale Functionality

Mar 20, 2011

I'm using Glade and Anjuta to build an oscilloscope and wanted a dial like a real scope, so I sub classed a VScale and painted my own dial.In the process I lost the ability to move the dial.I' ll have to implement the interface from scratch like I started from a base Gtk::Widget.Is this the way it is, or are there ways to change visual appearance of the VScale and still keep it reacting as a VScale?

View 2 Replies


ADVERTISEMENT

Programming :: Scripting Auto-WhiteBalance And 50% Scale

Jul 13, 2010

Does anyone have an example of a way to use ImageMagick or GIMP to Auto-White-Balance and scale 50% as a shell script? I'm asking because I usually do this to post-process photos in GIMP but being able to do this in a shell script means I could put it in Thunar in Xfce and save myself quite a bit of time.I checked the man page of mogrify and convert and didn't see any auto-white-balance type options that I am aware of

View 3 Replies View Related

Programming :: 'read' Functionality In Expect Script?

Aug 2, 2010

Is there a similar thing in expect, as there is 'read'(Read a line from standard input) in bash?I mean one could easily construct following script in bash:

Code: > cat script.sh
#!/bin/bash
read -p "Username: " uname

[code]....

View 1 Replies View Related

Programming :: Adding Functionality To Perl Script?

Mar 18, 2011

I am a C++ programmer and never used Perl. add a functionality to a script, in Perl language. Originally, the script takes 1 file input and I run it in this way: ./script.pl file1 It is designed to return specific words from that file, example:

user
admin
printer-1
user-2
server

The idea is that I need to be able to provide the script with a second input file that contains only few words, each on a new line. These words might have a "dash". Example:

printer-2
server
user-2

I will be running the script as: ./script.pl file1 file2 In return, the script should check if every word in file1 does exist in file2. If it does exist, then the script displays it. In the example I provided above, the script should only return:

server
user-2

Here is the script I have. What's in black is the original working Perl script and what's in red is what I would like to add in Perl Language:

!/usr/bin/env perl
my ($table);
for (every value in file2)
{

[code]....

View 7 Replies View Related

Programming :: SDL - Suddenly Music Functionality Stopped Working?

May 15, 2011

The problem started with that I got a lot of errors about missing header files included from SDL_mixer.h when I attempted to compile my projects. I looked in the directory of this file, and all header files were missing except SDL_mixer.h Resolved this by compiling and installing the base SDL library package. Programs that got recompiled and were able to play music before suddenly produced no music, but sound effects worked. However, old binaries that were compiled prior to the issue with the missing header files played music fine. What the heck is this? I get no errors, nor warnings; none at compilation, none on execution. The kernel pool (dmesg) is clean. There is also another strange issue, which perhaps has nothing to do with the first issue. x86_1$ ./fire XDM authorization key matches an existing client!Couldn't initialize SDL: Couldn't open X11 display.

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

OpenSUSE Multimedia :: VLC Looses Audio

Mar 13, 2011

VLC looses audio during playback (.iso of DVD, not encrypted)Pretty sure this happens with .avi .mp4 etc.. also (can't check ATM)

View 6 Replies View Related

Fedora :: Network-manager Looses Connection When 'Allow All Users' Is On

Sep 17, 2010

I have an issue with network-manager. When I edit my wireless settings and enable 'Allow all users' (I have a german locale so I don't know the exact words but I guess it's close enough) the connection drops and doesn't reconnect. If I click on the wlan access point manually (in the nm-applet) it asks for my WPA pass. This is odd since it was already in the wlan settings.

Then when I reset the 'Allow ...' to off, I'm asked for my su passwd and the connection is re-established. Ideally the nm would connect automatically at boot if the AP is available so I'm not happy with the current state...

View 1 Replies View Related

Ubuntu Networking :: Wireless Looses Connection After Some Time

Jun 4, 2010

I am running Ubuntu 10.04 and i have some problems with my intel WiFi 5100AGN. After a randoom time i dont have a connection anymore and Ubuntu does not reconnect automattecly. I get an popup with the preinstalled password for my WiFi but for some reason i cant connect to it. I have a pastebin from the dmesg after it happens.: [URL]... It is tottaly randoom time it can happen in 1h and also in 6h.

View 2 Replies View Related

Hardware :: Eth0 And Eth1 Looses Information After Reboot

Jun 29, 2010

Eth0 and Eth1 is bonded and works fine but when i reboot the OS eth0 and eth1 cant be up when i run command "ifup bond0", it gives me following message.

OS information:

Network Card :

I am using above card , it works perfectly fine and I have bonded but when I reboot , eth0 and eth1 looses this driver and also the RPMS I have installed , they are gone too.

View 7 Replies View Related

Fedora Networking :: F14 Server Is Looses Access To The Network Once Set A Static IP?

Apr 29, 2011

Our F14 server is looses access to the network once we set a static IP.The same IP, if used on any other pc works fine.We had the same exact setup in our F10 server also.

View 9 Replies View Related

Slackware :: Xorg Server Crashes Because It Looses Old Configuration File?

Oct 29, 2010

After I updated several software including Xorg server using "slackpkg update", I Ignorantly deleted configuration files without backing them up making Xorg server crashes.I try to build Xorg.conf using xorgsetup command but it crashes and spews:

Code:
Fatal server error:
Caught signal 11. Server aborting
/usr/bin/xorgsetup: line 170: 3315 Aborted /usr/X11R6/bin/X -configure

I have a Radeon 4850 Graphic Card with ATI Catalyst as its driver, so I try to reinstall the driver hoping that it will fix the problem, which is a bad logic I admit it, and It fails to uninstall (for some reason the uninstall script is gone) and reinstall (problem with file extraction).

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

Software :: Upon Activating Compiz, Gnome Looses All Title Bars OpenSUSE 11.4

May 23, 2011

Upon turning on compiz, all the title bars above windows are lost, I am using the drivers on NVIDIA's website for my Geforce MX 4000 and I am using gnome. I tried doing what it says here, but the title bars are still lost.

View 4 Replies View Related

Ubuntu :: Possible To Scale With 1920x1080?

Jul 5, 2010

Was wondering if its possible to scale ubuntu theme/environment to suite 1920x1080. Im using my comp on a 42" plasma TV, and it gets kinda small with the default scale.

Don't want to change to a lower res, simple because it's not as pretty and the toolbars are almost hidden.

View 2 Replies View Related

Ubuntu :: Scale WHILE In Expose

Oct 24, 2010

Running Ubuntu 10.10..When you activate expose you see all your virtual desktops, but in each one the windows are overlaid. I want it to scale (ie show all windows on a grid) in each virtual desktop in the expose view. Does anyone know how to activate the scale plugin while in expose?

View 1 Replies View Related

Ubuntu Networking :: Reboot "looses" Wireless Device?

Sep 12, 2010

I installed Ubuntu 10.04 for the first time and had a few issues to put my laptop's wireless device to work (see thread [URL]I am now able to use the wireless connectivity but I still have a problem. Every time I reboot Ubuntu, the system does not seem to recognize that a wireless device is present. To overcome this problem I remove the driver and once this is done I activate the driver.The system then finds the wireless device, enables it and connects to the default wireless connection.

View 4 Replies View Related

Debian Configuration :: CPU Does Not Scale Down When Under Low Load

Dec 28, 2015

I would like my CPU to be overclocked, while retaining frequency scaling capabilities. The CPU is a Core2 Quad Q6700, with a stock speed of 2.67 GHz. In my BIOS, I can manually increase the FSB, but if SpeedStep (EIST) is enabled, the increased FSB is ignored by Linux, and the max speed remains 2.67 GHz. If I disable SpeedStep, then the CPU successfully runs at the higher speed I would expect, but does not scale down when under low load. As it is now, I am only running it at 2.8 GHz.Does CPUFreq *require* SpeedStep to be enabled in the BIOS?

View 13 Replies View Related

Ubuntu :: AWN CPU Frequency Monitors Won't Scale

Apr 18, 2010

how to fix the CPU Frequency Monitor 0.4.0~rc2 for AWN 0.4.0~rc2-rewrite-bzr674-karmic1-1 so that you can actually scale CPU frequencies?

View 1 Replies View Related

Ubuntu Servers :: Best Way To Scale Up Server Set Up?

Sep 1, 2011

what is the best way to scale up server set up for a high growth site? without getting a heart attack, where you can just open up a beer and watch tv as you push a red button to scale the server. lets assume the site is getting 100,000 people a day.And, in thirty days, it will be getting 9 million people a month, and in a few months it will get 9 million people a day. (I know it is a bit crazy)How would you structure a roll out?

two load balancers, two front end app servers, two database servers, and a cdn.And as traffic builds up, you would up the front end app servers, and maybe add two slave database servers? and maybe replicate the servers to east and the west to serve different parts of the world.What kind of hardware? I know it is a bit weird question, and it matters a lot on app, server hardware, server set up, style, class, lifestyle etc - I just want to see if there are any aha moments and awesome set ups that I am not aware of.

View 9 Replies View Related

General :: Centimetre Scale In Kolourpaint

May 20, 2011

I am using ubuntu 10.04 with kolourpaint 4.4.2.Recently I saw in windows 7 professional that paint program has feature to show grid & scale in centimetre.This is useful in drawing geometric sketch.In my kolourpaint : show grid-ctrl+g in view menu is grayed out. What can I do ?Is there a binary available for latest version ( because compiling from source is tedious ) ?

View 4 Replies View Related

Software :: Scale And Stream Video Using VLC?

May 3, 2010

I can successfully stream video, but I cant figure out how to scale the size of the video down. This is the command I am using to start the stream.

vlc -vvv input_stream --sout '#standard{access=http,mux=ts,dst=server.example.org:1234}'

Is there a way that I can specify the height and with of the stream on the command line? From what I read, it looks like a #transcoder option would work, but I cant seem to figure it out. The above command is working, and I can view the stream, but it's extremely slow, and continuously freezes and buffers. My thinking is that if I can reduce the scale of the video.

View 2 Replies View Related

Fedora :: How To Disable Scale Plugin In Compiz?

Jun 19, 2009

When moving the mouse to the right side of the screen quickly, all the windows are small.Previously I was the first thing I was stopped by removing the mark from the Scale, but now stopped while still influence the rest.

View 4 Replies View Related

Ubuntu :: Compiz-Scale Options Window Gone 10.10

Oct 10, 2010

I have just upgraded from 10.04 -> 10.10 and my 'scale' plugin is not working properly in compiz (the rest works well).I do have the effect working with "super+a, super+w" , but "edge" does not work.I can modify values via gconf, I have: "initiate_all_edge" set to "BottomLeft" but this doesnt respond.The weirdest thing is that the compiz scale options part instead of giving me 4 tabs of options -> gives this.(image below) i tried reinstalling a few times & purge compiz + install back, but result remained the same.

View 1 Replies View Related

Ubuntu :: Unity & Compiz Scale Plugin

May 10, 2011

How can I get the scale plugin to show windows from all workspaces like I could before with 10.04 and Gnome?With Unity the scale plugin only "scales" windows that are on the current desktop/workspace.

View 4 Replies View Related

Ubuntu :: Ordering Of Windows For Compiz Scale?

Jun 23, 2011

I have a dual monitor setup and I've used Scale for a few days now, but I'm still confused about the expected ordering of the windows within the same workspace. For example, the last focused window isn't necessarily placed at a fixed spot, e.g., top left corner. It seems that if a window on my left monitor is last focused and I invoke it on my right screen, then it'd appear on the top left corner. However, if a window on my right monitor is last focused, it gets past just the last focused window on my left monitor. The last focused window on my left monitor eventually shifts to the bottom right corner.

View 1 Replies View Related

Software :: Resize / Scale Multiple Images

Jan 3, 2010

I have a very nice digital photo camera and I love to take my pictures at the highest quality setting available. My Canon is a 12 mega pixel camera so the photos get very large. After I shoot a weekend of 200+ pictures, the last thing I want to do is resize them so I can share them on Facebook. Does anyone know of a Linux program that will allow me to re-size multiple images rather than using Gimp to do each individual photo?

View 6 Replies View Related

Slackware :: Does Mplayer Scale In Current With Radeon

Mar 7, 2010

I have noticed that recently, cannot tell after which update, my mplayer does not scale to full screen. It just shows the movie in the center of the screen with black frame around it.I do not know how tightly it may be related, but xine-check says my X server does not support YV12 overlays (twice, BTW, so there must be a bug in its message file) and has no XVideo support.Is it normal in current for now? The card is X1200 (R690)

View 4 Replies View Related

Slackware :: Unable To Get MPlayer To Scale To Fullscreen

Jan 6, 2010

I recently setup my X to work well with the newer version of the ATI driver for my Radeon 3650, however no matter what I do, I can't get mplayer to scale to fullscreen. Something that xine has no trouble with. I have tried the x11, sdl, xover, gl, and gl2 outputs which all make no difference. Am I missing an output, or is something not working as it should? In particular, why is xine fine, while mplayer stumbles? As an unrelated question, it is possible to set mplayer to skip to a next file in a directory? From what I could tell, it does not seem to have this functionality built in.

View 14 Replies View Related

Fedora :: Compiz Scale In VirtualBox Full-screen

Jun 9, 2010

I am using VirtualBox with Win-XP installed which works perfectly But after doing updates in my F13 today the scale wont work in the VirtualBox in full-screen mode Initially scale works when I place the mouse in the top-left corner but it's not working now and nothing happens Ive googled and tried settings in CCSM but I really have no idea why scale doest work in VirtualBox full-screen now this is really extremely inconvenient as i cant switch back to my F13 unless I switch to windows mode in my VirtualBox.

View 2 Replies View Related







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