LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2023, 04:35 AM   #1
XYZB0RG
LQ Newbie
 
Registered: Nov 2023
Location: Mars.
Distribution: UbuntuMATE 22.04
Posts: 20

Rep: Reputation: 0
Need help enabling themes on Irssi 1.4.5 (UbuntuMATE)


Themes won't work on Irssi 1.4.5. I've downloaded the theme files into the correct directories but they do not work. I have checked the custom themes and they do have code inside them, so that isn't the problem. Even the preinstalled ones that come with installing Irssi itself don't work (excluding default). My suspicions are either I accidentally installed it incorrectly, or themes are incompatible with my distribution (I hope it's not the latter). I have Meson 0.49.0 but couldn't install Ninja 1.5 and had to use 1.5.1 since 1.5 was not on the Ninja Github page.

PS. If there's no help for this issue here, where's a better place to ask? I would ask on Irssi itself but I'm familiar with tech support forums and find that more efficient. Is there an Irssi forum I don't know about?
Attached Thumbnails
Click image for larger version

Name:	IRSSITHEMESNF.png
Views:	9
Size:	101.3 KB
ID:	42117  
 
Old 11-27-2023, 06:15 PM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 808

Rep: Reputation: 259Reputation: 259Reputation: 259
Strings the binary and see where it's looking for themes.
Code:
strings /usr/bin/irssi | grep theme
...
/usr/share/irssi/themes/%s.theme
...
So themes could go in that directory like "/usr/share/irssi/themes/cyanic.theme" or my install uses ~/.irssi as well. From in the client "/set theme cyanic" should work. Replace "cyanic" with whatever you have in those directories. Make sure your user can read the .theme files. I have this version of Irssi and it works here so other than that, I don't know what it could be.
 
Old 11-29-2023, 10:09 AM   #3
XYZB0RG
LQ Newbie
 
Registered: Nov 2023
Location: Mars.
Distribution: UbuntuMATE 22.04
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jayjwa View Post
Strings the binary and see where it's looking for themes.
Code:
strings /usr/bin/irssi | grep theme
...
/usr/share/irssi/themes/%s.theme
...
So themes could go in that directory like "/usr/share/irssi/themes/cyanic.theme" or my install uses ~/.irssi as well. From in the client "/set theme cyanic" should work. Replace "cyanic" with whatever you have in those directories. Make sure your user can read the .theme files. I have this version of Irssi and it works here so other than that, I don't know what it could be.
I may be doing this wrong but inputting anything in that code into my terminal only comes up with "No such file". I do have a ~/irssi-1.4.5/themes and a ~/.irssi but nothing else. I looked at permissions on my theme files and everything (read, write, execute) is checked. Execute wasn't checked originally but after checking it on all of them and running irssi and the set theme command nothing changed.
 
Old 12-03-2023, 01:06 PM   #4
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Quote:
Originally Posted by XYZB0RG View Post
I may be doing this wrong but inputting anything in that code into my terminal only comes up with "No such file". I do have a ~/irssi-1.4.5/themes and a ~/.irssi but nothing else. I looked at permissions on my theme files and everything (read, write, execute) is checked. Execute wasn't checked originally but after checking it on all of them and running irssi and the set theme command nothing changed.
That is very strange.... but the error message of "No such file" basically means you have not installed Irssi binary in that location. How did you install Irssi? Through the package manager? Or did you clone the github repository?

If you chose to clone the repo, there are dependencies which seem you are not meeting (Meson and Ninja versions). I would highly recommend you use your distro package manager to install Irssi, unless you have a very strong requirement for installing the github repo.
 
Old 12-06-2023, 06:40 AM   #5
XYZB0RG
LQ Newbie
 
Registered: Nov 2023
Location: Mars.
Distribution: UbuntuMATE 22.04
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Hammett View Post
That is very strange.... but the error message of "No such file" basically means you have not installed Irssi binary in that location. How did you install Irssi? Through the package manager? Or did you clone the github repository?

If you chose to clone the repo, there are dependencies which seem you are not meeting (Meson and Ninja versions). I would highly recommend you use your distro package manager to install Irssi, unless you have a very strong requirement for installing the github repo.
Wow all I had to do was just delete everything, enter the command
Code:
sudo apt install irssi
and download the theme to ~/.irssi/. I don't remember how I messed up my previous install so badly but the theme finally works, thank you.
 
  


Reply



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
Themes not working on Irssi 1.4.5 (UbuntuMATE) XYZB0RG Linux - Software 2 11-10-2023 10:38 PM
[SOLVED] ubuntuMATE 15.04 on uefi - can't get to grub meņu. littlejoe5 Ubuntu 5 11-28-2015 04:21 PM
[SOLVED] How do I download Adobe Flash to UbuntuMATE? Mr. Grey Linux - Newbie 5 06-18-2015 03:16 PM
UbuntuMATE 15.04 Screencast and Screenshots jeremy Linux - Screencasts and Screenshots 0 04-25-2015 06:45 PM
irssi - irssi.pm reference manual mmmmtmmmm Programming 0 08-30-2007 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:07 PM.

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