XFCE/MATE custom configs

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
M. Eerie
Moderator
Moderator
Posts: 622
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

XFCE/MATE custom configs

Post#1 by M. Eerie » 03 Nov 2022, 16:43

Ok, took a while to find out as it is very old stuff, but I got it finally.

File /home/guest/.config/gtk-3.0/gtk.css

Code: Select all

/*set custom gtk3/css code below */

/*
 *
 * Execute line below to see the changes
 * xfce4-panel -r 
 *
 */

@import url("./whiskermenu.css");
...


File /home/guest/.config/gtk-3.0/whiskermenu.css

Code: Select all

#whiskermenu-window.background {

 background-color: rgba(0,0,0,.25);
 background-color: rgba(255, 255, 255, .815);  /**//* esto lo cambia todo */
 background-image:linear-gradient(to top right,rgba(242,243,246,0.98),rgba(219,224,230,0.98),rgba(215,220,226,0.98));
	color: #202020;
 filter: blur(150px);
}

#whiskermenu-window border {
  /* box-shadow: inset 0 0 90px 150px rgba(0,0,0, .75); *//* direction Hor px Vert px blur spread color */
  box-shadow: inset 5 5 100px 150px rgba(0,0,0, .75); /* alpha(currentColor, 0.85); */
  border-color: darkgoldenrod;
  border-radius: 5px;
  border-style: ridge;
  border-width: 3px;
  filter: blur(10px);
  padding: 5px;
  transition: filter .5s ease-out;
/*
  transition: filter .5s ease;
*/
}

#whiskermenu-window {
  background-color: rgba(54,59,73,.75); /* #363b49; *//* #444855; rgba(68,72,85,.75) */
  color: darkgoldenrod;
  font-family: Unispace;
  font-size: 12px;
  font-weight: 100;
  text-shadow: 0px 1px 1px rgba(0,0,0,.7);
}

/* Search bar */
#whiskermenu-window entry {
  background: transparent; /*#cccccc; */
  border: none; /* -color: goldenrod; */
  box-shadow: inset 0 -4px #aaaaaa;
  color: #aaaaaa;
  font-size: 15px;
}

#whiskermenu-window button {
/*  background-color: #363b49; *//* rgba(60, 62, 64, 0) */
  background-image: none;
  border-color: transparent;
  border-radius: 8px 8px;
  border-style: outset;
  border-width: 1px 3px 5px 1px;
  color: darkgoldenrod;
  font: Unispace Italic 14px;
  font-weight: bold;
  padding: 2px; /* 5px */
  text-shadow: 0 1px 1px rgba(0,0,0,.95); /* 0 -1px */
  -gtk-icon-shadow: 0 1px 1px rgba(0,0,0,0.7);
}

#whiskermenu-window button:hover {
  background-image: linear-gradient(to bottom, #363b49, #4f596c); /* #5e6064, #393A3B */
  border-color: #20242b; /* transparent; */
  color: goldenrod;
  /* text-shadow: 0 1px 1px rgba(0,0,0,.95); */
}

#whiskermenu-window button:checked {
  /* background-color: #363b49; */
  /* box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2); */
  color: goldenrod;
}

#whiskermenu-window treeview {
/*  background-color: transparent; */
  background-color: rgb(0,0,0); /* fallback color */
  background-color: rgba(0,0,0, .3); /* Black w/opacity/see-through */
  color: #aaaaaa;
}

#whiskermenu-window treeview:hover {
  border: 1px solid goldenrod; /* #8fa1b3; *//* añadido #20242b */
  /* background-image: linear-gradient(to bottom, #363b49, #4f596c); *//* #5e6064, #393A3B */
  color: #ffffff;
}
Whiskermenu changed settings:

General: Background opacity = 99 (There's a visual bug that shows a pixel in the corners of the menu, when it should be transparent. Will fixed later).
Appearance:Menu: Check "Position search..." and "Position commands..." options
Behavior:Menu: Check "Switch categories by hovering"


File /home/guest/.config/conky/conky.conf

Code: Select all

--[[

Ideas:
===========================================================
--
-- echo $XDG_CURRENT_DESKTOP
-- xfwm4 -V
--
-- Wheather
-- ${font Unispace:size=9}${texeci 1800 curl -s 'http://wttr.in/Toronto?TQMm0'}${font}\
-- External ip:
-- dig +short myip.opendns.com @resolver1.opendns.com  ||  nslookup . ifcfg.me  ||  dig +short . @ifcfg.me  ||  curl -s https://4.ifcfg.me  ||  dig +short o-o.myaddr.l.google.com @ns1.google.com txt
-- ${color6}★ Titulares ${color1}${hr 5}
-- ${color7}${font monospace:size=7}${scroll 150 10 BBC// ${rss http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml 2 item_titles 5 1} | 
-- CBS// ${rss http://feeds.cbsnews.com/CBSNewsMain 15 item_titles 5 1}}${font}

-- UNICODE CHARS REQUIRE 4 BYTES. Ex.: [guest@porteus ~]$ printf "\\uf2ca"
-- SEARCH FOR 'FONTAWESOME CHEATSHEET'
-- https://fontawesome.com/icons?d=gallery&q=temp&m=free
--  DISK1
--  DISK2
--  
--  CPU
--  MEM
--  FAN1
--  FAN2
--  TEMP
--  NET
--  UP  
--  DN 
--  MESSAGES
--  CALENDAR
--  DATE
--  TIME
--  USER SECRET
--  BAT 0%
--  BAT 25%
--  BAT 50%
--  BAT 75%
--  BAT 100%
--  MENU
--   MAP MARKER
--  NODE

-- ${color6}» Titulares ${color1}${hr 5}
-- ${color7}${font Unispace:size=7}${scroll 150 10 BBC// ${rss http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml 2 item_titles 5 1} | CBS// ${rss http://feeds.cbsnews.com/CBSNewsMain 15 item_titles 5 1}}${font}
-- Read: ${diskio_read}/s ${offset 60}Write: ${diskio_write}/s${color7}
-- ${diskiograph_read 25,150 0b1208 77b753} ${diskiograph_write 25,150 0b1208 77b753}${color}
-- ${color5}» mem ${color}
-- ${color5}» disk${color}
-- ${color5}» cpu ${color}
-- ${color5}» bat ${color}
-- upspeedgraph 2c5275 4682b4
-- downspeedgraph 4682b4 2c5275
-- diskiograph_write 4682b4 2c5275
-- diskiograph_read 2c5275 4682b4
--»
]]

conky.config = {

--
-- Global options for window layout
--

-- Enable true transparency
	background = true,			-- Merge with background
	cpu_avg_samples = 2,
	double_buffer = true,			-- Enable double buffering
	if_up_strictness = 'link', 		-- only active interfaces
	net_avg_samples = 2,
	own_window = true,
	own_window_transparent = false,
	own_window_argb_visual = true,
	own_window_argb_value = 180,		-- desde 0 (transparente) a 255 (opaco)
	-- own_window_Class = 'Conky',
	own_window_type = 'normal',		-- desktop, normal, override, conky, dock, panel
	own_window_hints = 'below,sticky,skip_taskbar,skip_pager', --undecorated,
	pad_percents = 2,
	short_units = true, --G instead of Gib
	temperature_unit = 'celsius',
	update_interval = 1.0,			-- Update each second  

-- fiddle with window
	use_spacer = 'right',				--none, right
	minimum_width = 330, minimum_height = 1048,	-- Minimum size of text area
	maximum_width = 350,
	draw_shades = true,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,
	use_xft = true,
	font = 'Unispace:size=10',
	xftalpha = 1,
	alignment = 'top_right',			-- Text alignment
	gap_x = 0,					-- Gap between borders of screen and text (padding)
	gap_y = 0,
	total_run_times = 0,
	default_color = 'gray60',
	default_shade_color = 'black',

--
-- Colors
--

-- Old
--	color0 = 'gray60',-- white
--	color1 = 'slategray',-- gray
--	color2 = 'darkgoldenrod',-- yellow bolded logos
--	color3 = 'gold',-- bright yellow shadows
--	color4 = 'purple',-- darkpink
--	color5 = 'lightpink',-- pink
--	color6 = 'skyblue',-- blue
--	color7 = 'slategray',-- sections color
--	color8 = 'darkseagreen',-- green
--	color9 = 'crimson',-- red warnings and alerts


	color0 = 'gray60', 			-- gray60 silver dimgray
	color1 = 'lightslategray',		-- slategray / lightslategray / 778899 / 708090
	color2 = 'gray',			-- yellow bolded logos
	color3 = 'goldenrod',			-- bright yellow shadows
	color4 = 'lightcyan',			-- HEADERS lightblue deepskyblue powderblue=b0e0e6 aqua=00ffff
	color5 = '6d7b8d',			-- METERS steelblue lightcyan slategray
	color6 = 'skyblue',			-- blue skyblue lightblue lightsteelblue lightskyblue deepskyblue royalblue dodgerblue
	color7 = 'lightpink',			-- pink darkpink
	color8 = 'darkseagreen',		-- green
	color9 = 'maroon',			-- crimson red warnings and alerts

--
-- Content start
--
};

conky.text = [[
${image /home/guest/.icons/batmanimated.gif -p 0,0 -s 64x64}${voffset 10}\
#${tab 100}${shadecolor gold}${font Unispace:bold:italic:size=24}${color darkgoldenrod}${time %H:%M}${font Unispace:bold:size=10}${time .%S}
${tab 100}${shadecolor ADBBAD}${font Unispace:bold:italic:size=24}${color 6D7B8D}${time %H:%M}${font Unispace:bold:size=10}${time .%S}
${tab 100}${font Unispace:bold:italic:size=10}${time %a %d-%b-%Y}\
${shadecolor}${font}${color1}

${alignc}${color 333333}-${color 666666}-${color 999999}-${color cccccc}-${color ffffff}-${color} ${exec lsb_release -drsc} ${alignc}Kernel ${kernel} ${machine} ${color ffffff}-${color cccccc}-${color 999999}-${color 666666}-${color 333333}-${color}
###${exec acpi | cut -d "," -f 1,2}\
${if_existing  /sys/class/power_supply/BAT0}\
${color5}${font FontAwesome:size=12}${font}${color}${battery_percent}% - ${battery_time}\
${endif}\

${color}${font Unispace:italic:size=10}${execi 3600 awk -F: '/model name/{print $2}' /proc/cpuinfo|uniq|tr -s ' '}${font}${color1}
${alignc}${color 333333}-${color 666666}-${color 999999}-${color cccccc}-${color ffffff}-${color cccccc}-${color 999999}-${color 666666}-${color 333333}-${color}

${color5}${font FontAwesome:size=12}${font}${color} ${if_match ${cpu} > 80}${color9}${endif}$cpu% ${color}${execi 60 sensors|awk '/Core/{print $3}'|paste -sd ,}  MoBo:  ${color5}${font FontAwesome:size=12}${font}${color} ${hwmon temp 1}°C${color #6d7b8d}
${cpubar cpu1 4,100} ${cpubar cpu2 4,100}${color}
#${cpubar cpu3 4,100} ${cpubar cpu4 4,100}${color}
Top CPU            PID    CPU%   MEM%
 ${color cccccc}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}${color 999999}
 ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}${color 666666}
 ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}

${color5}${font FontAwesome:size=12}${font}${color} ${if_match ${memperc} > 80}${color9}${endif}$memperc %
RAM: ${color #6d7b8d}${membar 4,100} ${color} $mem de $memmax
SWP: ${color #6d7b8d}${swapbar 4,100} ${color} $swap de $swapmax
Top RAM            PID    MEM%   CPU%
 ${color cccccc}${top_mem name 1} ${top_mem pid 1} ${top_mem mem 1} ${top_mem cpu 1}${color 999999}
 ${top_mem name 2} ${top_mem pid 2} ${top_mem mem 2} ${top_mem cpu 2}${color 666666}
 ${top_mem name 3} ${top_mem pid 3} ${top_mem mem 3} ${top_mem cpu 3}

${color5}${font FontAwesome:size=12}${font}${color}
###${execpi 5 df -h | awk '/\/dev\/sd/ {{if ($5 >= 80) {printf "${color9}"}};{printf " %s${tab 20}${color #6d7b8d}${fs_bar 4,100 %s}${color} ${fs_size %s} ${fs_free %s}${fs_used %s}\n",substr($1,6),$6,$2,$4,$5}}'}
${execpi 5 df -h | awk '/\/dev\/sd/ {{if ($5 >= 80) {printf "${color9}"}};{printf " %s${tab 20}${color #6d7b8d}${fs_bar 3,100 %s}${color} %5.5s %5.5s %s\n",substr($1,6),$6,$2,$4,$5}}'}
${voffset 5}${diskiograph_read 15,150 77b753 0b1208}${color} ${voffset 0}Read:  ${diskio_read}/s${color #6d7b8d}
${voffset 2}${diskiograph_write -15,150 0b1208 77b753}${color} ${voffset 0}Write: ${diskio_write}/s

${color5}${font FontAwesome:size=12}${font}${color}${alignc}${addr eth0} || ${execi -3600 curl -s https://ipinfo.io/ip}${color}${voffset 6}
${color5}${font FontAwesome:size=12}${font}${color} ${upspeedgraph eth0 20,150 5377b7 080b12 -t -l}${voffset 2}${font Ubuntu Mono:size=10} δ=${upspeed eth0} Ʃ=${totalup eth0}${voffset -2}
${color5}${font FontAwesome:size=12}${font}${color} ${downspeedgraph eth0 -30,150 080b12 5377b7 -t -l}${voffset -2}${font Ubuntu Mono:size=10} δ=${downspeed eth0} Ʃ=${totaldown eth0}${font}

#${color7}» net${color} ${goto 150} || ${blink ${execi -3600 curl -s https://ipinfo.io/ip}}
#${execp < /proc/net/route awk 'NR==2{printf "${goto 50}${voffset -17}${addr %s}\n\nUP: ${upspeed %s}${goto 165}DN: ${downspeed %s}\n${color7}${upspeedgraph %s 25,150} ${downspeedgraph %s 25,150}${color}${tab}\n",$1,$1,$1,$1,$1}'}
#TLU: ${totalup eth0}${goto 160}TLD: ${totaldown eth0}

Connections: ${color goldenrod} ${tcp_portmon 1 65535 count} ${color5}

${font FontAwesome:size=12} ${font}Online ${color}${uptime}${blink _}
]];
EDIT:
Add some stuff (icons,images,themes,fonts) you may need with this config.

I will be updating this post with some more .css tricks :)
Last edited by Rava on 06 Nov 2022, 08:41, edited 2 times in total.
Reason: changed title at request
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Rava
Contributor
Contributor
Posts: 5415
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Nemesys Asylum

Post#2 by Rava » 04 Nov 2022, 05:38

M. Eerie wrote:
03 Nov 2022, 16:43
Ok, took a while to find out as it is very old stuff, but I got it finally.
Thanks for that. Image
M. Eerie wrote:
03 Nov 2022, 16:43
File /home/guest/.config/gtk-3.0/gtk.css
File /home/guest/.config/gtk-3.0/whiskermenu.css
One can add or remove the reference to your whiskermenu.css in ~/.config/gtk-3.0/gtk.css and then run xfce4-panel -r to either get the original look and feel or the version from the added whiskermenu.css…
M. Eerie wrote:
03 Nov 2022, 16:43
Ideas:
=========================================
--
-- echo $XDG_CURRENT_DESKTOP
-- xfwm4 -V
--
-- Wheather
-- ${font Unispace:size=9}${texeci 1800 curl -s 'http://wttr.in/Toronto?TQMm0'}${font}\
-- External ip:
-- dig +short myip.opendns.com @resolver1.opendns.com || nslookup . ifcfg.me || dig +short . @ifcfg.me || curl -s https://4.ifcfg.me || dig +short o-o.myaddr.l.google.com @ns1.google.com txt
-- ${color6}★ Titulares ${color1}${hr 5}
-- ${color7}${font monospace:size=7}${scroll 150 10 BBC// ${rss http://newsrss.bbc.co.uk/rss/newsonline ... ld/rss.xml 2 item_titles 5 1} |
-- CBS// ${rss http://feeds.cbsnews.com/CBSNewsMain 15 item_titles 5 1}}${font}

-- UNICODE CHARS REQUIRE 4 BYTES. Ex.: [guest@porteus ~]$ printf "\\uf2ca"
-- SEARCH FOR 'FONTAWESOME CHEATSHEET'
-- https://fontawesome.com/icons?d=gallery&q=temp&m=free

[…]
Are these ideas all for conky only or valid for conky and XFCE?
M. Eerie wrote:
03 Nov 2022, 16:43
I will be updating this post with some more .css tricks :)
Yay even more css tricks. :friends:
Cheers!
Yours Rava

User avatar
M. Eerie
Moderator
Moderator
Posts: 622
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

M. Eerie's XFCE/MATE custom configs

Post#3 by M. Eerie » 04 Nov 2022, 10:06

Rava wrote:
04 Nov 2022, 05:38
One can add or remove the reference to your whiskermenu.css in ~/.config/gtk-3.0/gtk.css and then run xfce4-panel -r to either get the original look and feel or the version from the added whiskermenu.css…
That's the idea.
Rava wrote:
04 Nov 2022, 05:38
Are these ideas all for conky only or valid for conky and XFCE?
Over time I tried to make my conky as agnostic as possible. However, there are commands that may not be included in the distribution the user is using.

For example, this is agnostic and will return the desktop name, whether it is XFCE4, MATE, etc.:

Code: Select all

echo $XDG_CURRENT_DESKTOP
But this is only present if your desktop is XFCE4:

Code: Select all

xfwm4 -V
As for external ip, I included some different methods to get it because the available commands vary from distro to distro (dig, nslookup, curl...)

Note that you will need to finetune some parts of the conky script. I.e. the network interface. Got tired of trying to implement a bash oneliner to figure out agnostically, so I migrated to btop... :teehee:

UPDATED 1st post with stuff. For XFCE4 I highly recommend the Skeuos theme which includes comfortable borders, true HiDPI support and light and dark variants.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
M. Eerie
Moderator
Moderator
Posts: 622
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

M. Eerie's XFCE/MATE custom configs

Post#4 by M. Eerie » 04 Nov 2022, 10:33

This is how my XFCE4 look these days...
Somehow I tried to replicate how Ubuntu works with 2 sidebars. The left one for the favorite launchers and the right one to include the time, calendar, weather, workspace manager and the view desktop button.

I find the work area selector particularly useful because with a width of 128px, I CAN move windows from one area to another (as opposed to the very small default size, which they all come with and which adds no functionality in my opinion). And it remains hidden unless you want to move windows around or know what time it is.

If I want to see disk/memory meters and processes in detail, F12 displays a window with btop...
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
babam
Warlord
Warlord
Posts: 528
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

M. Eerie's XFCE/MATE custom configs

Post#5 by babam » 04 Nov 2022, 11:31

M. Eerie wrote:
04 Nov 2022, 10:33
This is how my XFCE4 look these days...
What font are you using?
Sorry, my English is bad.

User avatar
M. Eerie
Moderator
Moderator
Posts: 622
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

M. Eerie's XFCE/MATE custom configs

Post#6 by M. Eerie » 04 Nov 2022, 11:41

babam wrote:
04 Nov 2022, 11:31
What font are you using?
It is called Recursive.

On their github page, there's an option to build your own custom subset with a python script. I builded my own Recursive called Duocode and posted a link at first post.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Rava
Contributor
Contributor
Posts: 5415
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

M. Eerie's XFCE/MATE custom configs

Post#7 by Rava » 05 Nov 2022, 03:50

M. Eerie wrote:
03 Nov 2022, 16:43
Add some stuff (icons,images,themes,fonts) you may need with this config.
Is my md5sum correct?

Code: Select all

2ee22579a83e347aa178499b772e22c9  Asylum.tar.xz
M. Eerie wrote:
04 Nov 2022, 10:06
Note that you will need to finetune some parts of the conky script. I.e. the network interface. Got tired of trying to implement a bash oneliner to figure out agnostically, so I migrated to btop... :teehee:
But users have no btop by default…

Code: Select all

guest@porteus:/mybin/linux/porteus/M.EeriesXFCE$ btop
bash: btop: command not found

Code: Select all

guest@porteus:~$ xfwm4 -V|grep "   No"
	- X Input 2 support:                            No
	- KDE systray proxy (deprecated):               No
What can "X Input 2 support" be used for? (and do one need to replace core parts to enable it?)

DDG'ing via https://duckduckgo.com/?t=palemoon&q=%2 ... %22&ia=web gave me this
https://www.phoronix.com/news/ODI4OA
X Input 2.0 is a critical piece of Multi-Pointer X (MPX) support […] for handling multiple cursor inputs simultaneously.
Added in 39 minutes 59 seconds:

Code: Select all

guest@porteus:/mybin/linux/porteus/M.EeriesXFCE/Asylum/home/guest/.local/share/fonts/Recursive$ cat .uuid ;echo
8d0df9d9-a499-469a-91ff-f6be0840d667
What is /home/guest/.local/share/fonts/Recursive/.uuid used for?

Is it like XFCE uses random unique like ways addressing changes - like the way it names launcher .desktop files

Code: Select all

guest@porteus:~/.config/xfce4/panel/launcher-2$ ls -o
total 40
-rw-r--r-- 1 guest 340 2020-04-22 11:09 15875465811.desktop
-rw-r--r-- 1 guest 417 2021-01-19 07:07 16110364532.desktop
-rw-r--r-- 1 guest 234 2021-09-05 00:11 16307935191.desktop
-rw-r--r-- 1 guest 417 2021-09-05 00:12 16307935432.desktop
-rw-r--r-- 1 guest 327 2021-09-22 23:46 16323471881.desktop
-rw-r--r-- 1 guest 262 2021-09-22 23:46 16323472092.desktop
-rw-r--r-- 1 guest 234 2022-10-13 06:01 16656336981.desktop
-rw-r--r-- 1 guest 328 2022-10-13 06:01 16656337132.desktop
-rw-r--r-- 1 guest 416 2022-10-13 06:02 16656337573.desktop
-rw-r--r-- 1 guest 262 2022-10-13 06:03 16656337824.desktop

guest@porteus:~/.config/xfce4/panel/launcher-2$ cat 16110364532.desktop
[Desktop Entry]
Version=1.0
Name=Xfce Terminal
Comment=Terminal Emulator
GenericName=Terminal Emulator
Exec=xfce4-terminal
Icon=utilities-terminal
Terminal=false
Type=Application
Categories=GTK;System;TerminalEmulator;
StartupNotify=true
Actions=preferences;
X-XFCE-Source=file:///usr/share/applications/xfce4-terminal.desktop

[Desktop Action preferences]
Name=Terminal Preferences
Exec=xfce4-terminal --preferences
These are not to be confused with /usr/share/applications/*.desktop files.

User avatar
M. Eerie
Moderator
Moderator
Posts: 622
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

M. Eerie's XFCE/MATE custom configs

Post#8 by M. Eerie » 05 Nov 2022, 09:39

Rava wrote:
05 Nov 2022, 04:30
Is my md5sum correct?
Yes, it is:

Code: Select all

[guest@porteus Desktop]$ md5sum Asylum.tar.xz 
2ee22579a83e347aa178499b772e22c9  Asylum.tar.xz
[guest@porteus Desktop]$ sha256sum Asylum.tar.xz 
97e7ffecedfe507282396159846ffc1b0c56d61b27b418dfb54892e750166cea  Asylum.tar.xz
[guest@porteus Desktop]$ 
Rava wrote:
05 Nov 2022, 04:30
But users have no btop by default…
Neither they have conky...

For btop, just grab the latest asset in the github project page and install with the provided script. Very easy.
Conky depends on some libs (lua...)
Rava wrote:
05 Nov 2022, 04:30
What is /home/guest/.local/share/fonts/Recursive/.uuid used for?
You can safely delete it. It is automatically recreated when you install a new font.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Rava
Contributor
Contributor
Posts: 5415
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

M. Eerie's XFCE/MATE custom configs

Post#9 by Rava » 05 Nov 2022, 10:13

M. Eerie wrote:
05 Nov 2022, 09:39
For btop, just grab the latest asset in the github project page and install with the provided script. Very easy.
I tried, went to https://github.com/aristocratos/btop/re ... ag/v1.2.12

Where there is "Assets" on the bottom there is just a rotating disk (like a "loading .…" indicator) that never reveals any download link or any other URLs. Seems Palemoon and its inability to work with more modern approaches to JS struck again. :(

Added in 6 minutes 27 seconds:
https://github.com/aristocratos/btop says "slackbuilds" is up to version 1.2.12.

But for the ones not wanting to compile from source … https://slakfinder.org/index.php?act=se ... e=#results gives as newest version 1.2.8

and getmod

Code: Select all

root@porteus:/usr/local/bin# getmod -s btop
btop-1.2.3-x86_64-1salix15.0  (system resources monitor)
even older .… :wall:
Cheers!
Yours Rava

User avatar
M. Eerie
Moderator
Moderator
Posts: 622
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

M. Eerie's XFCE/MATE custom configs

Post#10 by M. Eerie » 05 Nov 2022, 11:05

Rava wrote:
05 Nov 2022, 10:19
Seems Palemoon and its inability to work with more modern approaches to JS struck again
Most likely. Try with curl / wget at the download page: https://github.com/aristocratos/btop/releases. The line below will download the latest release for your architecture:

Code: Select all

curl -sLO https://github.com/aristocratos/btop/releases/latest/download/btop-$(uname -m)-linux-musl.tbz
There's no need to compile package in this case because it is a standalone binary and some preinstalled themes. Also there are 32/64 bit precompiled binaries for almost any platform.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Rava
Contributor
Contributor
Posts: 5415
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

M. Eerie's XFCE/MATE custom configs

Post#11 by Rava » 06 Nov 2022, 04:42

M. Eerie wrote:
05 Nov 2022, 11:05
Try with curl / wget at the download page: https://github.com/aristocratos/btop/releases. The line below will download the latest release for your architecture:

Code: Select all

curl -sLO https://github.com/aristocratos/btop/releases/latest/download/btop-$(uname -m)-linux-musl.tbz
As usual your [ code ] is the best.

Code: Select all

guest@porteus:/Porteus_modules$ curl -sLO https://github.com/aristocratos/btop/releases/latest/download/btop-$(uname -m)-linux-musl.tbz
guest@porteus:/Porteus_modules$ ls -o  btop-x86_64-linux-musl.tbz 
-rw-r--r-- 1 guest 985549 2022-11-06 05:33 btop-x86_64-linux-musl.tbz
But… how does one know which version that is?

(Silly me prefers e.g. btop-x86_64-linux-1.2.12-musl.tbz to btop-x86_64-linux-musl.tbz)

One could extract the main binary and ask it via -v or --version what its version is.

Or is there some file on https://github.com/aristocratos/btop - e.g. https://github.com/aristocratos/btop/latest-version - that only holds the version number of the latest version?

Added in 13 minutes 45 seconds:
And btop-x86_64-linux-musl.tbz still needs 05-devel activated
install.sh

Code: Select all

#!/usr/bin/env bashMakefile
sudo make install $@
unless one wants to decipherer its Makefile and do the rm's and cp's manually.

How do you do it creating a xzm out of the btop-x86_64-linux-musl.tbz ?

Obviously mere running install.sh would install it in

Code: Select all

PREFIX ?= /usr/local
as per its Makefile.
Do you hack its Makefile e.g. into reading

Code: Select all

PREFIX ?= /mnt/sda2/tmp/btop/recent-module/usr/local
when /mnt/sda2/ is on a ext[234] filesystem?
And then do a dir2xzm on /mnt/sda2/tmp/btop/recent-module ?
Cheers!
Yours Rava

Post Reply