[partiallySOLVED] changing window name of running urxvt

Hi,
Is it possible to change the window name of an running urxvt-terminal via external script (as in: not running in the urxvt-terminal itself)?
I have no idea how i could do that ... is it even possible at all?
EDIT:
Why?
To change the name/title of a urxvt-terminal running mcabber when a new incoming message is detected ...
Thanks, atcq
Last edited by atcq (2009-04-24 12:53:41)

sure.. this is true for the first start of the terminal ... and you can also do that by using the -name NAME option of urxvt!
i wanted to change a specific terminals (say started with the -name mcabber option) window_name!
found a solution which doesn't work with openbox , had it tested by someone running debian and xfce ... maybe it works with arch and xfce, too!
no idea why it won't work in openbox though!
you need community/wmctrl
pacman -S wmctrl
to use it in mcabber:
~/.mcabber/mcabberrc
set events_command = ~/.mcabber/eventcmd
set events_ignore_active_window = 1 # not necessarily needed!
needs to be set
~/.mcabber/eventcmd
#!/bin/bash
# testing if message is an incoming message from JID
if [ "$2" == IN ]; then
wmctrl -r mcabber -T "new msg from $3 - mcabber"
fi
# resetting window_name to default if all messages are read
if [ "$1" == UNREAD -a "$2" == 0 ]; then
wmctrl -r mcabber -T "mcabber"
fi
exit 0
instead of changing the name of urxvt, i now use notify-send with xfce4-notifyd to notify me about new messages in mcabber ...
maybe it helps someone else ... i'm fine with notify-send!
Last edited by atcq (2009-04-24 12:52:06)

Similar Messages

  • Where to change window name of webhelp output

    RH8 HTML
    I want to change the name that appears in the window name of the webhelp.
    i.e when browsing the adobe forums the window name that apepars in your browser is Adobe Forums: Forum: WebHelp.
    where can I change this, or where does RH pull this info from.
    Thanks.

    Nevermind, found it.
    for those who want to know.
    File > Project Settings > General Tab > Project Name.

  • Change Windows Title in run-time

    I can change windows title in File-->VI Properties--< Windows Title.
    I wish You write in a string box change the windows title. How can i made it?
    Thanks.

    GerdW,
    If you open a reference, and then, in a loop, change the title, there is no
    problem.
    But if you open a reference and change the title in a loop, you get problems
    when you don't close the reference. This does not happen when you don't use
    the Open VI Reference.
    The attached VI will hopefully clear things up...
    Regards,
    Wiebe.
    "GerdW" wrote in message
    news:[email protected]..
    > Hello Wiebe,
    >
    > what do you mean with new and old reference? Does the reference of the
    > vi change, when you change the FP.Title property?
    > I have a vi, that runs as long as I'm sitting in front of my computer
    > (say 10 hours a day). It sets the title every 90 seconds to signal
    > running pr
    ocesses in Windows taskbar. I close the reference on vi exit
    > and never realize some memory leaks.
    >
    > Best regards,
    > GerdW
    [Attachment Change Title Leak.vi, see below]
    Attachments:
    Change_Title_Leak.vi ‏50 KB

  • Can I change user name after running essbase from command prompt??

    Hi,
    I run essbase from command prompt and during this activity I was asked to give user name and password, but by mistake I put wrong user name and now wolud like to chanege it.
    Is it possible??
    cheers,

    It worked,
    now I was able to connect to easbase from planning, I ve created sample aplication and initialize it but cannot connect to Eas to download data for sample application. After I run the validation there is now only one error displayed:
    Essbase / Essbase Administration Services
    FAILED Web App Availability of web application context (POL-MPIKULSKI 10080, eas)
    Error: com.hyperion.cis.utils.BadResponseCodeException: Bad response code: 404
    Recommended Action: Check application is started
    I tried to start the eas from start>programs>epm system>essbase>administration services>start administration services(java embeded) but it didnt help.
    can I start in in different way??
    cheers,

  • How to change domain name on Windows 2003 running Exchange 2007

    Hi all,
    I have a windows 2003 server running Exchange 2007.  I am wanting to rename the domain, however when I search the web for the process to perform a rename of the domain I see "The domain rename operation is not supported in Microsoft Exchange Server 2007". 
    How can a domain name be changed?  http://technet.microsoft.com/en-us/library/cc781575%28v=ws.10%29.aspx
    The server runs active directory, dns, dhcp, and Exchange 2007.
    This change is being inspired by the change with SSL certs where internal addresses like .local will no longer be supported in the third party certificate registrars.  Recently we renewed our cert and did not include the .local URL.  Now the internal
    systems are getting warnings about the cert.   I tried generating an internal self signed cert but it seems only one cert can be valid with exchange 2007 running on windows 2003.  Thus the internal cert replaced the external cert and allowed
    the internal systems to run without complaining about the cert but the external access was causing warnings.  I reversed back to the third party cert.  This cert has company.com and mail.company.com and autodiscovery.  I believe if I rename
    the server to server2.company.com the autodiscovery will allow the server2 to be mapped to company.com and the cert will be valid for internal clients.
    Do I have this correct?  Are there errors with what I have found so far?
    Any suggestions about how to solve this issue short of getting a new server? How can I rename the domain?

    Hi,
    As you mentioned, the domain rename is not supported in Microsoft Exchange Server 2007.
    About your question with certificate, we can change URLs to xxx.domain.com. More details about this workaround, please refer to:
    https://support.microsoft.com/kb/940726?wa=wsignin1.0
    Note: please make sure the same name with certificate.
    Additional, Microsoft do not recommended to install Exchange server on a DC. I suggest install Exchange server on a member server. More details to see:
    Installing Exchange on a domain controller is not recommended
    http://technet.microsoft.com/en-us/library/ms.exch.setupreadiness.warninginstallexchangerolesondomaincontroller(v=exchg.150).aspx
    Best regards,
    Allen Wang

  • Changing the name of serial communication example in lab windows. Urgent help required

    I am using the example of getting data from rs 232 in lab windows. I want to use this in my final year project that's why I want to change its name that appears as  "serial communication example" how can I change its name and how can I make its exe file that will run on any system even without lab windows.
    How can I modify this example to save the data. I am very new to lab windows, I was using hyper terminal previously.

    I am not informed about the file format that hyperterminal uses.  However, CVI allows wiring to files.  To get a list of functions that deal with file handling, press <Ctrl-Shift-p> to get the "Find Function Panel" dialog.  Type in "file" and press the "Find" button.  This will open a list of funtions that contain "file" in their name.

  • Command to Open "Computer Name/Domain Changes" window

    Running the commands SystemPropertiesComputerName or "sysdm.cpl" in command line will open the System Properties window. I still have to click on the "Change" button to
    get to the Computer Name/Domain Changes window. Is there a command to get to the
    Computer Name/Domain Changes window directly? I have been searching the internet for several days. I've also tried using SendKeys (batch file, VBScript, and in PowerShell) and to send two TABS
    and an ENTER key but I can't get it to work. The command doesn't seem to work on the
    System Properties window.
    Thank you,
    Tom

    Hi
    B.Gandomkar,                                                      
    Would you please tell us the purpose by doing this  ? If you want to rename the computer from this tab.
    Here are several links may be helpful:
    Rename-Computer
    http://technet.microsoft.com/en-us/library/hh849792.aspx
    Set Computer Name using PowerShell
    http://social.technet.microsoft.com/wiki/contents/articles/7824.set-computer-name-using-powershell.aspx
    How to Rename Computers Using PowerShell and a CSV File
    http://social.technet.microsoft.com/wiki/contents/articles/2243.how-to-rename-computers-using-powershell-and-a-csv-file.aspx
    Best regards

  • Changing Variant Pop up window name in Portal for BI reports

    Hi All,
    I have integrated Bex analyzer with portal, from which when i select variant it will open pop window to select options.. here i want to change the  pop window name as " sale order report name itself. I have changed the name of the report and it is showing in internet explorer...
    when i select variant...im getting Bex internet explorer name, instead of sales order report name.
    Please suggest where can i change this settings in portal or BIW level.
    Thanks
    Pradeep

    See if this link helps
    http://www.vrusso.com.br/blog/2011/03/unobtrusive-confirm-javascript-replacement-with-jquery-ui-dialog/Effectively you are calling a jQuery dialog box with custom buttons and events. Optionally you can hide the close button(or even the titlebar) and prevent closing the modal window when escape key is pressed.

  • I changed my name on MacBook pro, I could not log in after that though the password is unchanged but tHe name appeared on the login window is the original name?..how I can log in?

    I changed my name on MacBook pro, I could not log in after that though the password is unchanged but tHe name appeared on the login window is the original name?..how I can log in?

    Hmmm.  Maybe try this?
    OS X: Changing or resetting an account password

  • How to change the name of the Mac I connect to in the drop-down window.

    Using my brand new MacBook, in the drop down menu when I connect to my iMac, it shows up as my name ( which is Derek Walton's Computer) ...... How can I change the name that shows up here? I have tried all areas that iI can think of and altered my name on the iMac but to no avail - e.g. - Network Sharing, Account Name, and so on.... anything anywhere I have changed... but it always shows up with my full name. I have however managed to get the name in the sidebar of the Leopard window to read as I want ( Derek's iMac) but that is all.
    Also, when I am using Airport on my MacBook, in the drop-down menu I see also other neighbours connections.... I am wondering therefore does it follow that they can see my wireless connection ( as Derel Waltons Computer)?
    This has been vexing me all night and I am geting very frustrated, but I bet there is a simple answer..... for those that know!
    Thanks in advance for any help you care to put my way.
    Derek

    It is not a simple issue. Not the same as changing a user account in Preferences. Ttry this link:
    http://docs.info.apple.com/article.html?artnum=106824

  • My 3 year-old macbook pro is very slow. I have run disk utility and virus scan with no improvement. The "beach ball" will spin for minutes at a time when opening, closing or changing windows. Apple Store looked at it a few months ago with no help.

    my 3 year-old macbook pro is very slow. I have run disk utility and virus scan with no improvement. The "beach ball" will spin for minutes at a time when opening, closing or changing windows. Apple Store looked at it a few months ago with no help. What can I do?

    Under CPU: 3.5% user; 5% system; 91% idle; 441 threads; 90 processes.
    Under System: out of 2GB - 54.7MB free; 530MB wired; 603MB active; 862MB inactive; 1.95GB used.
    Is too much of the system memory tied up? If so, what can I do to free some up?

  • Change the name of window in SAP B1 8.8

    Dear All,
    I want to change the name of the A/R Down Payment request window to some other name. I have tried to do the same from frontend from document numbering but the problem is since there are no separate series for Down Payment request & invoice when I change the name there only the down payment invoice name changes while down payment request remains the same. Please guide if there is any table in SAP where all the window names might be saved and where I can go and edit the  name without any repercussions.

    Hi,
    Gordon is right you will get more replies if it's flagged as a question as people can earn points.
    But I'm feeling generous :P
    I don't know a way to do it like you mentioned, but you can just use the UI. There's loads of ways to do it but you could catch the form load event on before action = true, and do
    If (oForm.Title == "A/R Down Payment request")
               oForm.Title = "My new title";
    If you haven't worked with UI there's loads of examples and info to cover the bits I glossed over.
    Good luck

  • How do i change netbios name in windows 2012 server

    Hi,
    i have create Ad on windows 2012 server and i have enter netbios name with end 0. now problem is when try to access any user it show netbios name there. is it possible that i can change netbios name or why it show netbios name.
    sunit kumar

    Hi,  
    We can use the active directory rename tools to rename domain NetBIOS name. But it is a complex and risky process.
    For more information about how to use random.exe to rename domain name, please refer to the following article:
    Rendom
    http://technet.microsoft.com/en-us/library/cc732097.aspx
    Besides, renaming of the NetBIOS domain name is not supported in any version of Exchange Server.
    For more information about this, the following threads can be referred to.
    NetBios Name Change
    https://social.technet.microsoft.com/Forums/en-US/2cd9d561-e737-43ee-b791-0501105b85e9/netbios-name-change?forum=winserverDS
    Can we change our domain netbios name?
    https://social.technet.microsoft.com/forums/windowsserver/en-US/989a8a16-7c8b-4787-8092-605de6b9d617/can-we-change-our-domain-netbios-name-
    Best Regards,
    Erin

  • Run report from forms - Cannot change file name in report node

    I am running a report (9i) from forms (9i) and I changed the name of the report in the filename field in the report node (in object navigator).
    I noticed that I get the error FRM-41214 on the RUN_REPORT_OBJECT line when I run the form, if I've changed the filename from what it originally was. e.g. It was originally rep44.rdf and I changed it to rep55.rdf, but I get this error unless I keep the rep44.rdf filename. Why? Is there somewhere else I should change this filename?

    To view the reports queue open this URL:
    http://<server>:<port>/reports/rwservlet/showjobs?server=<repserver>
    Also, try running the report stand alone, not from Forms.
    http://<server>:<port>/reports/rwservlet?server=<repserver>&report=rep55.rdf&userid=<un>/<pw>@<db>&destype=cache&desformat=PDF

  • Change Node name dyanamic like as Windows Add "New Folder"

    Hi Friends
    I m new in swing. I want ur help.
    I want to rename node of JTree like windows.
    means when I click on right button of mouse, one pop-up is displayed for
    "Add Node".
    but when it is added that time we can change it name like Windows. It will select whole "Add Node" text.
    I hope u can understand my prob.
    Awaiting 4 ur prompt reply.

    There's a demo for doing this on this site. Check oout "Tree Tutorial" or something like that

Maybe you are looking for