Powershell Widgets not displaying on Remote Console
Created a new dashboard based upon the "Using PowerShell Grid Widget Scenario 1" from the New Widgets.docx document.
Using PowerShell create a grid view to display some arbitrary data
Create a 1 grid dashboard
On the first widget add a PowerShell Grid Widget called “PowerShell”
Copy the script below into the wizard:
$dataObject = $ScriptContext.CreateInstance("xsd://foo!bar/baz")
$dataObject["Id"] = "123"
$dataObject["Hello"] = "world"
$dataObject["Olleh"] = "Dlrow"
$ScriptContext.ReturnCollection.Add($dataObject)
Opening the dashboard on any Management server produces the desired results. However, when trying to view the dashboard on a remote console (not running on the management server) produces the following error:
Please provide the following information to the support engineer if you have to contact Microsoft Help and Support :
System.Net.Sockets.SocketException (0x80004005): No such host is known
at Microsoft.EnterpriseManagement.Presentation.Security.DataProviderConnectionBootstrapper.GetServerHostName(Uri serviceUri)
at Microsoft.EnterpriseManagement.Presentation.Security.DataProviderConnectionBootstrapper.GetServerName(IUnityContainer container, String connectionSessionTicket)
at Microsoft.EnterpriseManagement.Presentation.Security.DataProviderConnectionBootstrapper.TryGetIsInitializedInternal(IUnityContainer container, String connectionSessionTicket, Boolean performLock, String& uniqueServerName)
at Microsoft.EnterpriseManagement.Presentation.Security.DataProviderConnectionBootstrapper.RunInternal(String connectionSessionTicket, Boolean checkInitialized)
at Microsoft.EnterpriseManagement.Presentation.Security.DataProviderConnectionBootstrapper.Run(String connectionSessionTicket)
at Microsoft.EnterpriseManagement.Presentation.Security.DataCommandNotFoundHandler.Handle(DataCommand command)
at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.GetCommand(DataCommand command)
at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.ExecuteScalarInternal[TResult](DataCommand command)
at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.<ExecuteScalarAsync>b__2[TResult](<>f__AnonymousType0`1 data)
Ideas?
Thanks,
Tom
Hi,
Why not use GUI to create dashboard and then check it on the remote console?
Hope the below two links be helpful for you:
http://blogs.technet.com/b/momteam/archive/2011/09/27/introducing-operations-manager-2012-dashboards.aspx
New Widgets and Dashboard.
http://blogs.technet.com/b/momteam/archive/2014/04/24/new-widgets-and-dashboard.aspx
Regards,
Yan Li
Regards, Yan Li
Similar Messages
-
[svn] 1017: Bug: BLZ-95 - nio channels are not displayed in ds-console
Revision: 1017
Author: [email protected]
Date: 2008-03-28 18:33:47 -0700 (Fri, 28 Mar 2008)
Log Message:
Bug: BLZ-95 - nio channels are not displayed in ds-console
QA: Yes
Doc: No
Details:
* Needed to update one of the containers in the ds-console client code for endpoint display, which contains a hardcoded list of endpoint types it pulls in.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-95
Modified Paths:
blazeds/branches/3.0.x/apps/ds-console/console/containers/EndpointManager.asAddendum to original post - uncommenting the following code section and running both the client and the server eliminated the pauses, however the time required to perform the connections was slower than I hoped. The best I could achieve was about 1.25 seconds for 250 connections with a 20ms pause every 20 connections (dropping the pause less than 20ms or increasing the batch size more than 20 would result in connections taking 10-20 times longer!).
/* if ((i % 20) == 0) {
Thread.sleep(20); -
Spry tab menu background image is not displaying on remote server
Hello All,
I have a problem with spry tab panel, it is not displaying image in the background when it is active, it is working properly in local server but when i upload to remote it vanishes.
Here is the link
http://www.geftas.com/temaritestpage/about.html
Also I am uploading Css and html code below
Any help would be exteremely appreciated.
Thanks
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf8"/>
<meta http-equiv="content-type" content="cache" />
<meta http-equiv="robots" content="INDEX,FOLLOW" />
<meta http-equiv="keywords" content="Enter Keywords"/>
<meta http-equiv="description" content="Description Here" />
<title>TEMARI&CO. | Business Strategists</title>
<link href="css/about.css" rel="stylesheet" type="text/css" media="screen" />
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="header"></div>
<div id="navigation">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="index.html">HOME</a></li>
<li><a href="about.html" class="current">ABOUT</a></li>
<li><a href="#" class="MenuBarItemSubmenu">CONSULTING</a>
<ul>
<li><a href="#">Business Plan</a></li>
<li><a href="#">Marketing Plan</a></li>
<li><a href="#">Incorporation</a></li>
<li><a href="#">Accounting System</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">INDUSTRIES</a>
<ul>
<li><a href="#">Untitled Item</a></li>
<li><a href="#">Untitled Item</a></li>
<li><a href="#">Untitled Item</a></li>
<li><a href="#">Untitled Item</a></li>
</ul>
</li>
<li><a href="#">OUR PROCESS</a></li>
<li><a href="#">CAREERS</a> </li>
<li><a href="#">CONTACT</a></li>
</ul>
</div>
<div class="shadow" id="content">
<div id="TabbedPanels1" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0">values</li>
<li class="TabbedPanelsTab" tabindex="0">people</li>
</ul>
<div class="TabbedPanelsContentGroup">
<div class="TabbedPanelsContent">
<div id="scrolltext">
<h1>Heading1</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. N</p>
</div>
</div>
<div class="TabbedPanelsContent">
<div id="scrolltext">
<h1>Heading1</h1>
<p>Lorem n, </p>
<h1>Heading1</h1>
<p>Lorem ipsum dolor sit amet, , </p>
<h1>Heading1</h1>
<p>Lorem ipsum dolor sit a, </p>
<h1>Heading1</h1>
<p>Lorem ipsum dolor sit amet, </p>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<div id="legal">
<ul>
<li>Copyright © 2012 Temari&Co</li>
<li>| Privacy Policy |</li>
<li>Terms of Use</li>
</ul>
</div>
<div id="socialmedia">
<ul>
<li><img src="images/fbicongri.png" width="20" height="20" alt="fbicon" /></li>
<li><img src="images/gicongri.png" width="20" height="20" alt="gicon"/></li>
<li><img src="images/linkedinicongri.png" width="20" height="20" alt="linkedin"/></li>
<li><img src="images/twittericongri.png" width="20" height="20" alt="twitter"/></li>
</ul>
</div>
</div><!-- end footer-->
</div><!-- end wrapper-->
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
</script>
</body>
</html>
@charset "UTF-8";
/* SpryTabbedPanels.css - version 0.6 - Spry Pre-Release 1.6.1 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
/* Horizontal Tabbed Panels
* The default style for a TabbedPanels widget places all tab buttons
* (left aligned) above the content panel.
.TabbedPanels {
overflow: hidden;
margin: 0px;
padding: 0px;
clear: none;
width: 100%;
height:100%; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
.TabbedPanelsTabGroup {
margin: 0px;
padding: 0px;
.TabbedPanelsTab {
position: relative;
float: left;
background-color: #FFF;
list-style: none;
-moz-user-select: none;
-khtml-user-select: none;
cursor: pointer;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
font-weight: normal;
color: #666;
height: 30px;
width: 116px;
text-transform: uppercase;
text-align: center;
line-height: 30px;
margin: 0px;
padding: 0px;
.TabbedPanelsTabHover {
background-image: url(../../SUPEROLDU/images/menubaractive.png);
background-repeat: repeat-x;
color: #FFF;
.TabbedPanelsTabSelected {
background-image: url(../../SUPEROLDU/images/menubaractive.png);
background-repeat: repeat-x;
color: #FFF;
height: 30px;
width: 116px;
.TabbedPanelsTab a {
color: black;
text-decoration: none;
.TabbedPanelsContentGroup {
clear: both;
background-color: #FFF;
height: 100%;
width: 824px;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
color: #666;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: dotted;
border-top-color: #CCC;
border-right-color: #CCC;
border-bottom-color: #CCC;
border-left-color: #CCC;
.TabbedPanelsContent {
height: 100%;
width: 100%;
overflow:hidden;
.TabbedPanelsContentVisible {
.VTabbedPanels {
overflow: hidden;
zoom: 1;
.VTabbedPanels .TabbedPanelsTabGroup {
float: left;
background-color: #EEE;
position: relative;
.VTabbedPanels .TabbedPanelsTab {
float: none;
margin: 0px;
border-top: none;
border-left: none;
border-right: none;
.VTabbedPanels .TabbedPanelsTabSelected {
background-color: #EEE;
.VTabbedPanels .TabbedPanelsContentGroup {
clear: none;
/* Styles for Printing */
@media print {
.TabbedPanels {
overflow: visible !important;
.TabbedPanelsContentGroup {
display: block !important;
overflow: visible !important;
height: auto !important;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
.TabbedPanelsContent {
clear:both !important;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
width: 744px;
.TabbedPanelsTab {
overflow: visible !important;
display: block !important;
clear:both !important;Assuming these are the images you're trying to display:
.TabbedPanelsTabHover {
background-image: url(../../SUPEROLDU/images/menubaractive.png);
background-repeat: repeat-x;
color: #FFF;
.TabbedPanelsTabSelected {
background-image: url(../../SUPEROLDU/images/menubaractive.png);
background-repeat: repeat-x;
color: #FFF;
height: 30px;
width: 116px;
You have 2 root paths in your URL code. I think this is how your file structure looks like on your local computer. However, on a remote server, ../ by itself means you're pointing to the root folder of your website. Your URL linkage should be corrected based on the relativity and your background will work without a problem. -
Users are not displaying in Management Console's Sessions (AS Java)
Hi,
Recently we upgraded our Development Server to EHP 7.11.
In SAP Management Console, inside AS Java, when we are trying to view the Sessions, in the User Column the user names are not displaying.
Those users are authenticated through UME.
Before upgrading users logins were displaying.
Please help us to rectify this problem.
Thanks and Regards
Ravi Shankar KDid you try to run the MMC on url. http://hostname:5xx13.
where xx denotes the instance no of thet host.
Thanks
Rishi Abrol -
BPEL process is not displaying in BPEL Console
Hi
We are deploying the process through jDeveloper to BPEL PM, we have around 100 process are successfully deployed. Once i restart the OPMN by giving OPMNCTL STOPALL and OPMNCTL STARTALL. The process are not displaying. Once restart the whole server means it is coming. what could be the problem
Thanks in Advance
HamidAfter deploying did you try a clear WSDL cache in the BPEL console?
Do you have a look in the log files?
Marc
http://orasoa.blogspot.com -
Lightbox widget not displaying in browser
I placed the lightbox widgets in several pages on my website (http://www.goodwinsanimations.com/) on the pages linked via the Projects and Design page but I the widget is not displaying at all, or only partially in some cases. This is my personal portfolio of work so I really need this fixed asap.
Thanks
The menu at the top (widget) works but the dropdowns do not display except in the Preview within Muse.Hello,
Could you please do a File>Preview site in Browser and check if it works fine there?
Also, please do a File>Export as HTML and export your website files in a local folder. Check if the local copy works fine or not.
If not, please send your .muse file to us at [email protected] If your file is greater than 20mb you can use something like Adobe SendNow or SendThisFile.
Please do not forget to mention link to this forum in your e-mail so that we can identify the file.
Regards,
Sachin -
Glossary widget Not displaying on top
I created a Glossary widget , set it to display for entire project. It works fine on the first slide, but on the other does not display on top (other layers are displayin g on top of it. Any idea what I have done wrong?
I appreciate any help that you can provide.
Thanks,
LaraHi There,
Can you try to download updated GLO widget from the below link and replace it with the existing on check :
https://www.dropbox.com/s/doqvt9n33ksnypb/glo.zip?dl=0
Replace the widget in the following location:
Close Captivate
Replace at below location:
C:\Users\Public\Documents\Adobe\eLearning Assets\Interactions_8_0
C:\Program Files\Adobe\Adobe Captivate 8 x64 \Gallery\Interactions (64 bit) or
C:\Program Files(x86)\Adobe\Adobe Captivate 8\Gallery\Interactions (32 bit)
Re-launch Captivate
Regards,
Mayank -
ITunes not displaying ALL remote speakers...
All,
I have two airport expresses hooked up, but I can only get airtunes to work with the express that is 'extending' the range of my network. The airport express connected to my modem will not display in iTunes. How can I troubleshoot this and get both airports to appear in iTunes drop-down????
thanks in advance,
Dr. S
Macbook Mac OS X (10.4.10)Hmm, what column is your current view sorted on? Many of them don't keep the tracks of an album together. See Use an album friendly view. Assuming you knew that already a screenshot might provide clues.
tt2 -
Vicious MPD widget not displaying the artist and song title
EDIT: This thread can be closed now. It turns out Clementine doesn't support mpd and I'm now running ncmpcpp and the widget shows the artist and song title.
I have trouble getting the mpd widget running in awesome wm, it will only display "N/A - N/A". I've read the wiki and done a lot of googling but I can't figure out what I'm missing.
Here's my rc.lua
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
awful.rules = require("awful.rules")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
local vicious = require("vicious")
-- Theme handling library
local beautiful = require("beautiful")
-- Notification library
local naughty = require("naughty")
local menubar = require("menubar")
-- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to
-- another config (This code will only ever execute for the fallback config)
if awesome.startup_errors then
naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, there were errors during startup!",
text = awesome.startup_errors })
end
-- Handle runtime errors after startup
do
local in_error = false
awesome.connect_signal("debug::error", function (err)
-- Make sure we don't go into an endless error loop
if in_error then return end
in_error = true
naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, an error happened!",
text = err })
in_error = false
end)
end
-- {{{ Variable definitions
-- Themes define colours, icons, and wallpapers
beautiful.init("/usr/share/awesome/themes/zenburn/theme.lua")
-- This is used later as the default terminal and editor to run.
terminal = "tilda"
editor = "gedit"
-- os.getenv("EDITOR") or
editor_cmd = terminal .. " -e " .. editor
-- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt.
-- If you do not like this or do not have such a key,
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
-- However, you can use another modifier like Mod1, but it may interact with others.
modkey = "Mod4"
-- Table of layouts to cover with awful.layout.inc, order matters.
local layouts =
awful.layout.suit.floating,
awful.layout.suit.tile,
awful.layout.suit.tile.left,
awful.layout.suit.tile.bottom,
awful.layout.suit.tile.top,
awful.layout.suit.fair,
awful.layout.suit.fair.horizontal,
awful.layout.suit.spiral,
awful.layout.suit.spiral.dwindle,
awful.layout.suit.max,
awful.layout.suit.max.fullscreen,
awful.layout.suit.magnifier
-- {{{ Wallpaper
if beautiful.wallpaper then
for s = 1, screen.count() do
gears.wallpaper.maximized(beautiful.wallpaper, s, true)
end
end
-- {{{ Tags
-- Define a tag table which will hold all screen tags.
tags = {}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag({"term", "www", "mp3", "skype", "office", "dev", "misc" }, s)
end
-- {{{ Menu
-- Create a laucher widget and a main menu
myawesomemenu = {
{ "manual", terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awesome.conffile },
{ "reboot", "gksudo reboot" },
{ "restart", awesome.restart },
{ "quit", awesome.quit }
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{ "open terminal", terminal }
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu })
-- Menubar configuration
menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- Initialize widget
mpdwidget = wibox.widget.textbox()
-- Register widget
vicious.register(mpdwidget, vicious.widgets.mpd,
function (mpdwidget, args)
if args["{state}"] == "Stop" then
return " - "
else
return args["{Artist}"]..' - '.. args["{Title}"]
end
end, 10)
-- {{{ Wibox
-- Create a textclock widget
mytextclock = awful.widget.textclock()
-- Create a wibox for each screen and add it
mywibox = {}
mypromptbox = {}
mylayoutbox = {}
mytaglist = {}
mytaglist.buttons = awful.util.table.join(
awful.button({ }, 1, awful.tag.viewonly),
awful.button({ modkey }, 1, awful.client.movetotag),
awful.button({ }, 3, awful.tag.viewtoggle),
awful.button({ modkey }, 3, awful.client.toggletag),
awful.button({ }, 4, function(t) awful.tag.viewnext(awful.tag.getscreen(t)) end),
awful.button({ }, 5, function(t) awful.tag.viewprev(awful.tag.getscreen(t)) end)
mytasklist = {}
mytasklist.buttons = awful.util.table.join(
awful.button({ }, 1, function (c)
if c == client.focus then
c.minimized = true
else
-- Without this, the following
-- :isvisible() makes no sense
c.minimized = false
if not c:isvisible() then
awful.tag.viewonly(c:tags()[1])
end
-- This will also un-minimize
-- the client, if needed
client.focus = c
c:raise()
end
end),
awful.button({ }, 3, function ()
if instance then
instance:hide()
instance = nil
else
instance = awful.menu.clients({ width=250 })
end
end),
awful.button({ }, 4, function ()
awful.client.focus.byidx(1)
if client.focus then client.focus:raise() end
end),
awful.button({ }, 5, function ()
awful.client.focus.byidx(-1)
if client.focus then client.focus:raise() end
end))
for s = 1, screen.count() do
-- Create a promptbox for each screen
mypromptbox[s] = awful.widget.prompt()
-- Create an imagebox widget which will contains an icon indicating which layout we're using.
-- We need one layoutbox per screen.
mylayoutbox[s] = awful.widget.layoutbox(s)
mylayoutbox[s]:buttons(awful.util.table.join(
awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),
awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end),
awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end),
awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end)))
-- Create a taglist widget
mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.filter.all, mytaglist.buttons)
-- Create a tasklist widget
mytasklist[s] = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, mytasklist.buttons)
-- Create the wibox
mywibox[s] = awful.wibox({ position = "top", screen = s })
-- Widgets that are aligned to the left
local left_layout = wibox.layout.fixed.horizontal()
left_layout:add(mylauncher)
left_layout:add(mytaglist[s])
left_layout:add(mypromptbox[s])
-- Widgets that are aligned to the right
local right_layout = wibox.layout.fixed.horizontal()
right_layout:add(mpdwidget)
if s == 1 then right_layout:add(wibox.widget.systray()) end
right_layout:add(mytextclock)
right_layout:add(mylayoutbox[s])
-- Now bring it all together (with the tasklist in the middle)
local layout = wibox.layout.align.horizontal()
layout:set_left(left_layout)
layout:set_middle(mytasklist[s])
layout:set_right(right_layout)
mywibox[s]:set_widget(layout)
end
-- {{{ Mouse bindings
root.buttons(awful.util.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
-- {{{ Key bindings
globalkeys = awful.util.table.join(
awful.key({ modkey, }, "Left", awful.tag.viewprev ),
awful.key({ modkey, }, "Right", awful.tag.viewnext ),
awful.key({ modkey, }, "Escape", awful.tag.history.restore),
awful.key({ modkey, }, "j",
function ()
awful.client.focus.byidx( 1)
if client.focus then client.focus:raise() end
end),
awful.key({ modkey, }, "k",
function ()
awful.client.focus.byidx(-1)
if client.focus then client.focus:raise() end
end),
awful.key({ modkey, }, "w", function () mymainmenu:show() end),
-- Layout manipulation
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end),
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end),
awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end),
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end),
awful.key({ modkey, }, "u", awful.client.urgent.jumpto),
awful.key({ modkey, }, "Tab",
function ()
awful.client.focus.history.previous()
if client.focus then
client.focus:raise()
end
end),
-- Standard program
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
awful.key({ modkey, "Control" }, "r", awesome.restart),
awful.key({ modkey, "Shift" }, "q", awesome.quit),
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end),
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end),
awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1) end),
awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end),
awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1) end),
awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end),
awful.key({ modkey, }, "space", function () awful.layout.inc(layouts, 1) end),
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
awful.key({ modkey, "Control" }, "n", awful.client.restore),
-- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
awful.key({ modkey }, "x",
function ()
awful.prompt.run({ prompt = "Run Lua code: " },
mypromptbox[mouse.screen].widget,
awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval")
end),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end)
clientkeys = awful.util.table.join(
awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
awful.key({ modkey, }, "o", awful.client.movetoscreen ),
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
awful.key({ modkey, }, "n",
function (c)
-- The client currently has the input focus, so it cannot be
-- minimized, since minimized clients can't have the focus.
c.minimized = true
end),
awful.key({ modkey, }, "m",
function (c)
c.maximized_horizontal = not c.maximized_horizontal
c.maximized_vertical = not c.maximized_vertical
end)
-- Bind all key numbers to tags.
-- Be careful: we use keycodes to make it works on any keyboard layout.
-- This should map on the top row of your keyboard, usually 1 to 9.
for i = 1, 9 do
globalkeys = awful.util.table.join(globalkeys,
awful.key({ modkey }, "#" .. i + 9,
function ()
local screen = mouse.screen
local tag = awful.tag.gettags(screen)[i]
if tag then
awful.tag.viewonly(tag)
end
end),
awful.key({ modkey, "Control" }, "#" .. i + 9,
function ()
local screen = mouse.screen
local tag = awful.tag.gettags(screen)[i]
if tag then
awful.tag.viewtoggle(tag)
end
end),
awful.key({ modkey, "Shift" }, "#" .. i + 9,
function ()
if client.focus then
local tag = awful.tag.gettags(client.focus.screen)[i]
if tag then
awful.client.movetotag(tag)
end
end
end),
awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
function ()
if client.focus then
local tag = awful.tag.gettags(client.focus.screen)[i]
if tag then
awful.client.toggletag(tag)
end
end
end))
end
clientbuttons = awful.util.table.join(
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
awful.button({ modkey }, 1, awful.mouse.client.move),
awful.button({ modkey }, 3, awful.mouse.client.resize))
-- Set keys
root.keys(globalkeys)
-- {{{ Rules
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = awful.client.focus.filter,
keys = clientkeys,
buttons = clientbuttons } },
{ rule = { class = "MPlayer" },
properties = { floating = true } },
{ rule = { class = "pinentry" },
properties = { floating = true } },
{ rule = { class = "gimp" },
properties = { floating = true } },
-- Set Firefox to always map on tags number 2 of screen 1.
{ rule = { class = "Firefox" },
properties = { tag = tags[2] } },
-- {{{ Signals
-- Signal function to execute when a new client appears.
client.connect_signal("manage", function (c, startup)
-- Enable sloppy focus
c:connect_signal("mouse::enter", function(c)
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
and awful.client.focus.filter(c) then
client.focus = c
end
end)
if not startup then
-- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master.
-- awful.client.setslave(c)
-- Put windows in a smart way, only if they does not set an initial position.
if not c.size_hints.user_position and not c.size_hints.program_position then
awful.placement.no_overlap(c)
awful.placement.no_offscreen(c)
end
end
local titlebars_enabled = false
if titlebars_enabled and (c.type == "normal" or c.type == "dialog") then
-- buttons for the titlebar
local buttons = awful.util.table.join(
awful.button({ }, 1, function()
client.focus = c
c:raise()
awful.mouse.client.move(c)
end),
awful.button({ }, 3, function()
client.focus = c
c:raise()
awful.mouse.client.resize(c)
end)
-- Widgets that are aligned to the left
local left_layout = wibox.layout.fixed.horizontal()
left_layout:add(awful.titlebar.widget.iconwidget(c))
left_layout:buttons(buttons)
-- Widgets that are aligned to the right
local right_layout = wibox.layout.fixed.horizontal()
right_layout:add(awful.titlebar.widget.floatingbutton(c))
right_layout:add(awful.titlebar.widget.maximizedbutton(c))
right_layout:add(awful.titlebar.widget.stickybutton(c))
right_layout:add(awful.titlebar.widget.ontopbutton(c))
right_layout:add(awful.titlebar.widget.closebutton(c))
-- The title goes in the middle
local middle_layout = wibox.layout.flex.horizontal()
local title = awful.titlebar.widget.titlewidget(c)
title:set_align("center")
middle_layout:add(title)
middle_layout:buttons(buttons)
-- Now bring it all together
local layout = wibox.layout.align.horizontal()
layout:set_left(left_layout)
layout:set_right(right_layout)
layout:set_middle(middle_layout)
awful.titlebar(c):set_widget(layout)
end
end)
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
function run_once(prg,arg_string,pname,screen)
if not prg then
do return nil end
end
if not pname then
pname = prg
end
if not arg_string then
awful.util.spawn_with_shell("pgrep -f -u $USER -x '" .. pname .. "' || (" .. prg .. ")",screen)
else
awful.util.spawn_with_shell("pgrep -f -u $USER -x '" .. pname .. " ".. arg_string .."' || (" .. prg .. " " .. arg_string .. ")",screen)
end
end
awful.util.spawn_with_shell("setxkbmap -layout se")
run_once("tilda",nil,nil,"term")
run_once("firefox &",nil,nil,"www")
run_once("clementine ",nil,nil,"mp3")
run_once("skype ",nil,nil,"skype")
run_once("dropboxd &",nil,nil,nil)
run_once("keepassx ",nil,nil,"www")
run_once("volumeicon &",nil,nil,nil)
awesome.font = "DejaVuSansCondensed 12"
Here's my mpd.lua:
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <[email protected]>
-- {{{ Grab environment
local tonumber = tonumber
local io = { popen = io.popen }
local setmetatable = setmetatable
local string = { gmatch = string.gmatch }
local helpers = require("vicious.helpers")
-- Mpd: provides Music Player Daemon information
-- vicious.widgets.mpd
local mpd = {}
-- {{{ MPD widget type
local function worker(format, warg)
local mpd_state = {
["{volume}"] = 0,
["{state}"] = "N/A",
["{Artist}"] = "N/A",
["{Title}"] = "N/A",
["{Album}"] = "N/A",
["{Genre}"] = "N/A",
--["{Name}"] = "N/A",
--["{file}"] = "N/A",
-- Fallback to MPD defaults
local pass = warg and (warg.password or warg[1]) or "\"\""
local host = warg and (warg.host or warg[2]) or "127.0.0.1"
local port = warg and (warg.port or warg[3]) or "6600"
-- Construct MPD client options
local mpdh = "telnet://"..host..":"..port
local echo = "echo 'password "..pass.."\nstatus\ncurrentsong\nclose'"
-- Get data from MPD server
local f = io.popen(echo.." | curl --connect-timeout 1 -fsm 3 "..mpdh)
for line in f:lines() do
for k, v in string.gmatch(line, "([%w]+):[%s](.*)$") do
if k == "volume" then mpd_state["{"..k.."}"] = v and tonumber(v)
elseif k == "state" then mpd_state["{"..k.."}"] = helpers.capitalize(v)
elseif k == "Artist" then mpd_state["{"..k.."}"] = helpers.escape(v)
elseif k == "Title" then mpd_state["{"..k.."}"] = helpers.escape(v)
elseif k == "Album" then mpd_state["{"..k.."}"] = helpers.escape(v)
elseif k == "Genre" then mpd_state["{"..k.."}"] = helpers.escape(v)
--elseif k == "Name" then mpd_state["{"..k.."}"] = helpers.escape(v)
--elseif k == "file" then mpd_state["{"..k.."}"] = helpers.escape(v)
end
end
end
f:close()
return mpd_state
end
return setmetatable(mpd, { __call = function(_, ...) return worker(...) end })
I'm using Clementine to play the music if that makes a difference.
Last edited by DisposableHero (2013-11-25 01:12:01)Hi,
If the songs were purchased from itunes, I suggest that you delete the tracks from your itunes library and move to trash (providing you live in a country that permits redownloading). See http://support.apple.com/kb/PH12283.
Jim -
Lightbox Gallery - TCN Widget not displaying live
Hi,
I wonder if anyone could help with this please. I've downloaded the TCN Widget Lightbox Gallery and it works fine in preview mode but I can't get it to work properly live on the web. Whenever I click on a thumbnail, the large image does display but that's it - there's no graphics (beside the main image) and it's not placed properly etc.
The site is: http://www.valuevisionglasses.co.uk and the relevant gallery pages from the drop down menu would be Ladies, Gents, Sunglasses.
It's probably something obvious that I'm missing but I've been tearing my hair out for two days over this.Hi Ibby26,
looking to your source code the first thing I saw (I know, I have to go deeper next time) was this little difference, please control it. You started with:
<script src="scripts/jquery.js" type="text/javascript"></script>
<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="lightbox.js"></script>
Widgets code is in my DW:
<title>Lightbox Gallery : <default></title>
<script type='text/javascript' src='scripts/jquery.js'></script>
<script type='text/javascript' src='scripts/lightbox.js'></script>
<link type='text/css' href='css/lightbox.css' rel='stylesheet'/>
<link type='text/css' href='css/sample_lightbox_layout.css' rel='stylesheet'/>
<style type="text/css">
... and Lightbox actually responds very sensitively to deeper nesting and wide ramifications of directories and sometimes and sometimes even in long file names, like "Alpine-Titanium-Alp23-M.Gun-54-17.jpg". For this reason I created for all my lightbox-applications one single lightbox-directory. There you will find all my lightbox-php-html-files and all the subdirectories for the corresponding images and from there Lightbox worked.
Hans-Günter -
Lightbox widget not displaying correctly in phone or tablet versions
I've created a portfolio pagen using the lightbox/thumbnails for the desktop version which works as it should. But when I recreate the same widget in the tablet or phone versions, the pop-up/lightbox effect appears behind the thumbnails and is persistent. How do I get this to display like the ordinary lightbox in the desktop version?
adriennedoherty.buisinesscatalyst.comHello,
Could you please do a File>Preview site in Browser and check if it works fine there?
Also, please do a File>Export as HTML and export your website files in a local folder. Check if the local copy works fine or not.
If not, please send your .muse file to us at [email protected] If your file is greater than 20mb you can use something like Adobe SendNow or SendThisFile.
Please do not forget to mention link to this forum in your e-mail so that we can identify the file.
Regards,
Sachin -
JNDI name is not displayed in server console JNDI tree
Hi. I have two objects with similar JNDI names. Object 1 has JNDI name "abc.test1". Object 2 has JNDI name "Abc.test2". Here is difference in first char size: 'a' and 'A'.
The issue is that in JNDI tree weblogic server console displays only Object 1. To see Object 2 I can change JNDI name for this object, but I do not want to change JNDI name.
Is there any way to see both objects without renaming Object 2?
I use WebLogic Server 8.1 SP4.
JNDI tree is displayed from console left panel: <domain>-<server>-<server name>-<right mouse click>-"View JNDI tree"Someone finally found this one (Farhan I think) - I hope you can find this link: its in this forum - just a few weeks old do a search on jndi on this forum if you don't find it.
http://forum.java.sun.com/thread.jsp?forum=136&thread=321971&start=15&range=15&hilite=false&q= -
My client is wanting to update the Store page on his website to an integrated BandPage widget. He set the width to 700px on their site, but when I copy/pasted the code into Muse & publish, it only displays as a narrow mobile version (hidden sample link: http://www.griffinanthony.com/storewidget). We contacted BandPage to make sure everything's set correctly on their end; they've assured us it is. We can't figure out why it's not working in Muse -- should be as simple as the many other widgets we placed throughout his site?!
Here's the code BandPage generated: <script async src="//www.bandpage.com/extensionsdk"></script><div class="bp-extension" data-bandpage-bid="453666329342337024"></div>
..set to a grid layout (attach'd).
Any suggestions would be appreciated. Thx!FYI - I figured out a way around this by dragging out the border handles of the placed code; it automatically jumped to the width it was meant to be (attach'd). Hope this tip helps others in case they're faced with a similar dilemma.
-
Spry Widget not displaying properly
Forgive me for what is, I am sure, a simple problem: I'm new to working in DreamWeaver and am making a site for a friend to teach myself.
I have added a vertical spry menu to my webpage. One item from the menu has a few more specific topics and so a few more items have been added as a submenu. I had done something that caused there to be a big space (the same height as the pop out submenu) to appear within the main menu. I fiddled around and now seem to have changed something causing the submenu to display in the main menu along with the rest of the items. How do I make the submenu return to being invisible until the cursor is held over the specific menu item, and then pop out to the right?
As I'm new to all of this, I'm not even entirely sure of what part of the code to show in order for someone to tell what's wrong... Hopefully this is of help. The 5 items (Highland Cattle through to Produce) are intended to be the fly out submenu.
<div class="sidebar1">
<ul id="MenuBar1" class="MenuBarVertical">
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#" class="MenuBarItemSubmenu">Our Products</a>
<ul>
<li><a href="#">Highland Cattle</a></li>
<li><a href="#">English Black Sheep</a></li>
<li><a href="#">Rideau Arcott Sheep</a></li>
<li><a href="#">Heritage Poultry</a></li>
<li><a href="#">Produce</a></li>
</ul>
</li>
<li><a href="#">Buying Local</a></li>
<li><a href="#">Heritage Breeds</a></li>
<li><a href="#">Photo Gallery</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div class="content">
Thanks! RobynAs I'm new to all of this, I'm not even entirely sure of what part of the code to show in order for someone to tell what's wrong...
The best approach by far is to upload a page to the web which displays the problem you're facing.
Then post a link to that page here. A link gives us access to every file that we need to inspect.
That way, it's quick and easy for you to post and quick and easy for us to check and diagnose with browser based troubleshooting tools and will gain many more responses here. -
Application/vnd.fdf not displaying in remote browser
Hi,
I was hoping someone could help me or point me to a topic that would. I didn't find what I needed after searching.
I'm using Adobe's FDF Toolkit to build an fdf and send it to the browser.
I have set my contentType to application/vnd.fdf and when I test it locally it works fine. I have both Acrobat Pro and Adobe Reader on my box and it uses Acrobat to open the resulting pdf.
When I go to a remote box that only has Adobe Reader on it, the request for the pdf is submitted, Reader starts up, then displays a blank page.
if I change it to just application/fdf, the browser doesn't know what to do with it right away and asks if you want to save or open it, if you choose open, then Adobe Reader displays the pdf correctly.
i want to get this to work with the vdn.fdf setup since if I do just fdf, it asks you what you want to do and opens up a reader window, the displays the pdf in the browser. The reader window stays around.
Does anyone have any ideas why it wouldn't work remotely?
Thanks,
Chris
I'm inserting my code below:
public class AdobeTestAction extends Action {
* Constructor
public AdobeTestAction() {
super();
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
ActionForward forward = new ActionForward();
AdobeTestForm adobeTestForm = (AdobeTestForm) form;
String date = GregorianCalendar.getInstance().getTime().toString().replace( ' ', '_' ).replace( ':', '_' );
try {
FDFDoc fdf = new FDFDoc();
fdf.SetValue( "borrowerName", adobeTestForm.getBorrowerName() );
... more SetValues()
fdf.SetFile( "http://myServer/myPath/myPDF.pdf" );
response.setContentType( "application/vnd.fdf" );
ServletOutputStream out = response.getOutputStream();
fdf.Save( out );
catch ( Exception e ) {
System.out.println( e.toString() );
return null;
}fdf is a Adobe PDF Form type file.
It associated with adobe reader.
it works if I do it as application/fdf, it just has a couple of side affects that way. It asks if you want to save or open first, and it opens reader and leaves it open.
application/vnd.fdf works on my local test env. But it doesn't work when I try to hit it from a remote box.
Maybe you are looking for
-
How do I save multiple files from database using oracle forms?
Forms [32 Bit] Version 10.1.2.3.0 (Production) Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production Hello, I have a form containing a block of records with files set up in a tabular layout. Each row has a checkbox to indicate
-
Internet is working but browsers will not load.
About a week ago my web browsers stopped working. I'm running Vista and I use FireFox. I also have Internet Explorer but neither of them will load any web page when i go to them. I know my connection is working because I can use any other program
-
HOW DO YOU MAKE THE BOOKMARKS FONT SMALLER!?!?!!?
Now that Firefox has updated to 5.o, all my bookmarks don't fit on the bookmarks bar. How to I make them smaller?
-
Will Microsoft Office 2001 work with the Lion upgrade?
Will Microsoft Office 2001 work with the Lion upgrade? Will one have to reinstall after the Lion upgrade?
-
After installing the new 3.1.3 update and restoring my ipod. All my music has synced back onto my ipod but not the music i have bought via itunes on the ipod. how do i re-download this music? thanks