You are not logged in.
New gpu and 4k monitor; got busy with expanding my conky.
That is really nice. Could you share your conky please
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Thanks a lot Dobbie03.
Here goes...
1) The weather script is the 1_Accuweather one from here
I've added the following lines to it:
photo=$(find "$HOME/Pictures/" -maxdepth 1 -iname "*.jpg" -o -iname "*.png"|shuf -n 1)
cp "$photo" $HOME/conky_photo.jpg
x_res=$(file "$photo"|sed 's/^.*precision//'|awk '{print $2}'|sed 's/\,//'|sed 's/x/ /'|awk '{print $1}')
y_res=$(file "$photo"|sed 's/^.*precision//'|awk '{print $2}'|sed 's/\,//'|sed 's/x/ /'|awk '{print $2}')
ratio=$(echo "$x_res / $y_res"|bc -l)
output_y=$(echo "450 / $ratio"|bc -l|sed 's/\..*$//')
echo \${image $HOME/conky_photo.jpg -p 0,1680 -s 450x$output_y} > $HOME/conky_photo_command
They find a random .jpg or .png image from my Pictures folder and copy it to my home folder as conky_photo.jpg.
After the image's resolution has been found, the conky command which will scale and display it, is written in a separate file in my home folder called conky_photo_command.
The image is scaled to 450xWhatever, because my conkyrc is 450 pixels wide.
2)conkyrc file
conky.config = {
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_type = 'override',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = yes,
-- fiddle with window
use_spacer = 'right',
use_xft = true,
-- Update interval in seconds
update_interval = 3,
-- Minimum size of text area
minimum_width = 450, minimum_height = 500,
maximum_width = 450,
override_utf8_locale = true,
-- Draw shades?
draw_shades = true,
-- Text stuff
draw_outline = true,-- amplifies text if yes
draw_borders = false,
--font freesans -12
font = 'Arial:size=13',
uppercase = false,-- set to yes if you want all text to be in uppercase
-- Stippled borders?
stippled_borders = 3,
-- border margins
border_inner_margin = 9,
-- border width
border_width = 10,
-- Default colors and also border colors, grey90 == #e5e5e5
default_color = '#B4B9BD',
own_window_colour = 'brown',
own_window_transparent = true,
-- 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
gap_x = 10,
gap_y = 20,
imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen
};
conky.text = [[
${font Arial:size=40}${time %R}${voffset -5}${alignr}${font Arial:size=28}${time %a, %e %b %Y}${execpi 120 $HOME/conky_gmail/check_gmail}${font}${color 87898B}
${hr 2}
MAILS:${color}${goto 70} ${execpi 115 sed -n '1p' $HOME/conky_gmail/mails_number}${goto 135}${color 87898B}|${goto 140}${color 87898B}CPU $color${cpu cpu0}%${goto 230}${color 87898B}${color 87898B}RAM ${color}$memperc%${goto 330}${color 87898B}PR. (SW. $color$swapperc%${color 87898B})
DS: $color${goto 55}${downspeed enp4s1}/s${goto 135}${color 87898B}|${color}${goto 145}${top cpu 1}${goto 235}${top mem 1}${goto 335}${top name 1}${color 87898B}
ΣDL: ${color}${goto 60}${totaldown enp4s1}${goto 135}${color 87898B}|${color}${goto 145}${top cpu 2}${goto 235}${top mem 2}${goto 335}${top name 2}${color 87898B}
US: $color${goto 55}${upspeed enp4s1}/s${goto 135}${color 87898B}|${color}${goto 145}${top cpu 3}${goto 235}${top mem 3}${goto 335}${top name 3}${color 87898B}
ΣUL: ${color}${goto 60}${totalup enp4s1}${goto 135}${color 87898B}|${color}${goto 145}${top cpu 4}${goto 235}${top mem 4}${goto 335}${top name 4}
${color 87898B}${font Arial:size=18}WEATHER ${hr 2}$color${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2016 -h2016 -h_8h -h_no_rain -h_no_snow -h_no_ice -h_no_uv -h_no_cloud -h_no_humid -h_no_dew -h_no_visib}${font}
${image $HOME/1_accuweather/forecast_2016/forecast_0.png -p 0,215 -s 200x200}${font Arial:size=17}${goto 225}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond|cut -c1-20}
${goto 225}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond|cut -c21-40}
${font Arial:size=24}${goto 245}${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}° (${execpi 600 sed -n '3p' $HOME/1_accuweather/curr_cond}°)${font}${image $HOME/1_accuweather/forecast_2016/wind_0.png -p 260,325 -s 80x80}
${font Arial:size=16}${goto 370}${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond|awk '{print $1}'}
${goto 370}${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond|awk '{print $2}'}${font Arial:size=8}
${font}${color 87898B}HUMIDITY: $color${execpi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}${goto 240}${color 87898B}PRESSURE: $color${alignr}${execpi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}
${color 87898B}UV INDEX: $color${execpi 600 sed -n '9p' $HOME/1_accuweather/curr_cond} ${goto 240}${color 87898B}CLOUD COVER: $color${alignr}${execpi 600 sed -n '10p' $HOME/1_accuweather/curr_cond}
${color 87898B}DEW POINT: $color${execpi 600 sed -n '12p' $HOME/1_accuweather/curr_cond}°${goto 240}${color 87898B}VISIBILITY: $color${alignr}${execpi 600 sed -n '13p' $HOME/1_accuweather/curr_cond}
${color 87898B}SUN R/S: $color${execpi 600 sed -n '23p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '24p' $HOME/1_accuweather/curr_cond}${goto 240}${color 87898B}MOON R/S: ${alignr}$color${execpi 600 sed -n '25p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '26p' $HOME/1_accuweather/curr_cond}
${color 87898B}SUN DURAT.: $color${execpi 600 sed -n '16p' $HOME/1_accuweather/curr_cond}${goto 240}${color 87898B}MOON DURAT.: $color${alignr}${execpi 600 sed -n '20p' $HOME/1_accuweather/curr_cond}${color 87898B}
${hr 1}
${goto 25}${font Arial:size=15}${execpi 600 sed -n '1p' $HOME/1_accuweather/first_days}${goto 175}${execpi 600 sed -n '6p' $HOME/1_accuweather/first_days}${goto 325}${execpi 600 sed -n '11p' $HOME/1_accuweather/first_days}$color${font}${image $HOME/1_accuweather/forecast_2016/forecast_1.png -p 0,570 -s 85x85}${image $HOME/1_accuweather/forecast_2016/forecast_2.png -p 155,570 -s 85x85}${image $HOME/1_accuweather/forecast_2016/forecast_3.png -p 305,570 -s 85x85}
${goto 120}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°${goto 275}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${goto 435}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°
${goto 120}${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°${goto 275}${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${goto 435}${execpi 600 sed -n '14p' $HOME/1_accuweather/first_days}°
${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c1-17}${goto 175}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c1-17}${goto 325}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c1-17}
${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c18-34}${goto 175}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c18-34}${goto 325}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c18-34}
${color 87898B}${hr 1}
${goto 25}${font Arial:size=15}${execpi 600 sed -n '16p' $HOME/1_accuweather/first_days}${goto 175}${execpi 600 sed -n '21p' $HOME/1_accuweather/first_days}${goto 325}${execpi 600 sed -n '1p' $HOME/1_accuweather/last_days}$color${font}${image $HOME/1_accuweather/forecast_2016/forecast_4.png -p 0,755 -s 85x85}${image $HOME/1_accuweather/forecast_2016/forecast_5.png -p 155,755 -s 85x85}${image $HOME/1_accuweather/forecast_2016/forecast_6.png -p 305,755 -s 85x85}
${goto 120}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${goto 275}${execpi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${goto 435}${execpi 600 sed -n '3p' $HOME/1_accuweather/last_days}°
${goto 120}${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${goto 275}${execpi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${goto 435}${execpi 600 sed -n '4p' $HOME/1_accuweather/last_days}°
${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c1-17}${goto 175}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c1-17}${goto 325}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c1-17}
${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c18-34}${goto 175}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c18-34}${goto 325}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c18-34}
${color 87898B}${hr 1}
${font Arial:size=12}${execpi 600 sed -n '6p' $HOME/1_accuweather/last_days}${goto 130}${execpi 900 sed -n '11p' $HOME/1_accuweather/last_days}${goto 245}${execpi 900 sed -n '16p' $HOME/1_accuweather/last_days}${goto 360}${execpi 900 sed -n '21p' $HOME/1_accuweather/last_days}$color${image $HOME/1_accuweather/forecast_2016/forecast_7.png -p 0,935 -s 60x60}${image $HOME/1_accuweather/forecast_2016/forecast_8.png -p 110,935 -s 60x60}${image $HOME/1_accuweather/forecast_2016/forecast_9.png -p 225,935 -s 60x60}${image $HOME/1_accuweather/forecast_2016/forecast_10.png -p 340,935 -s 60x60}${font Arial:size=4}
${font Arial:size=12}${goto 100}${execpi 600 sed -n '8p' $HOME/1_accuweather/last_days}°${goto 205}${execpi 600 sed -n '13p' $HOME/1_accuweather/last_days}°${goto 325}${execpi 600 sed -n '18p' $HOME/1_accuweather/last_days}°${goto 435}${execpi 600 sed -n '23p' $HOME/1_accuweather/last_days}°
${goto 100}${execpi 600 sed -n '9p' $HOME/1_accuweather/last_days}°${goto 205}${execpi 600 sed -n '14p' $HOME/1_accuweather/last_days}°${goto 325}${execpi 600 sed -n '19p' $HOME/1_accuweather/last_days}°${goto 435}${execpi 600 sed -n '24p' $HOME/1_accuweather/last_days}°
${color 87898B}${font Arial:size=18}HOURLY ${hr 2}$font
TIME${goto 70}CONDIT.${goto 160}FORECAST${goto 285}TEMP${goto 345}R.F.${goto 395}WIND$color
${font Arial:size=12}${execpi 600 sed -n '3p' $HOME/1_accuweather/hourly1}${goto 160}${execpi 600 sed -n '20p' $HOME/1_accuweather/hourly1}${goto 300}${execpi 600 sed -n '29p' $HOME/1_accuweather/hourly1}°${goto 345}${execpi 600 sed -n '38p' $HOME/1_accuweather/hourly1}°${goto 400}${execpi 600 sed -n '47p' $HOME/1_accuweather/hourly1}${image $HOME/1_accuweather/hourly_2016/hourly_1.png -p 50,1060 -s 65x65}
${color 87898B}${hr 1}$color
${execpi 600 sed -n '5p' $HOME/1_accuweather/hourly1}${goto 160}${execpi 600 sed -n '21p' $HOME/1_accuweather/hourly1}${goto 300}${execpi 600 sed -n '30p' $HOME/1_accuweather/hourly1}°${goto 345}${execpi 600 sed -n '39p' $HOME/1_accuweather/hourly1}°${goto 400}${execpi 600 sed -n '48p' $HOME/1_accuweather/hourly1}${image $HOME/1_accuweather/hourly_2016/hourly_2.png -p 50,1136 -s 65x65}
${color 87898B}${hr 1}$color
${execpi 600 sed -n '7p' $HOME/1_accuweather/hourly1}${goto 160}${execpi 600 sed -n '22p' $HOME/1_accuweather/hourly1}${goto 300}${execpi 600 sed -n '31p' $HOME/1_accuweather/hourly1}°${goto 345}${execpi 600 sed -n '40p' $HOME/1_accuweather/hourly1}°${goto 400}${execpi 600 sed -n '49p' $HOME/1_accuweather/hourly1}${image $HOME/1_accuweather/hourly_2016/hourly_3.png -p 50,1212 -s 65x65}
${color 87898B}${hr 1}$color
${execpi 600 sed -n '9p' $HOME/1_accuweather/hourly1}${goto 160}${execpi 600 sed -n '23p' $HOME/1_accuweather/hourly1}${goto 300}${execpi 600 sed -n '32p' $HOME/1_accuweather/hourly1}°${goto 345}${execpi 600 sed -n '41p' $HOME/1_accuweather/hourly1}°${goto 400}${execpi 600 sed -n '50p' $HOME/1_accuweather/hourly1}${image $HOME/1_accuweather/hourly_2016/hourly_4.png -p 50,1288 -s 65x65}
${color 87898B}${hr 1}$color
${execpi 600 sed -n '11p' $HOME/1_accuweather/hourly1}${goto 160}${execpi 600 sed -n '24p' $HOME/1_accuweather/hourly1}${goto 300}${execpi 600 sed -n '33p' $HOME/1_accuweather/hourly1}°${goto 345}${execpi 600 sed -n '42p' $HOME/1_accuweather/hourly1}°${goto 400}${execpi 600 sed -n '51p' $HOME/1_accuweather/hourly1}${image $HOME/1_accuweather/hourly_2016/hourly_5.png -p 50,1364 -s 65x65}
${color 87898B}${hr 1}$color
${execpi 600 sed -n '13p' $HOME/1_accuweather/hourly1}${goto 160}${execpi 600 sed -n '25p' $HOME/1_accuweather/hourly1}${goto 300}${execpi 600 sed -n '34p' $HOME/1_accuweather/hourly1}°${goto 345}${execpi 600 sed -n '43p' $HOME/1_accuweather/hourly1}°${goto 400}${execpi 600 sed -n '52p' $HOME/1_accuweather/hourly1}${image $HOME/1_accuweather/hourly_2016/hourly_6.png -p 50,1440 -s 65x65}
${color 87898B}${hr 1}$color
${execpi 600 sed -n '15p' $HOME/1_accuweather/hourly1}${goto 160}${execpi 600 sed -n '26p' $HOME/1_accuweather/hourly1}${goto 300}${execpi 600 sed -n '35p' $HOME/1_accuweather/hourly1}°${goto 345}${execpi 600 sed -n '44p' $HOME/1_accuweather/hourly1}°${goto 400}${execpi 600 sed -n '53p' $HOME/1_accuweather/hourly1}${image $HOME/1_accuweather/hourly_2016/hourly_7.png -p 50,1516 -s 65x65}
${color 87898B}${hr 1}$color
${execpi 600 sed -n '17p' $HOME/1_accuweather/hourly1}${goto 160}${execpi 600 sed -n '27p' $HOME/1_accuweather/hourly1}${goto 300}${execpi 600 sed -n '36p' $HOME/1_accuweather/hourly1}°${goto 345}${execpi 600 sed -n '45p' $HOME/1_accuweather/hourly1}°${goto 400}${execpi 600 sed -n '54p' $HOME/1_accuweather/hourly1}${image $HOME/1_accuweather/hourly_2016/hourly_8.png -p 50,1592 -s 65x65}
${color 87898B}${hr 1}$color
${execpi 20 sed -n '1p' $HOME/conky_photo_command}
]];
The check_gmail script is as follows:
#!/bin/bash
wget -O - --user MYEMAILGOESHERE --password MYPASSWORDGOESHERE --auth-no-challenge https://mail.google.com/mail/feed/atom | sed 's/^.*<fullcount>//' | sed 's/<\/fullcount>.*$//' > $HOME/conky_gmail/mails_number
mails=$(sed -n 1p $HOME/conky_gmail/mails_number)
sound=$(ls $HOME/conky_gmail/mail_sounds/ | shuf -n 1)
if [[ $mails > 0 ]]; then
aplay $HOME/conky_gmail/mail_sounds/$sound
fi
If there are any mails, a random wav sound will be played from the mail_sounds folder.
Good luck and feel free to ask me anything about it.
Last edited by TeoBigusGeekus (2018-02-09 12:17:24)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Thanks for this, will have a play around.
Cheers
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Anytime mate.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Offline
Offline
Offline
Nope 8o
You must unlearn what you have learned.
-- yoda
Online
^ I'm sorry but I really don't like Enlightenment at all
I just don't trust anything that pulsates...
EDIT: scrot showing the unusual range of desktops available in my Helium-dev box:
Last edited by Head_on_a_Stick (2018-02-11 01:48:15)
Offline
I know what you mean; but for those that like the stacking window managers (other than gnome and kde), I think enlightenment is the only one seeing regular development for wayland.
I can see where this wayland compositor will catch on:
Last edited by PackRat (2018-02-11 03:34:07)
You must unlearn what you have learned.
-- yoda
Online
I was hoping that Wayland would be lighter than X but even Weston looks a little "heavy" (and that's aimed at embedded devices):
The terminal's not bad but 53.4MiB for the compositor itself?
Offline
I was really counting on MATE Terminal 1.20 fixing the annoying "every highlight color is bold" bug. After trying out the daily images for the new release it was still just the same. Anyways, now I'm trying out konsole. So far so good. I actually think it must be the best VTE based one around. Looks just like termite but has tabs & mouse copy/paste. Also, doesn't require "force_color" in my workstations or servers .bashrc.
I've also got a working imagemagick script as well as an index.theme patch that will adapt Suru from git to Ubuntu MATE. Still a little rough around the edges but I think it really brings it up to speed with the rest of the distro's endeavors.
Last edited by cog (2018-02-12 03:45:31)
Offline
Online
@PR nah man. It's just off unsplash.com . I've been to busy being a homeowner lately to take any. I always loved that river one that's similar to it that comes with archlabs but can't for the life of me figure out where they got it from.
GNU Slash Leenox
My Suru-MATE script to adapt Suru to Ubuntu-MATE has really come along. It's on my github in case anyone want's to change the colors to BunsenLabs. https://github.com/willscreel Many thanks to @damo for his paper coloration scripts as reference.
Offline
Offline
My desktop
Nice! I love the Totoro wallpaper
You might want to try this version of screenfetch, it recognises BunsenLabs and will provide a natty ASCI logo instead of the generic penguin:
http://eu.pkg.bunsenlabs.org/debian/poo … -1_all.deb
Also, I see you're using the backported kernel (which is the best choice for your Broadwell hardware) but have you upgraded the rest of the graphics stack?
Guide here: https://forums.bunsenlabs.org/viewtopic.php?id=1185
Back on topic with Alpine Linux & dwm with urxvt (plus loksh) showing the mitigations and running services:
Offline
@Head_on_a_Stick
I have tried a couple of times to get Alpine installed on my machine.
[AMD A6-3670 APU (4) @ 2.90GHz. +NVIDIA GeForce GTX 1050TI]
Most other linux disros run live and install just fine on this rig.
I have tried the 'grsec' kernel and 'vanilla' kernel options.
I always get a kernel panic error...sorry should have saved some details...
Has anybody experienced similar 'kernel panic' issues?
Any possible boot workarounds?
I would love to get an install of Alpine completed
Offline
Also, I see you're using the backported kernel (which is the best choice for your Broadwell hardware) but have you upgraded the rest of the graphics stack?
Yes i have the graphics stack upgraded and to solve some flickering problems i created this xorg.conf file:
Section "Device"
Identifier "Card0"
Driver "intel"
Option "Backlight" "intel_backlight"
EndSection
Offline