Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

JWM Configuration Manager

Started by way12go, October 22, 2014, 05:23:01 AM

Previous topic - Next topic

pavroo

#15
Don't do that in Synaptic, just as I said.
Terminal emulator, as root:
Check does your system support i386:
dpkg --print-foreign-architectures
If prints 'i386' is fine, if not add it:
dpkg --add-architecture i386
apt-get update

Then install it:
apt-get install libglade2-0:i386 libgtk2.0-0:i386 jwmconfig
If any problem, run:
apt-get install -f
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

way12go

root@leeboyoung:~# apt-get install libglade2-0:i386 libgtk2.0-0:i386 jwmconfig
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgtk2.0-0 is already the newest version.
libglade2-0 is already the newest version.
libglade2-0 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
jwmconfig : Depends: libgtk2.0-0:i386 but it is not installable
             Depends: libglade2-0:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
root@leeboyoung:~# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@leeboyoung:~#
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

pavroo

Get and install the two packages manually from Debian repo:
https://packages.debian.org/jessie/i386/libgtk2.0-0/download
https://packages.debian.org/jessie/i386/libglade2-0/download
I'll check it tomorrow again.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

way12go

#18
I added the repository and tried to download...

Not Found

The requested URL /debian/pool/main/g/gtk+2.0/libgtk2.0-0_2.24.24-1_i386.deb was not found on this server.
Apache Server at ftp.us.debian.org Port 80

I searched for these files using google and found deb packages on debian and I downloaded them and I found out that they are already installed. Actually I noticed that they are already installed when I searched for them in synaptic and I already mentioned in the above post somewhere.

The thing jwmconfig wants older versions.

Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

pavroo

#19
It's from my Debian testing 64 bit:
Spoiler (click here to view)
root@spark64:/home/pavroo# apt-get install jwmconfig
Reading package lists... Done
Building dependency tree       
Reading state information... Done
...
The following NEW packages will be installed:
  gtk-chtheme gtkdialog3 gxmessage jwmconfig libatk1.0-0:i386
  libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
  libcairo2:i386 libcomerr2:i386 libcups2:i386 libdatrie1:i386
  libgdk-pixbuf2.0-0:i386 libglade2-0:i386 libgmp10:i386
  libgnutls-deb0-28:i386 libgraphite2-3:i386 libgssapi-krb5-2:i386
  libgtk2.0-0:i386 libharfbuzz0b:i386 libhogweed2:i386 libjasper1:i386
  libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386
  libnettle4:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386
  libpangoft2-1.0-0:i386 libpixman-1-0:i386 libthai0:i386 libxcb-render0:i386
  libxcb-shm0:i386 libxcomposite1:i386 libxinerama1:i386 libxrandr2:i386
  nitrogen
0 upgraded, 38 newly installed, 0 to remove and 39 not upgraded.
Need to get 8,729 kB of archives.
After this operation, 21.8 MB of additional disk space will be used.
Do you want to continue? [Y/n]
...
Processing triggers for man-db (2.7.0.2-2) ...
Processing triggers for menu (2.1.47) ...
Processing triggers for mime-support (3.57) ...
Processing triggers for gnome-menus (3.13.3-2) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for install-info (5.2.0.dfsg.1-4) ...
Setting up libcomerr2:i386 (1.42.12-1) ...
Setting up libgmp10:i386 (2:6.0.0+dfsg-6) ...
Setting up libnettle4:i386 (2.7.1-3) ...
Setting up libhogweed2:i386 (2.7.1-3) ...
Setting up libgnutls-deb0-28:i386 (3.3.8-3) ...
Setting up libkeyutils1:i386 (1.5.9-5) ...
Setting up libkrb5support0:i386 (1.12.1+dfsg-10) ...
Setting up libk5crypto3:i386 (1.12.1+dfsg-10) ...
Setting up libkrb5-3:i386 (1.12.1+dfsg-10) ...
Setting up libgssapi-krb5-2:i386 (1.12.1+dfsg-10) ...
Setting up libatk1.0-0:i386 (2.14.0-1) ...
Setting up libavahi-common-data:i386 (0.6.31-4) ...
Setting up libavahi-common3:i386 (0.6.31-4) ...
Setting up libavahi-client3:i386 (0.6.31-4) ...
Setting up libpixman-1-0:i386 (0.32.6-3) ...
Setting up libxcb-render0:i386 (1.10-3) ...
Setting up libxcb-shm0:i386 (1.10-3) ...
Setting up libcairo2:i386 (1.12.16-5) ...
Setting up libcups2:i386 (1.7.5-5) ...
Setting up libdatrie1:i386 (0.2.8-1) ...
Setting up libjasper1:i386 (1.900.1-debian1-2.1+b1) ...
Setting up libgdk-pixbuf2.0-0:i386 (2.31.1-2+b1) ...
Setting up libthai0:i386 (0.1.21-1) ...
Setting up libpango-1.0-0:i386 (1.36.8-2) ...
Setting up libgraphite2-3:i386 (1.2.4-3) ...
Setting up libharfbuzz0b:i386 (0.9.35-1) ...
Setting up libpangoft2-1.0-0:i386 (1.36.8-2) ...
Setting up libpangocairo-1.0-0:i386 (1.36.8-2) ...
Setting up libxcomposite1:i386 (1:0.4.4-1) ...
Setting up libxinerama1:i386 (2:1.1.3-1) ...
Setting up libxrandr2:i386 (2:1.4.2-1) ...
Setting up libgtk2.0-0:i386 (2.24.25-1) ...
Setting up libglade2-0:i386 (1:2.6.4-2) ...
Setting up gtk-chtheme (0.3.1-5) ...
Setting up gtkdialog3 (0.7.20-1) ...
Setting up gxmessage (2.20.0-1) ...
Setting up nitrogen (1.5.2-2) ...
Setting up jwmconfig (20141024) ...
Processing triggers for libc-bin (2.19-11) ...
Processing triggers for menu (2.1.47) ...
root@spark64:/home/pavroo#

You have not refreshed the package list !!!
There is not the package in Debian repo:
/debian/pool/main/g/gtk+2.0/libgtk2.0-0_2.24.24-1
The present one is:
libgtk2.0-0_2.24.25-1
Run:
sudo apt-get update
then install the tool:
sudo apt-get install jwmconfig
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

way12go

#20
root@leeboyoung:/home/leeboyoung# sudo apt-get update
Spoiler (click here to view)
QuoteHit http://ftp.debian.org testing InRelease
Hit http://www.deb-multimedia.org testing InRelease                           
Get:1 http://ftp.debian.org testing/main Sources/DiffIndex [7,876 B]           
Hit http://www.deb-multimedia.org testing/main i386 Packages                   
Get:2 http://ftp.debian.org testing/contrib Sources/DiffIndex [7,819 B]       
Hit http://www.deb-multimedia.org testing/non-free i386 Packages               
Get:3 http://ftp.debian.org testing/non-free Sources/DiffIndex [7,819 B]       
Get:4 http://ftp.debian.org testing/main i386 Packages/DiffIndex [7,876 B]     
Get:5 http://ftp.debian.org testing/contrib i386 Packages/DiffIndex [7,819 B] 
Get:6 http://ftp.debian.org testing/non-free i386 Packages/DiffIndex [7,819 B]
Get:7 http://ftp.debian.org testing/contrib Translation-en/DiffIndex [7,819 B]
Get:8 http://ftp.debian.org testing/main Translation-en/DiffIndex [7,876 B]   
Get:9 http://ftp.debian.org testing/non-free Translation-en/DiffIndex [7,819 B]
Ign http://dl.google.com stable InRelease                                     
Hit http://dl.google.com stable Release.gpg                                   
Hit http://dl.google.com stable Release                                       
Ign http://www.deb-multimedia.org testing/main Translation-en_US               
Hit http://dl.google.com stable/main i386 Packages                             
Ign http://www.deb-multimedia.org testing/main Translation-en                 
Hit http://security.debian.org testing/updates InRelease                       
Hit http://sparkylinux.org testing InRelease                                   
Ign http://www.deb-multimedia.org testing/non-free Translation-en_US           
Ign http://dl.google.com stable/main Translation-en_US               
Ign http://www.deb-multimedia.org testing/non-free Translation-en     
Ign http://dl.google.com stable/main Translation-en                   
Hit http://security.debian.org testing/updates/main Sources           
Hit http://sparkylinux.org testing/main i386 Packages                         
Hit http://security.debian.org testing/updates/contrib Sources                 
Hit http://security.debian.org testing/updates/non-free Sources               
Hit http://security.debian.org testing/updates/main i386 Packages             
Hit http://security.debian.org testing/updates/contrib i386 Packages           
Hit http://security.debian.org testing/updates/non-free i386 Packages         
Hit http://security.debian.org testing/updates/contrib Translation-en         
Hit http://security.debian.org testing/updates/main Translation-en             
Hit http://security.debian.org testing/updates/non-free Translation-en         
Ign http://sparkylinux.org testing/main Translation-en_US                     
Ign http://sparkylinux.org testing/main Translation-en                         
Fetched 70.5 kB in 9s (7,689 B/s)                                             
Reading package lists... Done
root@leeboyoung:/home/leeboyoung# sudo apt-get install jwmconfig
Spoiler (click here to view)
QuoteReading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
jwmconfig : Depends: libgtk2.0-0:i386 but it is not installable
             Depends: libglade2-0:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
root@leeboyoung:/home/leeboyoung#
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

way12go

cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update
sudo apt-get install jwmconfig

leeboyoung@leeboyoung:~$ sudo apt-get install jwmconfig
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
jwmconfig : Depends: libgtk2.0-0:i386 but it is not installable
             Depends: libglade2-0:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.


Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

way12go

#22
Quotedeb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
deb http://www.deb-multimedia.org testing main non-free
deb http://ftp.us.debian.org/debian/ jessie main contrib
deb-src http://ftp.us.debian.org/debian/ jessie main

leeboyoung@leeboyoung:~$ sudo dpkg --configure libgtk2.0-0:i386 libglade2-0:i386dpkg: error processing package libgtk2.0-0:i386 (--configure):
package libgtk2.0-0:i386 is already installed and configured
dpkg: error processing package libglade2-0:i386 (--configure):
package libglade2-0:i386 is already installed and configured
Errors were encountered while processing:
libgtk2.0-0:i386
libglade2-0:i386
leeboyoung@leeboyoung:~$
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

pavroo

#23
The last two lines are useless, remove them:
deb http://ftp.us.debian.org/debian/ jessie main contrib
deb-src http://ftp.us.debian.org/debian/ jessie main

You have 'testing' repo enabled already.
After removing, show me your list:
cat /etc/apt/sources.list
Show me what you have else:
ls /etc/apt/sources.list.d
Have you updated the package list?
Remove broken packages:
sudo apt-get remove jwmconfig libgtk2.0-0:i386 libglade2-0:i386
Fix anything to be fixed:
sudo apt-get autoremove
Then - show me the whole process:
sudo apt-get update
sudo apt-get install jwmconfig
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

way12go



Quotedpkg --print-foreign-architectures

If prints 'i386' is fine, if not add it:


dpkg --add-architecture i386
apt-get update

No it doesn't print

Even after following the above steps it doesn't print.

I successfully added these lines to jwmrc.xml

Quote<TrayButton label="pcmanfm">exec:pcmanfm</TrayButton>
      <TrayButton label="LXTerminal">exec:/usr/bin/lxterminal</TrayButton>
      <TrayButton label="Iceweasel">exec:/usr/bin/iceweasel</TrayButton>
<TrayButton label="Google Chrome">exec:/usr/bin/google-chrome</TrayButton>

Unfortunately I couldn't add icons, instead I entered names.

Here is the source which gave me the idea...

Quotehttp://linuxlaptopforum.ark2webdesign.co.uk/index.php?topic=370.10;wap2

All I want is a battery icon for laptop. And I found a webpage related to it but, couldn't understand it.
Here it is...
Quotehttp://www.murga-linux.com/puppy/viewtopic.php?t=14712&sid=f0cadf7d1460a3168e8d45b57b1b3344

If I have Battery icon I don't need jwmconfig.
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

way12go

You said I should try this...

Quotedpkg --print-foreign-architectures

Well this really doesn't work.

I'm using 64 bit system with 32 bit pae enabled kernel distro.


This works.

Quote# dpkg --print-architecture
i386


This doesn't work.

Quoteapt-get install libglade2-0:i386 libgtk2.0-0:i386 jwmconfig

If any problem, run:
Code: [Select]

apt-get install -f

QuoteThe following packages have unmet dependencies:
jwmconfig : Depends: libgtk2.0-0:i386 but it is not installable
             Depends: libglade2-0:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

way12go

I changed taskbar into this...

Quote<TrayButton popup="pcmanfm" icon="/usr/share/icons/NoirCrystal/scalable/apps/file-manager.png" >exec:pcmanfm</TrayButton>
      <TrayButton popup="LXTerminal" icon="/usr/share/icons/NoirCrystal/scalable/apps/terminal.png">exec:/usr/bin/lxterminal</TrayButton>
      <TrayButton popup="Iceweasel" icon="/usr/share/icons/NoirCrystal/scalable/apps/iceweasel.png">exec:/usr/bin/iceweasel</TrayButton>
<TrayButton popup="Google Chrome" icon="/usr/share/icons/NoirCrystal/scalable/apps/chromium.png">exec:/usr/bin/google-chrome</TrayButton>

Now all icons are visible.

The only thing I need and I don't have is "Battery Status icon and Memory status icon" in taskbar.
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

way12go

I installed oxygen theme...

and did

sudo updatedb

and did

locate google-chrome.png

and changed the taskbar entries...

Quote<TrayButton popup="pcmanfm" icon="/usr/share/icons/oxygen/32x32/places/folder-red.png" >exec:pcmanfm</TrayButton>
      <TrayButton popup="LXTerminal" icon="/usr/share/icons/oxygen/32x32/apps/yakuake.png">exec:/usr/bin/lxterminal</TrayButton>
      <TrayButton popup="Iceweasel" icon="/usr/share/iceweasel/browser/chrome/icons/default/default32.png">exec:/usr/bin/iceweasel</TrayButton>
<TrayButton popup="Google Chrome" icon="/usr/share/icons/hicolor/32x32/apps/google-chrome.png">exec:/usr/bin/google-chrome</TrayButton>

All four icons are now in color.
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

pavroo

There is a new version of jwmconfig in our repo, separated for i386 and amd64 shouldn't be problem with installing
I found xdialog.pet so it's forked into deb and all options in jwmconfig are back.
I'm not sure all the options work, just test it.
I did what I could.
Installation:
sudo apt-get update
sudo apt-get install jwmconfig
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

way12go

#29
It finally got installed but, not even a single option works. I will restart the system and check if it works.

Nope it doesn't work.
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

View the most recent posts on the forum