[Solved]Translucent Conky through transset?
So I'd like to set up conky to have a translucent background, like in this screenshot
http://img168.imageshack.us/my.php?imag … setwj2.jpg
My solution thus far was starting transset through autostart.sh and then clicking on conky to make it transparent. There has to be a better way to do this, but I've not come across a setting in conky that lets me do it. I'm also running a script to change my background, so editing all the walls I have isn't an easy solution. Is there a way to get transset to automatically set a window's transparency or does anyone have a better solution?
Thanks
Last edited by capnmoney (2008-12-08 00:43:32)
moljac024 wrote:You realize that every app in existence prints out usage info if you start it with -h, --help or -help ?
Completely OT, but that's another thing I miss about AmigaOS: "foo ?" printed out the arguments "foo" expected, and what type (string, integer, switch...) they should be, even if the coder hadn't bothered to include a help option. In *nix, "-h" or "--help" has to be explicitly coded, and some things don't have it. More than three years on, I still find myself typing things like "transset-df ?" by mistake.
I'll shut up now. I'm just hacked off because I could have answered the OP's question, but you lot got in before me.
Similar Messages
-
How can i solve a issue through remeady
how can i solve a issue through remeady..
With Regards
PrasantaHello,
Remedy and other similar products are the tools which track the Action / Time taken for resolving a call. Normally, once an issue is reported, that will be recorded in a tool with an estimated fix time. If the call is not fixed / actioned within the estimated time, it go as breached.
The analyst need to update the call status in the tool. They will need to update the actions taken, call notes ..etc. Once the issue is fixed, you may set the call status as resolved. Once you set the status as resolved, the user who riased the issue will get an e-mail. They will confirm whether the issue is actually closed or not. Depends upon their cconfirmation, the status will be set to Closed or again Reopen.
This is a typical helpdesk tool scenario.
Prase -
[SOLVED] No sound through usb soundcard in Google Chromium
Hi there,
Before switching to Arch I had used my external usb soundcard in Ubuntu and Kubuntu which worked almost flawlessly except for no sound through Google Chromium in Kubuntu. I thought this may have been isolated when switching KDE on Arch but I'm stilling having the same problem. All audio works through the external soundcard except for Chromium.
Does anyone know how I can change sound preferences in Chromium or other way to solve this problem?
Thanks,
Last edited by bennylb0 (2010-06-02 06:04:14)Not sure exactly what I did but I fiddled with the default soundcard configuration and now it works.
-
[SOLVED!] Conky won't run undecorated, please assist.
Greetings,
As suggested in my other thread, I have been working on customizing a conky script that simply shows the time, date, calendar, current weather, and forecast, and I have completed it.
However I have ran into a problem. Up until I basically had it completed, it would run fine undecorated without any window borders and the like. But now it won't, and it laughs at me instead. If I want to see my conky, I have to have it decorated in the window border, which is a pain and something I don't want. I want it to simply blend in with my desktop.
Anyways, I am hoping someone can help me solve this. I know it runs. If I set it to decorate, it pops up, info and all. If I set it to undecorate, it laughs at me, but shows up lxtask and htop.
Here's my .conkyrc
# Use Xft?
use_xft yes
xftfont cure:size=6
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type widget
own_window_hints undecorate,sticky,above,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 280 5
maximum_width 187
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 5
# border width
border_width 0
# Default colors and also border colors
default_color 4d4d4d
#default_shade_color white
#default_outline_color black
own_window_colour 262626
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 1180
gap_y 24
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
#Email:
#${pop3_unseen **SERVER NAME** **USERNAME** **PASSWORD**} new messages
TEXT
${offset 100}${alignc}${font openlogos-archupdate:size=40}${color blue}B${font}${color}
${color FFFFFF}${font DejaVu Sans:style=Bold:pixelsize=25}${alignc}${time %r}${font Snap.se:size=8}
${color FFFFFF}${alignr}${time %A, %B %e %G}
${color FFFFFF}${font Aerial:style=Bold:pixelsize=12}CALENDAR${font Snap.se:size=8}${hr 1}
${color FFFFFF}${font DejaVu Sans Mono :size=12}${pre_exec cal}
${color FFFFFF}${font DejaVu Sans Mono :size=6}${pre_exec cal -3 | cut -c23-44 --complement}
${color FFFFFF}${font Aerial:style=Bold:pixelsize=12}WEATHER${font Snap.se:size=8}${hr 1}
${color FFFFFF}${alignr 43}${font DejaVu Sans:size=12}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=CN}${font}
${color FFFFFF}${alignr 43}${font Weather:size=46}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=WF -i}${font}
${color EE6363}${voffset -30}${font Aerial:style=Bold:pixelsize=12}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=HT -i}${font}
${color 00A54E}Low: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=LT -i --startday=1 --endday=1} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color 00A54E}High: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=HT -i --startday=1 --endday=1}
${color 00AEED}Conditions: ${color FFFFFF}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=CC -i}
${color 00AEED}Wind: ${color FFFFFF}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=WS -i}
${color 00AEED}Humidity: ${color FFFFFF}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=HM -i}
${color 00AEED}Chance of Precipitation: ${color FFFFFF}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=PC -i}
${color FAF519}Sun Rise: ${color FFFFFF}}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SR -i --startday=1 --endday=1} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color FAF519}Sun Set:${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SS -i --startday=1 --endday=1}
${color FFFFFF}${font Aerial:style=Bold:pixelsize=12}FORECAST${font Snap.se:size=8}${hr 1}
${color FF0000}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=DW -i --startday=1 --endday=1}
${color 00A54E}Low: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=LT -i --startday=2 --endday=2} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color 00A54E}High: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=HT -i --startday=2 --endday=2}
${color FAF519}Sun Rise: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SR -i --startday=2 --endday=2} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color FAF519}Sun Set:${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SS -i --startday=2 --endday=2}
${color FF0000}${alignr}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=DW -i --startday=2 --endday=2}
${color 00A54E}Low: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=LT -i --startday=3 --endday=3} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color 00A54E}High: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=HT -i --startday=3 --endday=3}
${color FAF519}Sun Rise: ${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SR -i --startday=3 --endday=3} ${font DejaVu Sans Mono:size=6}» ${font}${alignr}${color FAF519}Sun Set:${color FFFFFF}${execi 3600 python ~/scripts/conkyForecast.py --location=USOH0311 --datatype=SS -i --startday=3 --endday=3}
Again, all I need help with is having it run undecorated without any window decoration. I am running Fluxbox as my WM. If you need any other info, please let me know. Thanks.
Last edited by mythus (2009-04-25 01:02:23)Yes that works! Thanks!
About the widget; I used Sid's conky script from the conky screenshot as my base, it was the first conky I had tried. Though I only ended up keeping the forecast portion after editing it massively...
I think it must have been the own_window_hints throwing me off. -
[SOLVED]Compton, Conky and RXVT-Unicode not playing nicely
Hello. I'm having some problems making my desktop how I want it. My window manager is fluxbox.
First problem is just a minor inconvenience, but annoying. When I login, a transparent terminal spawns to my specification, but it is skewed.
http://i.imgur.com/hrEEh3H.jpg
However, as soon as I open any window it fixes itself
http://i.imgur.com/WXQZ9e3.jpg
Second problem is that I can't figure out how to remove the shadow under conky. I know that it is coming from the slit, but it just won't go away. I can get it to go away if I set conky to desktop instead of panel, but then when I launch any window it overlaps with the conky bar, and that is unaceptable. Maybe there is a fluxbox configuration option that reserves some space so nothing can overlap it? But I couldn't find anything.
Here are the config files I think are relevant:
.Xdefaults:
urxvt*.transparent:true
urxvt*scrollBar:false
urxvt*borderLess:true
urxvt*foreground:blue
urxvt*.highlightColor: yellow
urxvt*.colorUL: #4682B4
urxvt*.cursorBlink: 1
urxvt*font: xft:Terminus:pixelsize=12
urxvt*.perl-ext-common: default,matcher,tabbedex,readline,clipboard
urxvt*.url-launcher: /usr/bin/firefox
urxvt*.matcher.button: 1
URxvt.tabbed.autohide:true
.conkyrc:
#avoid flicker
double_buffer yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_class conky
own_window_type panel
own_window_hints undecorate,above,sticky,skip_taskbar,skip_pager
#borders
draw_borders no
#shades
draw_shades no
#position
gap_x 6
gap_y 6
alignment top_left
#behaviour
update_interval 1
#colour
default_color 8f8f8f
wn_window_colour 262626
#font
use_xft yes
xftfont terminus:pixelsize=10
#to prevent window from moving
use_spacer left
minimum_size 1600 0
short_units yes
pad_percents 2
#mpd
#mpd_host localhost
#mpd_port 6600
imap localhost [email protected] xxxxxxx -i 120
#color = e0e0e0
TEXT
${voffset -1} Cpu: ${color 000000}${font}${cpu}% ${color} Mem: ${color 000000}${font}${mem} ${color} | ${color} Uptime: ${color 000000}${font}${uptime_short}${color} | ${color} Download Speed: ${color 000000}${font}${downspeed wlp0s26u1u4}/s ${color}Total Downloaded: ${color 000000}${totaldown wlp0s26u1u4} ${color} | ${color} Upload Speed: ${color 000000}${upspeed wlp0s26u1u4}/s ${color} Total Uploaded: ${color 000000}${totalup wlp0s26u1u4} ${color} | ${color}Root: ${color 000000}${font}${fs_free /} ${color} Home: ${color 000000}${font}${fs_free /home} ${color} | ${color} Arch-pkg: ${color 000000}${font}${execi 300 perl /home/lucas/.scripts/conky-updates.pl}${color} | Email: ${color 000000}${imap_unseen} new messages ${color} | ${color} Weather: ${color 000000} ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ SBBR temperature}°C ${color}
.compton
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-exclude = [ "name = 'Notification'", "class_g = 'URxvt'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'" ];
shadow-ignore-shaped = false;
# Opacity
menu-opacity = 0.8;
inactive-opacity = 0.8;
frame-opacity = 0.7;
inactive-opacity-override = false;
alpha-step = 0.06;
blur-kern = "3x3box"
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
opacity-rule = [ ]
# Fading
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-exclude = [ ];
# Other
backend = "glx"
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "opengl-swc";
dbe = false;
paint-on-overlay = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
# GLX backend
glx-no-stencil = true;
glx-copy-from-front = false;
glx-no-rebind-pixmap = true;
glx-swap-method = "undefined";
# Window type settings
wintypes:
tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
Last edited by Chetyre (2014-04-10 16:51:23)using lowercase conky in compton doesn't change anything. I'm pretty sure that shadow is not from conky, but from the slit. When I set the slit to autohide in the init file, the shadow hides as well. And there is no shadow in any other conky window type I've tried, except type panel. Unfortunately, it is the only one so far with the behavior I want.
I would like to use true transparency in urxvrt, since that does solve the skew issue and I think it looks better. However, in doing so the terminal is quite useless since there is a lot of text that I can't see, because the font becomes the same color as certain backgrounds. Unless there is a way to separate it? I want it to look like the one on the left (left = fake transparency, right = true transparency).
http://i.imgur.com/lUwk4F4.jpg
Last edited by Chetyre (2014-04-09 02:50:27) -
[SOLVED]Lose Conky window shadows...
I have Xfce set to display shadows under windows, which looks great until I run Conky. Any tips on how I can get rid of Conky's shadow and keep the rest?
Last edited by crisnoh (2008-05-04 20:16:06)You most likely can solve this with the correct combination of the own_window and own_window_type parameters in your .conkyrc file. While I don't use XFCE I believe this problem is the same under most compositors. Try the following to solve the problem:
own_window yes
own_window_transparent yes
own_window_type desktop
If this doesn't work, you might try using "override" for the own_window_type.
Good luck,
j -
[SOLVED] No Sound through HDMI port in Intel after power save
Hi,
I build an HTPC with Arch inside. I output the sound into the HDTV through the HDMI port of the motherboard, following the instruction of the archwiki. Both, the audio and the video are from the motherboard (i.e, I don't have external video or audio cards). Everything works very neat, except for one issue. When I have a couple of minutes without moving the mouse, the video goes black, like a screensaver and I also lost the audio. I guess it is a default configuration in a power saving domain, although I don't remember having installed any. Maybe it is a default of the video driver. I'm using the default xf86-video-intel driver, and I have installed the lib32-intel-dri package.
If a move mouse, the video returns normally. The problem is the audio. I guess that it's because I have the audio through the HDMI port. If I move the mouse immediately after the video and audio are gone, both return without problem. But if I leave the system into this power saving mode for a couple of minutes, and then move the mouse, the video goes back, but the system is mute. I try
$ speaker-test -c 2
, and also
$ aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
and there are no errors. It seems like the sound is being played, but no longer through the HDMI port.
Is there anyway to check where that powersave comes from? Is there any way to disable it, or at least, a way to make sure that the audio is output through the HDMI port after the powersave mode?
If someone is willing to help, and need the output of command or the content of any configuration file, please let me know.
Thanks in advance,
Last edited by phollox (2013-05-09 18:42:38)Thanks jv2112. I read that article before but skipped that section. I disabled all of those options, and at least, the sound doesn't disappear after the video goes black. I have tried several times, for several hours, and the sound is still there. The video still goes black, but I have my sound. Therefore, I mark this issues as solved.
Thanks,
jv2112 wrote:
Check out the wiki.
https://wiki.archlinux.org/index.php/Intel_Graphics
Module-based Powersaving Options
The i915 kernel module allows for configuration via /etc/modprobe.d/i915.conf wherein users can define powersavings options. A listing of options is available via the following command:
$ modinfo i915 | grep power
An example /etc/modprobe.d/i915.conf:
options i915 i915_enable_rc6=7 i915_enable_fbc=1 lvds_downclock=1 -
[SOLVED] Mounting sshfs through wicd
I'm trying to mount a directory through sshfs whenever my laptop connects to a wireless network. I'm using wicd to manage my networks and tried dropping the following script into my /etc/wicd/scripts/postconnect/ directory:
#!/bin/bash
sshfs username@host:remote/dir local/dir
echo 'connect' >> tmpfile
Each time I connect to a network, the echo command succeeds and I can see that the scripts are actually running, but for some reason the directory doesn't mount. On the other hand, if I just execute the script by hand, then the directory connects just fine. I'm also using an ssh-key so I don't need to type my password in each time.
Anybody else run into this problem before?
Last edited by choogi (2012-01-17 00:05:53)Since this thread was Google's first hit when I searched for a solution for this very same problem and the scarce information it contains helped me come up with a solution. I decided to invoke the If you have a version-agnostic or corresponding solution, necrobumping can be appropriate. rule and post here the solution.
The problem in "detail"
Wicd runs the scripts as root, but in a very, very restrictive environment. This is cool, because I suppose its aimed to be secure.
In this restrictive environment there's no information about the running ssh-agent process, so the sshfs mounts will fail.
uwinkelvos's solution
I just want to explain why it does not work, because I lost quite some time pursuing this path...
Neither this
sudo -i {your_script.sh}
nor this
sudo -u user_name_which_has_ssh-agent -i {your_script.sh}
will work, because the shell wicd spawns to run the your_script.sh does not inherit anything from the users' shell environment and therefore the information that an ssh-agent is running, is simply not there.
A solution/hack
The goal is to make SSH_AUTH_SOCK and SSH_AGENT_PID available inside your_script.sh.
1) Inside your ~/.bash_profile (I use pam_ssh, so my ssh-agent is running after a successful login) add:
echo "SSH_AGENT_PID=$SSH_AGENT_PID; export SSH_AGENT_PID;" >~/.thestuff
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK; export SSH_AUTH_SOCK;" >>~/.thestuff
This code creates a hidden file in your home folder that contains the required ssh-agent information, formatted in a ready-to-source manner.
2) In your_script.sh, before the sshfs mount lines you just need to source the created file. After some tests I realized I had to wait for the file to exist, because the wicd daemon runs before I do my login, your_script.sh will run before the ssh-agent is present. So I use this code in my scripts:
THE_FILE=/home/Your_User/.thestuff
# Wait for the ssh-agent info to be available
while [ ! -f $THE_FILE ]; do
sleep 5;
done
source ${THE_FILE} # source the required ssh-agent stuff
rm ${THE_FILE} # deleted because it's not needed anymore and I'm a little paranoid
A solution/hack (the same but with keychain)
1) Inside your ~/-bash_profile add:
keychain --agents ssh --quick --quiet --noask $HOME/.ssh/your_key_file
this creates files in your home folder under the .keychain directory.
2) The name of the file keychain creates, is a concatenation of your hostname and shell so:
source /home/Your_User/.keychain/${HOSTNAME}-$(basename $SHELL) # source the required ssh-agent stuff
Remember HOSTNAME and SHELL will be defined, but HOME will not...
PS: If the original thread author, choogi, is still checking this. Please mark the thread as [SOLVED]. -
[SOLVED] Installing mod_jk through Aurbuild - Cannot find...
OLD TOPIC TITLE: Tomcat + mod_jk + Apache2 - need help!
Hi everyone,
I've been trying to install mod_jk but cannot get it compiled (compiling finishes fine but then there is no mod_jk.so file.. got me stumbled..). Annyway, I found a wiki for it on the ArchWiki (http://wiki.archlinux.org/index.php/Tomcat_and_Apache), but the download link is dead, and since the only thing I really need is the compiled "mod_jk.so", that's a pretty big problem. Could someone provide me with 'jk2-2.0.2.tar.bz2'? I can get the other file ('tomcat-4.1.27-1.tar.gz') from the net easily, but googling for the jk2 file doesn't show any results other than the ArchWiki page refering to it..
I really need this for my school project so any help would be greatly appreciated!
Thanks in advance,
TargetHi mpie,
I greatly appreciate it that you take the time and effort to help me out here! I looked at the commands you where doing in the pkgbuild and tried some allready, I downloaded the source, extracted it and ran the commands as specified in the pkgbuild, the output:
(only errors)
appending configuration tag "F77" to libtool
checking for test... /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin
checking for rm... /bin/rm
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
checking for uint32_t... yes
checking size of uint32_t... 4
checking for u_int32_t... yes
checking size of u_int32_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for unsigned longlong... no
checking size of unsigned longlong... 0
checking for snprintf... yes
checking for vsnprintf... yes
checking for flock... yes
checking for setsockopt in -lsocket... no
checking whether to use SO_RCVTIMEO with setsockopt()... yes
checking whether to use SO_SNDTIMEO with setsockopt()... yes
./configure: line 22428: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
checking for target platform... unix
no apache given
./configure: line 22749: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
./configure: line 22752: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
./configure: line 22759: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
./configure: line 22954: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
./configure: line 22966: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
./configure: line 22975: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating jni/Makefile
config.status: creating common/portable.h
config.status: executing depfiles commands
I dont think the pkgbuild can fix those errors, what do you think? I looked through the configure script at the lines that the error messages state, but I don't see anything obviously wrong there. I've also met all the requirements for installing mod_jk as far as I know. echo $? after running ./configure shows a '0' too, so I'm not too sure if those errors are that serious.. After running a 'make' though (it does work for pretty long..) it doesn't show any errors, but there is no mod_jk.so in apache-2.0 directory. Also, after running make the exit code is still 0, so I don't think it has an error anywhere.
Any hints on what might cause these errors would be greatly appreciated!
I've attached the full output of the configure command and the make command:
http://tempz0ne.homelinux.com/configure-output.txt
http://tempz0ne.homelinux.com/make-output.txt -
[solved] dwm + conky + mpd
I have the following .conkyrc:
background no
out_to_console yes
update_interval 2
total_run_times 0
use_spacer none
TEXT
$if_mpd_playing ^i(/home/hithere/.dwm/dzen/xbm8x8/note.xbm) ${mpd_smart}$endif • ^i(/home/hithere/.dwm/dzen/xbm8x8/cpu.xbm) ${cpu}% • ^i(/home/hithere/.dwm/dzen/xbm8x8/mem.xbm) ${memperc}% • ^i(/home/hithere/.dwm/dzen/xbm8x8/fs_01.xbm) /sda1: ${fs_used_perc /}% | /sda2: ${fs_used_perc /home}% • ^i(/home/hithere/.dwm/dzen/xbm8x8/net_down_03.xbm) ${downspeedf eth0} ^i(/home/hithere/.dwm/dzen/xbm8x8/net_up_03.xbm) ${upspeedf eth0} • ^fg(\#696969)${time %H:%M}^fg()
When I play a music file via ncmpc++, the conky display gets shifted to the right, thus hiding my download/upload speeds, clock, etc. Is there a way to anchor my conky display information and have mpd fill the music file information to the left?
Last edited by ntness (2010-05-30 06:13:38)Ok, played with -x and -w a bit. Increasing -w truncates the clock/up and down speed/drive information (apparently shifting things off the screen to the right). Decreasing -w truncates almost everything and shifts the code towards the center of the screen. The same holds for increasing and decreasing the value of -x; increasing shifts everything to the right (off screen) and decreasing shifts everything towards the center (albeit, with no truncation). Now I'm positive this would all work out merrily if I had my cpu information in the top left and so could put the mpd code at the end of my file
-
[SOLVED]Getting Conky to display Chinese
How do I get my conky to display Chinese? I have some Chinese songs and the mpd thing in conky just shows the artist's names as boxes. I have scim pinyin installed, by the way.
Also, on pypanel, it won't display the chinese fonts as well, though it displays the words correctly on the sonata program and title itself.
Last edited by zephyrus17 (2008-10-15 14:46:35)It didn't work. Chinese fonts are still showing boxes and special characters. Here's my conkyrc, just for reference, with the mpd part at the bottom.
###Configuration###
# maintain spacing between certain elements
use_spacer right
# set to yes if you want conky to be forked in the background
background yes
use_xft yes
override_utf8_locale no
# Xft font when Xft is enabled
xftfont Sans-12
#xftfont DejaVu Sans-8
#xftfont wenquanyi-zenhei:size=8
#xftfont DejaVu Sans Mono-8
#xftfont Bitstream Vera Sans Mono:size=8
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=9
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 1200 0
#maximum_width 1490
# Draw shadows for the text?
draw_shades yes
# Draw outlines that amplifies text?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 0
# border width
border_width 0
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color DarkGrey
color3 white
color1 black
color2 888888 #dark grey
color3 CECECE #white-ish
# Text alignment, other possible values are commented
alignment tm
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment middle_right
#alignment bottom_left
# Gap between borders of screen and text
gap_x 25
gap_y 60
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
short_units 1
###End of configuration###
# stuff after 'TEXT' will be formatted on screen
TEXT
${font bulletballs aoe:size=17}b$font ${user_names}@$nodename
${font stylebats:size=17}2$font ${uptime}
${font stylebats:size=17}y$font ${battery_percent}%
${font stylebats:size=17}q$font ${ibm_temps 0}C
${font stylebats:size=17}p$font ${cpu cpu0}%
${font stylebats:size=17}h$font $memperc%
${font pizzadude bullets:size=17}r$font ${fs_used /}/ ${fs_size}
${font pizzadude bullets:size=17}z$font ${fs_used /home}/ ${fs_size /home}
${font pizzadude bullets:size=17}N$font ${upspeed eth0}kb/s
${font pizzadude bullets:size=17}T$font ${downspeed eth0}kb/s
${font WenQuanYi Zenhei:size=10}${mpd_artist}$font
Last edited by zephyrus17 (2008-10-14 11:01:05) -
[SOLVED] Adapting conky "# of new emails" script to a message preview
The Conky wiki has a section to display the number of new emails (Gmail) with a python script. It appears that script uses urllib for credentials and then xml.etree to navigate the xml.
I'm trying to adapt the script to display the sender and title, since they exist in the xml.
I've been reading the documentation and after looking at the xml I'm pretty sure I need to use indexing, can't get it to work though.
Here's the script from the wiki with my comments on what I'm trying to add in.
#! /usr/bin/env python
import urllib.request
from xml.etree import ElementTree as etree
# Enter your username and password below within quotes below, in place of ****.
# Set up authentication for gmail
auth_handler = urllib.request.HTTPBasicAuthHandler()
auth_handler.add_password(realm='New mail feed',
uri='https://mail.google.com/',
user= '****',
passwd= '****')
opener = urllib.request.build_opener(auth_handler)
# ...and install it globally so it can be used with urlopen.
urllib.request.install_opener(opener)
gmail = 'https://mail.google.com/gmail/feed/atom'
NS = '{http://purl.org/atom/ns#}'
with urllib.request.urlopen(gmail) as source:
tree = etree.parse(source)
fullcount = tree.find(NS + 'fullcount').text
# attempt to navigate to sender of email (feed/entry/author/name)
firstemailsender = tree[0][5][5][0].text
secondemailsender = tree[0][6][5][0].text
# attempt to navigate to title of email (feed/entry/title)
firstemailtitle = tree[0][5][0].text
firstemailtitle = tree[0][5][0].text
print(fullcount + ' new')
# added print that doesn't work because of other things not working
print (firstemailsender + ' - ' + firstemailtitle)
print (secondemailsender + ' - ' + secondemailtitle)
Last edited by heyitstallchris (2015-02-06 14:55:07)Hey,
I've re-written the code to use XPath instead of indexing, IMO it's more robust and compact. findall() returns a list of all Elements that match the given XPath. Make sure to include the namespace before each element name in the path (you can see that below when I use findall() to get all "author/name" elements.
The code saves all new mails in an array (mails) full of dicts, each with a 'sender' and 'title' keys. The script will blow up if you have zero or one new emails, but you can trivially check the length of the mails array before printing at the end.
If you have any questions about the code just ask.
#! /usr/bin/env python
import urllib.request
from xml.etree import ElementTree as etree
# Enter your username and password below within quotes below, in place of ****.
# Set up authentication for gmail
auth_handler = urllib.request.HTTPBasicAuthHandler()
auth_handler.add_password(realm='New mail feed',
uri='https://mail.google.com/',
user= '*****',
passwd= '*****')
opener = urllib.request.build_opener(auth_handler)
# ...and install it globally so it can be used with urlopen.
urllib.request.install_opener(opener)
gmail = 'https://mail.google.com/gmail/feed/atom'
NS = '{http://purl.org/atom/ns#}'
with urllib.request.urlopen(gmail) as source:
tree = etree.parse(source)
root = tree.getroot()
mails = []
# only iterate over new mails, which have a tag "entry"
for entry in root.findall(NS+'entry'):
message = {}
# locate sender and title info using XPath (?) again
message['sender'] = entry.findall(NS+'author/'+NS+'name')[0].text
message['title'] = entry.findall(NS+'title')[0].text
mails.append(message)
print(str(len(mails)) + ' new')
print (mails[0]['sender'] + ' - ' + mails[0]['title'])
print (mails[1]['sender'] + ' - ' + mails[1]['title'])
Last edited by spupy (2015-01-28 14:00:56) -
[Solved] Simple Conky config to view in dzen2.
Hello.
Many peapole here use conky.
I want to start use it on my dzen2 bar.
But I have few problem's.
For now I need conky to viev info about mpd status, and clock nothing else.
I tried many config's but no luck some viev only dzen2 bar some use default config form /etc/conky and I see it own big window.
Maybe someone use conky to viev it on dzen2 bar without problem's.
Please post your config or tell me what I doing wrong .
Thanks.
Last edited by SpeedVin (2009-08-25 17:45:58)here's mine for reference: mpd, cpu, mem, clock:
background no
out_to_console yes
out_to_x no
update_interval 1
total_run_times 0
mpd_host 192.168.0.5
mpd_port 6600
TEXT
MPD: [ ${mpd_status}${if_mpd_playing}- ${mpd_elapsed}/${mpd_length}$endif ] ${mpd_title} by ${mpd_artist} from ${mpd_album} Cpu: ${cpu}% Mem: ${memperc}% Net: ${downspeedf eth0} / ${upspeedf eth0} ${time %a %b %d %H:%M} -
How to solve pagination problem through XSLT
through xslt i wanted to display 10 records at a time out of 1000 records each time.how to do can any body show me light on it.i can do with jsp ,but all the records now r stored in xml i wanted to fetch according to condition.
That doesn't mean that the opening does not have debris in it. You use the dock connector cable to charge the iPad don't you? The cable can cause gunk to get in there.
-
[SOLVED]using NetworkManager through nmcli
I want to connect to my college wifi through command. So I'm using nmcli. I've created a configuration file /etc/NetworkManager/system-connections/library.conf with the following content:
[802-11-wireless]
mac-address=0c:84:dc:xx:xx:xx
#ssid=
mode=infrastructure
#security=802-11-wireless-security
#[802-11-wireless-security]
#key-mgmt=wpa-psk
#psk=YOUR PASSWORD
[connection]
id=library
uuid=60268d4e-8124-4193-a539-832276025ce2
type=802-11-wireless
timestamp=0
autoconnect=true
[ipv4]
method=manual
address=212.224.xxxx.xxx
gateway=212.224.xxx.xxx
netmask=255.255.xxx.xxx
dns=8.8.8.8
auto-dns=212.224.xxx.xxx
[ipv6]
method=auto
The wifi connection is open and have to manually set the ipv4 setting as follows
IP: 212.224.xxx.xxx
subnet mask: 255.255.xxx.xxx
gateway: 212.224.xxx.xxx
DNS: 8.8.8.8
Alter: 212.224.xxx.xxx
I've changed the permission of the file /etc/NetworkManager/system-connections/library.conf to 0600.
When I type "nmcli connection list" I'm able to get the connection in the list but when I type "nmcli con up id library" it shows the following error:
Error: Unknown connection: library.
What am I doing wrong ?
Last edited by ansh_kumar (2014-03-22 14:25:52)I've found the solution myself.
Here is the configuration file which was wrong previously
etc/NetworkManager/system-connections/@LIBRARY
[connection]
id=@LIBRARY
uuid=8f3d0e25-7965-4cb7-acb4-bb7c00a5c46e
type=802-11-wireless
permissions=user:ansh:;
[802-11-wireless]
ssid=@LIBRARY
mode=infrastructure
mac-address=74:E5:xx:xx:xx:xx
cloned-mac-address=0C:84:xx:xx:xx:xx
[ipv6]
method=auto
[ipv4]
method=manual
dns=8.8.8.8;
dns-search=212.xxx.xxx.xx;
address1=212.xxx.xxx.xx/24,212.xxx.xxx.xx
may-fail=false
Maybe you are looking for
-
LIne up Legend entries with stacked chart
I have an appliction where on the front panel I need to display anywhere from 1 to 16 channels in a stacked waveform plot. for ease of viewing, I would like the entries in the plot legend to line up with their respective channels in the graphs, simi
-
I am having problems with my Ipad 3. I went to use it and suddenly i wasnt able to input my password in the unlock screen. I could press the numbers but nothing would seem to show up in the 4 slots to input my password. The screen wasnt frozen and i
-
Adobe Application Manager: updates failed to install
It may be pertinent to tell you that I have re-installed Win7-64 and all my applications after a disk crash. I've reinstalled Bridge, Photoshop-- my entire CS5 package. All was well for a few days, then I got a popup to update several produces. Th
-
hi, i need some help with the optionpane component in java gui, in the option pane i need to list the strings in the array called test ( i have labelled the place where they need to go as the word "something"), can anyone assist? try { // Creat
-
I can stop the browser from displaying images from websites by clicking on the Firefox icon, then clicking on Options from the drop-down menu, then clicking on options from the new drop-down menu, then clicking on the Content tab, and finally un-exin