LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-14-2021, 02:20 AM   #4771
babam
LQ Newbie
 
Registered: Aug 2021
Distribution: Porteus, ZorinOS
Posts: 29

Rep: Reputation: Disabled

My Desktop
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2021-11-14_00-27-36.jpg
Views:	358
Size:	237.0 KB
ID:	37686  
 
1 members found this post helpful.
Old 11-14-2021, 02:47 AM   #4772
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,473
Blog Entries: 2

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Question

Quote:
Originally Posted by babam View Post
My Desktop
? Arch?
 
Old 11-14-2021, 03:52 AM   #4773
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,785

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Nice, andrew.46. Simple and efficient. Your time on Fluxbox served you well.
 
1 members found this post helpful.
Old 11-14-2021, 06:51 AM   #4774
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by SCerovec View Post
? Arch?
I'm guessing it is Plasma theme primarily created for Arch.
 
Old 11-14-2021, 07:00 AM   #4775
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,386

Rep: Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105
Quote:
Originally Posted by igadoter View Post
I'm guessing it is Plasma theme primarily created for Arch.
My bet : Porteus XFCE
 
1 members found this post helpful.
Old 11-14-2021, 11:11 AM   #4776
Cabbie001
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware64 15.0; Devuan Beowulf 3.0 (64bit)
Posts: 169

Rep: Reputation: Disabled
A second Thanks

Quote:
Originally Posted by CMartin View Post
Sure.

[CODE] ....
Yes, thank you CMartin for offering this great customization code for the Xcalc calculator!
I've been using Kcalc as my default calculator app since xcalc is so bland (even with -stipple...), but I must admit this customization makes it pop right out of the monitor. Mind you I did have to figure out that a line needed to be added to my local .Xresources file in order to access any of the mods incorporated in /etc/X11/app-defaults/XCalc-color, which is where I put your code. That is, in local .Xresources I needed to add:
#ifdef COLOR
*customization: -color

Interesting that you've also modified the cursor look.
Attached Thumbnails
Click image for larger version

Name:	Xcalc_mod.jpg
Views:	148
Size:	44.4 KB
ID:	37689   Click image for larger version

Name:	Xcalc_orig.jpg
Views:	138
Size:	42.5 KB
ID:	37690  
 
Old 11-14-2021, 11:11 AM   #4777
babam
LQ Newbie
 
Registered: Aug 2021
Distribution: Porteus, ZorinOS
Posts: 29

Rep: Reputation: Disabled
Quote:
Originally Posted by marav View Post
My bet : Porteus XFCE
Correct.
 
Old 11-14-2021, 01:52 PM   #4778
CMartin
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 48

Rep: Reputation: 22
Quote:
Originally Posted by Cabbie001 View Post
Yes, thank you CMartin for offering this great customization code for the Xcalc calculator!
I've been using Kcalc as my default calculator app since xcalc is so bland (even with -stipple...), but I must admit this customization makes it pop right out of the monitor. Mind you I did have to figure out that a line needed to be added to my local .Xresources file in order to access any of the mods incorporated in /etc/X11/app-defaults/XCalc-color, which is where I put your code. That is, in local .Xresources I needed to add:
#ifdef COLOR
*customization: -color

Interesting that you've also modified the cursor look.
Try to preload it with Xaw3d libs to get 3D look: LD_PRELOAD=/usr/lib64/libXaw3d.so /usr/bin/xcalc
I am not messing with 'current', but this works on 14.2. If Slackware 'current' has stripped down Xaw3d, 3D also works with neXtaw libs http://siag.nu/neXtaw/ available in Slackbuilds for 14.2, but programs look a bit different with it, I prefer stock 3D libs.

Left: preloaded with Xaw3d. Right: preloaded with neXtaw:
Attached Thumbnails
Click image for larger version

Name:	xcalc2.png
Views:	112
Size:	12.4 KB
ID:	37692  
 
Old 11-14-2021, 03:58 PM   #4779
Cabbie001
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware64 15.0; Devuan Beowulf 3.0 (64bit)
Posts: 169

Rep: Reputation: Disabled
Quote:
Originally Posted by CMartin View Post
Try to preload it with Xaw3d libs to get 3D look: LD_PRELOAD=/usr/lib64/libXaw3d.so /usr/bin/xcalc
I am not messing with 'current', but this works on 14.2. If Slackware 'current' has stripped down Xaw3d, 3D also works with neXtaw libs http://siag.nu/neXtaw/ available in Slackbuilds for 14.2, but programs look a bit different with it, I prefer stock 3D libs.

Left: preloaded with Xaw3d. Right: preloaded with neXtaw:
Yes, I did try the 3D look as you suggested, but it didn't display quite a nicely as yours. The raised edges of the keys look a big stippled.
I'm also using Slackware 14.2 (64bit).
Thanks again.
Attached Thumbnails
Click image for larger version

Name:	Xcalc+3d.jpg
Views:	87
Size:	33.5 KB
ID:	37694   Click image for larger version

Name:	Xcalc_mod.jpg
Views:	79
Size:	26.9 KB
ID:	37695  
 
Old 11-18-2021, 12:40 PM   #4780
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,473
Blog Entries: 2

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Code:
$ xcalc 
Warning: Cannot convert string "-adobe-symbol-medium-*-*-*-*-110-*-*-*-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-symbol-*-*-*-*-*-180-*-*-*-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-symbol-*-*-*-*-*-110-*-*-*-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-symbol-*-*-*-*-*-130-*-*-*-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-symbol-*-*-*-*-*-140-*-*-*-*-*-*" to type FontStruct
$_
What am i missing/doing wrong?
 
Old 11-18-2021, 01:52 PM   #4781
CMartin
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 48

Rep: Reputation: 22
Quote:
Originally Posted by SCerovec View Post
Code:
$ xcalc 
Warning: Cannot convert string "-adobe-symbol-medium-*-*-*-*-110-*-*-*-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-symbol-*-*-*-*-*-180-*-*-*-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-symbol-*-*-*-*-*-110-*-*-*-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-symbol-*-*-*-*-*-130-*-*-*-*-*-*" to type FontStruct
Warning: Cannot convert string "-adobe-symbol-*-*-*-*-*-140-*-*-*-*-*-*" to type FontStruct
$_
What am i missing/doing wrong?
For some reason you are missing font-adobe-75dpi, and maybe font-adobe-100dpi too. They come with stock slackware. slackpkg install font-adobe-75dpi

Last edited by CMartin; 11-18-2021 at 01:54 PM.
 
Old 11-19-2021, 09:48 AM   #4782
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,473
Blog Entries: 2

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Quote:
Originally Posted by CMartin View Post
For some reason you are missing font-adobe-75dpi, and maybe font-adobe-100dpi too. They come with stock slackware. slackpkg install font-adobe-75dpi
Code:
$ xcalc
Warning: Cannot convert string "-adobe-symbol-*-*-*-*-*-120-*-*-*-*-*-*" to type FontStruct
$_
I'm afraid it's not the case:
Code:
# slackpkg search adobe

Looking for adobe in package list. Please wait... DONE

The list below shows all packages with name matching "adobe".

[ Status           ] [ Repository               ] [ Package                                  ]
   installed               slackware64                  font-adobe-100dpi-1.0.3-noarch-1          
   installed               slackware64                  font-adobe-75dpi-1.0.3-noarch-1           
   installed               slackware64                  font-adobe-utopia-100dpi-1.0.4-noarch-1   
   installed               slackware64                  font-adobe-utopia-75dpi-1.0.4-noarch-1    
   installed               slackware64                  font-adobe-utopia-type1-1.0.4-noarch-1    

You can search specific files using "slackpkg file-search file".


#_
It's something else
 
Old 11-21-2021, 10:29 AM   #4783
Cabbie001
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware64 15.0; Devuan Beowulf 3.0 (64bit)
Posts: 169

Rep: Reputation: Disabled
Quote:
Originally Posted by SCerovec View Post
Code:
$ xcalc
Warning: Cannot convert string "-adobe-symbol-*-*-*-*-*-120-*-*-*-*-*-*" to type FontStruct
$_
I'm afraid it's not the case:
Code:
# slackpkg search adobe

Looking for adobe in package list. Please wait... DONE

The list below shows all packages with name matching "adobe".

[ Status           ] [ Repository               ] [ Package                                  ]
   installed               slackware64                  font-adobe-100dpi-1.0.3-noarch-1          
   installed               slackware64                  font-adobe-75dpi-1.0.3-noarch-1           
   installed               slackware64                  font-adobe-utopia-100dpi-1.0.4-noarch-1   
   installed               slackware64                  font-adobe-utopia-75dpi-1.0.4-noarch-1    
   installed               slackware64                  font-adobe-utopia-type1-1.0.4-noarch-1    

You can search specific files using "slackpkg file-search file".


#_
It's something else
Although I don't have a definitive answer to what is going wrong in your case (could not re-produce the error messages you are experiencing), I just wanted to ask two questions to maybe clarify:
1. Are you running "current"? (Me and CMartin are running 14.2 ...)
2. Which config file are you pasting CMartin's code into? I am placing it in /etc/X11/app-defaults/XCalc-color (after backing up the original, of course). BUT, I noted that the very first line in that file is: #include "XCalc"
without which a very truncated version of calculator is rendered, missing the entire keyboard. That line is NOT included in CMartin's posted code snippet... So although it may be obvious, just checking -- are you including that first include line?
Attached Thumbnails
Click image for larger version

Name:	no-keyboard.jpg
Views:	28
Size:	2.1 KB
ID:	37748   Click image for larger version

Name:	Xcalc_mod.jpg
Views:	40
Size:	26.9 KB
ID:	37749  
 
Old 11-22-2021, 05:00 AM   #4784
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,473
Blog Entries: 2

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Thumbs up

Quote:
Originally Posted by Cabbie001 View Post
Although I don't have a definitive answer to what is going wrong in your case (could not re-produce the error messages you are experiencing), I just wanted to ask two questions to maybe clarify:
1. Are you running "current"? (Me and CMartin are running 14.2 ...)
2. Which config file are you pasting CMartin's code into? I am placing it in /etc/X11/app-defaults/XCalc-color (after backing up the original, of course). BUT, I noted that the very first line in that file is: #include "XCalc"
without which a very truncated version of calculator is rendered, missing the entire keyboard. That line is NOT included in CMartin's posted code snippet... So although it may be obvious, just checking -- are you including that first include line?
Thanks for the consideration, it seems to be a deeper bork (it is an old, old /home and many things are non stock by now).

Can confirm the .Xdefaults hack works on a stock 32bit tho

NOTE: replace the /lib64/ to /lib/ in the /usr/local/bin/ front end file!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2021-11-22_12-52-22.png
Views:	116
Size:	139.2 KB
ID:	37759  

Last edited by SCerovec; 11-22-2021 at 05:02 AM.
 
Old 11-22-2021, 11:40 AM   #4785
Cabbie001
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware64 15.0; Devuan Beowulf 3.0 (64bit)
Posts: 169

Rep: Reputation: Disabled
Thumbs up Congratulations

Quote:
Originally Posted by SCerovec View Post
Thanks for the consideration, it seems to be a deeper bork (it is an old, old /home and many things are non stock by now).

Can confirm the .Xdefaults hack works on a stock 32bit tho

NOTE: replace the /lib64/ to /lib/ in the /usr/local/bin/ front end file!
Excellent. Whatever works, as they say.
 
1 members found this post helpful.
  


Reply

Tags
background, cwm, dwm, framebuffer, gnome, gui, i3, ion3, kde, monitor, musca, screenshot, tmux, wallpaper, xfce4, xterm



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3D Desktop on Slackware? darkhatter Slackware 3 10-10-2006 12:26 PM
Slackware 10.0 with NO Desktop NiPP Linux - Newbie 2 01-02-2006 10:43 AM
3d desktop on Slackware k1ll3r_x Linux - Software 1 09-20-2005 10:47 PM
Desktop Slackware s0no Slackware 5 12-04-2004 11:20 AM
I can't get my desktop in Slackware 10 DraGoNsLaYeR Linux - Newbie 1 06-27-2004 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration