Music On Console Tray Icon
MocIcon
http://mocicon.archuser.com
Today, I wrote a program called MocIcon *music on console icon* which is a gtk app written in C that gives you access to basic moc functions in the tray.
Inspired by Moc-tray, I wrote this app primarily because I hate Perl, so bloated and heavy, so i decided to write a nice little GTK app in C (under 100 SLOC)
features:
-Start/Stop Server
-Play/Pause song
-Next/Previous
upcoming features:
-Icons for the items using GTK's stock icons
-Information with notify-send.
-Rewrite of redundant parts (if you read the code you'll get it)
-Mouse over for current song
I don't have anywere to store it, but it's small so i'll include it here, To compile it run:
gcc -Wall -g mocicon.c -o mocicon `pkg-config --cflags --libs gtk+-2.0`
Comments and Suggestions would be greatly appreciated!
-Calvin
Last edited by crazycal00 (2009-12-16 01:12:30)
Version 0.1.1 is out!
fixed a few bugs, cleaned up code
get it:
http://mocicon.archuser.com/source/moci … .1.tar.bz2
Last edited by crazycal00 (2009-12-16 00:51:18)
Similar Messages
-
Can't get the java tray icon or the console to appear
I can't get the java tray icon or the console to appear on any system that I've tested my applications in.
I'm using Windows XP mostly and I've also tested on Windows 2000 and 2003. I'm using jre 1.6. I've already set the icon to appear and the console to show on the advanced tab on the java icon in the control panel. I've even tried another application from another author thinking it might be something in the code of my own application.
I need the console available on the client systems for troubleshooting but I can't get it to open and I can't open it manually from the tray icon because the icon is not there.
I seem to remember seeing the tray icon and the console on other systems/applications in the past so what do you think is the problem?AFAIK, the Sun/Oracle-provided "Java Console" only works (appears) with applets and Java Web Start applications. It shows some information that is unique to those environments, and provides a place for System.out data to be written.
For a Java application, if the application is started with the java command (as opposed to the javaw command) System.out data is written to the command/cmd window that is created.
If you need more that that for an application, then [this article|http://www.developer.com/java/other/article.php/630821/Creating-a-Custom-Java-Console.htm] may be of interest. It's old, but still appears to be valid. Note that current versions of Java contain a class java.io.Console. This class should be able to be used as a replacement for the custom Console class that is used in the article. -
Problem X-Fi Xtreme Music and Console Launcher
Hello, (I'm german student, so sorry for my english)
I re-installed Windows 7 32bit a few days ago.
Now, I already fixed the problem with Console Launcher as a tray icon.
I installed the latest drivers from Creative and Console Launcer from CSL_PCAPP_LB_2_60_29.
But I have the problem that the Console Launcher does not save my settings like bass to 60% or activating X-Fi Crystalizer. So if a change one of these settings and reboot my pc....everything is set back to normal.
Help would be great.
ThanksIf no one has an idea, could please someone tell me which drivers he installed to run a X-Fi Xtreme Music on Windows 7 32bit with Console Launcher perfectly.
Thanks! -
[SOLVED] tray icons in i3
Hi!
I just installed i3 and I'm happy, I customized my i3bar with conky.. and I noticed, that I don't have tray icons. I tried stalonetray, but I would like have it integrated with my main bar.
There are my current config files, there is screenshot in the same repo.
I've read that i3bar or i3status have tray out-of-the-box, but I'm not able to restore/configure it. Any advice?
Last edited by nbb (2014-11-09 18:54:10)It's not so easy, I tried it earlier.
Right now my bar section looks like that:
bar {
status_command ~/.i3/conky-i3bar
strip_workspace_numbers no
position bottom
workspace_buttons yes
tray_output primary
font pango:Consolas 9
colors {
separator #666666
background #222222
statusline #dddddd
focused_workspace #0088CC #0088CC #ffffff
active_workspace #333333 #333333 #ffffff
inactive_workspace #333333 #333333 #888888
urgent_workspace #2f343a #900000 #ffffff
Still no tray (in stalonetray icons show up, so there is problem with i3bar. -
System Tray Icon Not Displaying - Depending on Launch Style
Good Morning-
I'm using the java.awt.SystemTray and TrayIcon classes from 1.6 to create a system tray that acts essentially as a temperature monitor. It's very little code. When I test it from Eclipse, it works great. When I double-click the .jar on my workstation, it works great. When I launch it with java -jar temp.jar, it works great. When I launch it with javaw -jar temp.jar, I get no tray icon, but javaw sits in memory doing something.
When my users launch it with a .vbs that calls java -jar temp.jar and hides the resulting terminal window, they get no tray icon. When they call java -jar temp.jar, they get the tray icon... and the console window. When they call javaw -jar temp.jar, they get no tray icon. Any of these practices yields a java process sitting in memory.
When my users double-click the .jar file, they're asked to chose what to open it with. If they chose Java's executable, it says it doesn't know what to do (it isn't called with -jar). Windows doesn't see their jar files as executables like on mine.
So I have two issues. The result is the system tray icon won't display on users' computers without a window to accompany it. Any idea why? Is it potentially a bug?
Some code:
public class SysTrayController {
// The actual icon that will be updated
private TrayIcon icon;
// The last-set temperature
private int temp;
// The box that may or may not appear
private AlertBox box;
// No Data received (yet?)
public final static int NO_DATA = 0;
// High temperature threshold. TODO: Make this user-configurable.
private final static int HIGH_TEMP = 80;
// ... you guess
private final static String DEFAULT_ICON = "icons/default.png";
* Initiate everything. Grab the system tray, plop the icon in it, and
* get the icon all set up and ready to go with the default image.
public SysTrayController() {
box = new AlertBox();
SystemTray tray = SystemTray.getSystemTray();
Image image = Toolkit.getDefaultToolkit().getImage(getClass().getResource(DEFAULT_ICON));
PopupMenu popup = new PopupMenu();
MenuItem exit = new MenuItem("Exit");
exit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.exit(0);
popup.add(exit);
icon = new TrayIcon(image, "Temperature Monitor", popup);
// On double-click, display the alert box
icon.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
if (e.getClickCount() >= 2) {
box.setVisible(true);
try {
tray.add(icon);
} catch (AWTException e) {
System.out.println(e);
* Set the temperature.
* Call setIcon() to set the icon to the right number, update the alert
* box, and if it's time to, display the alert box.
public void setTemp(int temp) {
if (this.temp != temp) {
this.temp = temp;
setIcon(temp);
icon.setToolTip(temp + " degrees");
box.setAlertMessage("Temperature in the Server Room is at " + temp + " degrees!");
box.setIcon(icon.getImage());
if (temp > HIGH_TEMP) {
box.setVisible(true);
icon.displayMessage("Alert", "Temperature in the server room is at " + temp + " degrees!", TrayIcon.MessageType.WARNING);
} else if (temp != NO_DATA){
box.setVisible(false);
* Figure out which icon to set the tray icon to, scale it down, and
* set it.
public void setIcon(int number) {
Image image = null;
if (number == NO_DATA) {
image = Toolkit.getDefaultToolkit().getImage(getClass().getResource(DEFAULT_ICON));
} else if (number >= 60 && number < 100 ) {
String iconString = "icons/temp";
iconString += number;
iconString += ".png";
try {
image = Toolkit.getDefaultToolkit().getImage(getClass().getResource(iconString));
} catch (NullPointerException e) {
image = Toolkit.getDefaultToolkit().getImage(getClass().getResource(DEFAULT_ICON));
image = image.getScaledInstance(16, 16, Image.SCALE_SMOOTH);
icon.setImage(image);
* Give back the current temperature.
public int getTemp() {
return temp;
}The main() that calls it looks like this:
public static void main(String[] args) {
SysTrayController controller = new SysTrayController();
Thermometer temp = new Thermometer(HOSTNAME);
while (true) {
controller.setTemp(temp.getTemp());
try {
if (controller.getTemp() == SysTrayController.NO_DATA) {
Thread.sleep(1000);
} else {
Thread.sleep(SLEEPTIME);
} catch (Exception e) {
System.out.println(e);
}From the code above, this line actually worked for me:
image = Toolkit.getDefaultToolkit().getImage(getClass().getResource(iconString));Just place the image inside the source folder and change the iconString thing...
For example mine looked like this
image = Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icon.gif")); -
How do I install a patch? (xfce4-power-manager tray icon patch)
Sorry if this is a stupid question or if the answer can be found elsewhere, but I googled and searched the forums and couldn't find any answers.
xfce4-power-manager had for the longest time had a tray icon showing battery status, and they recently decided to remove it in favor of a xfce-panel only icon. Bringing it back was requested on bugzilla and a patch was released.
But I really have no idea what to do with it. Can someone shine some light on this for me?
Last edited by ralph_13 (2015-03-13 00:17:15)Putting prepare before the other functions didn't seem to work. Below is the full makepkg log:
[ralph@AnarchBox xfce4-power-manager-p]$ makepkg
==> Making package: xfce4-power-manager 1.4.3-1 (Mon Mar 16 15:36:12 BRT 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading xfce4-power-manager-1.4.3.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 368 100 368 0 0 559 0 --:--:-- --:--:-- --:--:-- 560
100 366 100 366 0 0 361 0 0:00:01 0:00:01 --:--:-- 98000
100 1112k 100 1112k 0 0 31763 0 0:00:35 0:00:35 --:--:-- 23720
-> Downloading attachment.cgi?id=5979...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 24765 100 24765 0 0 14505 0 0:00:01 0:00:01 --:--:-- 14499
==> Validating source files with sha256sums...
xfce4-power-manager-1.4.3.tar.bz2 ... Passed
attachment.cgi?id=5979 ... Passed
==> Extracting sources...
-> Extracting xfce4-power-manager-1.4.3.tar.bz2 with bsdtar
==> Starting prepare()...
patching file data/interfaces/xfpm-settings.ui
patching file panel-plugins/power-manager-plugin/power-manager-button.c
patching file panel-plugins/power-manager-plugin/power-manager-button.h
patching file settings/xfpm-settings.c
patching file src/Makefile.am
patching file src/xfpm-manager.c
Hunk #6 succeeded at 707 (offset 3 lines).
Hunk #7 succeeded at 928 (offset 3 lines).
patching file src/xfpm-power.c
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether NLS is requested... yes
checking for intltool >= 0.31... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.20.2
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for sys/types.h... (cached) yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/user.h usability... yes
checking sys/user.h presence... yes
checking for sys/user.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for unistd.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking procfs.h usability... no
checking procfs.h presence... no
checking for procfs.h... no
checking for getpwuid... yes
checking for setsid... yes
checking for sigaction... yes
checking for round in -lm... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... ar ast bg ca cs da de el en_AU en_GB es et eu fi fr gl he hr hu id is it ja kk ko lt ms nb nl nn oc pa pl pt_BR pt ro ru si sk sl sr sv te th tr ug uk ur_PK ur vi zh_CN zh_HK zh_TW
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${datarootdir}/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-2.0 >= 2.24.0... 2.24.27
checking GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib-2.0 >= 2.30.0... 2.42.2
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GLIB_LIBS... -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gobject-2.0 >= 2.30.0... 2.42.2
checking GOBJECT_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GOBJECT_LIBS... -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gthread-2.0 >= 2.30.0... 2.42.2
checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTHREAD_LIBS... -lgthread-2.0 -pthread -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gmodule-2.0 >= 2.30.0... 2.42.2
checking GMODULE_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GMODULE_LIBS... -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for dbus-1 >= 1.1... 1.8.16
checking DBUS_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
checking DBUS_LIBS... -ldbus-1
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for dbus-glib-1 >= 0.84... 0.102
checking DBUS_GLIB_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking DBUS_GLIB_LIBS... -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfconf-0 >= 4.10.0... 4.12.0
checking XFCONF_CFLAGS... -I/usr/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking XFCONF_LIBS... -lxfconf-0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4ui-1 >= 4.10.0... 4.12.0
checking LIBXFCE4UI_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LIBXFCE4UI_LIBS... -lxfce4ui-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4util-1.0 >= 4.10.0... 4.12.1
checking LIBXFCE4UTIL_CFLAGS... -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LIBXFCE4UTIL_LIBS... -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libnotify >= 0.4.1... 0.7.6
checking LIBNOTIFY_CFLAGS... -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LIBNOTIFY_LIBS... -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for upower-glib >= 0.9.7... 0.99.2
checking UPOWER_CFLAGS... -pthread -I/usr/include/libupower-glib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking UPOWER_LIBS... -lupower-glib -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for xrandr >= 1.2.0... 1.4.2
checking XRANDR_CFLAGS...
checking XRANDR_LIBS... -lXrandr
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for x11 >= 1.0.0... 1.6.2
checking X11_CFLAGS...
checking X11_LIBS... -lX11
checking whether to build with polkit support... yes
checking for DPMSQueryExtension in -lXext... yes
checking whether XF86XK_Suspend is declared... yes
checking whether XF86XK_Hibernate is declared... yes
checking whether to build with network manager support.... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4panel-1.0 >= 4.10.0... 4.12.0
checking LIBXFCE4PANEL_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4panel-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LIBXFCE4PANEL_LIBS... -lxfce4panel-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for lxpanel >= 0.7.0... 0.8.0
checking LXDEPANEL_NEW_CFLAGS... -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LXDEPANEL_NEW_LIBS... -L/usr/lib/lxpanel -llxpanel -lfm -lgthread-2.0 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for lxpanel >= 0.5.6... 0.8.0
checking LXDEPANEL_CFLAGS... -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LXDEPANEL_LIBS... -L/usr/lib/lxpanel -llxpanel -lfm -lgthread-2.0 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
checking whether to build with debugging support... no
checking PLATFORM_CPPFLAGS...
checking PLATFORM_CFLAGS...
checking PLATFORM_LDFLAGS...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libdbus/Makefile
config.status: creating common/Makefile
config.status: creating src/Makefile
config.status: creating settings/Makefile
config.status: creating panel-plugins/Makefile
config.status: creating panel-plugins/power-manager-plugin/Makefile
config.status: creating panel-plugins/power-manager-plugin/lxde-0.7/Makefile
config.status: creating panel-plugins/power-manager-plugin/lxde/Makefile
config.status: creating panel-plugins/power-manager-plugin/xfce/Makefile
config.status: creating data/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/icons/16x16/Makefile
config.status: creating data/icons/22x22/Makefile
config.status: creating data/icons/24x24/Makefile
config.status: creating data/icons/32x32/Makefile
config.status: creating data/icons/48x48/Makefile
config.status: creating data/icons/scalable/Makefile
config.status: creating data/interfaces/Makefile
config.status: creating data/appdata/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
prefix: /usr
xdg autostart: /etc/xdg/autostart
POLKIT: yes
Network manager: no
Build panel plugins: yes
Xfce plugins: yes
LXDE plugins: yes
Backend: linux
Debug: no
Configuration finished, type make to compile
make all-recursive
make[1]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3'
Making all in data
make[2]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data'
Making all in icons
make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons'
Making all in 16x16
make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/16x16'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/16x16'
Making all in 22x22
make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/22x22'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/22x22'
Making all in 24x24
make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/24x24'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/24x24'
Making all in 32x32
make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/32x32'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/32x32'
Making all in 48x48
make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/48x48'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/48x48'
Making all in scalable
make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/scalable'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/scalable'
make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons'
make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons'
Making all in interfaces
make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/interfaces'
make all-am
make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/interfaces'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/interfaces'
make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/interfaces'
Making all in appdata
make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/appdata'
ITMRG xfce4-power-manager.appdata.xml
make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/appdata'
make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data'
make[2]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data'
Making all in libdbus
make[2]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/libdbus'
make all-am
make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/libdbus'
CC libxfpmdbus_la-xfpm-dbus.lo
CC libxfpmdbus_la-xfpm-dbus-monitor.lo
CC libxfpmdbus_la-xfpm-unique.lo
CC libxfpmdbus_la-xfpm-dbus-marshal.lo
CCLD libxfpmdbus.la
make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/libdbus'
make[2]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/libdbus'
Making all in common
make[2]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/common'
make all-am
make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/common'
CC libxfpmcommon_la-xfpm-enum-types.lo
CC libxfpmcommon_la-xfpm-common.lo
CC libxfpmcommon_la-xfpm-brightness.lo
CC libxfpmcommon_la-xfpm-debug.lo
CC libxfpmcommon_la-xfpm-power-common.lo
CCLD libxfpmcommon.la
make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/common'
make[2]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/common'
Making all in src
make[2]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/src'
make all-am
make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/src'
CC xfce4_power_manager-xfpm-marshal.o
CC xfce4_power_manager-xfpm-main.o
CC xfce4_power_manager-xfpm-manager.o
xfpm-manager.c: In function ‘xfpm_manager_show_tray_icon’:
xfpm-manager.c:751:33: warning: assignment makes pointer from integer without a cast
manager->priv->power_button = power_manager_button_new ();
^
CC xfce4_power_manager-xfpm-power.o
CC xfce4_power_manager-xfpm-battery.o
CC xfce4_power_manager-xfpm-xfconf.o
CC xfce4_power_manager-xfpm-console-kit.o
CC xfce4_power_manager-xfpm-systemd.o
CC xfce4_power_manager-egg-idletime.o
CC xfce4_power_manager-xfpm-backlight.o
CC xfce4_power_manager-xfpm-kbd-backlight.o
CC xfce4_power_manager-xfpm-dpms.o
CC xfce4_power_manager-xfpm-button.o
CC xfce4_power_manager-xfpm-network-manager.o
CC xfce4_power_manager-xfpm-inhibit.o
CC xfce4_power_manager-xfpm-notify.o
CC xfce4_power_manager-xfpm-polkit.o
CC xfce4_power_manager-xfpm-errors.o
CC xfce4_power_manager-xfpm-suspend.o
CCLD xfce4-power-manager
xfce4_power_manager-xfpm-manager.o: In function `xfpm_manager_tray_update_icon':
xfpm-manager.c:(.text+0x11c9): undefined reference to `power_manager_button_get_type'
xfpm-manager.c:(.text+0x1224): undefined reference to `power_manager_button_get_icon_name'
xfce4_power_manager-xfpm-manager.o: In function `xfpm_manager_tray_update_tooltip':
xfpm-manager.c:(.text+0x128d): undefined reference to `power_manager_button_get_type'
xfpm-manager.c:(.text+0x1324): undefined reference to `power_manager_button_get_tooltip'
xfpm-manager.c:(.text+0x1336): undefined reference to `power_manager_button_get_tooltip'
xfce4_power_manager-xfpm-manager.o: In function `xfpm_manager_set_property':
xfpm-manager.c:(.text+0x14e0): undefined reference to `power_manager_button_new'
xfpm-manager.c:(.text+0x150e): undefined reference to `power_manager_button_show'
xfce4_power_manager-xfpm-manager.o: In function `xfpm_manager_show_tray_menu':
xfpm-manager.c:(.text+0xa9): undefined reference to `power_manager_button_show_menu'
collect2: error: ld returned 1 exit status
Makefile:742: recipe for target 'xfce4-power-manager' failed
make[3]: *** [xfce4-power-manager] Error 1
make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/src'
Makefile:604: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/src'
Makefile:510: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3'
Makefile:441: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting... -
Muine should use xine-lib (and a tray icon)
The tray icon is built by default, but not installed.
And please build muine with the xine-lib backend.
gStreamer is nice, but too slow (the gap between tracks is too long), uses too much cpu power and gives awful pops when starting/stopping/pauzing
here's my pkgbuild:
#$Id: PKGBUILD,v 1.2 2005/06/13 09:50:15 jgc Exp $
#Maintainer: Jan de Groot <[email protected]>
#Contributor: Ben Mazer <[email protected]>
pkgname=muine
pkgver=0.8.3
pkgrel=3
pkgdesc="a music app written in C#"
url="http://muine.gooeylinux.org"
depends=('gtk-sharp-2' 'libid3tag' 'flac' 'libvorbis' 'faad2' 'dbus-sharp>=0.33' 'xine-lib')
makedepends=('intltool')
install=muine.install
source=(http://muine.gooeylinux.org/$pkgname-$pkgver.tar.gz)
md5sums=('4e21eeb8e809bebf1e13540e44a6259d')
build() {
[ "$GNOMEDIR" = "" ] && . /etc/profile.d/gnome.sh
[ "$MONO_PATH" = "" ] && . /etc/profile.d/mono.sh
# get rid of .wapi errors in fakeroot
mkdir -p $startdir/pkg/weird
export MONO_SHARED_DIR=$startdir/pkg/weird
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/gnome --enable-xine
make || return 1
make DESTDIR=$startdir/pkg GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
mkdir -d $startdir/pkg/opt/gnome/lib/muine/plugins
cp $startdir/src/$pkgname-$pkgver/plugins/TrayIcon.* $startdir/pkg/opt/gnome/lib/muine/plugins
# housecleaning
rm -rf $startdir/pkg/weirdphrakture wrote:that's exactly the point though - with the voting feature of the AUR, the maintainer could easilly tell "hmm, the xine backend is much more popular"
People are a bit lazy, they often forget to vote
I think contacting the maintainer directly, or discussing it in the forums is better
just my 2 cents
phrakture wrote:the AUR only holds PKGBUILDs anyway, so adding 100 of them like that would be about 20-30K... no big deal, space is cheap 8)
true but they'd have to be synced with the 'official' version all of the time ... well, ideally
phrakture wrote:I have no idea - never touched gstreamer before, nor muine - I use mpd for audio and xine for video... does aplay count too? heh
I fell in love with the 'album' play feature (yes I'm one of those guy's) -
after upgrades, suddenly no music is on or can be synched to the iPhone. It is all there on my computer but cannot get it to synch back. I tried copying over older itl fils t no avail.
If I click on music under the iPhone icon within iTunes, it shows on a dozen or so voice memos. (also shows them under "Voice memos").
Itunes version is 11.0.3 (42)
Any suggestions?From the requirements point of view, you can happily move to iOS 6. From the user tranquility pov, it's a crapshoot. Remember that MILLIONS of iDevices have been sold, a couple of those just this past Xmas season and hence all with iOS 6 preinstalled. "Many complain in the forums" is a number that ranges in the 10's or 100's: i.e., a minuscule amount of the total devices out there. And. of course, nobody comes here to gush excitedly about how well his iGadget works; everybody here (save those of us regular users who attempt to help, we're not Apple employees) has a gripe, grumble or complaint.
I can tell you from personal experience that my i5 with iOS 6.1.4 works as desired. All my colleagues' iPhones with iOS 6 work as expected. And we have a particularly flaky Wi-Fi environment thanks to our less than stellar netadmins.
But in the end, it is entirely up to you. Will you bite the bullet, or wait some more? Check the new stuff that came with iOS 6 and decide whether or not to risk it. -
Can't mount Time Capsule on PC (white system tray icon no longer there)
My new time capsule is working perfectly on my MacBookPro, however recently I tried to get it to work on my PC laptop. I easily got the wireless internet work on the PC, that's not a problem. I installed the airport utility on my PC and it was able to recognize it through the airport utility interface/configuring window where I could change settings, etc., just like I could on my Mac. There used to be (on my PC) this white icon in my system tray on the lower right of my screen. When I clicked on this I could type my password, as prompted, and mount to the time capsule, which I could now see in My Computer as a drive. I tested a few files by dragging them over into the drive, and it worked fine. Now, a week later the icon in the system tray has disappeared, and I can no longer see the time capsule on my PC in My Computer. I can still click on the airport utility icon in my programs and see/change settings in my time capsule from my PC, but cannot see nor access the drive from My Computer (or mount by clicking on this now missing icon). Anyone else know what I can do? Thanks in advance!
I was just having this problem and figured out that the white system tray icon is the Airport Base Station Agent. It wasn't running for me for some reason, too, but I found it and started it back up again at C:\Program Files\AirPort\APAgent.exe.
Here's an Apple Support article (it's a little old) I found that discusses drive mapping in windows with the Airport Base Station Agent: http://support.apple.com/kb/HT1331
Hope this helps. -
Firefox 4.0 cannot find the Yahoo mail URL. Working with the Verizon tech we were able to get Internet Explorer to finaly find the yahoo mail web site. But not luck with Firefox 4.0 .
Since trying your suggestions to make firefox 4 find the Yahoo mail URL. I have noticed that all of my system tray icons except the Panda anti virus and volume control icons have disapeared. My system restore will not restore and printers are gone altogether. How do I get the old firefox and all i've lost back.
Hector, [email protected]Still cannot fix it to get Yahoo e-mail. This what I get now from Ff3.5 now.
Sorry, we can't find "http://us.mc1121.mail.yahoo.com/mc/welcome". Please check the spelling of the web address.
From Ff4 it can't find the " URL proxy server" on it's server???
Have tried most every solutions/suggestion I could find have my computer just keeps getting worse. Where do I find the 4 solutions you mention here to see if I have not already tried them? I don't see or know where to go to find these solutions??? Can anyone help me find the fix???
E-mail add. [email protected] -
Little question about a Claws-Mail tray icon theme, and how to use it.
There is a Claws Mail tray icon theme available on gnome-look.org:
http://gnome-look.org/content/show.php/ … tent=71540
These are the instructions the author gives to install the theme:
Claws Mail Tango trayicon theme
Claws-Mail version = 3.3.0
copy icons claws-mail-3.3-0/src/pixmaps, recompile and install.
So what am I supposed to do (especially since the newest Claws Mail version is 3.4.0...)?Stalafin wrote:
There is a Claws Mail tray icon theme available on gnome-look.org:
http://gnome-look.org/content/show.php/ … tent=71540
These are the instructions the author gives to install the theme:
Claws Mail Tango trayicon theme
Claws-Mail version = 3.3.0
copy icons claws-mail-3.3-0/src/pixmaps, recompile and install.
So what am I supposed to do (especially since the newest Claws Mail version is 3.4.0...)?
I would recommend using ABS. just makepkg -o first so the sources get DL'd and unpacked. copy your icons and makepkg -e so the sources are not extracted again and therefore your new icons overwitten.
finally, enjoy some awesomeness: -
Need to Lock down Keyboard Manager System Tray Icon
I run 27 MacBooks at a Secondary School. I have them setup for Windows XP Pro (I'll be setting up the Mac OS over then next few weeks but this is a MS Windows School so lets start slow). Hoever I need to be able to disable the "Boot Mac OS" option on the Keyboard Manager. But still have access to Volume and Eject etc Keys.
Solution: 1
a .adm file so that I can contol what is avilable to students through Group Policy (disable reboot in Mac, Disable Boot Camp First time Run Help Screen)
Solution 2
A Keyboard driver that will make all the Keys work (and remote if possible) but has no System tray Icon
Solution 3
Hide the System tray icon (as say an option in the Boot Camp Control Panel which I can already disable through group policy) then all I need to kill is the anoying first time run help screen.
The help screen is anoying because for each of the 800 student will probably only login into each laptop once each so that will come up every time, because I reimage every 3 months or so.
The reboot in Mac OS would be no problem if it did not perminatly change to boot order and the Mac OS side boot change back is too complicated for most first time Mac users. The way I will be introducing the Mac OS is telling them about the hold the "option" key trick on boot. hence the dummys will get what they are expecting, and the smarties have the option without afecting the dummys.
I relise this is a Devolopers thing but I can find no other way to inform them of the need. I dout I am the only System admin needing this.
Thank You
Message was edited by: Solus VenatorUnfortunately no that did not help
Using msconfig only stops the Keyboard Manager from running. I can do that simply be removing it from the registry with out the annoying msconfig messages. (good for testing though)
I have also looked into the Hide tray Icon Path but that only tucks it behind a set of “<<”
And the reboot function does Permanently Change the Boot Order. (Not the boot sector necessarily, The Boot Order) to change it back you need to login into the Mac OS and System Prefs Disk Boot Select the Boot Camp Part and Reboot …… Big Pain in neck.
The Keyboard Manager icon does not have an eject option… If is needed for the Eject Key to work (and the Volume Mute, Up, Down, Brightness Up, Down. Note it is not Needed for the Play FF Rew Keys they work fine with the Fn Key)
Here is the test
With no icon showing, or an icon with no reboot option : Press The Eject Key if the CD Ejects Success, I also need Volume do not care about the others as much
As Stated this is a Developer( Programmer) oversite and needs them to put in an option to remove the reboot option from the System tray Icon. Removal of the Icon would also be desirable
Thank You -
Access Connection Tray Icon disappear
Hi, I got a problem on a T61p model 8889-AB5 owned by my boss. The ThinkVantage Access Connections tray icon was disappeared occasionally. It is noticed that below registry keys were missed and I needed to add them back to get the tray icon displayed.ACTray=C:\\Program Files\\ThinkPad\\ConnectUtilities\\ACTray.exeACWLIcon="C:\\Program Files\\ThinkPad\\ConnectUtilities\\ACWLIcon.exe This T61p hardware was checked by Lenovo service center on July 2008; no problem was found and the Win XPP was reinstalled from recovery CD afterward. Does anyone encounter similar problem? Thanks, Eric
And still no improvements in version 6.11!
Can we expect a fix for this? -
How to hide tray icon when in jframe
how to hide the tray icon when v display a new JFrame in jdk1.5?
use a JWindow or JDialog, but you may come across other problems if using
them without a parent (the parent will be the one in the task bar) -
Sometimes Tray Icon not loaded correctly
I am trying to make my (html/ajax) website available as a desktop application, (with little enhancements like notifications in the background etc.) without writing any extra code. Everything works fine except the tray icon. Sometimes the tray icon is not loading correctly.
Following is the structure of my sample air application.
1. An html page(page1.html) i am using as my inital window.
It creates an invisible html window and loads a new page (page2.html) as below.
var options = new air.NativeWindowInitOptions();
options.systemChrome = "standard";
var windowBounds = new air.Rectangle(200,250,300,400);
newHTMLLoader = air.HTMLLoader.createRootWindow(false, options, false, windowBounds);
newHTMLLoader.window.mainAppWindow = window;
newHTMLLoader.load(new air.URLRequest("page2.html"));
and later redirecting to the website.
2. I am using this invisible html window to control the application behavior (like sending ajax requests in the background, monitoring network, checking for updates etc.)
page2.html contains code to load the tray icon for the application.
Here is javascript the code in page2.html
function BgWindow(){
this.init = function(){
this.loadTrayIcon();
var iconLoadComplete = function(event){
air.NativeApplication.nativeApplication.icon.bitmaps = [event.target.content.bitmapData];
this.loadTrayIcon = function() {
air.NativeApplication.nativeApplication.autoExit = true;
var iconLoad = new air.Loader();
if (air.NativeApplication.supportsSystemTrayIcon) {
iconLoad.contentLoaderInfo.addEventListener(air.Event.COMPLETE,iconLoadComplete);
iconLoad.load(new air.URLRequest("lmt16.png"));
window.onload = function(){
bgWindow = new BgWindow();
bgWindow.init();
But the problem here is, sometimes the icon is loaded correctly but sometimes its not loaded.
What am I missing here ?
Any help is appreciated.
I am attaching the complete application if somebody needs to analyze it.Sorry. Your attachment didn't come through. It triggered an error message about a "malformed container violation." Please try to rezip it and try it again.
Maybe you are looking for
-
I have a Macbook Air (mid 2013, 4gb memory, 128gb storage) and I'm running OSX 10.8.5 mountain lion. My issue is that the free memory is always low, even when starting up the computer: When I start up the computer, with nothing yet opened (note: I on
-
In Mail, how can I tell if an email has been read by the recipient?
There used to be a way in msn to get a message when an email was read. Is there a way to do the same in Mail?
-
How can I change the name of my computer on my iPad?
Since I performed a clean install of Mavericks on my iMac, the computer-name changed a couple of times unexpectedly. Now, I end up with one of the previous names to be recognized by my iPad instead of the correct one. So, a WiFi-sync is no longer pos
-
I am a new to the iphone world don't really understand the new carrier update and any insight would be highly appreciated
-
Is there a driver for the ZEN Mic
ok so like my friends Zen Micro died and i offered to take a look at it, i beli've its the?5 GB one it could be the 8GB but its not the photo one, when i connect it to my computer it says it needs to find the driver, so i say it can look through the