[bug] get clipboard image fails in executable
The 'Get Clipboard Image' method fails for images in built executables.
It works for text (you get an image of the text back).
In the runtime environment it works ok.
LabVIEW versions:
2012
2013
Test code:
Regards,
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!
Solved!
Go to Solution.
The method is not on the 'not supported in thr RTE' list, here's the detail about this method:
Remarks
The following table lists the characteristics of this method.
Data type
No return value
Available in Run-Time Engine
Yes (Read/Write)
Available in Real-Time Operating System
Yes
Remote access allowed
Yes
So I have a feeling that it should work, note that is works if the clipboard has text!
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!
Similar Messages
-
Get clipboard image data using Flash
Hello
Please help me to get clipboard data(text as well as image) using flash component.
Or is it possible using Adobe AIR, please help me....
Thanks in advance...
Thanks,
Abdul Javed KhanHello
Could you please send me code for copying clipboard data(Specially IMAGE Data) using AIR.
Or send me link demonstrating this feature with source code because I am new to flash...
Thanks,
Abdul Javed Khan -
How can I get the image data from Clipboard with LV
Anybody knows How can get the image data after pressd "print screen button" with LV?
I want to program a software which can save a image as a bmp or jpeg etc, and the image data is from pressed print screen button.
How to get it out from clipboard. I am trapping about. thanks in advance.
Try to make everything AutomaticYou can have a look at Rolf Kalbermatter's post here (give him stars) or, if you're using scripting, you can use the Application class Get Clipboard Image method.
Try to take over the world! -
Zenworks imaging failed with error:200
We just got new PC's and when I try to use ZENworks 6.5 to put my image
on them, I get "ZENworks imaging failed with error:200"
I have not been able to find anything in the KB for this.
The PCs are Gateway E-4500D, ZENworks is 6.5 running on NetWare 6.5 SP 4a.
TIAWe are on SP2 and getting the error code: 200 error. The PC's are DC5100
Small form factor. They have SATA drives. Some work and some get this
error, reboot and then start the image restore, but never gets to the
Pre-Formatting. Any ideas?
> On Tue, 18 Jul 2006 14:32:30 GMT, Rhonda Richardson wrote:
>
> > No. We are on SP1. Sorry, forgot that part.
>
> could you try sp2?
> --
>
> If you have already compiled drivers or have linux.2 please put them on
> http://forge.novell.com/modules/xfmo...ect/?zfdimgdrv
> Live BootCd and USB Disk from Mike Charles
> http://forge.novell.com/modules/xfmod/project/?imagingx
> eZie http://forge.novell.com/modules/xfmod/project/?ezie
>
> Marcus Breiden
>
> If you are asked to email me information please change -- to - in my e-mail
> address.
> The content of this mail is my private and personal opinion.
> http://www.edu-magic.net -
Clipboard export failed because the image is too wide to save as a PICT
Am I the only one who keeps getting this message in a new window,
"Clipboard export failed because the image is too wide to save as a PICT"
while working in Photoshop?
I know little about a PICT file, except that it's some kind of file.
Seems to pop up out of nowhere after I've been doing some copy/pasting.
The really annoying part: it never shows up while I'm still working in PS,
it's only after I click onto a folder or start working in another application.
THEN the message won't let me do anything with the folder or application,
but instead returns me to the PS screen for a few more seconds, then fades out.
It's only after the fade-out that I can click on a folder or use
another application.
I have plenty of RAM (50%) and backup drive space assigned to PS, and
again, this does not happen while still in a PS screen. Using Cache Level 6.While I haven't seen that particular message, I have had the "clipboard is too large to export" message. What you need to do is go to the Photoshop preferences and tell it to NOT export the clipboard. You should be able to find it the General section of preferences, just UNcheck the box in front of "Export Clipboard"--of course, if you copy something in Photoshop that you want to paste into another program, you'll have to re-check it. But bear in mind the limits of Clipboard.
Francine
Francine
Schwieder -
How can we get the image which is stored in clipboard by labview, i can get the text in clipboard by using invoke node directly.but i cannot get the image, is there any functions or vi available.(image is in Png format)
The Read from Clipboard method is, unfortunately, limited to text. If the clipboard contains an image then you need to use OS-specific functions calls. This is an example program for Windows. It's old, but it should still work.
-
I got a new Ipad 2 and I am trying to get it work in vain. I have downloaded the iTunes on my PC, but even after executing the program nothing happens to the IPAD. I still get the image of the USB cable and the iTunes logo. What am I doing wrong?
You know that you have to connect the iPad to your PC with the cable that came with it - and then iTunes should start automatically and it will guide you through the set up process?
If you have already tried to connect the iPad - and you have launched iTunes - and you still have no luck - reboot your PC and then begin the process again. -
After downloading the a pop up box called Warning appears with saying 'The following disk images failed to mount' and below that there is a table that has Image with a Firefox 3.6.3 and another field called Reason saying Corrupt image. The current version of firefox I am using is 2.0.0.7
== This happened ==
Every time Firefox opened
== Recently when trying to download a newer versionFirefox 3.0 and 3.5/6 versions require at least Mac OS X 10.4
http://www.mozilla.com/en-US/firefox/system-requirements.html - Mozilla Firefox 3.6 System Requirements
Firefox 2.0.0.20 is the last release that runs on Mac OS X 10.2 and 10.3
See http://kb.mozillazine.org/Installing_Firefox
Mac: http://download.mozilla.org/?product=firefox-2.0.0.20&os=osx&lang=en-US -
I am attempting to download "Firefox 3.5.10", each attempt the results state "The disk image failed to mount due to corrupt image". I really need this browser for my on-line learning. Please help! By the way 2.0 downloaded fine, but is not compatible with the University web site.
== This happened ==
Every time Firefox opened
== Every time I attempted to download Firefox 3.5.10Ran into this problem this afternoon. Had to download after the latest version failed to start after progressively becoming a bit tweeky. Got the failed to mount message also broken pipe, even though I am running 10.4.
I went into Mac OS Updates and downloaded the latest version of Java Script. After restart I was able to mount the new Firefox and it seems to be working now. -
[Solved] "slim: failed to execute login command" after awesomewm updat
Hi,
i updated some weeks ago via pacman -Syu, where also awesome wm was updated from 3.4.* to 3.5.* so I updated my rc.lua as it is told on their wiki, but i cant login with my rc.lua anymore i got the failed to execute login command error from slime. If i use the shipped efault rc.lua it works fine, can someone help me to figure out whats wrong with 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")
-- Theme handling library
local beautiful = require("beautiful")
-- Notification library
local naughty = require("naughty")
local menubar = require("menubar")
local vicious = require("vicious")
function fullscreens(c)
awful.client.floating.toggle(c)
if awful.client.floating.get(c) then
local clientX = screen[1].workarea.x
local clientY = screen[1].workarea.y
local clientWidth = 0
-- look at http://www.rpm.org/api/4.4.2.2/llimits_8h-source.html
local clientHeight = 2147483640
for s = 1, screen.count() do
clientHeight = math.min(clientHeight, screen[s].workarea.height)
clientWidth = clientWidth + screen[s].workarea.width
end
local t = c:geometry({x = clientX, y = clientY, width = clientWidth, height = clientHeight})
else
--apply the rules to this client so he can return to the right tag if there is a rule for that.
awful.rules.apply(c)
end
-- focus our client
client.focus = c
end
-- {{{ 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("/home/kili/Repositories/awesome-themes/arch/theme.lua")
beautiful.init("/usr/share/awesome/themes/default/theme.lua")
-- This is used later as the default terminal and editor to run.
terminal = "urxvt"
editor = os.getenv("EDITOR") or "nano"
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.
layouts =
awful.layout.suit.tile,
awful.layout.suit.tile.left,
awful.layout.suit.tile.bottom,
awful.layout.suit.tile.top,
awful.layout.suit.floating,
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
-- {{{ Tags
-- Define a tag table which hold all screen tags.
tags = {}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag({ 1, 2, 3, 4, 5}, s, layouts[1])
end
-- {{{ Menu
-- Create a laucher widget and a main menu
myawesomemenu = {
{ "manual", terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awesome.conffile },
{ "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 })
-- {{{ Wibox
-- Create a textclock widget
batwidget = wibox.widget.textbox()
vicious.register(batwidget, vicious.widgets.bat,
function(widget,args)
local formatstring = " Bat: "..args[1]..args[2] .."%".. " "..args[3] .. " "
if args[2] <= 25 and args[1] == "-" then
return "<span color=\"red\">".. formatstring .. "</span>"
end
return formatstring
end, 60, "BAT0")
netwidgetETH = wibox.widget.textbox()
netwidgetWIFI = wibox.widget.textbox()
vicious.register(netwidgetETH, vicious.widgets.net, ' eth0:<span color="#CC9393">${eth0 down_kb}</span> <span color="#7F9F7F">${eth0 up_kb}</span>', 3)
vicious.register(netwidgetWIFI, vicious.widgets.net,' wlan0:<span color="#CC9393">${wlan0 down_kb}</span> <span color="#7F9F7F">${wlan0 up_kb}</span>', 3)
menubar.utils.terminal = terminal
mytextclock = awful.widget.textclock()--{ align = "right" })
-- Create a systray
mysystray = wibox.widget.systray()
-- 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(aweful.tag.getscreen(t)) end),
awful.button({ }, 5, function(t) awful.tag.viewprev(aweful.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
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()--{ layout = awful.widget.layout.horizontal.leftright })
-- 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()
if s == 1 then right_layout:add(wibox.widget.systray()) end
right_layout:add(netwidgetWIFI)
right_layout:add(netwidgetETH)
right_layout:add(batwidget)
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)
-- Add widgets to the wibox - order matters
--mywibox[s].widgets = {
-- mylauncher,
-- mytaglist[s],
-- mypromptbox[s],
--layout = awful.widget.layout.horizontal.leftright
-- mylayoutbox[s],
-- mytextclock,
-- batwidget,
-- netwidgetETH,
-- netwidgetWIFI,
-- s == 1 and mysystray or nil,
-- mytasklist[s],
-- layout = awful.widget.layout.horizontal.rightleft
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),
-- Multimedia
awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer -q sset Master 2dB-") end),
awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer -q sset Master 2dB+") end),
awful.key({ }, "XF86AudioNext",function () awful.util.spawn( "mocp -f" ) end),
awful.key({ }, "XF86AudioPrev",function () awful.util.spawn( "mocp -r" ) end),
awful.key({ }, "XF86AudioPlay",function () awful.util.spawn( "mocp -G" ) end),
awful.key({ }, "Print", function () awful.util.spawn("ksnapshot") end),
awful.key({ }, "", function () awful.util.spawn("slimlock") 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, "Shift" }, "r", function (c) c:redraw() end),
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),
awful.key({ modkey, "Shift" }, "f", fullscreens)
-- Compute the maximum number of digit we need, limited to 9
keynumber = 0
for s = 1, screen.count() do
keynumber = math.min(9, math.max(#tags[s], keynumber))
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, keynumber do
globalkeys = awful.util.table.join(globalkeys,
awful.key({ modkey }, "#" .. i + 9,
function ()
local screen = mouse.screen
if tags[screen][i] then
awful.tag.viewonly(tags[screen][i])
end
end),
awful.key({ modkey, "Control" }, "#" .. i + 9,
function ()
local screen = mouse.screen
if tags[screen][i] then
awful.tag.viewtoggle(tags[screen][i])
end
end),
awful.key({ modkey, "Shift" }, "#" .. i + 9,
function ()
if client.focus and tags[client.focus.screen][i] then
awful.client.movetotag(tags[client.focus.screen][i])
end
end),
awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
function ()
if client.focus and tags[client.focus.screen][i] then
awful.client.toggletag(tags[client.focus.screen][i])
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)
-- Set Firefox to always map on tags number 2 of screen 1.
-- { rule = { class = "Firefox" },
-- properties = { tag = tags[1][2] } },
-- {{{ Rules
if screen.count() > 1 then
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
-- border_color = beautiful.border_normal,
focus = true,
keys = clientkeys,
buttons = clientbuttons } },
{ rule = { class = "MPlayer" },
properties = { floating = true } },
{ rule = { class = "gimp" },
properties = { floating = true } },
{ rule = { class = "Xdialog" },
properties = { floating = true } },
{ rule = { class = "Firefox" },
properties = { tag = tags[1][1] } },
{ rule = { name = "Thunderbird" },
properties = { tag = tags[1][2] } },
{ rule = { instance = "plugin-container" },
properties = { floating = true } },
{ rule = { class = "Luakit" },
properties = { floating = true } }
else
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
-- border_color = beautiful.border_normal,
focus = true,
keys = clientkeys,
buttons = clientbuttons } },
{ rule = { class = "MPlayer" },
properties = { floating = true } },
{ rule = { class = "gimp" },
properties = { floating = true } },
{ rule = { class = "Firefox" },
properties = { tag = tags[1][2] } },
{ rule = { name = "Thunderbird" },
properties = { tag = tags[1][3] } },
{ rule = { instance = "plugin-container" },
properties = { floating = true, fullscreen = true } },
{ rule = { class = "Dolphin" },
properties = { floating = false, fullscreen = false, tag = tags[1][4] } },
{ rule = { class = "Luakit" },
properties = { floating = true } },
{ rule = { class = "Pidgin" },
properties = { tag = tags[1][5] } }
end
-- {{{ Signals
-- Signal function to execute when a new client appears.
client.connect_signal("manage", function (c, startup)
-- Add a titlebar
-- awful.titlebar.add(c, { modkey = modkey })
-- 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
-- Widgets that are aligned to the left
local left_layout = wibox.layout.fixed.horizontal()
left_layout:add(awful.titlebar.widget.iconwidget(c))
-- 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 title = awful.titlebar.widget.titlewidget(c)
title: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)
-- Now bring it all together
local layout = wibox.layout.align.horizontal()
layout:set_left(left_layout)
layout:set_right(right_layout)
layout:set_middle(title)
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)
Here is also my slime config and my initrc
ls -lisa .xinitrc
3276814 4 -rwxr-xr-x ...
#!/bin/sh
xrdb -merge ~/.Xresources
wicd-client --tray &
exec awesome #>> ~/.cache/awesome/stdout 2>> ~/.cache/awesome/stderr
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
login_cmd exec /bin/bash -login ~/.xinitrc %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions awesome,xfce4,icewm-session,wmaker,blackbox
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host
# Session message. Prepended to the session name when pressing F1
# session_msg Session:
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user kili
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
focus_password yes
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme archlinux-simplyblack
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.log
Thanks in advance!
Edit:
Besides a lot of other errors the problem was the systray. It was created 2 times, now login works again. I figured that out via enabling logging for awesome in the xinitrc again.
Last edited by stubb (2013-01-08 23:20:05)Hi,
I have the same kind of issue after updated slim from v1.3.4-4 to v1.3.5-1.
see my topic here :
https://bbs.archlinux.org/viewtopic.php?id=156792
Last edited by cedricl (2013-01-24 17:16:42) -
How do you change the capture dimensions in the Get Panel Image VI
My objective is to capture the front panel image to a JPEG file. I want to be able to alter the dimensions of Front Panel Image so I can exclude certain areas of the front panel. I am using the GET PANEL IMAGE.VI and the WRITE JPEG FILE.VI. I have tried using a Cluster structure from the bounds property of the GET PANEL IMAGE.VI to feed into the "rect" property of the WRITE JPEG FILE.vi however as soon as I alter the dimensions from the original dimensions it fails to save the panel image to file. Is this actually possible, or does LabVIEW restrict users from altering the panel capture dimensions? Or is this a known bug in LabVIEW v6.0?
Hi,
Here is a zip file containing two VIs.
'Change Control Value.vi' when run will load the VI 'Demo.vi'. It will alter its size and the run demo.vi.
On the front panel or demo.vi, press the Update button and the image will be written to c:\temp.
All a bit crude but the mechanism works in labview 5.1.1. (Unfortunately I haven't got version 6.0.2 installed yet.)
Regards
Ray.
Regards
Ray Farmer
Attachments:
demo.zip 33 KB -
(App-store) Compilation failed while executing : compile-abc
I just upgraded to AIR16 and can no longer compile for the ios app store from Windows 7.
Calling "adt -package -target ipa-test ..." with AIR16 works correctly, installs and runs on my device.
Calling "adt -package -target ipa-app-store ..." with AIR16 crashes the compiler with this generic error:
Compilation failed while executing : compile-abc
Calling "adt -package -target ipa-app-store ..." with AIR14 (and the new compiler, not legacy) works correctly.
How do I get more information about what is happening? I have no ANEs. Could this have something to do with the new 64-bit requirements? My version of Java? With provisioning profiles? What else is different between test and app-store compile modes?Update: I tried a half dozen different ways to compile with AIR16 to no joy. Test works fine, App Store compile fails.
Then finally tried the current AIR17 beta which DOES work. I don't see anything in the release notes about fixing ios app-store compile issues, though there's a new known ios-related bug with textfields.
Does ADT produce an error log file somewhere? I'd like to get more info about this "Compilation failed while executing : compile-abc" error if I ever run into it again. -
AIR 3.8, iOS Packaging Failed: "Compilation failed while executing : ld64"
Since upgrading to AIR 3.8, we can no longer package our AIR Application.
We are getting the following error:
internal_package-ios:
[exec] ld: -pie can only be used when targeting iOS 4.2 or later
[exec] Compilation failed while executing : ld64
Screenshot Here: http://cl.ly/image/3h2U1g271n1J
Reverting to AIR 3.7 fixes the issue... but we need 3.8 as we need the 4096 texture support that comes with BASELINE_EXTENDED profile.
From googling, this seems like it's related to the iOS SDK included with AIR, but the issue was fixed in AIR 3.7. Seems it has been regressed...Hi Shawn,
Since AIR 3.8, we support only PIE enabled binaries, as per Apple recommendation.
For this, the minimum supported iOS version is 4.2. The ANE you are using specifies a minimum iOS version of 4.0 in its platform-iphone.xml, present at: https://github.com/alebianco/ANE-Google-Analytics/blob/master/build/platform-iphone.xml
You will need to change the line:
<option>-ios_version_min 4.0</option>
to:
<option>-ios_version_min 4.2</option>
and rebuild the ANE to make it work.
Regards,
Neha -
Error Task Sequence Manager failed to execute task sequence. Code 0x80004005 TSManager
Dear All,
I need your Help, as I am getting below mention error in deployment of OS through MDT 2013.
Expand a string: WinPEandFullOS TSManager 6/5/2014 11:40:50 AM 1464 (0x05B8)
Executing command line: cscript.exe "%SCRIPTROOT%\LTIApply.wsf" TSManager 6/5/2014 11:40:50 AM 1464 (0x05B8)
Process completed with exit code 5627 TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
!--------------------------------------------------------------------------------------------! TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Failed to run the action: Install Operating System.
Unknown error (Error: 000015FB; Source: Unknown) TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Sending status message . . . TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Executing in non SMS standalone mode. Ignoring send a task execution status message request TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Set a global environment variable _SMSTSLastActionRetCode=5627 TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Clear local default environment TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Let the parent group (Install) decides whether to continue execution TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
The execution of the group (Install) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows) TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Failed to run the last action: Install Operating System. Execution of task sequence failed.
Unknown error (Error: 000015FB; Source: Unknown) TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Sending status message . . . TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Executing in non SMS standalone mode. Ignoring send a task execution status message request TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,767) TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Task Sequence Engine failed! Code: enExecutionFail TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
**************************************************************************** TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Task sequence execution failed with error code 80004005 TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Cleaning Up. Removing Authenticator TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Cleaning up task sequence folder TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,508) TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,508) TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Successfully unregistered Task Sequencing Environment COM Interface. TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Command line for extension .exe is "%1" %* TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Set command line: "X:\Deploy\Tools\X86\TsProgressUI.exe" /Unregister TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Executing command line: "X:\Deploy\Tools\X86\TsProgressUI.exe" /Unregister TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
==========[ TsProgressUI started in process 320 ]========== TsProgressUI 6/5/2014 11:51:18 AM 552 (0x0228)
Command line: "X:\Deploy\Tools\X86\TsProgressUI.exe" /Unregister TsProgressUI 6/5/2014 11:51:18 AM 552 (0x0228)
Unregistering COM classes TsProgressUI 6/5/2014 11:51:18 AM 552 (0x0228)
Unregistering class objects TsProgressUI 6/5/2014 11:51:18 AM 552 (0x0228)
Shutdown complete. TsProgressUI 6/5/2014 11:51:18 AM 552 (0x0228)
Process completed with exit code 0 TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Successfully unregistered TS Progress UI. TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
g_TSManager.Run(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,657) TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Error Task Sequence Manager failed to execute task sequence. Code 0x80004005 TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Sending error status message TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
In non SMS staqndalone mode.Ignoring SendStatusMessage request TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Finalizing logging from process 1456 TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Finalizing logs to root of first available drive TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Successfully finalized logs to C:\SMSTSLog TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Cleaning up task sequencing logging configuration. TSManager 6/5/2014 11:51:18 AM 1464 (0x05B8)
Deployment is going failed.
Regards
SachiNote:Only mass storage device drivers and network adapter device drivers should be added to boot images because other types of
drivers are not needed and will increase the size of the boot image:
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
[SOLVED] Firefox won't start - "Failed to execute default Web Browser"
I've just updgraded from Firefox 3 to version 4 (by running "pacman -Syu") on my 64-bit Arch installation. I started XFCE and Firefox 4 worked fine for a few minutes before crashing and closing automatically.
A short while later (long enough to forget exactly what I was doing when it crashed!) I tried to run it again, but got the error message Failed to execute default Web Browser. / Input/output error.
I've tried rebooting the PC and re-installing firefox & firefox-i18n, but still get the same error. If I run "firefox" from a terminal window, I get the following response:
OpenOffice path before fixup is '/usr/lib/openoffice.org3'
OpenOffice path is '/usr/lib/openoffice.org3'
*** NSPlugin Wrapper *** WARNING:(/build/src/nspluginwrapper-1.3.0/src/npw-wrapper.c:3160):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
NOTE: child process received `Goodbye', closing down
OpenOffice path before fixup is '/usr/lib/openoffice.org3'
OpenOffice path is '/usr/lib/openoffice.org3'
firefox: symbol lookup error: /usr/lib/mozilla/plugins/libvlcplugin.so: undefined symbol: NPP_Initialize
I'm not sure why there are so many references to "OpenOffice"...
Can anyone offer any suggestions as to how to get Firefox working again? (Thanks in advance!)
Last edited by esuhl (2011-03-25 00:40:19)^-Ubermensch-^ wrote:https://bugs.launchpad.net/ubuntu/+sour … bug/722690
Thanks for that. After I posted my last message, Firefox crashed again on a website containing embedded video. I disabled the add-on, but when VLC was updated, I guess it installed and enabled the add-on again. Firefox worked fine initially, but I've just tried to open it again and the same "input/output error" message appeared. I rebooted, but the problem persisted.
Uninstalling the vlc-plugin package seems to have resolved that, though.
Maybe you are looking for
-
Batch Query takes too much time
Hi All, A query as simple as select * from ibt1 where batchnum = 'AAA' takes around 180 seconds to give results. if I replace batchnum condition with itemcode or anything other than batchnum, the same query returns results in some 5 seconds. the IBT1
-
I have a brand new Technical Communication Suite installed, but Captivate seems to malfunction. I can open the program and apparently record stuff, but when the recording is stopped I should be able to see thumbnails and tabs with functions for editi
-
I need to know what version of iOS my mac from 2008 supports
hello I am trying to update my iOS, the one I have is snow leopard on my macbook, but I dont know if theres a newer one that may mac can support
-
I am running iphoto 9.5.1 with OSX 10.9.3 I am making a slideshow that I will eventually export to an external HD. When I make a title for the first picture it does not save for some reason...I have to constantly redue it. Why? I don't see an option
-
Hi all, My client has got a requirement. I will give an example of it. Position Mgr HR is created from 01/01/2009 Person Hired from 03/01/2009 From 04/01/2009 position text copied and changed from Mgr HR to Mgr Comp (We are copying it as they want t