FreeBSD Screen Shots

I have noticed an issue with the x11-wm/fluxbox Force Pseudo-Transparency option that I first attributed to the Radeon card on another FreeBSD box but have since encountered on my OpenBSD box with Nvidia Optimus.
When I tried OpenBSD with a Nvidia 8600GT it worked ok'ish except for moving/dragging windows around where it was sluggish. twm was about the only choice that circumvented that. Switching over to the PC's on board Radeon ATI fixed that for me. I've not however used transparency (nor fluxbox) in either FreeBSD or OpenBSD.
 
Trihexagonal said:
... With the exception of adding programs to the menu through a text file the actual x11-wm/fluxbox configuration is done through a right-click menu.

I have noticed an issue with the x11-wm/fluxbox Force Pseudo-Transparency option that I first attributed to the Radeon card on another FreeBSD box but have since encountered on my OpenBSD box with Nvidia Optimus.

If Force Pseudo-Transparency is enabled it will break native transparency in x11/eterm. If disabled and x11-wm/fluxbox restarted transparency returns to x11/eterm. You just don't get transparency in the menu or toolbar, everything else works as it should.

Complicated, and what are those sites?
 
Screenshot of LXQt 0.12.0

DM5xSiJX4AAcQvR.jpg
 
screenshot.png

Partial ~/.jwmrc for x11-wm/jwm:
Code:
   <StartupCommand>wmmoonclock</StartupCommand>
   <StartupCommand>volumeicon</StartupCommand>
   <StartupCommand>osdmixer d d d d</StartupCommand>
   <StartupCommand>pidgin</StartupCommand>
   <StartupCommand>firefox</StartupCommand>
   <StartupCommand>thunderbird</StartupCommand>
   <StartupCommand>hot-babe -i</StartupCommand>
   <StartupCommand>urxvt -tr -sh 15 -fg white -bc -uc -geometry 120x26-5+45</StartupCommand>
   <StartupCommand>urxvt -tr -sh 15 -fg white -bc -uc -geometry 125x26-5-25</StartupCommand>
    <!-- Options for program groups. -->
   <Group>
   <Name>wmmoonclock</Name><Name>urxvt</Name>
   <Option>noborder</Option>
   <Option>constrain</Option><Option>nopager</Option>
   <Option>sticky</Option><Option>layer:below</Option>
   <Option>nolist</Option>
   </Group>
   <Group>
       <Class>Firefox</Class>
   <Option>desktop:1</Option><Option>minimized</Option>
   </Group>
   <Group>
       <Class>Thunderbird</Class>
   <Option>desktop:2</Option><Option>minimized</Option>
   </Group>
   <Group>
       <Name>hot-babe</Name>
   <Option>x:1725</Option><Option>y:50</Option><Option>desktop:2</Option>
   </Group>
   <Group>
        <Name>pidgin</Name>
        <Option>sticky</Option><Option>layer:above</Option><Option>minimized</Option>
   </Group>
   <Group>
        <Name>xterm</Name>
        <Option>vmax</Option>
        <Option>icon:terminal.png</Option>
   </Group>
   <Group>
        <Name>xcalc</Name>
        <Option>icon:calculator.png</Option>
   </Group>

</JWM>
 
I see you're using audio/osdmixer, here is my patch, that can be useful,
after applying it, "PCM" column should disappear, and when volume will be changed,
osdmixer should show only master volume in green color (instead of "lawngreen"),
zSmx936.png

just add /usr/ports/audio/osdmixer/files dir and create /usr/ports/audio/osdmixer/files/patch-main.c file with:
Code:
--- main.c.orig	2005-12-23 13:14:27.000000000 +0200
+++ main.c	2017-11-03 05:51:25.163671000 +0200
@@ -40,7 +40,6 @@
 #include <string.h>
 
 static int master = 0;
-static int pcm = 0;
 
 // handles
 static int fd_mixer;
@@ -48,22 +47,23 @@
 
 // style and position
 static int font_type = 1;
-static char *font1 = "-adobe-helvetica-bold-r-normal-*-*-240-*-*-p-*-iso8859-1";
-static char *font2 = "-adobe-helvetica-bold-r-normal-*-*-320-*-*-p-*-iso8859-1";
-static int pos_x = 48;
-static int pos_y = 48;  
+static char *font1 = "-adobe-helvetica-bold-r-normal-*-*-300-*-*-p-*-iso8859-1";
+static char *font2 = "-misc-fixed-medium-r-normal-*-*-240-*-*-c-*-iso8859-1";
+static char *font3 = "-dec-terminal-bold-r-normal-*-*-220-*-*-c-*-iso8859-1";
+static int pos_x = 55;
+static int pos_y = 60;
 static int osd_delay = 4;
 static int system_delay = 40000;
 
 void* volume_read (void* v);
 void init_bars (void);
-int changed (int m, int p);
+int changed (int m);
 
 int main (int argc, char *argv[]) {
 	
 	pthread_t mythread;
 	fd_mixer = open("/dev/mixer", O_RDWR);
-	int m_prev, p_prev;
+	int m_prev;
 	int countdown = osd_delay * 10;
 	
 	if (argc < 5) { // help
@@ -71,24 +71,25 @@
 		printf ("\nosdmixer version 0.9\n");
 		printf ("\nUsage:\n");
 		printf ("osdmixer pos_x pos_y delay fonttype\n");
-		printf ("\npos_x		horizontal space in pixels (default 48)\n");
-		printf ("pos_y		vertical space in pixels (default 48)\n");
+		printf ("\npos_x		horizontal space in pixels (default 55)\n");
+		printf ("pos_y		vertical space in pixels (default 60)\n");
 		printf ("delay		delay before OSD closes (default 4, 2 - 6 is useful)\n");
 		printf ("fonttype	change font (default 1)\n");
 		printf ("		1 for %s\n", font1);
 		printf ("		2 for %s\n", font2);
+		printf ("		3 for %s\n", font3);
 		printf ("\nExamples:\n");
-		printf ("osdmixer 48 48 4 1 (these are default values)\n");
+		printf ("osdmixer 55 60 4 1 (these are default values)\n");
 		printf ("osdmixer d 80 d d (use d for default value)\n\n");
 		return 0;	
 		
 	}
 	
 	// get arguments, ignore them, if they are not plausible, use strtol() in future
-	if (argv[1] != "d") { if ((atoi(argv[1]) < 2000) && (atoi(argv[1]) > 0)) { pos_x = atoi(argv[1]); } }
-	if (argv[2] != "d") { if ((atoi(argv[2]) < 1500) && (atoi(argv[2]) > 0)) { pos_y = atoi(argv[2]); } }
-	if (argv[3] != "d") { if ((atoi(argv[3]) < 10) && (atoi(argv[3]) > 0)) { osd_delay = atoi(argv[3]); } }
-	if (argv[4] != "d") { if ((atoi(argv[4]) < 3) && (atoi(argv[4]) > 0)) { font_type = atoi(argv[4]); } }
+	if (*argv[1] != 'd') { if ((atoi(argv[1]) < 2000) && (atoi(argv[1]) > 0)) { pos_x = atoi(argv[1]); } }
+	if (*argv[2] != 'd') { if ((atoi(argv[2]) < 1500) && (atoi(argv[2]) > 0)) { pos_y = atoi(argv[2]); } }
+	if (*argv[3] != 'd') { if ((atoi(argv[3]) < 10) && (atoi(argv[3]) > 0)) { osd_delay = atoi(argv[3]); } }
+	if (*argv[4] != 'd') { if ((atoi(argv[4]) < 4) && (atoi(argv[4]) > 0)) { font_type = atoi(argv[4]); } }
 
 	
 	setlocale (LC_ALL, "");	
@@ -98,10 +99,9 @@
 	while (1) {
 
 		m_prev = master;
-		p_prev = pcm;
 		usleep (system_delay);
 		
-		if ((changed (m_prev, p_prev)) || (countdown == -1)) {
+		if ((changed (m_prev)) || (countdown == -1)) {
 			
 			// volume has been changed by user
 			countdown = osd_delay * 10;
@@ -115,7 +115,7 @@
 				
 			while(countdown > 0) {  // delay before closing OSD after last volume change, check for new changes
 
-				while  (changed (m_prev, p_prev)) { 
+				while  (changed (m_prev)) { 
 					
 					countdown = 0; 
 					
@@ -123,26 +123,15 @@
 					
 					if (master == 0) {
 
-						xosd_display (osd, 1, XOSD_string, "(muted)");
-
-					} else {
-
-						xosd_display (osd, 1, XOSD_percentage, master / 257);  // first bar, line 2
-
-					}
-
-					if (pcm == 0) {
-
 						xosd_display (osd, 3, XOSD_string, "(muted)");
 
 					} else {
-					
-						xosd_display (osd, 3, XOSD_percentage, pcm / 257);    // second bar, line 4
+
+						xosd_display (osd, 3, XOSD_percentage, master / 257);  // master volume bar
 
 					}
 
 				m_prev = master;
-				p_prev = pcm;
 					
 					
 				} // volume changes -> break, show change
@@ -162,10 +151,10 @@
 	return 0;
 }
 
-int changed (int m, int p) {  // returns 1 when volume was changed
+int changed (int m) {  // returns 1 when volume was changed
 
 	usleep (system_delay);
-	if ((m != master) || (p != pcm)) {
+	if (m != master) {
 
 	         return 1;
 
@@ -192,7 +181,10 @@
 		case 2: xosd_set_font (osd, font2);
 			break;
 
-		default: xosd_set_font (osd, font2);
+		case 3: xosd_set_font (osd, font3);
+			break;
+
+		default: xosd_set_font (osd, font1);
 			break;
 
 	}
@@ -200,15 +192,13 @@
 	xosd_set_outline_offset(osd, 2);
 	xosd_set_outline_colour(osd, "black");
 	//xosd_set_shadow_offset (osd, 3);
-	xosd_set_colour (osd, "lawngreen");
+	xosd_set_colour (osd, "green");
 	xosd_set_pos (osd, XOSD_bottom);
 	xosd_set_vertical_offset (osd, pos_y);
 	xosd_set_align (osd, XOSD_left);
 	xosd_set_horizontal_offset (osd, pos_x);
-	xosd_set_bar_length (osd, 50);
+	xosd_set_bar_length (osd, 60);
 	
-	xosd_display (osd, 0, XOSD_string, "Master"); // display line 1
-	xosd_display (osd, 2, XOSD_string, "PCM"); // display line 3
 	usleep (2500);
 			      	
 }
@@ -220,7 +210,6 @@
 		if (fd_mixer) {
 		
 			ioctl(fd_mixer,SOUND_MIXER_READ_VOLUME,&master);
-			ioctl(fd_mixer,SOUND_MIXER_READ_PCM,&pcm);
 			usleep (system_delay);
 		
 		}
inside. Then execute # make clean deinstall install.
Kill all osdmixer instances after reinstallation, and start it with % osdmixer d d d d &.

It is possible to choose 3 fonts with different size after patching, use % osdmixer to view all options.
K7wrgxU.png

OQf5t5R.png
 
Last edited by a moderator:
So yeah, might as well :)

I recently got hold of a Dell PowerEdge SC1420 server. It's a tower model so it really fits my environment, and I figured... why not? Normally the X environment is a massive "no no" on my servers, but this was to be a replacement for my LAN server.

So my old 'Macron' server (32bit, 2Gb memory, obviously running FreeBSD) was to be replaced by this one.. My 'Omicron' server; 64bit, 4Gb memory, obviously FreeBSD powered but this time I also decided to add a GUI. KDE no less:

freebsd-kde.png


Here I am watching my all-time favorite Naruto Shipuuden episido (10 vs 100 puppets), Gimp is compiling in my (screen powered) Konsole and you also see Dolphin in the back. It's been a seriously long time since I worked with KDE but so far I am enjoying the environment.

The best part is obviously that I have programs such as VLC which I use on both Windows and now KDE.

I'm still busy setting the whole thing up, and even my (Evangelion anime based) background isn't fully decided on, but so far I am definitely happy. Gotta love semi-transparent console applications :)
 
Last edited by a moderator:
mrclksr said:
Hi teo ,

Fluxbox was compiled with Imlib 2 support which is required for displaying icons in the menu. My Fluxbox menu was automatically generated using the Perl script update_fbmenu.

In the Perl installation, I visualized that message in the console and it not activated because it did not find the command.

# #!/usr/local/bin/perl
Code:
/usr/local/bin/perl: 
command not found.
#
 
T61shot01.png


My new Thinkpad T61.

nixshot.png


My old T61. This one has a 15.4" WSXGA+ widescreen with an Intel Core2 Duo T7300 @ 2.0GHz. The other one is a 14.1" SXGA+ with a T7700 @ 2.4GHz.

Edit: I uploaded these wallpapers to my site along with one for OpenBSD and some for Thinkpad, too.
 
Last edited by a moderator:
daydream.png


My FreeBSD 1.1-RELEASE-p4 i386 build. With an Intel Dual Core T2060 @ 1.6GHz and 2GB RAM it takes a long time to compile ports, but is every bit as reliable as any of my 64bit machines and still good for basic desktop tasks like surfing the net, working with files, listening to music, watching videos, etc.
 
My T430 Thinkpad (i7-3612QM) powered by FreeBSD 11.1-RELEASE-p5 and i3WM.

00.png 01.png 02.png

LE: CPU values are high because I'm building/rebuilding Firefox form ports, these are my update methods: ports & sources.
 
Back
Top